Closed Bug 1649009 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 24374 - location.replace with invalid urls should throw

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rob Buis <rbuis@igalia.com> wrote:

location.replace with invalid urls should throw

Add a subtest to verify that location.replace throws SyntaxError if
the resulting url is not valid.

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 1 tests and 2 subtests

Status Summary

Firefox

OK : 1
PASS : 1
FAIL : 1

Chrome

OK : 1
PASS : 2

Safari

PASS : 1
FAIL : 1
TIMEOUT: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/browsers/history/the-location-interface/location_replace.html
URL that fails to parse: FAIL (Chrome: PASS, Safari: FAIL)

CI Results

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

Total 1 tests and 2 subtests

Status Summary

Firefox

OK : 1
PASS : 1
FAIL : 1

Chrome

OK : 1
PASS : 2

Safari

PASS : 1
FAIL : 1
TIMEOUT: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/browsers/history/the-location-interface/location_replace.html
URL that fails to parse: FAIL (Chrome: PASS, Safari: FAIL)

CI Results

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

Total 1 tests and 2 subtests

Status Summary

Firefox

OK : 1
PASS : 1
FAIL : 1

Chrome

OK : 1
PASS : 2

Safari

PASS : 1
FAIL : 1
TIMEOUT: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/browsers/history/the-location-interface/location_replace.html
URL that fails to parse: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fc76fdb4e740 [wpt PR 24374] - location.replace with invalid urls should throw, a=testonly https://hg.mozilla.org/integration/autoland/rev/b83c42e1a17e [wpt PR 24374] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in before you can comment on or make changes to this bug.