Skip to content

Commit

Permalink
blink: Add a boolean to detect UA visual transitions on nav events.
Browse files Browse the repository at this point in the history
This implements whatwg/html#8782.

Change-Id: I171dff85faa86f47ee8678f412c8f13091b88214
  • Loading branch information
khushalsagar authored and chromium-wpt-export-bot committed Aug 3, 2023
1 parent e3c80be commit be942a3
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 be942a3

Please sign in to comment.