Closed
Bug 658213
Opened 14 years ago
Closed 14 years ago
Use [implicit_jscontext] on document.open, delete cry for help in nsContentUtils::ReparentContentWrappersInScope
Categories
(Core :: DOM: Core & HTML, defect, P1)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla7
People
(Reporter: jorendorff, Assigned: bzbarsky)
References
Details
Attachments
(1 file, 3 obsolete files)
|
11.97 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
See bug 652818 comment 6 (and subsequent discussion).
| Assignee | ||
Updated•14 years ago
|
Summary: Use [explicit_jscontext] on document.open, delete cry for help in nsContentUtils::ReparentContentWrappersInScope → Use [implicit_jscontext] on document.open, delete cry for help in nsContentUtils::ReparentContentWrappersInScope
| Assignee | ||
Comment 1•14 years ago
|
||
Attachment #533766 -
Flags: review?(peterv)
| Assignee | ||
Updated•14 years ago
|
Assignee: nobody → bzbarsky
Priority: -- → P1
Whiteboard: [need review]
Comment 2•14 years ago
|
||
Because I was feeling nice
Comment 3•14 years ago
|
||
(This one should actually apply for you)
Attachment #534559 -
Attachment is obsolete: true
Comment 4•14 years ago
|
||
Attachment #533766 -
Attachment is obsolete: true
Attachment #534564 -
Attachment is obsolete: true
Attachment #533766 -
Flags: review?(peterv)
Attachment #535843 -
Flags: review?(peterv)
Comment 5•14 years ago
|
||
Comment on attachment 535843 [details] [diff] [review]
Pass it along
Review of attachment 535843 [details] [diff] [review]:
-----------------------------------------------------------------
::: content/html/document/src/nsHTMLDocument.cpp
@@ +1545,5 @@
>
> // XXX TBI: accepting arguments to the open method.
> nsresult
> +nsHTMLDocument::OpenCommon(JSContext *cx, const nsACString& aContentType,
> + PRBool aReplace)
It looks like there is only one caller of OpenCommon, can we remove OpenCommon and make this nsHTMLDocument::Open?
::: dom/interfaces/html/nsIDOMHTMLDocument.idl
@@ +39,5 @@
>
> #include "nsIDOMDocument.idl"
>
> +%{C++
> +#include "jsapi.h"
Would jspubtd.h be better?
Attachment #535843 -
Flags: review?(peterv) → review+
Comment 6•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Whiteboard: [need review]
Updated•14 years ago
|
Target Milestone: --- → mozilla7
Version: Other Branch → Trunk
| Assignee | ||
Comment 7•14 years ago
|
||
May I ask for a favor? Please don't check in my patches that have pending unaddressed review comments on them? :(
| Assignee | ||
Comment 8•14 years ago
|
||
And to be clear, if I want someone to push one of my patches I will _definitely_ add the checkin-needed keyword to the bug!
| Assignee | ||
Comment 9•14 years ago
|
||
Peter, I'll look into comment 5 tomorrow and probably land a followup...
Comment 10•14 years ago
|
||
Ms2ger told me he'd do the OpenCommon -> Open change in a followup (the jspubtd.h change got done already).
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•