Created attachment 64247 [details] If URL is about:blank, use __devtools.location instead. I have an application which uses subworkers if available, as described in MDC here: https://developer.mozilla.org/en/Using_web_workers#Spawning_subworkers When debugging workers is enabled, creating the worker fails in the URI class because location.href of the iframe is always about:blank. The call which passes in the bad location is: scriptURL = this._expandURLAndCheckOrigin(document.baseURI, location.href, url); My proposed fix is to lookup the origin in the same way as _importScripts, by using the location set by the parent frame. I'm fairly certain this will not cause a XSS hole because the iframe is an about:blank URL, which means that no malicious code should not be able to affect the parent page--the __devtools variable could be faked but must have been set by the parent page, which implies some trust. The attached diff allows subworkers to work when the debug box is checked. (The fibbonacci page produces the right answer 55)