Closed
Bug 1030917
Opened 10 years ago
Closed 10 years ago
xpc::GlobalProperties object ignores the 'aPromise' param.
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: baku, Assigned: baku)
Details
Attachments
(1 file, 1 obsolete file)
3.63 KB,
patch
|
bholley
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8446707 -
Flags: review?(bzbarsky)
Comment 2•10 years ago
|
||
Comment on attachment 8446707 [details] [diff] [review] sandbox.patch Why is the right fix not to get rid of the argument?
Attachment #8446707 -
Flags: review?(bzbarsky) → review?(bobbyholley)
Assignee | ||
Comment 3•10 years ago
|
||
> Why is the right fix not to get rid of the argument? Because somehow we call it with 'false' here: https://mxr.mozilla.org/mozilla-central/source/js/xpconnect/src/XPCComponents.cpp#2784 And maybe that is wrong, but I don't know this code enough.
Comment 4•10 years ago
|
||
Right, and your patch would change the behavior of that callsite. It's not obvious to me which behavior is correct, hence the review redirection to bholley. ;)
Comment 5•10 years ago
|
||
Comment on attachment 8446707 [details] [diff] [review] sandbox.patch Review of attachment 8446707 [details] [diff] [review]: ----------------------------------------------------------------- Yes, it looks like this bool param in the constructor was an unreviewed post-r+ change from bug 988122. Let's remove it.
Attachment #8446707 -
Flags: review?(bobbyholley) → review-
Assignee | ||
Comment 6•10 years ago
|
||
Attachment #8446707 -
Attachment is obsolete: true
Attachment #8448566 -
Flags: review?(bobbyholley)
Comment 7•10 years ago
|
||
Comment on attachment 8448566 [details] [diff] [review] sandbox.patch Review of attachment 8448566 [details] [diff] [review]: ----------------------------------------------------------------- r=me with that. ::: js/xpconnect/src/xpcprivate.h @@ +3306,2 @@ > mozilla::PodZero(this); > Promise = true; Add a comment here indicating that this is because Promise is supposed to be part of ES, and therefore should appear on every global.
Attachment #8448566 -
Flags: review?(bobbyholley) → review+
Assignee | ||
Comment 8•10 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=7f46de59c54b pushed to try before landing it.
Assignee | ||
Comment 9•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/381894d247b3
Comment 10•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/381894d247b3
Assignee: nobody → amarchesini
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
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
•