Skip to content

chore(browser): swap URL polyfill#413

Closed
lukeed wants to merge 1 commit into
mozilla:masterfrom
lukeed:chore/url-browser
Closed

chore(browser): swap URL polyfill#413
lukeed wants to merge 1 commit into
mozilla:masterfrom
lukeed:chore/url-browser

Conversation

@lukeed

@lukeed lukeed commented Dec 17, 2019

Copy link
Copy Markdown

Hey there,

I put together a 1.5kB polyfill specifically to unblock this issue: #400

We'd really like to move forward with source-map integration within the Svelte REPL environment, but not at the expense of nearly doubling its javascript! With whatwg-url included – which is rarely needed (especially on a developer machine) – source-map weighs 30% more than CodeMirror.

This polyfill, like whatwg-url, polyfills the URL implementation from Node.js instead of the browser's. It also passes the linked Chromium & Mozilla issues.

@coveralls

coveralls commented Dec 17, 2019

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 578

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 88.713%

Totals Coverage Status
Change from base Build 576: 0.0%
Covered Lines: 2481
Relevant Lines: 2733

💛 - Coveralls

@lukeed

lukeed commented Dec 20, 2019

Copy link
Copy Markdown
Author

Hey :) I know we're all busy with the holidays, but just wanted to check in. If this has no chance of landing, that's totally fine, but please let me know so that our side can start formulating backup plans in order to move forward.

Thanks! ☃️

@nchevobbe

Copy link
Copy Markdown
Contributor

We'll drop the whatwg-url module in #400

@nchevobbe nchevobbe closed this Jul 8, 2025
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

Successfully merging this pull request may close these issues.

3 participants