Dactyloidae/dom/security/test/sri/rsf_spawn_CSPd_worker.js

3 lines
138 B
JavaScript

w = new Worker("rsf_csp_worker.js");
// use the handler function in test_require-sri-for_csp_directive.html
w.onmessage = parent.handler;