Open Bug 1307784 Opened 8 years ago Updated 2 years ago

[e10s] Network Monitor not showing security information for service workers

Categories

(Core :: DOM: Service Workers, defect, P3)

52 Branch
defect

Tracking

()

People

(Reporter: Fanolian+BMO, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Build ID: 20161005030211

Steps to reproduce:

1. Open Network Monitor (Ctrl-Shift-Q).
2. Visit https://web.whatsapp.com/.
3. Observe Network Monitor.


Actual results:

Please see attachment.
1. No green locks for service worker requests even if they are loaded from a https address.
2. Security panes are missing for those requests.
Workaround:
Disable e10s.
Josh, do you know what's going on here?
Flags: needinfo?(josh)
Honza, do you know what triggers the green lock?

I believe we do have security info for the response from the service worker, but perhaps its not getting set in the right place on HttpChannelChild.
Flags: needinfo?(odvarko)
I think we need to populate mSecurityInfo in HttpChannelChild::OverrideWithSynthesizedResponse().  We should also write a test to keep this from regressing in the future.
Flags: needinfo?(odvarko)
Flags: needinfo?(josh)
Catalin, care to take a look?
Flags: needinfo?(catalin.badea392)
Priority: -- → P3
Sure.
Assignee: nobody → catalin.badea392
Flags: needinfo?(catalin.badea392)
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Because network interception is done in the child process, we'd need to bounce the channel's security info to the parent process in order to verify its certificate. At this time, it would be better to wait on bug 1231222 to be fixed.
Assignee: catalin.badea392 → nobody
Status: ASSIGNED → NEW
Depends on: 1231222

:catalinb, now that bug 1231222 is closed, would this be still something you want to look at? Thank you!

Flags: needinfo?(catalin.badea392)

:catalinb was a MoCo employee at the time and is not likely to want to look at this, although I am sure will celebrate the closing of bug 1231222! ;)

Flags: needinfo?(catalin.badea392)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: