angular-cn/packages/zone.js/lib
JiaLiPassion 416c786774 fix(zone.js): should not try to patch fetch if it is not writable (#36311)
Close #36142

In Firefox extensions, the `window.fetch` is not configurable, that means

```
const desc = Object.getOwnPropertyDescriptor(window, 'fetch');
desc.writable === false;
```

So in this case, we should not try to patch `fetch`, otherwise, it will
throw error ('fetch is ReadOnly`)

PR Close #36311
2020-04-06 15:34:33 -07:00
..
browser feat(zone.js): Monkey patch MessagePort.prototype onproperties (#34610) 2020-03-16 08:59:38 -07:00
closure fix(zone.js): __load_patch and __symbol__ should be in zone_extern for closure compiler (#31350) 2019-07-24 13:30:01 -07:00
common fix(zone.js): should not try to patch fetch if it is not writable (#36311) 2020-04-06 15:34:33 -07:00
extra fix(zone.js): don't fire unhandledrejection if Zone handled error (#31718) 2019-07-24 16:10:59 -07:00
jasmine feat: make jasmine patch as zone module (#34676) 2020-02-10 16:23:47 -08:00
jest feat: add basic jest support (#35080) 2020-02-07 11:43:21 -08:00
mix fix(zone.js): zone-mix should import correct browser module (#31628) 2019-07-24 14:33:07 -07:00
mocha feat: make mocha a zone module. (#34719) 2020-02-11 11:41:58 -08:00
node refactor: utilize type narrowing (#33075) 2019-10-10 15:18:44 -07:00
rxjs fix(zone.js): zone.js patches rxjs should check null for unsubscribe (#35990) 2020-03-16 09:01:17 -07:00
testing feat: add an tickOptions parameter with property processNewMacroTasksSynchronously. (#33838) 2020-02-20 15:14:59 -08:00
zone-spec fix(zone.js): `tickOptions`'s `processNewMacroTasksSynchronously` should default to true when flag omitted (#35814) 2020-03-06 17:33:57 -05:00
BUILD.bazel build: reference zone.js from source directly instead of npm. (#33046) 2019-11-06 00:48:34 +00:00
zone.api.extensions.ts fix(zone.js): Make `EventTarget` methods optional in `zone.js` extension API (#35954) 2020-03-16 09:00:44 -07:00
zone.configurations.api.ts fix(zone.js): UNPATCHED_EVENTS and PASSIVE_EVENTS should be string[] not boolean (#36258) 2020-04-01 13:20:00 -07:00
zone.ts fix(zone.js): don't rely on global node typings outside of node/ directory (#31783) 2019-07-30 12:59:40 -07:00