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

Unified Diff: third_party/WebKit/LayoutTests/shadow-dom/event-deep-path.html

Issue 1774113002: Move Shadow DOM V1 tests from fast/dom/shadow to shadow-dom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 9 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: third_party/WebKit/LayoutTests/shadow-dom/event-deep-path.html
diff --git a/third_party/WebKit/LayoutTests/shadow-dom/event-deep-path.html b/third_party/WebKit/LayoutTests/shadow-dom/event-deep-path.html
new file mode 100644
index 0000000000000000000000000000000000000000..b8ec25807b372160befb52c2df843deaacf0bab6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/shadow-dom/event-deep-path.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="../fast/dom/shadow/resources/shadow-dom.js"></script>
+<img id="img" src="../fast/images/resources/test-load.jpg">
+<script>
+
+img.onload = function(e) {
+ test(function() {
+ assert_array_equals(e.deepPath(), e.path);
+ }, "Event.deepPath() should be the same as Event.path.");
+};
+
+</script>

Powered by Google App Engine
This is Rietveld 408576698