Bug 141585
Summary: | Some IDL attributes appear on the instances instead of on prototypes | ||
---|---|---|---|
Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> |
Component: | Bindings | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | ap, cdumez, eoconnor, ggaren, joepeck, mark.lam, mike, sam |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Joseph Pecoraro
* SUMMARY
Some IDL attributes appear on instances instead of on prototypes.
1. JSEvent properties on events ("clipboardData")
=> generated JSEvent::getOwnPropertySlot claims this is an instance's own property
2. HTMLDocument properties on document ("embeds", ...)
=> JSHTMLDocument::getOwnPropertySlot sets cacheable properties for JSHTMLDocument::info table entries
3. DOMWindow properties on window ("innerHeight", ...)
=> JSDOMWindow::getOwnPropertySlot sets cacheable properties for JSDOMWindow::info table entries
A side-effect of this, is that these properties do not have expected property descriptors. (They should have appropriate getters/setters and do not).
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Joseph Pecoraro
I think Chris fixed the majority of these. I'm updating Web Inspector now to better handle the changes we've seen. Lets close this out.