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

wpt: Support http://host:80/ at EventListener / incumbent test #16800

Merged
merged 1 commit into from May 15, 2019

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented May 13, 2019

MessageEvent's origin attribute will be
http://hostname
instead of
http://hostname:80
in case that the port number is HTTP standard port number, i.e. 80.

Usually this is not a problem because wptserve runs with port=8001
by default, but w3c-test.org runs with port=80.
http://w3c-test.org/dom/events/EventListener-incumbent-global-2.sub.html

This patch supports such a case.

Bug: 622974
Change-Id: I4567de3f5f12ae42c222229eafafecbbe72129e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1610097
Commit-Queue: Yuki Shiino <yukishiino@chromium.org>
Reviewed-by: Hitoshi Yoshida <peria@chromium.org>
Cr-Commit-Position: refs/heads/master@{#659871}

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

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

Already reviewed downstream.

MessageEvent's origin attribute will be
    http://hostname
instead of
    http://hostname:80
in case that the port number is HTTP standard port number, i.e. 80.

Usually this is not a problem because wptserve runs with port=8001
by default, but w3c-test.org runs with port=80.
http://w3c-test.org/dom/events/EventListener-incumbent-global-2.sub.html

This patch supports such a case.

Bug: 622974
Change-Id: I4567de3f5f12ae42c222229eafafecbbe72129e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1610097
Commit-Queue: Yuki Shiino <yukishiino@chromium.org>
Reviewed-by: Hitoshi Yoshida <peria@chromium.org>
Cr-Commit-Position: refs/heads/master@{#659871}
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

3 participants