Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/zone.js/MODULE.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ Below is the full list of currently supported modules.
| IntersectionObserver | Intersection will be patched as Zone aware operation | \_\_Zone_disable_IntersectionObserver = true |
| FileReader | FileReader will be patched as Zone aware operation | \_\_Zone_disable_FileReader = true |
| canvas | HTMLCanvasElement.toBlob will be patched as Zone aware operation | \_\_Zone_disable_canvas = true |
| IE BrowserTools check | in IE, browser tool will not use zone patched eventListener | \_\_Zone_disable_IE_check = true |
| CrossContext check | in webdriver, enable check event listener is cross context | \_\_Zone_enable_cross_context_check = true |
| `beforeunload` | enable the default `beforeunload` handling behavior, where event handlers return strings to prompt the user | **zone_symbol**enable_beforeunload = true |
| XHR | XMLHttpRequest will be patched as Zone aware MacroTask | \_\_Zone_disable_XHR = true |
Expand Down
3 changes: 0 additions & 3 deletions packages/zone.js/bundles.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ BUNDLES_ENTRY_POINTS = {
"zone-error": {
"entrypoint": _DIR + "common/rollup-error-rewrite",
},
"zone-legacy": {
"entrypoint": _DIR + "browser/rollup-browser-legacy",
},
"zone-bluebird": {
"entrypoint": _DIR + "extra/rollup-bluebird",
},
Expand Down
1 change: 0 additions & 1 deletion packages/zone.js/karma-dist-sauce-jasmine3.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ module.exports = function (config) {
'SL_IOS8',
'SL_IOS9',
'SL_IOS10',
'SL_MSEDGE15',
'SL_ANDROID4.4',
'SL_ANDROID5.1',
]);
Expand Down
1 change: 0 additions & 1 deletion packages/zone.js/lib/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ exports_files(glob([
copy_to_bin(
name = "files",
srcs = [
"browser/rollup-browser-legacy.ts",
"browser/rollup-canvas.ts",
"browser/rollup-message-port.ts",
"browser/rollup-shadydom.ts",
Expand Down
2 changes: 0 additions & 2 deletions packages/zone.js/lib/browser/api-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import {
bindArguments,
FALSE_STR,
isBrowser,
isIEOrEdge,
isMix,
isNode,
ObjectCreate,
Expand Down Expand Up @@ -64,7 +63,6 @@ export function patchUtil(Zone: ZoneType): void {
}
api.patchEventPrototype = patchEventPrototype;
api.patchEventTarget = patchEventTarget;
api.isIEOrEdge = isIEOrEdge;
api.ObjectDefineProperty = ObjectDefineProperty;
api.ObjectGetOwnPropertyDescriptor = ObjectGetOwnPropertyDescriptor;
api.ObjectCreate = ObjectCreate;
Expand Down
46 changes: 0 additions & 46 deletions packages/zone.js/lib/browser/browser-legacy.ts

This file was deleted.

7 changes: 0 additions & 7 deletions packages/zone.js/lib/browser/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@ import {eventTargetPatch, patchEvent} from './event-target';
import {propertyDescriptorPatch} from './property-descriptor';

export function patchBrowser(Zone: ZoneType): void {
Zone.__load_patch('legacy', (global: any) => {
const legacyPatch = global[Zone.__symbol__('legacyPatch')];
if (legacyPatch) {
legacyPatch();
}
});

Zone.__load_patch('timers', (global: any) => {
const set = 'set';
const clear = 'clear';
Expand Down
133 changes: 0 additions & 133 deletions packages/zone.js/lib/browser/event-target-legacy.ts

This file was deleted.

Loading