Bug 178340 - [JSC] ScriptFetcher should be notified directly from module pipeline
Summary: [JSC] ScriptFetcher should be notified directly from module pipeline
Status: REOPENED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Yusuke Suzuki
URL:
Keywords:
Depends on: 178594
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-16 07:35 PDT by Yusuke Suzuki
Modified: 2017-10-20 10:52 PDT (History)
13 users (show)

See Also:


Attachments
Patch (24.85 KB, patch)
2017-10-19 06:42 PDT, Yusuke Suzuki
sam: review+
buildbot: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from ews103 for mac-elcapitan (1.00 MB, application/zip)
2017-10-19 08:01 PDT, Build Bot
no flags Details
Archive of layout-test-results from ews123 for ios-simulator-wk2 (7.33 MB, application/zip)
2017-10-19 08:25 PDT, Build Bot
no flags Details
Archive of layout-test-results from ews112 for mac-elcapitan (1.80 MB, application/zip)
2017-10-19 08:27 PDT, Build Bot
no flags Details
Archive of layout-test-results from ews107 for mac-elcapitan-wk2 (1.50 MB, application/zip)
2017-10-19 14:31 PDT, Build Bot
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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