Closed
Bug 1063186
Opened 11 years ago
Closed 11 years ago
aWindow is null in e10s builds
Categories
(Firefox :: Private Browsing, defect)
Tracking
()
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
e10s | + | --- |
People
(Reporter: ehsan.akhgari, Assigned: zombie)
References
Details
Attachments
(1 file)
691.89 KB,
image/png
|
Details |
STR: Open a new window.
aWindow is null PrivateBrowsingUtils.jsm:24
privacyContextFromWindow: function pbu_privacyContextFromWindow(aWindow) {
return aWindow.QueryInterface(Ci.nsIInterfaceRequestor)
.getInterface(Ci.nsIWebNavigation)
.QueryInterface(Ci.nsILoadContext);
},
Comment 1•11 years ago
|
||
Ehsan, is there any effect of this? or just console spew
Flags: needinfo?(ehsan.akhgari)
Comment 2•11 years ago
|
||
And could you get a call stack? I thought most usage of PrivateBrowsingUtils.isWindowPrivate should be passing a chrome win as a param
Reporter | ||
Comment 3•11 years ago
|
||
(In reply to Brad Lassey [:blassey] (use needinfo?) from comment #1)
> Ehsan, is there any effect of this? or just console spew
Hard to say without a callstack.
(In reply to :Felipe Gomes from comment #2)
> And could you get a call stack? I thought most usage of
> PrivateBrowsingUtils.isWindowPrivate should be passing a chrome win as a
> param
I would be happy to. How do I do that?
Flags: needinfo?(ehsan.akhgari) → needinfo?(felipc)
Comment 4•11 years ago
|
||
You could use the browser debugger to set a conditional breakpoint there [1], or if you can reproduce the error with your own build you can dump((new Error).stack);
[1]
Set devtools.debugger.remote-enabled and devtools.chrome.enabled to true
Go to Tools > Web Developer > Browser Toolbox
Flags: needinfo?(felipc)
Comment 5•11 years ago
|
||
FWIW I can't reproduce it here (testing with a clean profile), so that's why I can't get the stack myself
Reporter | ||
Comment 7•11 years ago
|
||
Sorry that this is a screenshot, it seems impossible to copy a callstack from the debugger.
Flags: needinfo?(ehsan.akhgari)
Comment 8•11 years ago
|
||
That's add-on SDK code. Zombie, care to take a look?
This may be breaking some add-ons, so i'm marking this as blocking e10s-addons
Blocks: e10s-addons
Flags: needinfo?(tomica+amo)
Assignee | ||
Comment 9•11 years ago
|
||
we have some private-browsing refactoring in flight (landed to github, to be uplifted to m-c), and with bug 1062024 close to landing (to turn on addon interposition for jetpack addons), it's probably a good idea to delay testing this until next week after both of these land in Nightly..
Flags: needinfo?(tomica+amo)
Comment 10•11 years ago
|
||
(In reply to Tomislav Jovanovic [:zombie] from comment #9)
> we have some private-browsing refactoring in flight (landed to github, to be
> uplifted to m-c), and with bug 1062024 close to landing (to turn on addon
> interposition for jetpack addons), it's probably a good idea to delay
> testing this until next week after both of these land in Nightly..
What's your ETA for that?
Flags: needinfo?(tomica+amo)
Assignee | ||
Comment 11•11 years ago
|
||
jetpack uplifts from github ~weekly, and with all the parties in bug 1062024 happy with proposed patches, i expect end of this week or beginning of next.
Flags: needinfo?(tomica+amo)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → tomica+amo
Assignee | ||
Comment 12•11 years ago
|
||
hey Ehsan, is this still an issue?
lots of code changed since then, so could you please test again, or at least post STR so that i could test it?
thanks.
Flags: needinfo?(ehsan)
Assignee | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 13•11 years ago
|
||
The STR is in comment 0. I do not get this any more, but I'm not sure if that's because the bug was fixed or if the call was moved out of the code path for opening a new window.
Flags: needinfo?(ehsan)
Assignee | ||
Comment 14•11 years ago
|
||
(In reply to :Ehsan Akhgari (not reading bugmail, needinfo? me!) from comment #13)
> The STR is in comment 0. I do not get this any more, but I'm not sure if
> that's because the bug was fixed or if the call was moved out of the code
> path for opening a new window.
well, isn't that the same thing? that method shouldn't be called with anything but a chrome window, and now it isn't..
i'm gonna mark this WORKSFORME, if it happens again, feel free to re-open.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•