-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a timeout to the User Bypass reloading bubble
Adds a configurable timeout to the reloading bubble to prevent it from showing for an extended period of time if a page takes a very long time to load. Bug: b:303071886 Change-Id: I7a12d8a10433fb4521a00d3d1f396890b206232f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4925330 Reviewed-by: Christian Dullweber <dullweber@chromium.org> Commit-Queue: Kevin Graney <kmg@google.com> Cr-Commit-Position: refs/heads/main@{#1209009}
- Loading branch information
Showing
8 changed files
with
127 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
chrome/test/data/third_party_partitioned_cookies_slow.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<html> | ||
<head> | ||
<title>cross-site iframes with partitioned cookies</title> | ||
<script> | ||
function setCookie() { | ||
document.cookie = 'name=Good;'; | ||
console.log("onload"); | ||
} | ||
</script> | ||
</head> | ||
<body onload="setCookie();"> | ||
<!-- This only works if the CrossSiteRedirector is running on the embedded test | ||
server, and the host_resolver is set up to handle b.test and c.test. --> | ||
<iframe src="/cross-site/b.test/partitioned_cookie.html" id="frame1"></iframe> | ||
<iframe src="/cross-site/c.test/mixed_with_partitioned_cookie.html" id="frame2"></iframe> | ||
<iframe src="/cross-site/d.test/set_cookie_header.html" id="frame3"></iframe> | ||
<!-- The frame below will never finish loading. Requires that EmbeddedTestServer | ||
is started with default handlers. --> | ||
<iframe src="/hung-after-headers" /> | ||
</body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters