[Webkit-unassigned] [Bug 31683] JSC bindings for HasIndexGetter generates incorrect code (affects MediaList and CSSStyleDeclaration)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 20 15:55:30 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=31683
--- Comment #6 from Erik Arvidsson <arv at chromium.org> 2009-11-20 15:55:29 PST ---
DOMTokenList is how I found this bug. That line of change should not be here. I
screwed up with my git branch. I'm working on fixing that.
Here are the specs.
MediaList should return null
http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-MediaList
Firefox returns undefined here
CSSStyleDeclaration should return ""
http://www.w3.org/TR/DOM-Level-2-Style/css#CSS-CSSStyleDeclaration
Our implementations of this interface are CSSComputedStyleDeclaration,
CSSMutableStyleDeclaration and these now return the empty string instead of
null string.
Firefox returns "" for these
CSSVariablesDeclaration should return ""
http://disruptive-innovations.com/zoo/cssvariables/#mozTocId496530
CSS variables never made it and are disabled. I can add a test but it will
fail.
So there is a slight change compared to Firefox, the media list returns null
instead of undefined. I think this should be safe.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list