Comments (5)
I have same issue
from polyfill-library.
I found that if the window.location put as first argument, then everything works
Object.assign(window.location, {})
Also, if i change function that provided by polyfill-service to function that provided by babel, everything works too.
function assign(target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return target;
}
from polyfill-library.
Thanks for the excellent bug report, it is great to see a reproducible test case.
Looking into this it is also broken with the latest version of the service, I was hoping the new polyfill would have fixed it.
I'll have to set aside some time to find the root cause.
from polyfill-library.
Thanks for looking into it. We had to disable Object.assign from polyfill.io and hardcode it for all users.
Not ideal but it works
from polyfill-library.
This was fixed in #155 and published in https://github.com/Financial-Times/polyfill-library/releases/tag/v3.32.0
from polyfill-library.
Related Issues (20)
- Feature request: Implement Element.prototype.replaceChildren
- add HTMLDialogElement HOT 2
- `structuredClone` polyfill is broken HOT 25
- CI to test community submissions is broken HOT 3
- No URLPattern polyfill HOT 4
- [feature-request] CompressionStream API HOT 2
- IntersectionObserverEntry is not targeting older Operas/Chrome 51 until Chrome 57 HOT 1
- CI is broken and it seems unlikely that Browserstack will be able to resolve this on their own. HOT 11
- BUG: Polyfill produce an Unhandled Promise Rejection in lambda v18 AWS HOT 10
- FEATURE: Add a script to copy Polyfills to distribution folder HOT 3
- Ungated Object.defineProperty breaks Vite's legacy output HOT 9
- Kinda logic bug with console polyfilling HOT 2
- Feature: Polyfill for HLS
- Feature: provide requestVideoFrameCallback polyfill
- Two issues with Inert polyfill HOT 2
- [Feature] Pass a nonce via query string
- ES Modules
- Drop support for any browsers older than ± end of year 2013
- [Question] What is the future of this project? HOT 4
- URL.canParse is missing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polyfill-library.