Skip to content

Test Location sans browsing context - #13435

Merged
domenic merged 4 commits into
masterfrom
annevk/location-sans-bc
Oct 31, 2018
Merged

domenic merged 4 commits into
masterfrom
annevk/location-sans-bc

Conversation

@annevk

@annevk annevk commented Oct 9, 2018

Copy link
Copy Markdown
Member

@foolip foolip left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewed for test structure and general reasonableness of what is being asserted, but please name .tentative. if this is merged before the spec change. (Doing that might make it easier to see cross-browser results.)

@domenic domenic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tests seem good but I have a readability improvement I'd really like to see if possible :)

return loc;
}

[

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is pretty hard to read. It's more work for you but I'd suggest

[
  {
    prop: "href",
    expected: "about:blank",
    valuesToTry: ["https://example.com/", "/", "http://test:test/", "test test", "test:test", "chrome:fail"]
  },
  ...
}

domenic pushed a commit to whatwg/html that referenced this pull request Oct 31, 2018
Previously, the various pieces of spec text here assumed that a browsing
context always existed.

Tests: web-platform-tests/wpt#13435.

Fixes #3959.
@domenic
domenic merged commit fce65eb into master Oct 31, 2018
@domenic
domenic deleted the annevk/location-sans-bc branch October 31, 2018 19:20
mustaqahmed pushed a commit to mustaqahmed/html that referenced this pull request Feb 15, 2019
Previously, the various pieces of spec text here assumed that a browsing
context always existed.

Tests: web-platform-tests/wpt#13435.

Fixes whatwg#3959.
mustaqahmed pushed a commit to mustaqahmed/html that referenced this pull request Feb 15, 2019
Previously, the various pieces of spec text here assumed that a browsing
context always existed.

Tests: web-platform-tests/wpt#13435.

Fixes whatwg#3959.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants