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

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: Fix typo 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Range/deleteContents-doctype-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 function generatePassMessage() {
yosin_UTC9 2014/08/12 03:22:52 nit: We don't need to have separate function for t
kangil_ 2014/08/12 04:16:32 Done.
8 document.write('PASS')
9 }
10
11 var range = document.createRange();
12 range.setStart(document, 0);
13 range.setEnd(document, 1);
14
15 range.deleteContents();
16 generatePassMessage();
17 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Range/deleteContents-doctype-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698