Report whether verified napplet HTML would instantiate a nested browsing
context. Parses with the host's own DOMParser (a superset of what the live
sandboxed parser instantiates) when present, and always applies a lexical
frame-tag backstop so the check is conservative without a DOM.
Parameters
html: string
Already-verified napplet artifact HTML.
Returns boolean
true if a frame element is present and the bytes must be rejected.
Example
if (nappletMarkupHasFrame(verifiedHtml)) thrownewError('napplet declares a frame');
Report whether verified napplet HTML would instantiate a nested browsing context. Parses with the host's own
DOMParser(a superset of what the live sandboxed parser instantiates) when present, and always applies a lexical frame-tag backstop so the check is conservative without a DOM.