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] Test script's base URL used in dynamic imports #23560

Merged
merged 1 commit into from Aug 4, 2020

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

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

This CL checks base URL used in resolving relative URL-like
specifiers in dynamic imports() from

  • \<script>s,
  • worker top-level scripts, and
  • worker scripts imported by importScripts().

This is for whatwg/html#5751.

Bug: 1082086
Change-Id: I778fb4d34b2e61f57799600006963c93aee5272c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2198835
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#794492}

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 Chromium project.

<title>Base URLs used in resolving specifiers in dynamic imports</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/common/redirect.py?location=http://{{domains[www1]}}:{{ports[http][0]}}/html/semantics/scripting-1/the-script-element/module/dynamic-import/scripts/base-url.js"></script>
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we use hosts[alt] instead of domains[www1]

Copy link
Contributor

Choose a reason for hiding this comment

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

Done (used hosts[alt][]).

@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-2198835 branch 3 times, most recently from 67b7a0a to 4155c8c Compare July 13, 2020 15:06
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-2198835 branch 2 times, most recently from d1890b6 to 365efed Compare July 22, 2020 09:52
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-2198835 branch 2 times, most recently from e4f5577 to 0e1bb0f Compare August 4, 2020 11:04
This CL checks base URL used in resolving relative URL-like
specifiers in dynamic imports() from

- `<script>`s,
- worker top-level scripts, and
- worker scripts imported by `importScripts()`.

This is for whatwg/html#5751.

Bug: 1082086
Change-Id: I778fb4d34b2e61f57799600006963c93aee5272c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2198835
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#794492}
Copy link

@Yeti978 Yeti978 left a comment

Choose a reason for hiding this comment

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

Swavestica

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

5 participants