Closed Bug 1451938 Opened 6 years ago Closed 4 years ago

Test for FTP subresource redirect from HTTP

Categories

(Core :: DOM: Security, enhancement, P2)

enhancement

Tracking

()

RESOLVED INVALID

People

(Reporter: evilpie, Assigned: evilpie)

References

Details

(Whiteboard: [domsecurity-active])

I implemented parts of this before, but didn't quite get it to work. We can use .sjs scripts to redirect HTTP to FTP and it gets correctly blocked. However it seems like we don't associate the nsILoadInfo with the correct document and the console warning only appears in the Browser Console and not the Web Consol.e
We have an `isMessageRelevant` check that's probably filtering it out here: https://searchfox.org/mozilla-central/rev/d0413b711da4dac72b237d0895daba2537f1514c/devtools/server/actors/webconsole/listeners.js#278. See the call to `Services.wm.getCurrentInnerWindowWithId(message.innerID)`
Status: NEW → ASSIGNED
Priority: -- → P1
Whiteboard: [domsecurity-active]
Priority: P1 → P2

I think we don't need a test for this anymore, after bug 1560699.

Flags: needinfo?(ckerschb)

(In reply to Tom Schuster [:evilpie] from comment #2)

I think we don't need a test for this anymore, after bug 1560699.

Yeah, I guess Bug 1560699 renders this bug to become a INVALID.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Flags: needinfo?(ckerschb)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.