Closed
Bug 853136
Opened 13 years ago
Closed 13 years ago
Prepare some tests for HTMLDocument using a WebIDL binding
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: peterv, Assigned: peterv)
Details
Attachments
(1 file)
|
3.19 KB,
patch
|
bholley
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #727341 -
Flags: review?(bobbyholley+bmo)
Comment 1•13 years ago
|
||
Comment on attachment 727341 [details] [diff] [review]
v1
Review of attachment 727341 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/devtools/webconsole/test/browser_webconsole_bug_651501_document_body_autocomplete.js
@@ +122,5 @@
>
> // NB: We pull the properties off the prototype, rather than off object itself,
> // so that expandos like |constructor|, which the propPanel can't see, are not
> // included.
> + for (let prop in Object.getPrototypeOf(content.document).wrappedObject) {
So this is because we'll now have meaningful Xrays to the prototype, right?
::: js/xpconnect/tests/mochitest/file_bug650273.html
@@ +10,5 @@
> l();
> return "a";
> };
> + var f = Object.getOwnPropertyDescriptor(Document.prototype, "title").set;
> + setTimeout(f.bind(document), 0, o);
Hm, this almost certainly isn't taking the old codepath that was taken with lookupMethod. But lookupMethod has already been reimplemented since this test was written, so I don't think there's much point in worrying about it.
Attachment #727341 -
Flags: review?(bobbyholley+bmo) → review+
| Assignee | ||
Comment 2•13 years ago
|
||
(In reply to Bobby Holley (:bholley) from comment #1)
> > + for (let prop in Object.getPrototypeOf(content.document).wrappedObject) {
>
> So this is because we'll now have meaningful Xrays to the prototype, right?
Yes, exactly.
| Assignee | ||
Comment 3•13 years ago
|
||
Comment 4•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•