diff --git a/workers/modules/shared-worker-parse-error-failure.html b/workers/modules/shared-worker-parse-error-failure.html index d3d86b3f8fca9c5..72cea13946536e1 100644 --- a/workers/modules/shared-worker-parse-error-failure.html +++ b/workers/modules/shared-worker-parse-error-failure.html @@ -31,7 +31,8 @@ assert_equals(args.a.constructor, Event); assert_true('message' in args.a, 'Event.message'); assert_equals(typeof args.a.message, 'string', 'Event.message'); - assert_equals(args.a.filename, location.href + '/resources/syntax-error.js'); + assert_equals(args.a.filename, location.href + '/resources/syntax-error.js'), + 'Event.filename'); assert_equals(args.a.lineno, 1, 'Event.lineno'); assert_equals(args.b, undefined, 'unexpected second argument to onerror'); assert_equals(args.c, undefined, 'unexpected third argument to onerror'); diff --git a/workers/shared-worker-parse-error-failure.html b/workers/shared-worker-parse-error-failure.html index 5f98e59d8fe8aea..4389904cb46a5e0 100644 --- a/workers/shared-worker-parse-error-failure.html +++ b/workers/shared-worker-parse-error-failure.html @@ -8,7 +8,8 @@ assert_equals(args.a.constructor, Event); assert_true('message' in args.a, 'Event.message'); assert_equals(typeof args.a.message, 'string', 'Event.message'); - assert_equals(args.a.filename, location.href + '/resources/syntax-error.js'); + assert_equals(args.a.filename, location.href + '/resources/syntax-error.js', + 'Event.filename'); assert_equals(args.a.lineno, 1, 'Event.lineno'); assert_equals(args.b, undefined, 'unexpected second argument to onerror'); assert_equals(args.c, undefined, 'unexpected third argument to onerror');