Closed Bug 1530329 Opened 5 years ago Closed 5 years ago

Crash in [@ mozilla::net::nsHttpChannel::HasCrossOriginOpenerPolicyMismatch]

Categories

(Core :: Networking: HTTP, defect, P1)

60 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla68
Fission Milestone M2
Tracking Status
firefox-esr60 --- unaffected
firefox66 --- wontfix
firefox67 --- wontfix
firefox68 --- fixed

People

(Reporter: valentin, Assigned: valentin)

References

Details

(Keywords: crash, Whiteboard: [necko-triaged])

Crash Data

This bug is for crash report bp-450e765f-f697-4591-bb2d-985ba0190225.

Top 10 frames of crashing thread:

0 XUL mozilla::net::nsHttpChannel::HasCrossOriginOpenerPolicyMismatch dist/include/nsIPrincipal.h:200
1 XUL NS_InvokeByIndex 
2 XUL XPCWrappedNative::CallMethod js/xpconnect/src/XPCWrappedNative.cpp:1638
3 XUL XPC_WN_CallMethod js/xpconnect/src/XPCWrappedNativeJSOps.cpp:946
4 XUL js::InternalCallOrConstruct js/src/vm/Interpreter.cpp:440
5 XUL js::jit::DoCallFallback js/src/vm/Interpreter.cpp:591
6  @0x28c3f104ad27 
7  @0x12ec483b7 
8  @0x28c3f10d6d10 
9  @0x12ec3627f 

The crash happens here:

https://searchfox.org/mozilla-central/rev/dc0adc07db3df9431a0876156f50c65d580010cb/netwerk/protocol/http/nsHttpChannel.cpp#7282-7283,7286,7299

It seems for some reason mTopWindowPrincipal is null, and we also can't get it from GetTopWindowPrincipal().

Blocks: 1521808

Can be reproduced by clicking this link in gmail after doing a back and forward navigation.

Status: NEW → ASSIGNED
Fission Milestone: --- → M2

I tested with my patches from bug 1530303, and it seems to have fixed the issue.

Depends on: 1530303

Marking resolved based on comment 3.

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.