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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary.html

Issue 1586563005: Add Event.scoped (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove error from test case as it bubbles up and fails test\ Created 4 years, 11 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/fast/dom/shadow/events-stopped-at-shadow-boundary.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary.html
index 4ef0ab8a0c64873894b6058de6ce920158c2d62d..3310e6325102ce5f1387e77a56ae9fdd0b0a1fa4 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary.html
@@ -9,7 +9,7 @@
<div id="sandbox"></div>
<pre id="console"></pre>
<script>
-description("Tests to ensure that some kinds of events are stopeed at shadow boundary.");
+description("Tests to ensure that all kinds of events are not stopeed at shadow boundary if created by users.");
var eventRecords = {};
@@ -49,9 +49,9 @@ function recordEvent(event)
eventRecords[eventType].push(eventString);
}
-debug('Other events than "click" should be stopped at shadow boundary. A "click" is added for the purpose of comparing results.');
+debug('None of the events should be stopped at a Shadow boundary if created by users.');
-var events = ['abort', 'select', 'change', 'reset', 'resize', 'scroll', 'selectstart', 'load', 'error', 'click'];
+var events = ['abort', 'select', 'change', 'reset', 'resize', 'scroll', 'selectstart', 'load', 'click'];
kochi 2016/01/27 06:02:16 For the record, the 'error' event bubbles up out o
function addEventListeners(nodes)
{
@@ -62,7 +62,7 @@ function addEventListeners(nodes)
}
}
-function testEventsShoudBeStoppedAtShadowBoundary()
+function testEventsShouldNotBeStoppedAtShadowBoundary()
{
var sandbox = document.getElementById('sandbox');
sandbox.innerHTML = '';
@@ -138,7 +138,7 @@ function testEventsInMultipleShadowTrees()
function test()
{
- testEventsShoudBeStoppedAtShadowBoundary()
+ testEventsShouldNotBeStoppedAtShadowBoundary();
testEventsFiredOnDistributedNodesShouldNotBeStoppedAtShadowBoundary();
testEventsInMultipleShadowTrees();
}

Powered by Google App Engine
This is Rietveld 408576698