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

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=257397 #40325

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

cdumez
Copy link
Contributor

@cdumez cdumez commented May 31, 2023

Use get-host-info.sub.js to make the tests work with the WebKit test infrastructure.

@wpt-pr-bot
Copy link
Collaborator

This patch has been exported from WebKit; it will be approved automatically once the downstream patch is r+.

@@ -13,10 +14,10 @@
<script>
test(function() {
var client = new XMLHttpRequest(),
urlstart = 'www1.'+location.host + location.pathname.replace(/\/[^\/]*$/, '/')
urlstart = get_host_info().REMOTE_ORIGIN + location.pathname.replace(/\/[^\/]*$/, '/')
Copy link
Member

Choose a reason for hiding this comment

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

No need for double space after equals sign, but also no need to address. This whole file looks kinda bad anyway :-)

@@ -17,7 +17,7 @@
{
var xhr = new XMLHttpRequest();

xhr.open("POST", "http://nonexistent.{{host}}:{{ports[http][0]}}", false);
xhr.open("POST", "http://{{host}}:3", false); // Bad port.
Copy link
Member

Choose a reason for hiding this comment

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

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.

The review process for this patch is being conducted in the WebKit project.

@cdumez cdumez merged commit 08f4559 into web-platform-tests:master Jun 1, 2023
19 checks passed
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

4 participants