Closed
Bug 898687
Opened 11 years ago
Closed 11 years ago
Remove XULTreeBuilder from content
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: bruant.d, Assigned: emk)
References
Details
(Keywords: dev-doc-complete, site-compat)
Attachments
(2 files)
3.85 KB,
patch
|
janv
:
review+
|
Details | Diff | Splinter Review |
1.93 KB,
patch
|
janv
:
review+
smaug
:
review+
|
Details | Diff | Splinter Review |
I can observe the XULTreeBuilder constructor in Aurora ans Nightly. This is Mozilla-specific and should probably be hidden. There might be others. Is this related to the WebIDL binding work?
Assignee | ||
Comment 1•11 years ago
|
||
The easiest way would be converting this interface to WebIDL and marking it as [ChromeOnly].
Comment 3•11 years ago
|
||
It was added to simplify access to tree views from JS (interface flattening), bug 202393
Flags: needinfo?(Jan.Varga)
Assignee | ||
Comment 4•11 years ago
|
||
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #782307 -
Flags: review?(Jan.Varga)
Assignee | ||
Comment 6•11 years ago
|
||
Comment on attachment 782307 [details] [diff] [review]
Test to make sure XUL classes are hidden from content
test_interfaces.html change needs DOM peer's approval.
Attachment #782307 -
Flags: review?(bugs)
Comment 7•11 years ago
|
||
Comment on attachment 782307 [details] [diff] [review]
Test to make sure XUL classes are hidden from content
yes!
Attachment #782307 -
Flags: review?(bugs) → review+
Comment 8•11 years ago
|
||
Comment on attachment 782299 [details] [diff] [review]
Hide XUL related classes from content
Review of attachment 782299 [details] [diff] [review]:
-----------------------------------------------------------------
looks good
Attachment #782299 -
Flags: review?(Jan.Varga) → review+
Updated•11 years ago
|
Attachment #782307 -
Flags: review?(Jan.Varga) → review+
Reporter | ||
Comment 9•11 years ago
|
||
I also noticed XULElement and ChromeWindow. Should I file another bug? (sorry for not telling earler :-s)
Reporter | ||
Comment 10•11 years ago
|
||
Looking at the patch, I noticed the dom/tests/mochitest/general/test_interfaces.html file and the following comment at the top:
// This is a list of all interfaces that are exposed to every webpage. Please only
// add things to this list with great care.
So I guess all the ones at the bottom starting with XUL could be removed too?
Assignee | ||
Comment 11•11 years ago
|
||
Many of those interfaces (including ChromeWindow and XULElement) cannot be removed until bug 898817 is fixed. So I left them for now.
Reporter | ||
Comment 12•11 years ago
|
||
(In reply to Masatoshi Kimura [:emk] from comment #11)
> Many of those interfaces (including ChromeWindow and XULElement) cannot be
> removed until bug 898817 is fixed. So I left them for now.
Sounds good. I'll file a followup bug that depends on bug 898817.
No longer depends on: 898817
Assignee | ||
Comment 14•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ebf4605b082f
https://hg.mozilla.org/integration/mozilla-inbound/rev/ec9d11a89ba4
Flags: in-testsuite+
Comment 15•11 years ago
|
||
(Are there any people still using remote XUL? If so, would this affect them?)
Comment 16•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ebf4605b082f
https://hg.mozilla.org/mozilla-central/rev/ec9d11a89ba4
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Comment 17•11 years ago
|
||
Added to the site compatibility doc just in case:
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/25/Site_Compatibility
Keywords: dev-doc-complete,
site-compat
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•