RESOLVED FIXED 21787
postMessage null origin
https://bugs.webkit.org/show_bug.cgi?id=21787
Summary postMessage null origin
Adam Barth
Reported 2008-10-22 01:07:31 PDT
Ian updated the HTML 5 spec to use "null" instead of the empty string when the browser can't serialize the current origin. This means we can get rid of SecurityOrigin::toHTTPOrigin() and just use SecurityOrigin::toString() for both postMessage and XMLHttpRequest.
Attachments
Patch (13.36 KB, patch)
2008-10-22 03:04 PDT, Adam Barth
sam: review+
Adam Barth
Comment 1 2008-10-22 01:14:22 PDT
Patch forthcoming.
Adam Barth
Comment 2 2008-10-22 03:04:53 PDT
Created attachment 24554 [details] Patch Yay for merging these functions.
Adam Barth
Comment 3 2008-10-23 03:00:25 PDT
Note You need to log in before you can comment on or make changes to this bug.