This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24074 - new Worker('data:...') should not throw
Summary: new Worker('data:...') should not throw
Status: RESOLVED MOVED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Test suite (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-12 12:20 UTC by Simon Pieters
Modified: 2014-01-03 14:51 UTC (History)
3 users (show)

See Also:


Attachments

Description Simon Pieters 2013-12-12 12:20:20 UTC
http://w3c-test.org/web-platform-tests/master/workers/Worker_cross_origin_security_err.htm has the wrong pass condition.

[[
If the scheme component of worker URL is not "data", and the origin of worker URL is not the same as the origin specified by the incumbent settings object, then throw a SecurityError exception and abort these steps.
]]
http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#dom-worker
Comment 1 Arthur Barstow 2014-01-03 14:51:33 UTC
This bug is now GitHub Issue 475 https://github.com/w3c/web-platform-tests/issues/475 so closing as DUP.