Closed
Bug 823227
Opened 12 years ago
Closed 11 years ago
Make the Global Scope Polluter work for non-html scopes
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: bzbarsky, Assigned: bholley)
References
Details
Attachments
(4 files, 2 obsolete files)
7.21 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
2.34 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
2.75 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
2.18 KB,
patch
|
bholley
:
review+
|
Details | Diff | Splinter Review |
Now that we always have a gsp, we should just do named frame lookups from it. That's what the spec says to do anyway, and that way we don't have to have weird Window behavior.
Reporter | ||
Comment 1•11 years ago
|
||
Reporter | ||
Updated•11 years ago
|
Attachment #724747 -
Flags: review?(mrbkap)
Comment 2•11 years ago
|
||
Comment on attachment 724747 [details] [diff] [review] part 1. Install a global scope polluter even if we don't have an HTML document. I'm almost surprised that we already null check everywhere that we need to.
Attachment #724747 -
Flags: review?(mrbkap) → review+
Reporter | ||
Comment 3•11 years ago
|
||
Reporter | ||
Updated•11 years ago
|
Attachment #724747 -
Attachment is obsolete: true
Assignee | ||
Comment 4•11 years ago
|
||
I fixed the bug as-filed in bug 850517, but now we're running into problems with the GSP not existing for non-HTML documents. I'm going to use this bug for that, starting with bz's patches.
Summary: Move named frame lookups from nsWindowSH::GetProperty to the global scope polluter → Make the Global Scope Polluter work for non-html scopes
Assignee | ||
Updated•11 years ago
|
Assignee: bzbarsky → bobbyholley+bmo
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 726216 [details] [diff] [review] Now with a test Given that I think we're in a bit of a hurry on this one, I'm going to do the try push and review requests simultaneously.
Attachment #726216 -
Attachment is obsolete: true
Assignee | ||
Comment 6•11 years ago
|
||
Attachment #726351 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 7•11 years ago
|
||
Attachment #726352 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 8•11 years ago
|
||
Attachment #726353 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 9•11 years ago
|
||
Attachment #726354 -
Flags: review+
Assignee | ||
Comment 10•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=ea5e68edd663
Reporter | ||
Comment 11•11 years ago
|
||
Comment on attachment 726351 [details] [diff] [review] Part 1 - Have the global scope polluter find the document via the global. v1 >+ nullptr Could just leave it off, too. Either way. >+ nsCOMPtr<nsIDOMHTMLDocument> domDoc = nsIHTMLDocument, please. Might not be worth worrying about if this code goes away. r=me
Attachment #726351 -
Flags: review?(bzbarsky) → review+
Reporter | ||
Comment 12•11 years ago
|
||
Comment on attachment 726352 [details] [diff] [review] Part 2 - Resolve named frames for non-HTML documents. v1 Definitely nsIHTMLDocument here, please. r=me
Attachment #726352 -
Flags: review?(bzbarsky) → review+
Reporter | ||
Comment 13•11 years ago
|
||
Comment on attachment 726353 [details] [diff] [review] Part 3 - Stop pref-controlling the GSP. v1 This is the part mrbkap already reviewed. So r=, but him not me. ;)
Attachment #726353 -
Flags: review?(bzbarsky) → review+
Comment 15•11 years ago
|
||
Tracking due to bug 851924, which points to a concerning web regression.
Assignee | ||
Comment 16•11 years ago
|
||
Arg, I wrote "linu64" rather than "linux64", so no try jobs were triggered. Pushing again: https://tbpl.mozilla.org/?tree=Try&rev=02b3830e01c3
Assignee | ||
Comment 17•11 years ago
|
||
Green on try. remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/34511e89a1a8 remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/96fc6637a942 remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/0b6a4443faa1 remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/b2942eb4d283
Comment 18•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/34511e89a1a8 https://hg.mozilla.org/mozilla-central/rev/96fc6637a942 https://hg.mozilla.org/mozilla-central/rev/0b6a4443faa1 https://hg.mozilla.org/mozilla-central/rev/b2942eb4d283
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•