<rdar://problem/6425807> Implement WorkerUtils.importScripts()
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Mar 2009 09:44:30 +0000 (09:44 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Mar 2009 09:44:30 +0000 (09:44 +0000)
commita57220fd2eeedc5bcd007fa5365e781407c68b3e
treee884b6c3b15c0bdf01e07d6d9df74e2527241028
parent3b2558c8bb374b95db6019588368623245e3b87a
<rdar://problem/6425807> Implement WorkerUtils.importScripts()
<https://bugs.webkit.org/show_bug.cgi?id=22721>

Reviewed by Alexey Proskuryakov

Implement importScripts, currently uses a series of synchronous loads
to fetch the scripts, but this is simpler than a synchronous load of
multiple loads in parallel.  In future we'll want to switch to parallel
loading, but this will do for now.

Test: http/tests/workers/worker-importScripts.html

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41549 268f45cc-cd09-0410-ab3c-d52691b4dbfc
28 files changed:
LayoutTests/ChangeLog
LayoutTests/http/tests/workers/resources/worker-importScripts-differentOrigin.js [new file with mode: 0644]
LayoutTests/http/tests/workers/resources/worker-importScripts-source1.js [new file with mode: 0644]
LayoutTests/http/tests/workers/resources/worker-importScripts-source2.js [new file with mode: 0644]
LayoutTests/http/tests/workers/resources/worker-importScripts-syntaxError.js [new file with mode: 0644]
LayoutTests/http/tests/workers/resources/worker-importScripts.js [new file with mode: 0644]
LayoutTests/http/tests/workers/worker-importScripts-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/workers/worker-importScripts.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/GNUmakefile.am
WebCore/WebCore.vcproj/WebCore.vcproj
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bindings/js/JSWorkerContextCustom.cpp
WebCore/bindings/js/ScriptValue.h
WebCore/bindings/js/WorkerScriptController.cpp
WebCore/bindings/js/WorkerScriptController.h
WebCore/dom/Document.cpp
WebCore/dom/Document.h
WebCore/dom/ScriptExecutionContext.h
WebCore/inspector/InspectorController.cpp
WebCore/inspector/InspectorController.h
WebCore/inspector/InspectorResource.cpp
WebCore/inspector/InspectorResource.h
WebCore/workers/WorkerContext.cpp
WebCore/workers/WorkerContext.h
WebCore/workers/WorkerContext.idl
WebCore/workers/WorkerImportScriptsClient.cpp [new file with mode: 0644]
WebCore/workers/WorkerImportScriptsClient.h [new file with mode: 0644]