Closed Bug 1803153 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 37231 - SpeculationRules: Small fix for WPT

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox109 fixed)

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 37231 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/37231
Details from upstream follow.

Adithya Srinivasan <adithyas@chromium.org> wrote:

SpeculationRules: Small fix for WPT

"assert_true" returns fails if the value provided is not a boolean,
so the previous assertion would always fail as isUrlPrefetched returns
an integer.

Bug: 1302365
Change-Id: Iddb5f26bbb8840723e89f0334f7b2c271b0f82cf

Reviewed-on: https://chromium-review.googlesource.com/4063250
WPT-Export-Revision: c5f0ed0c7235aadc92416a64fe316f067736142e

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dc4fce3be3cf [wpt PR 37231] - SpeculationRules: Small fix for WPT, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.