mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-08 12:22:34 +00:00
1c2f8f57a2
Summary: The latest version of Gecko doesn't crash by this HTML, but I would like to add this for the future. Bug #: 1441619 Differential Revision: https://phabricator.services.mozilla.com/D14846 --HG-- extra : rebase_source : 5633e508d1c1f405465857a71f7c544fbb3782e8
13 lines
430 B
HTML
13 lines
430 B
HTML
<html>
|
|
<head>
|
|
<script>
|
|
try { o1 = window.getSelection() } catch (e) {}
|
|
try { o2 = document.createRange() } catch (e) {}
|
|
try { document.head.replaceWith('', document.documentElement) } catch (e) {}
|
|
try { o1.addRange(o2) } catch (e) {}
|
|
try { document.designMode = 'on' } catch (e) {}
|
|
try { o1.focusNode.execCommand('justifyleft', false, null) } catch (e) {}
|
|
</script>
|
|
</head>
|
|
</html>
|