Created attachment 266173 [details] Reproducible test case See attached test case to reproduce. location.origin is available from the main thread, but not from a web worker. This bug exists in Edge as well, but not in Chrome or Firefox. Test case: http://bl.ocks.org/nolanlawson/f71571e8770ba7174566
Tested in WebKit Nightly, Version 9.0.1 (10601.2.7.2, r190266).
Created attachment 266247 [details] Patch
Comment on attachment 266247 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=266247&action=review > Source/WebCore/ChangeLog:11 > + This behavior is consistent with the one of Firefox and Chrome. Grammatical error. Should just remove "the one of" or make it say "the behavior of". > Source/WebCore/workers/WorkerLocation.cpp:81 > +} > + > > } // namespace WebCore Extra blank line here.
Created attachment 266248 [details] Patch
Comment on attachment 266248 [details] Patch Clearing flags on attachment: 266248 Committed r192810: <http://trac.webkit.org/changeset/192810>
All reviewed patches have been landed. Closing bug.