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

Dynamic import regression in the read-eval-print-loop #7786

Closed
caspervonb opened this issue Oct 2, 2020 · 2 comments
Closed

Dynamic import regression in the read-eval-print-loop #7786

caspervonb opened this issue Oct 2, 2020 · 2 comments

Comments

@caspervonb
Copy link
Contributor

Introduced in #7763

> import("./")
Promise { <pending> }
> _
Promise {
  <rejected> TypeError: invalid base URL for relative import: relative URL without a base

}
@caspervonb
Copy link
Contributor Author

caspervonb commented Oct 2, 2020

Would appear that the context has no origin and therefore does not have a base to resolve with? If so this applies to the inspector as a whole not just our use of it.

{"method":"Runtime.executionContextCreated","params":{"context":{"id":1,"origin":"","name":"global context"}}}

@bartlomieju
Copy link
Member

Fixed in #7794

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants