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> |