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

Unified Diff: Source/WebKit/chromium/tests/data/listener/mutation_event_listener.html

Issue 19906002: Move data/ directory from WebKit/chromium/tests into web/tests/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: Source/WebKit/chromium/tests/data/listener/mutation_event_listener.html
diff --git a/Source/WebKit/chromium/tests/data/listener/mutation_event_listener.html b/Source/WebKit/chromium/tests/data/listener/mutation_event_listener.html
deleted file mode 100644
index 231a4f1e83fce258996167a45ce515c33bd7e900..0000000000000000000000000000000000000000
--- a/Source/WebKit/chromium/tests/data/listener/mutation_event_listener.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script>
-function removeNode(id) {
- var node = document.getElementById(id);
- node.parentNode.removeChild(node);
- }
-
-function addElement(id) {
- var elem = document.createElement("div");
- elem.setAttribute("id", id);
- var text = document.createTextNode("Added node id=" + id);
- elem.appendChild(text);
- document.getElementById("topDiv").appendChild(elem);
- }
-
-function changeText(id, newText) {
- var node = document.getElementById(id);
- node.childNodes[0].nodeValue = newText;
-}
-</script>
-</head>
-
-<body>
-
-<div id="topDiv">
- <div id="div1">Div #1</div>
- <div id="div2">Div #2</div>
- <div id="div3">Div #3</div>
-</div>
-
-<button onclick="removeNode('div1')">Remove node</button><br>
-<button onclick="addElement('bidule')">Add node</button><br>
-<button onclick="changeText('div2', 'Bijour')">Change text</button><br>
-
-</body>
-</html>
« no previous file with comments | « Source/WebKit/chromium/tests/data/listener/listener_leak2.html ('k') | Source/WebKit/chromium/tests/data/long_scroll.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698