Closed
Bug 826166
Opened 13 years ago
Closed 12 years ago
Remove an ability to set higher JS versions via language attribute
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla21
Tracking | Status | |
---|---|---|
relnote-firefox | --- | - |
People
(Reporter: emk, Assigned: emk)
Details
(Keywords: addon-compat, dev-doc-needed)
Attachments
(1 file, 1 obsolete file)
5.49 KB,
patch
|
sicking
:
review+
|
Details | Diff | Splinter Review |
The language attribute is obsolete in HTML5 and "JavaScript" is the only speced value. It is ignored when the type attribute is present.
http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#obsolete-but-conforming-features
IE and Opera doesn't support language="JavaScript1.6" to language="JavaScript1.8". Chrome recognize the language="JavaScript1.6" and language="JavaScript1.7", but no language extensions are enabled.
XUL doesn't support the language attribute, so it should have no add-on impact.
No in-tree consumers use the language attribute to enable language extensions.
Assignee | ||
Comment 1•13 years ago
|
||
Comment 2•13 years ago
|
||
Get rid of the outparam, please.
Assignee | ||
Comment 3•13 years ago
|
||
Removed the useless outparam.
According to the comment, the language attribute already lost the ability in HTML.
> XUL doesn't support the language attribute
And it looks like it was wrong.
Attachment #697450 -
Attachment is obsolete: true
Attachment #697450 -
Flags: review?(jonas)
Attachment #697481 -
Flags: review?(jonas)
Attachment #697481 -
Flags: review?(jonas) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Flags: in-testsuite-
Comment 5•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Keywords: dev-doc-needed
Updated•12 years ago
|
relnote-firefox:
--- → ?
Updated•12 years ago
|
Comment 6•12 years ago
|
||
I've added this bug to the compatibility doc. Please correct the info if I'm wrong.
https://developer.mozilla.org/en-US/docs/Site_Compatibility_for_Firefox_21
Assignee | ||
Comment 7•12 years ago
|
||
(In reply to Kohei Yoshino from comment #6)
> I've added this bug to the compatibility doc. Please correct the info if I'm
> wrong.
> https://developer.mozilla.org/en-US/docs/Site_Compatibility_for_Firefox_21
The language attribute in HTML used to ignore the JS version before this bug. This bug is just a cleanup for Web pages.
On the other hand, XUL language attribute has changed the behavior. Therefore, this is a add-on compatibility bug (not site compatibility).
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•