Bug 1411008: Add crashtest. r=me
authorEmilio Cobos Álvarez <emilio@crisal.io>
Sat, 21 Apr 2018 19:28:32 +0200
changeset 1491733 0f113bac293a677b74c6fc2ce9ecc2a7af09e0e2
parent 1491732 69fa028293fbd2b2c55f5c1289a539866635b0f8
child 1491734 9dcde577687cd5519b2156728f033c322e142a51
push id266529
push useropettay@mozilla.com
push dateSat, 21 Apr 2018 20:56:30 +0000
treeherdertry@514ff6e1dc4e [default view] [failures only]
reviewersme
bugs1411008
milestone61.0a1
Bug 1411008: Add crashtest. r=me MozReview-Commit-ID: CbhZXAORyoV
layout/style/crashtests/1411008.html
layout/style/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/style/crashtests/1411008.html
@@ -0,0 +1,22 @@
+<!doctype html>
+<script>
+  try { o1 = document.createElement('c') } catch(e) { }
+  try { o2 = document.createElement('p') } catch(e) { }
+  try { o3 = document.createElement('progress') } catch(e) { }
+  try { o4 = document.createElement('legend') } catch(e) { }
+  try { o5 = document.createElement('m') } catch(e) { }
+  try { o6 = new Range() } catch(e) { }
+  try { o7 = window.getSelection() } catch(e) { }
+  try { document.documentElement.appendChild(o1) } catch(e) { }
+  try { document.documentElement.appendChild(o2) } catch(e) { }
+  try { document.documentElement.appendChild(o3) } catch(e) { }
+  try { o1.scrollTopMax } catch(e) { }
+  try { o2.outerHTML = '<b contenteditable="">' } catch(e) { }
+  try { o7.modify('move', 'right', 'line') } catch(e) { }
+  try { o1.prepend(o4) } catch(e) { }
+  try { document.documentElement.appendChild(o5) } catch(e) { }
+  try { o5.scrollLeft = 8 } catch(e) { }
+  try { document.designMode = 'on'; } catch(e) { }
+  try { o7.addRange(o6); } catch(e) { }
+  try { document.execCommand('inserttext') } catch(e) { }
+</script>
--- a/layout/style/crashtests/crashtests.list
+++ b/layout/style/crashtests/crashtests.list
@@ -252,16 +252,17 @@ load 1404324-1.html
 load 1404324-2.html
 load 1404324-3.html
 load 1404057.html
 load 1405880.html
 load 1409502.html
 load 1409931.html
 load 1410226-1.html
 load 1410226-2.html
+load 1411008.html
 load 1411143.html
 load 1411478.html
 load 1413288.html
 load 1413361.html
 load 1413670.html
 pref(dom.webcomponents.shadowdom.enabled,true) load 1415353.html
 load 1418059.html
 test-pref(dom.animations-api.core.enabled,true) load 1418867.html