Closed Bug 1385943 Opened 8 years ago Closed 8 years ago

window.isSecureContext returns incorrect result for DATA URIs

Categories

(Core :: DOM: Security, defect, P3)

54 Branch
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ericlaw1979, Unassigned)

Details

(Whiteboard: [domsecurity-backlog2])

Attachments

(1 file)

Attached image SecureContexts.png
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0 Build ID: 20170628075643 Steps to reproduce: window.isSecureContext from a DATA: frame on a HTTPS page Actual results: Returns true Expected results: Returns false, as in Edge and Chrome.
Component: Security → DOM: Security
Product: Firefox → Core
Probably a dupe of bug 1324406.
Priority: -- → P3
Whiteboard: [domsecurity-backlog2]
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: