Open
Bug 719014
Opened 12 years ago
Updated 2 years ago
DeCOMtaminate nsParser instantiation
Categories
(Core :: DOM: HTML Parser, enhancement, P5)
Core
DOM: HTML Parser
Tracking
()
NEW
People
(Reporter: hsivonen, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
32.40 KB,
patch
|
Ms2ger
:
review-
|
Details | Diff | Splinter Review |
Instead of do_createInstance, nsParser should be instantiated with a static factory method (to avoid exporting nsParser.h).
Reporter | ||
Updated•12 years ago
|
Whiteboard: [good first bug]
Updated•12 years ago
|
Assignee: nobody → Ms2ger
Reporter | ||
Updated•12 years ago
|
Summary: DeCOMtaminate nsParser instantiatiation → DeCOMtaminate nsParser instantiation
Comment 1•12 years ago
|
||
Attachment #589857 -
Flags: review?(hsivonen)
Comment 2•12 years ago
|
||
Comment on attachment 589857 [details] [diff] [review] Patch v1 Bah, this doesn't work. nsParser::Init() isn't called in time. I'll try to figure something out over the weekend.
Attachment #589857 -
Flags: review?(hsivonen) → review-
Reporter | ||
Comment 3•12 years ago
|
||
Regarding my earlier IRC comment: I now see that there's no such things as nsParserModule.h, so I guess putting a static ::Create() on nsIParser itself is the least trouble. It would probably be polite to comm-central to split the part that removed the ability to instantiate nsParser the old way into a separate patch so that the patch that adds nsIParser::Create() can land first, then comm-central can migrate to using it and only then the do_CreateInstance support goes away.
Reporter | ||
Comment 4•12 years ago
|
||
(In reply to Ms2ger from comment #2) > Bah, this doesn't work. nsParser::Init() isn't called in time. You could add explicit InitializeStatics()/ReleaseStatics() calls to nsLayoutStatics instead of relying on the old parser module doing stuff. (In reply to Henri Sivonen (:hsivonen) from comment #3) > It would probably be polite to comm-central The comm-central dependencies have gone away.
Updated•8 years ago
|
Assignee: Ms2ger → nobody
Whiteboard: [good first bug]
Comment 5•3 years ago
|
||
Bulk-downgrade of unassigned, 4 years untouched DOM/Storage bugs' priority.
If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.
Severity: normal → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•