mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-14 02:46:22 +02:00
This is required by mini Cloudflare invisible challenges, as it will only run if the readyState is not "loading". If it is "loading", then it waits for readystatechange to check that it's not "loading" anymore. Initial about:blank iframes do not go through the full navigation and thus don't go through HTMLParser::the_end, which sets the ready state to something other than "loading". Therefore, the challenge would never run, as readyState would never change. Seen on https://discord.com/login (cherry picked from commit f638f84185938c74a47f5691e8d7c5e1d4dca07c)
6 lines
458 B
Plaintext
6 lines
458 B
Plaintext
readyState of 'new Document()' should be 'complete': 'complete'
|
|
readyState of 'document.implementation.createHTMLDocument()' should be 'complete': 'complete'
|
|
readyState of 'document.implementation.createDocument()' should be 'complete': 'complete'
|
|
FIXME: readyState of 'new DOMParser().parseFromString('', 'text/html')' should be 'complete': 'interactive'
|
|
readyState of 'iframe.contentDocument' of initial about:blank iframe should be 'complete': 'complete'
|