gecko-dev/parser
Kris Maglione a1fde10261 Bug 1729005: Recursively block parsing for parser blocking scripts. r=hsivonen
Bug 1333990 added the ability to have multiple parser blockers at the same
time, so we no longer need to guard against recursively blocking. What's more,
if we do, and skip calling `BlockParser` while it's blocked for another reason,
we still call `UnblockParser` when we receive script data, at which point we
crash.

This patch moves the XHTML parser's behavior closer in line with the HTML
parser's.

The only way I've seen this manifest as a bug is when we have an XHTML
document with a top-level <script> element, and an extension with content
scripts that cause us to block parsing when we see that top-level element and
need to wait for them to compile.

Differential Revision: https://phabricator.services.mozilla.com/D145513
2022-05-11 22:15:14 +00:00
..
expat Bug 1754724 - Clear up even more computations in expat code. r=farre, a=tritter 2022-03-02 22:34:28 +00:00
html Bug 1747388. r=smaug 2022-05-10 07:05:09 +00:00
htmlparser Bug 1729005: Recursively block parsing for parser blocking scripts. r=hsivonen 2022-05-11 22:15:14 +00:00
prototype Bug 1749935 - Remove GetDTD. r=hsivonen 2022-02-14 13:03:52 +00:00
xml Bug 1691621 - fix bad cast r=emilio 2021-02-10 12:36:59 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
nsCharsetSource.h Bug 1712928 - Gather telemetry about encoding-unlabeled pages and about Repair Text Encoding usage situations. r=emk 2022-03-29 08:04:25 +00:00