Closed
Bug 861880
Opened 11 years ago
Closed 11 years ago
Move TreeColumns to WebIDL
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: Ms2ger, Assigned: Ms2ger)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
19.83 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #737497 -
Flags: review?(bzbarsky)
Assignee | ||
Updated•11 years ago
|
Blocks: ParisBindings
Comment 1•11 years ago
|
||
Comment on attachment 737497 [details] [diff] [review] Patch v1 >+addExternalIface('MozTreeBoxObject', nativeType='nsITreeBoxObject') I think this needs notflattened=True >+interface TreeColumns { [NoInterfaceObject], please. I'm surprised this didn't fail the "list of interfaces we're exposing on the global" test.. or does that not catch webidl things? > NS_INTERFACE_MAP_BEGIN(nsTreeColumns) NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION r=me with those issues fixed. Fwiw, if you put the WebIDL methods _after_ the XPCOM ones in the .cpp, I bet your diff would have been smaller...
Attachment #737497 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 2•11 years ago
|
||
(In reply to Boris Zbarsky (:bz) from comment #1) > >+interface TreeColumns { > > [NoInterfaceObject], please. I'm surprised this didn't fail the "list of > interfaces we're exposing on the global" test.. or does that not catch > webidl things? Sure does. But the test whitelists TreeColumns.
Comment 3•11 years ago
|
||
IIRC because TreeColumns has been exposed to global scope for ages.
Comment 4•11 years ago
|
||
Huh. Why? It's not nsIDOMTreeColumns.... Is it just because it had classinfo?
Comment 5•11 years ago
|
||
IIRC yes. It uses DOMClassInfo and that ends up putting it to global scope. (don't recall how that happens..)
Comment 6•11 years ago
|
||
Hmm. I guess we use it on the RHS of instanceof too. :( Check this in as-is, I guess. :(
Assignee | ||
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0d50cb959c46
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
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
•