mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-07 11:56:51 +00:00
5c05e8e03f
* Disallow duplicate style sheets to unblock fuzzers until this is handled properly. Differential Revision: https://phabricator.services.mozilla.com/D63739 --HG-- extra : moz-landing-system : lando
9 lines
330 B
HTML
9 lines
330 B
HTML
<script>
|
|
window.addEventListener('load', () => {
|
|
var a = document.createElementNS('http://www.w3.org/1999/xhtml', 'div')
|
|
var b = new CSSStyleSheet({'disabled': true})
|
|
var c = a.attachShadow({'mode': 'closed'})
|
|
c.adoptedStyleSheets = [new CSSStyleSheet(), b, b]
|
|
b.disabled = false
|
|
})
|
|
</script> |