Closed Bug 578380 Opened 14 years ago Closed 14 years ago

postMessage() second argument should not accept full URL

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: annevk, Unassigned)

References

()

Details

(Keywords: html5)

Per HTML5 http://www.whatwg.org/specs/web-apps/current-work/complete/web-messaging.html#dom-window-postmessage postMessage() should throw if targetOrigin contains a path component.

See also: https://bugs.webkit.org/show_bug.cgi?id=42170
Keywords: html5
OS: Linux → All
Hardware: x86_64 → All
Version: unspecified → Trunk
The spec has changed.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.