Closed Bug 1142661 Opened 10 years ago Closed 5 years ago

sendBeacon causes a spurious mixed content warning

Categories

(Core :: DOM: Networking, defect, P5)

36 Branch
x86_64
Windows 8.1
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: kuza55, Unassigned)

References

(Blocks 2 open bugs)

Details

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36 Steps to reproduce: Open the console and enable persistent logging Setup a http page which calls sendBeacon in an onbeforeunload event handler which posts to a http page ( eg http://jsfiddle.net/4gtcxny5/1/show/ ) Navigate the browser to a https page by typing in the URL Actual results: Saw a mixed content warning in the console: POST http://fiddle.jshell.net/blah [Mixed Content][HTTP/1.1 404 NOT FOUND 115ms] Expected results: No mixed content warning
Mozilla/5.0 (Windows NT 6.3; rv:46.0) Gecko/20100101 Firefox/46.0 Build ID: 20151216030229 I can confirm that on the latest Nightly the following warning is received: POST http://fiddle.jshell.net/blah [Mixed Content] [HTTP/1.1 404 NOT FOUND 283ms]
Status: UNCONFIRMED → NEW
Component: Untriaged → Developer Tools: Console
Ever confirmed: true
If this is still a problem it's a problem with the sendBeacon() code triggering the developer console (probably somewhere in the subsystem responsible for doing the request).
Component: Developer Tools: Console → DOM
Product: Firefox → Core
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Component: DOM: Core & HTML → DOM: Networking

Christoph, is this something you can look at?

Flags: needinfo?(ckerschb)

This Bug was filed 5 years ago and the Mixed Content Blocker changed quite drastically in between. I can't reproduce the bug, hence I'll just link that bug to the master bug for mixed content and will mark it as WORKSFORME.

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