Skip to content

Commit a84118c

Browse files
committed
Mozilla bug 1846178 - Use the async/defer (non-blocking) HTML parser code path for module scripts. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D185797
1 parent 76ad039 commit a84118c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nu/validator/htmlparser/impl/TreeBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6048,7 +6048,7 @@ public boolean snapshotMatches(TreeBuilderState<T> snapshot) {
60486048
@SuppressWarnings("unchecked") public void loadState(
60496049
TreeBuilderState<T> snapshot)
60506050
throws SAXException {
6051-
// CPPONLY: mCurrentHtmlScriptIsAsyncOrDefer = false;
6051+
// CPPONLY: mCurrentHtmlScriptCannotDocumentWriteOrBlock = false;
60526052
StackNode<T>[] stackCopy = snapshot.getStack();
60536053
int stackLen = snapshot.getStackLength();
60546054
StackNode<T>[] listCopy = snapshot.getListOfActiveFormattingElements();

0 commit comments

Comments
 (0)