haikuwebkit/LayoutTests/js/dom/modules
Brent Fulgham ea74f4fefd REGRESSION (r281012): WebInspector console no longer shows script integrity information
https://bugs.webkit.org/show_bug.cgi?id=229097
<rdar://problem/81915909>

Reviewed by Youenn Fablet.

LayoutTests/imported/w3c:

* web-platform-tests/html/semantics/scripting-1/the-script-element/module/integrity-expected.txt:

Source/WebCore:

* bindings/js/ScriptModuleLoader.cpp:
(WebCore::ScriptModuleLoader::notifyFinished): Add full console message during promise rejection.
* loader/DocumentThreadableLoader.cpp:
(WebCore::DocumentThreadableLoader::reportIntegrityMetadataError): Treat integrity mismatch as
a ResourceError::Type::AccessControl so that it gets detailed console logging.

LayoutTests:

* http/tests/subresource-integrity/sri-fetch-expected.txt:
* http/tests/subresource-integrity/sri-module-expected.txt:
* js/dom/modules/module-fetch-failure-not-cached-expected.txt:


Canonical link: https://commits.webkit.org/240556@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281097 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-16 19:01:53 +00:00
..
resources [LayoutTests] Delete unused LayoutTests/js resources 2021-06-11 23:26:54 +00:00
script-tests
import-execution-order-expected.txt
import-execution-order.html
import-from-handler-expected.txt
import-from-handler.html
import-from-javascript-url-expected.txt
import-from-javascript-url.html
import-from-loaded-classic-expected.txt
import-from-loaded-classic.html
import-from-loaded-module-expected.txt
import-from-loaded-module.html
import-from-module-expected.txt
import-from-module.html
import-from-set-interval-expected.txt
import-from-set-interval.html
import-from-set-timeout-expected.txt
import-from-set-timeout.html
import-incorrect-relative-specifier-expected.txt
import-incorrect-relative-specifier.html
import-meta-url-expected.txt
import-meta-url.html
import-mjs-module-expected.txt
import-mjs-module.html
import-not-found-error-expected.txt
import-not-found-error.html
import-simple-expected.txt
import-simple.html
missing-exception-check-for-import-expected.txt Add missing exception checks in ScriptModuleLoader and JSDOMPromiseDeferred. 2021-06-23 16:25:52 +00:00
missing-exception-check-for-import.html Add missing exception checks in ScriptModuleLoader and JSDOMPromiseDeferred. 2021-06-23 16:25:52 +00:00
module-and-dom-content-loaded-expected.txt
module-and-dom-content-loaded.html
module-and-window-load-expected.txt
module-and-window-load.html
module-async-and-window-load-expected.txt
module-async-and-window-load.html
module-document-write-expected.txt
module-document-write-src-expected.txt [ES6] Integrate ES6 Modules into WebCore 2016-11-16 11:39:43 +00:00
module-document-write-src.html
module-document-write.html
module-execution-error-inside-dependent-module-should-be-propagated-to-onerror-expected.txt [ES6] Integrate ES6 Modules into WebCore 2016-11-16 11:39:43 +00:00
module-execution-error-inside-dependent-module-should-be-propagated-to-onerror.html
module-execution-error-should-be-propagated-to-onerror-expected.txt
module-execution-error-should-be-propagated-to-onerror.html
module-execution-order-inline-expected.txt
module-execution-order-inline.html
module-execution-order-mixed-expected.txt
module-execution-order-mixed-with-classic-scripts-expected.txt [ES6] Integrate ES6 Modules into WebCore 2016-11-16 11:39:43 +00:00
module-execution-order-mixed-with-classic-scripts.html
module-execution-order-mixed.html
module-fetch-failure-not-cached-expected.txt REGRESSION (r281012): WebInspector console no longer shows script integrity information 2021-08-16 19:01:53 +00:00
module-fetch-failure-not-cached.html
module-incorrect-relative-specifier-expected.txt
module-incorrect-relative-specifier.html
module-incorrect-tag-expected.txt
module-incorrect-tag.html
module-inline-current-script-expected.txt
module-inline-current-script.html
module-inline-dynamic-expected.txt [ES6] Integrate ES6 Modules into WebCore 2016-11-16 11:39:43 +00:00
module-inline-dynamic-in-xhtml-expected.txt
module-inline-dynamic-in-xhtml.xhtml
module-inline-dynamic.html
module-inline-ignore-integrity-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
module-inline-ignore-integrity.html
module-inline-simple-expected.txt
module-inline-simple-in-xhtml-expected.txt [WebCore] Clean up script loading code in XML 2016-11-17 06:47:31 +00:00
module-inline-simple-in-xhtml.xhtml
module-inline-simple.html
module-integrity-bad-value-success-with-cache-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
module-integrity-bad-value-success-with-cache.html
module-integrity-non-top-level-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
module-integrity-non-top-level.html
module-load-event-expected.txt
module-load-event-with-src-expected.txt
module-load-event-with-src.html
module-load-event.html
module-load-same-module-from-different-entry-point-dynamic-expected.txt
module-load-same-module-from-different-entry-point-dynamic.html
module-load-same-module-from-different-entry-point-expected.txt [ES6] Integrate ES6 Modules into WebCore 2016-11-16 11:39:43 +00:00
module-load-same-module-from-different-entry-point-in-src-expected.txt [JSC] Specifying same module entry point multiple times cause TypeError 2016-12-01 03:56:12 +00:00
module-load-same-module-from-different-entry-point-in-src.html
module-load-same-module-from-different-entry-point.html
module-not-found-error-event-expected.txt
module-not-found-error-event-with-src-and-import-expected.txt
module-not-found-error-event-with-src-and-import.html
module-not-found-error-event-with-src-expected.txt
module-not-found-error-event-with-src.html
module-not-found-error-event.html
module-scope-event-handler-expected.txt
module-scope-event-handler.html
module-scope-set-interval-expected.txt
module-scope-set-interval.html
module-scope-set-timeout-expected.txt
module-scope-set-timeout.html
module-script-with-data-url-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
module-script-with-data-url.html
module-src-current-script-expected.txt
module-src-current-script.html
module-src-dynamic-expected.txt
module-src-dynamic-in-xhtml-expected.txt
module-src-dynamic-in-xhtml.xhtml
module-src-dynamic.html
module-src-simple-expected.txt
module-src-simple-in-xhtml-expected.txt
module-src-simple-in-xhtml.xhtml
module-src-simple.html
module-type-case-insensitive-expected.txt
module-type-case-insensitive.html
nomodule-dynamic-classic-inline-expected.txt
nomodule-dynamic-classic-inline.html
nomodule-dynamic-classic-src-expected.txt
nomodule-dynamic-classic-src.html
nomodule-has-no-effect-on-module-inline-expected.txt
nomodule-has-no-effect-on-module-inline.html
nomodule-has-no-effect-on-module-src-expected.txt
nomodule-has-no-effect-on-module-src.html
nomodule-prevents-execution-classic-script-inline-expected.txt
nomodule-prevents-execution-classic-script-inline.html
nomodule-prevents-execution-classic-script-src-expected.txt
nomodule-prevents-execution-classic-script-src.html
nomodule-reflect-expected.txt
nomodule-reflect.html