Skip to content

ParentNode-querySelector-All WPT test not working? #6663

Closed

Description

@frewsxcv

Sorry for the brevity of this Issue, I am currently on mobile. From IRC:

03:00   frewsxcv    is anyone familiar with tests/wpt/web-platform-tests/dom/nodes/selectors.js? it appears to be used by tests/wpt/web-platform-tests/dom/nodes/ParentNode-querySelector-All.html but if I try to intentionally make selectors.js fail, ParentNode-querySelector-All.html still passes, so I'm a little confused by that. If anyone has ideas, let me know
03:35   jdm frewsxcv: used how?
03:35   * jdm doesn't see it in http://mxr.mozilla.org/servo/sourc...de_querySelectorAll.html?force=1
03:35   jdm oh, whoops wrong fiel
03:35   frewsxcv    See what?
03:36   jdm frewsxcv: what are you changing that should make it fail?
03:36   frewsxcv    It's selectors.js is included in that html test
03:36   frewsxcv    Just making a valid selector invalid
03:38   jdm hmm
03:38   jdm we don't have an ini file for that test, so in theory it should be entirely passing right now
03:38   jdm so that's strange
03:43   frewsxcv    Yeah, I doubt it entirely passes
03:43   frewsxcv    Because :empty hasn't merged yet
03:50   jdm frewsxcv: hmm, it completes in .5 seconds with 1/1 subtests passed according to http://build.servo.org/builders/m...s/2561/steps/shell_2/logs/stdio
03:50   jdm waffles: go for it!
03:51   frewsxcv    Indicating it is probably not working correctly, right?
03:51   frewsxcv    Maybe we should open an issue?
03:51   jdm frewsxcv: mhm
03:51   jdm yes please

Activity

  1. jdm commented on Jul 19, 2015

    @jdm
    Member

    Aha, the test loads an iframe and all of the expected tests run off of the iframe load event. However, the main document load event never fires, so the overall test is never considered finished, yet that doesn't get treated as a timeout for some reason.

  2. added
    A-content/dom
    and removed on Jul 19, 2015
  3. Ms2ger commented on Jul 19, 2015

    @Ms2ger
    Contributor
  4. Ms2ger commented on Jul 19, 2015

    @Ms2ger
    Contributor
  5. frewsxcv commented on Jul 19, 2015

    @frewsxcv
    ContributorAuthor

    web-platform-tests/wpt#2019 merged. Maybe time for a WPT upgrade

  6. Ms2ger commented on Jul 19, 2015

    @Ms2ger
    Contributor

    I can do that, but that won't really help; it'll just make that test be recognized as timing out.

  7. jdm commented on Jul 20, 2015

    @jdm
    Member

    Yeah, my mistake: the load event does fire, but it fires before everything else hence why the test "finishes" so quickly.

  8. added 2 commits that reference this issue on Jul 20, 2015
    f379b59
    41f9956
  9. added 3 commits that reference this issue on Aug 30, 2015
    55fea27
    bbd4938
    5dea7c0
  10. 6 remaining items

  11. added 2 commits that reference this issue on Dec 31, 2015
    81ac4da
    b9b905b
  12. added 2 commits that reference this issue on Jan 7, 2016
    f09a094
    22a6597
  13. added a commit that references this issue on Jan 14, 2016
    a8faf07
  14. added 3 commits that reference this issue on Feb 4, 2016
    ac71ad1
    e276db1
    a1053a9
  15. added a commit that references this issue on Feb 5, 2016
    55f6bac
  16. added a commit that references this issue on Feb 10, 2016
    8b7acd9
  17. added 4 commits that reference this issue on Feb 10, 2016
    c43eccc
    a4d9f6b
    c7656c5
    e9b98ad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-content/dom

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions