W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2008

[whatwg] Fallback behavior

From: Jonas Sicking <jonas@sicking.cc>
Date: Thu, 21 Aug 2008 17:06:19 -0700
Message-ID: <48AE02FB.8050506@sicking.cc>
Jo?o Eiras wrote:
> On , Jonas Sicking <jonas at sicking.cc> wrote:
> (...)
>>
>> Here is the list of elements that we *don't* execute scripts inside of 
>> in firefox:
>>
>> http://mxr.mozilla.org/mozilla-central/source/content/base/src/nsScriptElement.cpp#148 
>>
>>
>> i.e. <iframe>, <noframes>, <noembed>
>>
>> Everywhere else we do execute the script.
>>
>> The reason these elements ended up at the list is in bugs
>> https://bugzilla.mozilla.org/show_bug.cgi?id=5847
>> https://bugzilla.mozilla.org/show_bug.cgi?id=26669
>>
>> / Jonas
> 
> 
> I kind of agree with iframe and noembed, but noframes ?
> noframes, IMO, it fairly legitimate, because you can have scripts 
> providing fallback, or redirecting to another page.

Yes, we would presumably run scripts in <noframes> if we didn't have 
frame support. There is even a comment in the code that says that we 
should not check for noscript if we ever add the ability to turn off 
frame support.

/ Jonas
Received on Thursday, 21 August 2008 17:06:19 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:04 UTC