Closed Bug 1646960 Opened 4 years ago Closed 4 years ago

Duplicated CSP blocked request

Categories

(DevTools :: Netmonitor, defect, P2)

defect

Tracking

(firefox79 verified)

VERIFIED FIXED
Firefox 79
Tracking Status
firefox79 --- verified

People

(Reporter: Honza, Assigned: Honza)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

STR:

  1. Load http://janodvarko.cz/tests/network/csp/example1/
  2. Open DevTools and select the Network panel
  3. Reload the page
  4. There are two index.js blocked requests -> BUG

ER: There should be just one.

Honza

Blocks: 1484005
Has STR: --- → yes

:Honza, if you think that's a regression, then could you try to find a regression range in using for example mozregression?

@mayhemer: it looks like the the platform is creating two channels (with different channel IDs) for the one (blocked) requests.
Can you reproduce the issue?

Honza

Flags: needinfo?(honzab.moz)

One is a speculative load (at prescan) and the other is an actual load (at DOM tree building). Redirecting to DOM. This is a known issue, though.

Component: Netmonitor → DOM: Core & HTML
Flags: needinfo?(honzab.moz)
Product: DevTools → Core

@mayhemer: Thanks for the update.

I am also increasing priority for this.

Priority: P3 → P2

I could figure the patch out thanks to help from @ckerschbaumer

Honza

Assignee: nobody → odvarko
Status: NEW → ASSIGNED
Component: DOM: Core & HTML → Netmonitor
Product: Core → DevTools
Pushed by jodvarko@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/aa067d4821d6 imported patch ignore-blocked-preloads.diff r=bomsy
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 79
QA Whiteboard: [qa-79b-p2]

Reproduced the issue using Firefox 79.0a1 (20200619215130) on Windows 10x64.
The issue is verified fixed with Firefox 79.0 (20200720193547) on Windows 10x64, macOS 10.12 and Ubuntu 18.04.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: