Bug 178340

Summary: [JSC] ScriptFetcher should be notified directly from module pipeline
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: JavaScriptCoreAssignee: Yusuke Suzuki <ysuzuki>
Status: REOPENED ---    
Severity: Normal CC: buildbot, cdumez, commit-queue, dbates, esprehn+autocc, jlewis3, kangil.han, keith_miller, mark.lam, msaboff, rniwa, saam, sam
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 178594    
Bug Blocks:    
Attachments:
Description Flags
Patch
sam: review+, buildbot: commit-queue-
Archive of layout-test-results from ews103 for mac-elcapitan
none
Archive of layout-test-results from ews123 for ios-simulator-wk2
none
Archive of layout-test-results from ews112 for mac-elcapitan
none
Archive of layout-test-results from ews107 for mac-elcapitan-wk2 none

Description Yusuke Suzuki 2017-10-16 07:35:34 PDT
ScriptFetcher should be notified directly from the module pipeline.
Comment 1 Yusuke Suzuki 2017-10-19 06:42:25 PDT
Created attachment 324224 [details]
Patch
Comment 2 Sam Weinig 2017-10-19 07:53:06 PDT
Comment on attachment 324224 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=324224&action=review

> Source/JavaScriptCore/runtime/JSModuleLoader.cpp:312
> +    Identifier moduleKey = jsValueToModuleKey(exec, key);

could use auto here.
Comment 3 Build Bot 2017-10-19 08:01:17 PDT
Comment on attachment 324224 [details]
Patch

Attachment 324224 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.webkit.org/results/4919473

New failing tests:
http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-redirect.html
js/dom/modules/module-execution-error-should-be-propagated-to-onerror.html
http/tests/security/module-no-mime-type.html
Comment 4 Build Bot 2017-10-19 08:01:19 PDT
Created attachment 324231 [details]
Archive of layout-test-results from ews103 for mac-elcapitan

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews103  Port: mac-elcapitan  Platform: Mac OS X 10.11.6
Comment 5 Build Bot 2017-10-19 08:25:49 PDT
Comment on attachment 324224 [details]
Patch

Attachment 324224 [details] did not pass ios-sim-ews (ios-simulator-wk2):
Output: http://webkit-queues.webkit.org/results/4919564

New failing tests:
http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-redirect.html
js/dom/modules/module-execution-error-should-be-propagated-to-onerror.html
http/tests/security/module-no-mime-type.html
Comment 6 Build Bot 2017-10-19 08:25:51 PDT
Created attachment 324234 [details]
Archive of layout-test-results from ews123 for ios-simulator-wk2

The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews123  Port: ios-simulator-wk2  Platform: Mac OS X 10.12.6
Comment 7 Build Bot 2017-10-19 08:27:16 PDT
Comment on attachment 324224 [details]
Patch

Attachment 324224 [details] did not pass mac-debug-ews (mac):
Output: http://webkit-queues.webkit.org/results/4919579

New failing tests:
http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-redirect.html
js/dom/modules/module-execution-error-should-be-propagated-to-onerror.html
http/tests/security/module-no-mime-type.html
Comment 8 Build Bot 2017-10-19 08:27:18 PDT
Created attachment 324235 [details]
Archive of layout-test-results from ews112 for mac-elcapitan

The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews112  Port: mac-elcapitan  Platform: Mac OS X 10.11.6
Comment 9 Build Bot 2017-10-19 14:31:32 PDT
Comment on attachment 324224 [details]
Patch

Attachment 324224 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.webkit.org/results/4923102

New failing tests:
http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-redirect.html
js/dom/modules/module-execution-error-should-be-propagated-to-onerror.html
http/tests/security/module-no-mime-type.html
Comment 10 Build Bot 2017-10-19 14:31:33 PDT
Created attachment 324291 [details]
Archive of layout-test-results from ews107 for mac-elcapitan-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews107  Port: mac-elcapitan-wk2  Platform: Mac OS X 10.11.6
Comment 11 Yusuke Suzuki 2017-10-20 00:19:08 PDT
Committed r223744: <https://trac.webkit.org/changeset/223744>
Comment 12 Yusuke Suzuki 2017-10-20 01:59:36 PDT
Committed r223750: <https://trac.webkit.org/changeset/223750>
Comment 13 Yusuke Suzuki 2017-10-20 02:02:26 PDT
Committed r223751: <https://trac.webkit.org/changeset/223751>
Comment 15 WebKit Commit Bot 2017-10-20 10:52:59 PDT
Re-opened since this is blocked by bug 178594