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

Unified Diff: LayoutTests/fast/storage/storage-detached-iframe.html

Issue 733943004: Remove Text.replaceWholeText() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/storage/storage-detached-iframe.html
diff --git a/LayoutTests/fast/storage/storage-detached-iframe.html b/LayoutTests/fast/storage/storage-detached-iframe.html
index 060d425b3eaa071a44d8ddcd49eca1ffdfc2fb97..d3031367ff17d5b013714bcdcb7ab62edfc9199a 100644
--- a/LayoutTests/fast/storage/storage-detached-iframe.html
+++ b/LayoutTests/fast/storage/storage-detached-iframe.html
@@ -17,8 +17,8 @@
t1.outerText = "";
t1.src = undefined;
first_attr = t1.attributes.item(undefined, undefined, undefined, undefined);
- first_attr_value_replaced = first_attr.firstChild.replaceWholeText(undefined, undefined, undefined, undefined);
chrishtr 2014/11/18 18:43:52 Was this testing something useful? Looks weird.
philipj_slow 2014/11/18 19:02:52 It is weird. This is obviously a fuzzer test case
- first_attr_value_replaced.DOCUMENT_FRAGMENT_NODE = a;
+ first_attr.firstChild.data = undefined;
+ first_attr.firstChild.DOCUMENT_FRAGMENT_NODE = a;
try {
first_attr.firstChild.DOCUMENT_FRAGMENT_NODE.localStorage.fuzz3_visited="test";
} catch (e) {
« no previous file with comments | « LayoutTests/fast/dom/text-api-arguments-expected.txt ('k') | LayoutTests/http/tests/security/xss-DENIED-iframe-src-alias.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698