Bug 1377256 - Part 2: Crashtest. r?m_kato
MozReview-Commit-ID: HRP49wF2Ibe
new file mode 100644
--- /dev/null
+++ b/layout/style/crashtests/1377256-1-helper.html
@@ -0,0 +1,13 @@
+<script>
+document.addEventListener("DOMContentLoaded", function(){
+ window.getSelection().modify('extend','backward','character');
+ let n=document.getElementById('a');
+ n.parentNode.removeChild(n);
+ setTimeout(function(){window.parent.finish(); }, 0);
+});
+</script>
+<body id='a'>
+<table contenteditable='true'>
+>
+<th
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/style/crashtests/1377256-1.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<iframe src="1377256-1-helper.html"></iframe>
+<script>
+function finish() {
+ document.querySelector("iframe").remove();
+ document.documentElement.className = "";
+}
+</script>
--- a/layout/style/crashtests/crashtests.list
+++ b/layout/style/crashtests/crashtests.list
@@ -169,8 +169,9 @@ load 1331272.html
HTTP load 1333001-1.html
pref(dom.animations-api.core.enabled,true) load 1340344.html
load 1342316-1.html
load 1356601-1.html
load 1370793-1.xhtml
load content-only-on-link-before.html
load content-only-on-visited-before.html
load 1375812-1.html
+load 1377256-1.html