Closed
Bug 814102
Opened 13 years ago
Closed 13 years ago
Make the object used for 'this' when compartment sharing a FakeBackstagePass.
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: khuey, Assigned: khuey)
References
Details
Attachments
(1 file)
2.29 KB,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
This tricks promises into working.
https://groups.google.com/d/msg/mozilla.dev.platform/Ic2YmqbRyIE/wsrbyWiuqXoJ
Attachment #684115 -
Flags: review?(mrbkap)
Comment 1•13 years ago
|
||
Comment on attachment 684115 [details] [diff] [review]
Patch
Review of attachment 684115 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/xpconnect/loader/mozJSComponentLoader.cpp
@@ +73,5 @@
> using namespace xpc;
>
> +static JSClass kFakeBackstagePassJSClass =
> +{
> + "FakeBackstagePass",
Please add a comment here in the code for why we need to do this. Otherwise, someone is sure to come along and ask why we're not simply using an Object.
Attachment #684115 -
Flags: review?(mrbkap) → review+
![]() |
||
Comment 2•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Comment 3•13 years ago
|
||
Please post changeset links and set the appropriate status flags when uplifting.
https://hg.mozilla.org/releases/mozilla-aurora/rev/2923c817adf8
status-firefox19:
--- → fixed
status-firefox20:
--- → fixed
Assignee | ||
Comment 4•13 years ago
|
||
status-firefox18:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•