RESOLVED FIXED 166861
Implement JSSourceCode to propagate SourceCode in module pipeline
https://bugs.webkit.org/show_bug.cgi?id=166861
Summary Implement JSSourceCode to propagate SourceCode in module pipeline
Yusuke Suzuki
Reported 2017-01-09 13:51:48 PST
...
Attachments
Patch (23.37 KB, patch)
2017-01-09 14:50 PST, Yusuke Suzuki
no flags
Patch (23.38 KB, patch)
2017-01-09 14:54 PST, Yusuke Suzuki
saam: review+
Patch for landing (23.33 KB, patch)
2017-01-09 15:30 PST, Yusuke Suzuki
buildbot: commit-queue-
Patch for landing (23.36 KB, patch)
2017-01-09 16:08 PST, Yusuke Suzuki
buildbot: commit-queue-
Archive of layout-test-results from ews102 for mac-elcapitan (964.73 KB, application/zip)
2017-01-09 16:45 PST, Build Bot
no flags
Archive of layout-test-results from ews112 for mac-elcapitan (1.71 MB, application/zip)
2017-01-09 16:56 PST, Build Bot
no flags
Patch for landing (29.11 KB, patch)
2017-01-09 17:16 PST, Yusuke Suzuki
buildbot: commit-queue-
Archive of layout-test-results from ews100 for mac-elcapitan (1.25 MB, application/zip)
2017-01-09 17:22 PST, Build Bot
no flags
Archive of layout-test-results from ews113 for mac-elcapitan (1.81 MB, application/zip)
2017-01-09 17:26 PST, Build Bot
no flags
Archive of layout-test-results from ews126 for ios-simulator-wk2 (deleted)
2017-01-09 17:36 PST, Build Bot
no flags
Archive of layout-test-results from ews121 for ios-simulator-wk2 (deleted)
2017-01-09 18:18 PST, Build Bot
no flags
Patch for landing (38.19 KB, patch)
2017-01-09 18:37 PST, Yusuke Suzuki
no flags
Archive of layout-test-results from ews100 for mac-elcapitan (930.55 KB, application/zip)
2017-01-09 18:41 PST, Build Bot
no flags
Archive of layout-test-results from ews115 for mac-elcapitan (1.51 MB, application/zip)
2017-01-09 18:42 PST, Build Bot
no flags
Archive of layout-test-results from ews126 for ios-simulator-wk2 (18.98 MB, application/zip)
2017-01-09 18:58 PST, Build Bot
no flags
Archive of layout-test-results from ews105 for mac-elcapitan-wk2 (1.51 MB, application/zip)
2017-01-09 19:13 PST, Build Bot
no flags
Archive of layout-test-results from ews123 for ios-simulator-wk2 (deleted)
2017-01-09 20:23 PST, Build Bot
no flags
Archive of layout-test-results from ews105 for mac-elcapitan-wk2 (2.25 MB, application/zip)
2017-01-09 21:21 PST, Build Bot
no flags
Yusuke Suzuki
Comment 1 2017-01-09 14:50:50 PST
Yusuke Suzuki
Comment 2 2017-01-09 14:54:36 PST
Saam Barati
Comment 3 2017-01-09 15:09:27 PST
Comment on attachment 298393 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=298393&action=review > Source/WebCore/ForwardingHeaders/runtime/JSSourceCode.h:2 > + * Copyright (C) Yusuke Suzuki <utatane.tea@gmail.com> I think you should probably add the year here. > Source/WebCore/ForwardingHeaders/runtime/JSSourceCode.h:27 > +#ifndef WebCore_FWD_JSSourceCode_h > +#define WebCore_FWD_JSSourceCode_h #pragma once?
Yusuke Suzuki
Comment 4 2017-01-09 15:11:21 PST
Comment on attachment 298393 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=298393&action=review I'll land it once I fixed the build failures. >> Source/WebCore/ForwardingHeaders/runtime/JSSourceCode.h:2 >> + * Copyright (C) Yusuke Suzuki <utatane.tea@gmail.com> > > I think you should probably add the year here. Oops. Thanks. >> Source/WebCore/ForwardingHeaders/runtime/JSSourceCode.h:27 >> +#define WebCore_FWD_JSSourceCode_h > > #pragma once? Changed.
Yusuke Suzuki
Comment 5 2017-01-09 15:26:57 PST
Comment on attachment 298393 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=298393&action=review > Source/WebCore/bindings/js/JSDOMPromise.h:98 > + void resolve(Callback callback, Value value) Oops. This `resolve` name is ambiguous with the `void resolve(JSC::ExecState& state, JSC::JSValue resolution) { callFunction(state, m_deferred->resolve(), resolution); }` case. I've renamed it to `resolveWithCallback`.
Yusuke Suzuki
Comment 6 2017-01-09 15:30:26 PST
Created attachment 298401 [details] Patch for landing Patch for landing
Yusuke Suzuki
Comment 7 2017-01-09 16:08:34 PST
Created attachment 298411 [details] Patch for landing Patch for landing
Build Bot
Comment 8 2017-01-09 16:45:28 PST
Comment on attachment 298401 [details] Patch for landing Attachment 298401 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/2860738 Number of test failures exceeded the failure limit.
Build Bot
Comment 9 2017-01-09 16:45:31 PST
Created attachment 298417 [details] Archive of layout-test-results from ews102 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Build Bot
Comment 10 2017-01-09 16:56:12 PST
Comment on attachment 298401 [details] Patch for landing Attachment 298401 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/2860752 Number of test failures exceeded the failure limit.
Build Bot
Comment 11 2017-01-09 16:56:15 PST
Created attachment 298419 [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
Yusuke Suzuki
Comment 12 2017-01-09 17:16:27 PST
Created attachment 298422 [details] Patch for landing Patch for landing
Build Bot
Comment 13 2017-01-09 17:22:39 PST
Comment on attachment 298411 [details] Patch for landing Attachment 298411 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/2860925 Number of test failures exceeded the failure limit.
Build Bot
Comment 14 2017-01-09 17:22:42 PST
Created attachment 298424 [details] Archive of layout-test-results from ews100 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Build Bot
Comment 15 2017-01-09 17:26:08 PST
Comment on attachment 298411 [details] Patch for landing Attachment 298411 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/2860902 Number of test failures exceeded the failure limit.
Build Bot
Comment 16 2017-01-09 17:26:11 PST
Created attachment 298425 [details] Archive of layout-test-results from ews113 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews113 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Build Bot
Comment 17 2017-01-09 17:35:57 PST
Comment on attachment 298401 [details] Patch for landing Attachment 298401 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/2860840 Number of test failures exceeded the failure limit.
Build Bot
Comment 18 2017-01-09 17:36:05 PST
Created attachment 298426 [details] Archive of layout-test-results from ews126 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews126 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.6
Build Bot
Comment 19 2017-01-09 18:18:14 PST
Comment on attachment 298411 [details] Patch for landing Attachment 298411 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/2861034 Number of test failures exceeded the failure limit.
Build Bot
Comment 20 2017-01-09 18:18:21 PST
Created attachment 298428 [details] Archive of layout-test-results from ews121 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews121 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.6
Yusuke Suzuki
Comment 21 2017-01-09 18:37:23 PST
Created attachment 298430 [details] Patch for landing Patch for landing
Build Bot
Comment 22 2017-01-09 18:41:36 PST
Comment on attachment 298422 [details] Patch for landing Attachment 298422 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/2861303 New failing tests: http/tests/security/contentSecurityPolicy/module-eval-blocked.html
Build Bot
Comment 23 2017-01-09 18:41:39 PST
Created attachment 298431 [details] Archive of layout-test-results from ews100 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Build Bot
Comment 24 2017-01-09 18:42:49 PST
Comment on attachment 298422 [details] Patch for landing Attachment 298422 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/2861286 New failing tests: http/tests/security/contentSecurityPolicy/module-eval-blocked.html
Build Bot
Comment 25 2017-01-09 18:42:52 PST
Created attachment 298432 [details] Archive of layout-test-results from ews115 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews115 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Build Bot
Comment 26 2017-01-09 18:58:26 PST
Comment on attachment 298422 [details] Patch for landing Attachment 298422 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/2861343 New failing tests: http/tests/security/contentSecurityPolicy/module-eval-blocked.html
Build Bot
Comment 27 2017-01-09 18:58:30 PST
Created attachment 298433 [details] Archive of layout-test-results from ews126 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews126 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.6
Build Bot
Comment 28 2017-01-09 19:13:45 PST
Comment on attachment 298422 [details] Patch for landing Attachment 298422 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/2861435 New failing tests: http/tests/security/contentSecurityPolicy/module-eval-blocked.html
Build Bot
Comment 29 2017-01-09 19:13:49 PST
Created attachment 298434 [details] Archive of layout-test-results from ews105 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Build Bot
Comment 30 2017-01-09 20:23:14 PST
Comment on attachment 298411 [details] Patch for landing Attachment 298411 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/2861560 Number of test failures exceeded the failure limit.
Build Bot
Comment 31 2017-01-09 20:23:23 PST
Created attachment 298440 [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.11.6
Yusuke Suzuki
Comment 32 2017-01-09 21:15:10 PST
Comment on attachment 298430 [details] Patch for landing OK, rebaseline the test result, and add the missing JSSourceCode use for ModuleLoader's provide method.
Build Bot
Comment 33 2017-01-09 21:21:16 PST
Comment on attachment 298411 [details] Patch for landing Attachment 298411 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/2861867 Number of test failures exceeded the failure limit.
Build Bot
Comment 34 2017-01-09 21:21:19 PST
Created attachment 298445 [details] Archive of layout-test-results from ews105 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Yusuke Suzuki
Comment 35 2017-01-09 21:59:26 PST
WebKit Commit Bot
Comment 36 2017-01-10 12:41:15 PST
Re-opened since this is blocked by bug 166903
Ryan Haddad
Comment 37 2017-01-10 12:45:42 PST
(In reply to comment #36) > Re-opened since this is blocked by bug 166903 Rolled out in http://trac.webkit.org/changeset/210557 due to 700+ JSC test failures: https://build.webkit.org/builders/Apple%20Sierra%20Debug%20JSC%20%28Tests%29/builds/119
Yusuke Suzuki
Comment 38 2017-01-10 18:06:12 PST
(In reply to comment #37) > (In reply to comment #36) > > Re-opened since this is blocked by bug 166903 > > Rolled out in http://trac.webkit.org/changeset/210557 due to 700+ JSC test > failures: > > https://build.webkit.org/builders/Apple%20Sierra%20Debug%20JSC%20%28Tests%29/ > builds/119 Ah, OK. It's just because JSC shell's makeSource misses Module SourceType for fetching.
Yusuke Suzuki
Comment 39 2017-01-10 18:27:55 PST
Yusuke Suzuki
Comment 40 2017-01-10 18:28:22 PST
Reland it with JSC shell makeSource with SourceType::Module. Thanks :)
Note You need to log in before you can comment on or make changes to this bug.