Open Bug 431935 Opened 16 years ago Updated 2 years ago

Can't use window.postMessage(..., "file://") to send messages to file: URLs

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

People

(Reporter: Waldo, Unassigned)

References

Details

You can't send a message to a page at a file: URL without using "*" as the target origin, because "file://" doesn't provide enough information for the contains test we do for a security check.  The spec gives us leeway to make this be a file system path, but that doesn't seem optimal as it means sending a message to a webpage exposes a local file system path.  Not sure what's best here, but the current setup isn't satisfactory...
Component: DOM: Mozilla Extensions → DOM
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven't been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.