Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 5ffc74139bd2e7b51a074ba43d1c961386fe4786 https://github.com/WebKit/WebKit/commit/5ffc74139bd2e7b51a074ba43d1c961386fe4786 Author: Tim Nguyen <n...@apple.com> Date: 2025-08-09 (Sat, 09 Aug 2025)
Changed paths: M LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/invalid-content-type.any-expected.txt M LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/invalid-content-type.any.js M LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/invalid-content-type.any.sharedworker-expected.txt M LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/invalid-content-type.any.worker-expected.txt M LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/invalid-content-type.any-expected.txt M LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/invalid-content-type.any.sharedworker-expected.txt M LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/invalid-content-type.any.worker-expected.txt M LayoutTests/platform/gtk/TestExpectations M Source/WebCore/platform/MIMETypeRegistry.cpp Log Message: ----------- JSON & XML MIME types should only contain valid HTTP tokens https://bugs.webkit.org/show_bug.cgi?id=297161 rdar://157897532 Reviewed by Ryosuke Niwa. https://mimesniff.spec.whatwg.org/#parse-a-mime-type Types should only have HTTP token code points. * LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/invalid-content-type.any-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/invalid-content-type.any.js: * LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/invalid-content-type.any.sharedworker-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/invalid-content-type.any.worker-expected.txt: * LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/invalid-content-type.any-expected.txt: * LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/invalid-content-type.any.sharedworker-expected.txt: * LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/invalid-content-type.any.worker-expected.txt: * LayoutTests/platform/gtk/TestExpectations: * Source/WebCore/platform/MIMETypeRegistry.cpp: (WebCore::isValidMIMETypeWithSuffix): Canonical link: https://commits.webkit.org/298472@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes