<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Assertion hit: ASSERT(!m_parserScheduler) in ~HTMLDocumentParser()"
href="https://bugs.webkit.org/show_bug.cgi?id=161083#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Assertion hit: ASSERT(!m_parserScheduler) in ~HTMLDocumentParser()"
href="https://bugs.webkit.org/show_bug.cgi?id=161083">bug 161083</a>
from <span class="vcard"><a class="email" href="mailto:cdumez@apple.com" title="Chris Dumez <cdumez@apple.com>"> <span class="fn">Chris Dumez</span></a>
</span></b>
<pre>In Document::implicitOpen(), we call in this order:
1. cancelParsing(); // Clears out m_parser
2. removeChildren(); // May cause JS execution and therefore re-populate m_parser
3. m_parser = createParser(); // Expects m_parser to be null.
Looking at the spec:
<a href="https://html.spec.whatwg.org/#dom-document-open">https://html.spec.whatwg.org/#dom-document-open</a>
It says:
Remove all child nodes of the document, without firing any mutation events. (step 15)
So we should probably not fire mutation events.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>