Skip to content

Commit

Permalink
Bug 1649252 [wpt PR 24384] - Setting innerHTML in a template element …
Browse files Browse the repository at this point in the history
…in an inactive document should not crash., a=testonly

Automatic update from web-platform-tests
Setting innerHTML in a template element in an inactive document should not crash.

Bug: 1100176
Test: html/semantics/scripting-1/the-template-element/template-element/template-set-inner-html-in-inactive-document-crash.html
Change-Id: I1d2ad61aead0d8f14952ae9b8e49d855d773e86f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2273798
Auto-Submit: Nate Chapin <[email protected]>
Reviewed-by: Mason Freed <[email protected]>
Commit-Queue: Nate Chapin <[email protected]>
Cr-Commit-Position: refs/heads/master@{#783693}

--

wpt-commits: 825a7c1a712e0911116031b5e5dcf382d8f50adb
wpt-pr: 24384
  • Loading branch information
natechapin authored and moz-wptsync-bot committed Jul 3, 2020
1 parent 6aec167 commit 1f2725d
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<iframe id="i"></iframe>
<script>
var doc = i.contentDocument;
i.remove();
doc.createElement("template").innerHTML = "";
</script>

0 comments on commit 1f2725d

Please sign in to comment.