Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Hold references to the pre-patched environment to prevent calling into later-applied polyfills. #102

Closed
wants to merge 97 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
68c650f
Gather all external API in 'Environment.js'; update top-level files.
bicknellr Jun 9, 2017
bf550a1
Document: replace 'Native.js' use with 'Environment.js'.
bicknellr Jun 9, 2017
d7538ce
Element: replace 'Native.js' use with 'Environment.js'.
bicknellr Jun 9, 2017
7f8c9ff
HTMLElement: replace 'Native.js' use with 'Environment.js'.
bicknellr Jun 9, 2017
512a962
Node: replace 'Native.js' use with 'Environment.js'.
bicknellr Jun 9, 2017
8a4e21c
Remove 'Native.js'.
bicknellr Jun 9, 2017
67d40a1
Fix a few typos causing Closure warnings.
bicknellr Jun 9, 2017
8c7a524
build
bicknellr Jun 10, 2017
377488c
Only capture used descriptors.
bicknellr Jun 12, 2017
aca80b2
build
bicknellr Jun 12, 2017
6746ae6
Environment: Always look up prototype with a string for Closure.
bicknellr Jun 14, 2017
7d2af06
build
bicknellr Jun 14, 2017
f94e4f4
Capture `HTMLElement#innerHTML` for IE.
bicknellr Jun 14, 2017
757ea93
Only attempt to access properties of HTMLTemplateElement if it exists.
bicknellr Jun 14, 2017
9c844c9
Remove use of a <template> in tests for IE.
bicknellr Jun 14, 2017
021a53b
build
bicknellr Jun 15, 2017
ab5b62c
Move the captured Document properties and proxy methods to a single f…
bicknellr Jun 15, 2017
1cbdeee
Move environment Element to a single file.
bicknellr Jun 15, 2017
44111c0
Move environment HTMLElement to a single file.
bicknellr Jun 15, 2017
ac94644
Move environment HTMLTemplateElement to a single file.
bicknellr Jun 15, 2017
6ea6db7
Move environment MutationObserver to a single file.
bicknellr Jun 15, 2017
6db1051
Move environment MutationRecord to a single file.
bicknellr Jun 15, 2017
824b08a
Move environment Node to a single file; remove all references to EnvP…
bicknellr Jun 15, 2017
a7fe894
Remove Element from the Environment proxy import.
bicknellr Jun 15, 2017
eccda1d
Remove Document from the Environment proxy import.
bicknellr Jun 15, 2017
9c508b4
Remove HTMLElement from the Environment proxy import.
bicknellr Jun 15, 2017
dfc780b
Remove HTMLTemplateElement from the Environment proxy import.
bicknellr Jun 15, 2017
bac3539
Remove MutationObserver from the Environment proxy import.
bicknellr Jun 15, 2017
70ea2da
Remove MutationRecord from the Environment proxy import.
bicknellr Jun 15, 2017
8103a28
Remove Node from the Environment proxy import; remove the Environment…
bicknellr Jun 15, 2017
6797f4f
build
bicknellr Jun 15, 2017
e69c196
Add default environment getters for Safari 9.
bicknellr Jun 16, 2017
efdb0a8
Fix an import bug.
bicknellr Jun 16, 2017
eba0c53
build
bicknellr Jun 16, 2017
041b606
Rename environment Document exports.
bicknellr Jun 16, 2017
f2c2e2d
Rename environment Element exports.
bicknellr Jun 16, 2017
9644db2
Rename environment HTMLElement exports.
bicknellr Jun 16, 2017
7948498
Rename environment HTMLTemplateElement exports.
bicknellr Jun 16, 2017
2bccad3
Rename environment MutationObserver exports.
bicknellr Jun 16, 2017
d4f00f6
Rename environment MutationRecord exports.
bicknellr Jun 16, 2017
6f7ab3e
Rename environment Node exports.
bicknellr Jun 16, 2017
fcc4d17
build
bicknellr Jun 16, 2017
48036af
Patch captured references to environment.
bicknellr Jul 11, 2017
501a863
Merge remote-tracking branch 'origin/master' into env-capture
bicknellr Sep 6, 2017
7f97109
build
bicknellr Sep 6, 2017
29e47cc
WIP: patch all relevant DOM API to check for extra calls
bicknellr Sep 11, 2017
b3321fd
Allow maximum depth to be given to prevent the need to call unpatched…
bicknellr Sep 11, 2017
6a7359b
Use locals for current and max depth.
bicknellr Sep 11, 2017
74c3059
Capture HTMLLinkElement.
bicknellr Sep 18, 2017
8b95801
Wrap `Node#cloneNode` tests; capture `Node#ownerDocument` getter.
bicknellr Sep 18, 2017
e093b47
Wrap `Node#insertBefore` tests.
bicknellr Sep 18, 2017
a3f8733
Wrap `Node#removeChild` tests.
bicknellr Sep 18, 2017
f71eca8
Wrap `Node#replaceChild` tests.
bicknellr Sep 18, 2017
12ffadb
Wrap `Document#createElement` tests.
bicknellr Sep 18, 2017
2481c0b
Wrap `Document#createElementNS` tests.
bicknellr Sep 18, 2017
7bd92a4
Wrap `Document#importNode` tests.
bicknellr Sep 18, 2017
38d28db
Wrap `Element#attachShadow` tests.
bicknellr Sep 18, 2017
2cafdc0
Wrap `Element#innerHTML` tests; fix `ownerDocument` access in `Elemen…
bicknellr Sep 18, 2017
92447a4
Wrap `Element#insertAdjacentElement` tests.
bicknellr Sep 18, 2017
35f1152
Wrap `Element#removeAttribute` tests.
bicknellr Sep 18, 2017
d34548e
Wrap `Element#removeAttributeNS` tests.
bicknellr Sep 18, 2017
6e0e720
Wrap `Element#setAttribute` tests.
bicknellr Sep 18, 2017
b145750
Wrap `Element#setAttributeNS` tests.
bicknellr Sep 18, 2017
510ae4f
Wrap `HTMLElement` constructor tests.
bicknellr Sep 18, 2017
41c71c2
Wrap `polyfillWrapFlushCallback` tests.
bicknellr Sep 18, 2017
41a5749
Fix type annotation requiring parentheses.
bicknellr Sep 18, 2017
00cde3e
build
bicknellr Sep 18, 2017
86e8636
Avoid for-of so that polyserve doesn't try to convert them to a const…
bicknellr Sep 18, 2017
819b983
Collect and patch guardable accesses in separate phases.
bicknellr Sep 21, 2017
bafb9af
PATCHES -> PatchMonitor; other renaming
bicknellr Sep 21, 2017
4b1d3a0
Update tests with new PatchMonitor naming.
bicknellr Sep 21, 2017
92f23de
build
bicknellr Sep 21, 2017
f0a4b6d
Update old comment.
bicknellr Sep 21, 2017
ecd4329
Merge remote-tracking branch 'origin/master' into env-capture
bicknellr Sep 21, 2017
20b8b93
Add all used prototypes to the set of objects guarded by PatchMonitor.
bicknellr Sep 21, 2017
dcf919d
Guard against HTMLTemplateElement being undefined (IE11).
bicknellr Sep 21, 2017
b64fe62
Fix a direct access of `nodeType`.
bicknellr Sep 22, 2017
36236b1
build
bicknellr Sep 22, 2017
1ff67bb
There doesn't seem to be any real need to split up 'collection' and '…
bicknellr Sep 22, 2017
f3ac4e0
Use already retrieved descriptor for `Node#localName`.
bicknellr Sep 23, 2017
11a8ab2
build
bicknellr Sep 23, 2017
97f8803
Fix typo in import.
bicknellr Sep 23, 2017
587ea68
build
bicknellr Sep 23, 2017
04d82b8
`addEventListener` should come from `EventTarget` (except in IE11).
bicknellr Sep 25, 2017
aac1395
build
bicknellr Sep 25, 2017
5d8d115
Closure doesn't like `prototype` as an export name...
bicknellr Sep 26, 2017
69432f6
Pull `localName` descriptor from the Node prototype for Edge / IE11.
bicknellr Sep 26, 2017
5c305f9
Add closure types for all captured functions.
bicknellr Sep 26, 2017
84a4430
build
bicknellr Sep 26, 2017
a162be1
Merge remote-tracking branch 'origin/master' into env-capture
bicknellr Nov 28, 2017
ae12a3a
Merge remote-tracking branch 'origin/master' into env-capture
bicknellr Jan 17, 2018
72ab5fd
Add `Document#defaultView` getter fallback for Safari 9.
bicknellr Jan 19, 2018
4e4939d
build
bicknellr Jan 19, 2018
f1840f8
Merge remote-tracking branch 'github/master' into env-capture
bicknellr May 22, 2019
791d1db
Refactor types.
bicknellr May 23, 2019
e80ea24
Add copyright headers to all new files.
bicknellr May 23, 2019
46652dc
Use Document proxy for retrieving `document.documentElement` in the I…
bicknellr May 23, 2019
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
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'origin/master' into env-capture
  • Loading branch information
bicknellr committed Nov 28, 2017
commit a162be14443a9e627b5d12d9012e0555dc55c669
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.