Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0ffe75385f5fd5d57f4fec1419e0bfe948054ba7
      
https://github.com/WebKit/WebKit/commit/0ffe75385f5fd5d57f4fec1419e0bfe948054ba7
  Author: Yoav Weiss <[email protected]>
  Date:   2025-12-10 (Wed, 10 Dec 2025)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/speculation-rules/speculation-tags/invalid-tags.https_tag-level=rule&type=prefetch-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/speculation-rules/speculation-tags/invalid-tags.https_tag-level=ruleset&type=prefetch-expected.txt
    M Source/WebCore/loader/SpeculationRules.cpp

  Log Message:
  -----------
  SpeculationRules - Fix failing invalid tags tests
https://bugs.webkit.org/show_bug.cgi?id=303817

Reviewed by Alex Christensen.

Some of the invalid tag tests are rightfully failing, due to unaligned behavior 
with the spec in case of non-string invalid tags.
This PR fixes that by aligning the implementation with the spec.

No new tests, but progression on existing ones.

* 
LayoutTests/imported/w3c/web-platform-tests/speculation-rules/speculation-tags/invalid-tags.https_tag-level=rule&type=prefetch-expected.txt:
 Progression.
* 
LayoutTests/imported/w3c/web-platform-tests/speculation-rules/speculation-tags/invalid-tags.https_tag-level=ruleset&type=prefetch-expected.txt:
 Progression.
* Source/WebCore/loader/SpeculationRules.cpp:
(WebCore::parseSingleRule): Return false for non-string tags.
(WebCore::SpeculationRules::parseSpeculationRules): Return false for non-string 
tags.

Canonical link: https://commits.webkit.org/304262@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to