Closed
Bug 848386
Opened 11 years ago
Closed 11 years ago
Convert SVGDocument to WebIDL
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
(Blocks 1 open bug)
Details
Attachments
(5 files)
1.54 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
3.06 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
6.60 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
25.62 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
7.04 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
Like the summary says.
Assignee | ||
Updated•11 years ago
|
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #722372 -
Flags: review?(peterv)
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #722373 -
Flags: review?(peterv)
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #722374 -
Flags: review?(peterv)
Assignee | ||
Comment 6•11 years ago
|
||
Attachment #722375 -
Flags: review?(peterv)
Assignee | ||
Comment 7•11 years ago
|
||
Attachment #722376 -
Flags: review?(peterv)
Updated•11 years ago
|
Attachment #722372 -
Flags: review?(peterv) → review+
Comment 8•11 years ago
|
||
Comment on attachment 722373 [details] [diff] [review] part 2. Implement a WebIDL equivalent for nsDocumentSH::PostCreate setting up the document as an own property on the Window. Review of attachment 722373 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/base/src/nsDocument.cpp @@ +11102,5 @@ > +bool > +nsIDocument::PostCreateWrapper(JSContext* aCx, JSObject *aNewObject) > +{ > + // This is just a hack around the fact that window.document is not > + // [Unforgeable] yet. Add this above the function, I thought it was about the MOZ_ASSERT :-).
Attachment #722373 -
Flags: review?(peterv) → review+
Assignee | ||
Comment 9•11 years ago
|
||
> Add this above the function,
Done.
Comment 10•11 years ago
|
||
Comment on attachment 722374 [details] [diff] [review] part 3. Rename nsSVGDocument to mozilla::dom::SVGDocument. Review of attachment 722374 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/document/src/nsSVGDocument.h @@ +37,5 @@ > virtual nsXPCClassInfo* GetClassInfo(); > }; > > +} // namespace dom > +} // namespace mozilla Trailing whitespace.
Attachment #722374 -
Flags: review?(peterv) → review+
Comment 11•11 years ago
|
||
Comment on attachment 722375 [details] [diff] [review] part 4. Rename nsXMLDocument to mozilla::dom::XMLDocument. Review of attachment 722375 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/xml/document/src/nsXMLDocument.cpp @@ +264,1 @@ > nsIPrincipal* aPrincipal) Reindent second line.
Attachment #722375 -
Flags: review?(peterv) → review+
Comment 12•11 years ago
|
||
Comment on attachment 722376 [details] [diff] [review] part 5. Convert SVGDocument to WebIDL. Review of attachment 722376 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/svg/document/src/SVGDocument.cpp @@ +113,5 @@ > } > > +JSObject* > +SVGDocument::WrapNode(JSContext *aCx, JSObject *aScope, > + bool *aTriedToWrap) aTriedToWrap is gone. ::: content/svg/document/src/SVGDocument.h @@ +44,5 @@ > + nsSVGElement* GetRootElement(ErrorResult& aRv); > + > +protected: > + virtual JSObject* WrapNode(JSContext *aCx, JSObject *aScope, > + bool *aTriedToWrap) MOZ_OVERRIDE; aTriedToWrap is gone.
Attachment #722376 -
Flags: review?(peterv) → review+
Assignee | ||
Comment 13•11 years ago
|
||
> Trailing whitespace. Fixed. > Reindent second line. Done. > aTriedToWrap is gone. Merged. Pushed: https://hg.mozilla.org/integration/mozilla-inbound/rev/4612e210962a https://hg.mozilla.org/integration/mozilla-inbound/rev/cb6dc8e4c334 https://hg.mozilla.org/integration/mozilla-inbound/rev/314f8ecec74f https://hg.mozilla.org/integration/mozilla-inbound/rev/11efd85f2af1 https://hg.mozilla.org/integration/mozilla-inbound/rev/21ebbbb3467a
Whiteboard: [need review]
Target Milestone: --- → mozilla22
Comment 14•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4612e210962a https://hg.mozilla.org/mozilla-central/rev/cb6dc8e4c334 https://hg.mozilla.org/mozilla-central/rev/314f8ecec74f https://hg.mozilla.org/mozilla-central/rev/11efd85f2af1 https://hg.mozilla.org/mozilla-central/rev/21ebbbb3467a
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
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
•