Closed
Bug 1400898
Opened 7 years ago
Closed 7 years ago
Nix some nsIDOMChromeWindow stuff
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Tracking
()
RESOLVED
FIXED
mozilla57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(4 files)
2.19 KB,
patch
|
farre
:
review+
|
Details | Diff | Splinter Review |
3.65 KB,
patch
|
farre
:
review+
|
Details | Diff | Splinter Review |
2.16 KB,
patch
|
farre
:
review+
|
Details | Diff | Splinter Review |
part 4. Get rid of nsIDOMChromeWindow methods that are unused from C++, and mark the rest [noscript]
8.82 KB,
patch
|
farre
:
review+
|
Details | Diff | Splinter Review |
There's no good reason for nsIDOMChromeWindow to be scriptable, for example.
Assignee | ||
Comment 1•7 years ago
|
||
Actually, I guess it needs to be scriptable so it shows up in Ci.nsIDOMChromeWindow.... :(
Assignee | ||
Comment 2•7 years ago
|
||
MozReview-Commit-ID: I31eceiJP55
Attachment #8909353 -
Flags: review?(afarre)
Assignee | ||
Comment 3•7 years ago
|
||
MozReview-Commit-ID: 4FuJSgha5y3
Attachment #8909354 -
Flags: review?(afarre)
Assignee | ||
Comment 4•7 years ago
|
||
C++ code only reads this attribute. Code that sets it comes via WebIDL bindings. MozReview-Commit-ID: 2itFAxUVTBo
Attachment #8909355 -
Flags: review?(afarre)
Assignee | ||
Comment 5•7 years ago
|
||
MozReview-Commit-ID: GtYmfg6XiaQ
Attachment #8909356 -
Flags: review?(afarre)
Updated•7 years ago
|
Priority: -- → P3
Updated•7 years ago
|
Attachment #8909353 -
Flags: review?(afarre) → review+
Comment 6•7 years ago
|
||
Comment on attachment 8909354 [details] [diff] [review] part 2. Get rid of the interface constants on nsIDOMChromeWindow Review of attachment 8909354 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/base/nsGlobalWindow.cpp @@ +14076,5 @@ > return NS_OK; > } > > +enum WindowState { > + // These constants need to match the cosntants in Window.webidl s/cosntants/constants/
Attachment #8909354 -
Flags: review?(afarre) → review+
Updated•7 years ago
|
Attachment #8909355 -
Flags: review?(afarre) → review+
Updated•7 years ago
|
Attachment #8909356 -
Flags: review?(afarre) → review+
Assignee | ||
Comment 7•7 years ago
|
||
> s/cosntants/constants/
Good catch, fixed.
Pushed by bzbarsky@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/a4ef5b6299e5 part 1. Remove the one script use of nsIDOMChromeWindow. r=farre https://hg.mozilla.org/integration/mozilla-inbound/rev/aa4d0a9412c0 part 2. Get rid of the interface constants on nsIDOMChromeWindow. r=farre https://hg.mozilla.org/integration/mozilla-inbound/rev/081034bdc4d4 part 3. Make nsIDOMChromeWindow.browserDOMWindow readonly. r=farre https://hg.mozilla.org/integration/mozilla-inbound/rev/5af3e3b70198 part 4. Get rid of nsIDOMChromeWindow methods that are unused from C++, and mark the rest [noscript]. r=farre
Comment 9•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a4ef5b6299e5 https://hg.mozilla.org/mozilla-central/rev/aa4d0a9412c0 https://hg.mozilla.org/mozilla-central/rev/081034bdc4d4 https://hg.mozilla.org/mozilla-central/rev/5af3e3b70198
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
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
•