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

Unified Diff: third_party/WebKit/LayoutTests/shadow-dom/scoped-events-by-ua-stopped.html

Issue 2012423004: Rename Event.scoped to Event.composed and invert its meaning (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@event-composed-path
Patch Set: rebased Created 4 years, 7 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/scoped-events-by-ua-stopped.html
diff --git a/third_party/WebKit/LayoutTests/shadow-dom/scoped-events-by-ua-stopped.html b/third_party/WebKit/LayoutTests/shadow-dom/scoped-events-by-ua-stopped.html
index fafa01d3ad32d0eef5ad40fb3e658a632d43db68..b8f4fc7edbf8b8fcd22eb2d479532a82004a38a1 100644
--- a/third_party/WebKit/LayoutTests/shadow-dom/scoped-events-by-ua-stopped.html
+++ b/third_party/WebKit/LayoutTests/shadow-dom/scoped-events-by-ua-stopped.html
@@ -16,20 +16,20 @@
var e;
test(function() {
e = new Event('test');
- assert_equals(e.scoped, false);
-}, 'A new events scoped value should be set to false by default.');
+ assert_equals(e.composed, false);
+}, 'A new events composed value should be set to false by default.');
test(function() {
- e = new Event('test', { scoped: true });
- assert_equals(e.scoped, true);
-}, 'Users should be able to set a scoped value.');
+ e = new Event('test', { composed: true });
+ assert_equals(e.composed, true);
+}, 'Users should be able to set a composed value.');
var input = document.getElementById('input');
async_test(function(t) {
input.onselect = function(e) {
- t.step(function() { assert_true(e.scoped); t.done(); });
+ t.step(function() { assert_false(e.composed); t.done(); });
};
-}, 'UA select events scoped should be set to true.');
+}, 'UA select events composed should be set to false.');
input.select();
var sandbox = document.getElementById('sandbox');

Powered by Google App Engine
This is Rietveld 408576698