Specify rate limiter for navigation, history traversal, and pushState/replaceState#12492
Specify rate limiter for navigation, history traversal, and pushState/replaceState#12492zcorpan wants to merge 5 commits into
Conversation
0238d1a to
f5dda35
Compare
| <li><p>If <var>navigable</var> is not <span>allowed to perform a navigation or history | ||
| update</span>, then return.</p></li> |
There was a problem hiding this comment.
I guess this should invoke WebDriver BiDi navigation failed.
|
This looks pretty much like how I envisioned. The only thing I'm not entirely sure about about is how this affects step 11 of #navigate. i.e the fact that we'll call #stop-intersection-observing-a-lazy-loading-element, and then just return. Maybe that's fine, but I think someone else needs to say so. Otherwise this LGTM. |
|
Yes I put it there to match Chromium's order. To notice a difference, you would need to do something like call I think it makes some sense that if code attempts to navigate a lazy iframe, it aborts the lazy load, even if the navigation was rate-limited. |
This returns instead of throws for web compat.
Fixes #11108. Fixes #11410.
(See WHATWG Working Mode: Changes for more details.)
/browsing-the-web.html ( diff )
/document-sequences.html ( diff )
/nav-history-apis.html ( diff )