fix(zone.js): move MutationObserver/FileReader to different module#31657
fix(zone.js): move MutationObserver/FileReader to different module#31657JiaLiPassion wants to merge 1 commit intoangular:masterfrom
Conversation
mhevery
left a comment
There was a problem hiding this comment.
This looks to me as a breaking change, since now the application may stop working. @IgorMinar
|
@mhevery, yeah, you are right, if some developer disable |
1d11e99 to
8c7aa9f
Compare
There was a problem hiding this comment.
Since we are doing this, would it make sense to also separate IntersectionObserver? Or would that be too much granularity?
There was a problem hiding this comment.
@gkalpak , sure, I have separate the IntersectionObserver into another module, thanks.
276abb1 to
4dc1405
Compare
Separate `EventTarget`, `FileReader`, `MutationObserver` and `IntersectionObserver` patches into different module. So the user can disable those modules separately.
|
|
Quick update after running presubmit in Google's codebase:
However since this is still a breaking change (for users who have the @mhevery please let us know if we should proceed with this change for v11. Thank you. |
|
@JiaLiPassion just a small nit: it looks like this change is more a feature not a bugfix? May be change the commit message to |
…ngular#31657) Separate `EventTarget`, `FileReader`, `MutationObserver` and `IntersectionObserver` patches into different module. So the user can disable those modules separately. PR Close angular#31657
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
…ngular#31657) Separate `EventTarget`, `FileReader`, `MutationObserver` and `IntersectionObserver` patches into different module. So the user can disable those modules separately. PR Close angular#31657
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the new behavior?
Separate
MutationObserverandFileReaderto separated module, so they can be disabled separately.Does this PR introduce a breaking change?
Close #36460