Closed
Bug 1131803
Opened 10 years ago
Closed 10 years ago
remove use of parent SandboxCallableProxyHandler
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: sfink, Assigned: bzbarsky)
References
Details
Attachments
(1 file)
5.72 KB,
patch
|
bholley
:
review+
|
Details | Diff | Splinter Review |
Split out from bug 805052, item 5: SandboxCallableProxyHandler::call -- it uses a custom parent for a proxy to store another object, and Parent() in XPCShell returns the parent
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8569479 -
Flags: review?(bobbyholley)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Comment 2•10 years ago
|
||
Comment on attachment 8569479 [details] [diff] [review]
Remove the use of parents from SandboxCallableProxyHandler and SandboxProxyHandler
Review of attachment 8569479 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/xpconnect/src/Sandbox.cpp
@@ +639,5 @@
> {
> MOZ_ASSERT(JS::IsCallable(callable));
> // Our proxy is wrapping the callable. So we need to use the
> + // callable as the private. We put the given sandboxProtoProxy in
> + // an extra slot,, and our call() hook depends on that.
s/,,/,/
Attachment #8569479 -
Flags: review?(bobbyholley) → review+
Assignee | ||
Comment 3•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/4ef990c3d69d and then https://hg.mozilla.org/integration/mozilla-inbound/rev/b590778549ab to actually like ... address the review comment.
Backed these out in:
https://hg.mozilla.org/integration/mozilla-inbound/rev/351ff671a301
https://hg.mozilla.org/integration/mozilla-inbound/rev/5dac945cae32
As I grasp at straws to figure out what broke mochitest-e10s-dt today:
https://treeherder.mozilla.org/logviewer.html#?job_id=7050990&repo=mozilla-inbound
Flags: needinfo?(bzbarsky)
Assignee | ||
Comment 5•10 years ago
|
||
Flags: needinfo?(bzbarsky)
Comment 6•10 years ago
|
||
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/eed045e1478f
https://hg.mozilla.org/mozilla-central/rev/dc3c7c5d75a7
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in
before you can comment on or make changes to this bug.
Description
•