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

Intermittent pass in /css/cssom-view/matchMedia.xht #20818

Open
jdm opened this issue May 18, 2018 · 1 comment
Open

Intermittent pass in /css/cssom-view/matchMedia.xht #20818

jdm opened this issue May 18, 2018 · 1 comment
Labels
I-intermittent Problem reproduces intermittently.

Comments

@jdm
Copy link
Member

jdm commented May 18, 2018

  ▶ OK [expected TIMEOUT] /css/cssom-view/matchMedia.xht

  ▶ Unexpected subtest result in /css/cssom-view/matchMedia.xht:
  └ PASS [expected NOTRUN] Listeners are called in the order which they have been added

  ▶ Unexpected subtest result in /css/cssom-view/matchMedia.xht:
  └ PASS [expected NOTRUN] Listener added twice is only called once.

  ▶ Unexpected subtest result in /css/cssom-view/matchMedia.xht:
  │ FAIL [expected NOTRUN] Resize iframe from 200x100 to 200x50, then to 100x50
  │   → assert_equals: Check that the MediaQueryList passed to the handler is the same that addListener was invoked on. expected object "[object MediaQueryList]" but got object "[object MediaQueryListEvent]"
  │ 
  │ window.onload/</<@http://web-platform.test:8000/css/cssom-view/matchMedia.xht:132:25
  │ Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1490:20
  └ window.onload/<@http://web-platform.test:8000/css/cssom-view/matchMedia.xht:131:21

This is probably a result of the changes in #20615.

@jdm jdm added the I-intermittent Problem reproduces intermittently. label May 18, 2018
@KiChjang
Copy link
Contributor

Hmm... This sort of hints to me that there is a race condition when trying to get the window size of the iframe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-intermittent Problem reproduces intermittently.
Projects
None yet
Development

No branches or pull requests

2 participants