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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/scripting/processing-model-2/addEventListener.html

Issue 2327923003: W3C auto test import CL. (Closed)
Patch Set: Created 4 years, 3 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/imported/wpt/html/webappapis/scripting/processing-model-2/addEventListener.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/scripting/processing-model-2/addEventListener.html b/third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/scripting/processing-model-2/addEventListener.html
index b2cb36b97293f4daf9d7c4c9e79410ff77802c69..dbb1cdd5a90171f86eb25da035402b1d23467107 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/scripting/processing-model-2/addEventListener.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/scripting/processing-model-2/addEventListener.html
@@ -11,9 +11,9 @@
setup({allow_uncaught_exception:true});
var t = async_test();
var ran = false;
- // spec doesn't say to fire an event so this should do nothing
window.addEventListener('error', t.step_func(function(e){
ran = true;
+ assert_true(e.isTrusted, 'isTrusted');
}), false);
</script>
<script>
@@ -24,7 +24,7 @@
</script>
<script>
t.step(function(){
- assert_false(ran, 'ran');
+ assert_true(ran, 'ran');
t.done();
});
</script>
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/scripting/events/invalid-uncompiled-raw-handler-compiled-late.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698