Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: LayoutTests/fast/dom/Range/deleteContents-doctype.html

Issue 451403002: Range.deleteContents shouldn't throw HierarchyRequestError on doctype (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Take review comment into consideration. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <p>This test verifies if Range.deleteContents can handle doctype.</p>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
6
7 var range = document.createRange();
8 range.setStart(document, 0);
9 range.setEnd(document, 1);
10
11 range.deleteContents();
12 // If Range.deleteContents() throws error, then we will not see below PASS in re sult.
Yuta Kitamura 2014/08/12 09:07:43 We have "shouldNotThrow()" in js-test.js to test t
kangil_ 2014/08/12 10:41:26 Done.
13 document.write('PASS');
14 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Range/deleteContents-doctype-expected.txt » ('j') | Source/core/dom/Range.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698