mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1441619 - Add crashtest. r=masayuki
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
This commit is contained in:
parent
1052d6ee13
commit
1c2f8f57a2
12
editor/libeditor/crashtests/1441619.html
Normal file
12
editor/libeditor/crashtests/1441619.html
Normal file
@ -0,0 +1,12 @@
|
||||
<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>
|
@ -101,6 +101,7 @@ load 1423767.html
|
||||
needs-focus load 1423776.html
|
||||
needs-focus load 1424450.html
|
||||
load 1425091.html
|
||||
load 1441619.html
|
||||
load 1443664.html
|
||||
skip-if(Android) needs-focus load 1444630.html
|
||||
load 1446451.html
|
||||
|
Loading…
Reference in New Issue
Block a user