04:30
<diazdeleon>
Hello
04:33
<diazdeleon>
i founded this chat because im looking for grab notifications from web browser... i wonder to ask if i can do testing in my computer... or how can i do testing
20:17
<domfarolino>
I'm confused about #prepare-a-script step 2 where we save element's parser document to a variable, and set the parser document to null
20:18
<domfarolino>
The note underneath it says "This is done so that if parser-inserted script elements fail to run when the parser tries to run them, [...], another script can later mutate them and cause them to run again."
20:19
<domfarolino>
If we simply left the script's "parser document" alone, and the parser-inserted script failed..why would a later mutation cause the script *not* to run?
20:53
<domfarolino>
Oh, I think if we left a failed parser-inserted script's parser document alone, then later mutations are not considered as per https://html.spec.whatwg.org/multipage/scripting.html#script-processing-model:parser-inserted-2. If someone wants to confirm that, that'd be great tho
20:57
<domfarolino>
Domenic: Does https://github.com/web-platform-tests/wpt/blob/master/html/semantics/scripting-1/the-script-element/moving-between-documents/resources/moving-between-documents-helper.js#L51-L52 have an incorrect
20:57
<domfarolino>
"not" in it?
21:23
<Domenic>
domfarolino: seems likely
21:23
<Domenic>
domfarolino: confirmed that's why a later mutation would cause the script not to run
21:24
<domfarolino>
thanks!