Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test that MediaQueryList extends EventTarget #20401

Merged
merged 14 commits into from
Nov 25, 2019
Merged

Test that MediaQueryList extends EventTarget #20401

merged 14 commits into from
Nov 25, 2019

Conversation

shvaikalesh
Copy link
Member

@shvaikalesh shvaikalesh commented Nov 22, 2019

@zcorpan zcorpan assigned zcorpan and unassigned plinss Nov 22, 2019
@@ -48,7 +48,7 @@
triggerMQLEvent(mql);
await waitForChangesReported();

assert_true(_event instanceof MediaQueryListEvent);
Copy link
Member Author

@shvaikalesh shvaikalesh Nov 23, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This assertion was incorrect because mql is from another Realm.

@@ -159,10 +159,10 @@

triggerMQLEvent(mql);
await waitForChangesReported();
assert_array_equals(calls, ["addListener", "addEventListener"], "triggerMQLEvent");
Copy link
Member Author

@shvaikalesh shvaikalesh Nov 24, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see #20423.

@zcorpan
Copy link
Member

zcorpan commented Nov 25, 2019

Firefox fails some subtests in MediaQueryList-extends-EventTarget-interop.html , is there a bug filed for that?

@zcorpan zcorpan merged commit 29cfeaf into web-platform-tests:master Nov 25, 2019
zcorpan pushed a commit that referenced this pull request Jan 22, 2020
* Make sure "handleEvent" property is looked up
* Extract `uncaught_error_test` helper

WebKit issue: https://bugs.webkit.org/show_bug.cgi?id=203288
Follow-up of #15105 and #20401.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants