<rdar://problem/6425807> Implement WorkerUtils.importScripts()
authorOliver Hunt <oliver@apple.com>
Tue, 10 Mar 2009 09:44:30 +0000 (09:44 +0000)
committerOliver Hunt <oliver@apple.com>
Tue, 10 Mar 2009 09:44:30 +0000 (09:44 +0000)
commit31630dc9a2c485ed02f9613409094c4e4212b5db
treee884b6c3b15c0bdf01e07d6d9df74e2527241028
parent55954d7ebe8f2f5fbdb68520a103acf667a430e3
<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: http://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]