Repository navigation
[html] Add tests for window.stop - #11154
jugglinmike wants to merge 1 commit into
Conversation
|
This looks very hard to judge as it mixes a couple of aspects that we have a poor understanding and interoperability story for ( |
I'm game for both of these things. For tests: would you like to see better coverage for For the model: is it that things are under-specified? Or just not properly reflective of web reality? |
|
@jugglinmike I think As far as the overall navigation/document lifecycle model goes, the issue is that things are under-specified, browsers are not interoperable with each other, and it's unclear what web reality is (there might be multiple realities due to browser sniffing or not caring about certain browsers, even). And on top of that there's a lot of things that influence that model one way or another. |
|
So next step for this PR is to add a few more tests, avoiding |
|
The complexity of this patch is intended to avoid the race conditions present in gh-9933. I did try to avoid complexity, but I might be able to find something better if I take another look. I'm game to try to simplify as you suggested yesterday, Simon |
@annevk @foolip These tests show highly irregular behavior between Chrome, Edge, Firefox, and Safari:
Because of the amount of tomfoolery (it's tricky to verify that asynchronous operations don't occur), I expect there's something wrong with my methodology. I've included specification excerpts that I believe validate each test, but I could really use your input on whether or not they actually hold up.
If they do, I'll be happy to follow up with bug reports for Chrome and Firefox.
This is intended to resolve gh-11090