Last Comment Bug 578380 - postMessage() second argument should not accept full URL
: postMessage() second argument should not accept full URL
Status: RESOLVED INVALID
: html5
Product: Core
Classification: Components
Component: DOM (show other bugs)
: Trunk
: All All
: -- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
: Andrew Overholt [:overholt]
Mentors:
javascript:var url="http://www.exampl...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-13 09:23 PDT by Anne (:annevk)
Modified: 2010-08-14 03:18 PDT (History)
6 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description Anne (:annevk) 2010-07-13 09:23:25 PDT
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
Comment 1 Hixie (not reading bugmail) 2010-08-10 18:11:42 PDT
The spec has changed.

Note You need to log in before you can comment on or make changes to this bug.