Skip to content

Commit

Permalink
Bug 1847092 [wpt PR 41326] - blink: Add a boolean to detect UA visual…
Browse files Browse the repository at this point in the history
… transitions on nav events., a=testonly

Automatic update from web-platform-tests
blink: Add a boolean to detect UA visual transitions on nav events.

This implements whatwg/html#8782.

I2P: https://groups.google.com/a/chromium.org/g/blink-dev/c/UJMYZXoSQ4A/m/OkIvKVtlAAAJ

Change-Id: I171dff85faa86f47ee8678f412c8f13091b88214
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4750342
Commit-Queue: Vladimir Levin <vmpstr@chromium.org>
Auto-Submit: Khushal Sagar <khushalsagar@chromium.org>
Reviewed-by: Vladimir Levin <vmpstr@chromium.org>
Commit-Queue: Khushal Sagar <khushalsagar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1181120}

--

wpt-commits: 19a8186198001942c1bacaca8f539cd647754d11
wpt-pr: 41326
  • Loading branch information
khushalsagar authored and moz-wptsync-bot committed Aug 17, 2023
1 parent 14e9531 commit 0521c92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
assert_true(e instanceof PopStateEvent, "is PopStateEvent");
assert_false(e.bubbles, "bubbles");
assert_false(e.cancelable, "cancelable");
assert_not_equals(e.hasUAVisualTransition, undefined);

states.push(e.state);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
assert_equals(e.destination.index, 0);
assert_equals(e.formData, null);
assert_equals(e.info, "hi");
assert_not_equals(e.hasUAVisualTransition, undefined);
});
assert_true(navigation.canGoBack);
navigation.back({ info: "hi" });
Expand Down

0 comments on commit 0521c92

Please sign in to comment.