Closed
Bug 694867
Opened 13 years ago
Closed 13 years ago
nsIScriptContext::ExecuteScript's first parameter should be a JSScript
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla10
People
(Reporter: Ms2ger, Assigned: Ms2ger)
References
Details
Attachments
(6 files)
5.24 KB,
patch
|
mounir
:
review+
|
Details | Diff | Splinter Review |
6.10 KB,
patch
|
mounir
:
review+
|
Details | Diff | Splinter Review |
4.54 KB,
patch
|
mounir
:
review+
|
Details | Diff | Splinter Review |
3.15 KB,
patch
|
mounir
:
review+
|
Details | Diff | Splinter Review |
1.68 KB,
patch
|
mounir
:
review+
|
Details | Diff | Splinter Review |
4.39 KB,
patch
|
mounir
:
review+
|
Details | Diff | Splinter Review |
As requested in bug 694781 comment 1.
Flags: in-testsuite-
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #567349 -
Flags: review?(mounir)
Assignee | ||
Comment 2•13 years ago
|
||
Attachment #567351 -
Flags: review?(mounir)
Assignee | ||
Comment 3•13 years ago
|
||
Attachment #567352 -
Flags: review?(mounir)
Assignee | ||
Comment 4•13 years ago
|
||
Note that I don't have to change the consumers because they pass the mObject member of ScriptObjectHolder, which I changed in part a.
Attachment #567353 -
Flags: review?(mounir)
Assignee | ||
Comment 5•13 years ago
|
||
Same comment as for part d.
Attachment #567354 -
Flags: review?(mounir)
Assignee | ||
Comment 6•13 years ago
|
||
Note that nsXULDocument::ExecuteScript is its only caller.
Attachment #567355 -
Flags: review?(mounir)
Updated•13 years ago
|
Attachment #567349 -
Flags: review?(mounir) → review+
Updated•13 years ago
|
Attachment #567351 -
Flags: review?(mounir) → review+
Updated•13 years ago
|
Attachment #567352 -
Flags: review?(mounir) → review+
Updated•13 years ago
|
Attachment #567353 -
Flags: review?(mounir) → review+
Updated•13 years ago
|
Attachment #567354 -
Flags: review?(mounir) → review+
Updated•13 years ago
|
Attachment #567355 -
Flags: review?(mounir) → review+
Comment 7•13 years ago
|
||
Everything seems fine but it would have been easier to read in one file given that most patches are basically adding some static_cast which are removed by other patches.
Assignee | ||
Comment 8•13 years ago
|
||
Comment on attachment 567351 [details] [diff] [review]
Part b: Pass a JSScript to nsXULPrototypeScript::Set
>--- a/dom/base/nsDOMScriptObjectHolder.h
>+++ b/dom/base/nsDOMScriptObjectHolder.h
>+ JSScript* getObject() const {
Looking back at the patch, mind if I make it getScript?
Comment 9•13 years ago
|
||
(In reply to Ms2ger from comment #8)
> Looking back at the patch, mind if I make it getScript?
Makes more sense indeed.
Assignee | ||
Comment 10•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9f14aa19f2e9
https://hg.mozilla.org/mozilla-central/rev/70746df95663
https://hg.mozilla.org/mozilla-central/rev/15904b0261b3
https://hg.mozilla.org/mozilla-central/rev/3b30dade99c9
https://hg.mozilla.org/mozilla-central/rev/00b15d7cf608
https://hg.mozilla.org/mozilla-central/rev/0573e102ae3d
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
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
•