Skip to content

Use incumbent global's origin for postMessage instead of document's #18969

Closed

Description

@jdm

There is a TODO comment in the implementation of Window::PostMessage that we can now address. This refers to step 4 of the standard, and we can now use the incumbent_global helper function and get an origin from that.

I would hope that running ./mach test-wpt tests/wpt/web-platform-tests/webmessaging/ would report unexpected test results as a result of making this change.

Activity

  1. added
    A-content/dom
    E-less-complex
    on Oct 20, 2017
  2. highfive commented on Oct 20, 2017

    @highfive

    Hi! If you have any questions regarding this issue, feel free to make a comment here, or ask it in the #servo channel in IRC.

    If you intend to work on this issue, then add @highfive: assign me to your comment, and I'll assign this to you. 😄

  3. tigercosmos commented on Oct 20, 2017

    @tigercosmos
    Contributor

    related to #12715

  4. removed
    E-less-complex
    on Oct 21, 2017
  5. jdm commented on Oct 21, 2017

    @jdm
    MemberAuthor

    Turns out we don't run the webmessaging tests yet.

  6. tigercosmos commented on Oct 21, 2017

    @tigercosmos
    Contributor

    I do not understand this. @jdm

    Turns out we don't run the webmessaging tests yet.

  7. KiChjang commented on Oct 21, 2017

    @KiChjang
    Contributor

    @jdm means that we currently do not run the tests under this directory.

  8. tigercosmos commented on Oct 21, 2017

    @tigercosmos
    Contributor

    If someone want to work on this issue, should also change /tests/wpt/web-platform-tests/lint.whitelist ?

    SET TIMEOUT: webmessaging/*
    
  9. KiChjang commented on Oct 21, 2017

    @KiChjang
    Contributor

    @tigercosmos I suggest not to work on this issue, since most of the tests fail under that directory. If we enable them haphazardly, it would consume merge times on our current build infrastructure.

  10. jdm commented on Oct 21, 2017

    @jdm
    MemberAuthor

    @tigercosmos No, that's the list of allowed warnings for the style linting tool. The tests we run are controlled by https://github.com/servo/servo/blob/master/tests/wpt/include.ini.

  11. added a commit that references this issue on Apr 6, 2018
    1995278
  12. added a commit that references this issue on Jun 20, 2018
    a989465
  13. added 2 commits that reference this issue on Jul 3, 2019
    9ed8848
    b724258
  14. 3 remaining items

  15. added 3 commits that reference this issue on Sep 4, 2019
    2c4c547
    774f243
    da3a2c5
  16. added 11 commits that reference this issue on Oct 16, 2019
    d2c2e8b
    0a50fbb
    50a3f15
    e865d18
    66ede52
    88c68b2
    fa1fb97
    986ef87
    7a66938
    c466b40
    a905916
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