[whatwg] Fallback behavior

Jonas Sicking jonas at sicking.cc
Thu Aug 21 17:06:19 PDT 2008


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



More information about the whatwg mailing list