-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add MutationObserver support. #508
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
andycall
force-pushed
the
feat/mutation_observer
branch
2 times, most recently
from
November 7, 2023 12:43
1513f08
to
9faa2a5
Compare
yifei8
approved these changes
Nov 8, 2023
…449) 2023-08-07 20:47:25.935739+0800 Runner[7889:8608870] flutter: Stack Overflow #0 _LinkedHashMapMixin.[] (dart:collection-patch/compact_hash.dart:601:3) #1 CSSStyleDeclaration.getPropertyValue (package:webf/src/css/style_declaration.dart:150:30) #2 CSSLength.parseLength (package:webf/src/css/values/length.dart:590:68) #3 CSSLength.parseLength (package:webf/src/css/values/length.dart:590:16) #4 CSSLength.parseLength (package:webf/src/css/values/length.dart:590:16) #5 CSSLength.parseLength (package:webf/src/css/values/length.dart:590:16) ... #2116 Element.setRenderStyleProperty (package:webf/src/dom/element.dart:1402:11) #2117 Element.setRenderStyle (package:webf/src/dom/element.dart:1777:5) #2118 Element._onStyleChanged (package:webf/src/dom/element.dart:1849:7) #2119 CSSStyleDeclaration._emitPropertyChanged (package:webf/src/css/style_declaration.dart:685:22) #2120 CSSStyleDeclaration.flushPendingProperties (package:webf/src/css/style_declaration.dart:457:7) #2121 Element.attachTo (package:webf/src/dom/element.dart:997:13) #2122 Element.ensureChildAttached (package:webf/src/dom/element.dart:1061:17) #2123 Element.didAttachRenderer (package:webf/src/dom/element.dart:600:5) #2124 Element.attachTo (package:webf/src/dom/element.dart:999:7) #2125 Element.ensureChildAttached (package:webf/src/dom/element.dart:1061:17) #2126 Element.didAttachRenderer (package:webf/src/dom/element.dart:600:5) #2127 Element.attachTo (package:webf/src/dom/element.dart:999:7) #2128 Element.ensureChildAttached (package:webf/src/dom/element.dart:1061:17) #2129 Element.didAttachRenderer (package:webf/src/dom/element.dart:600:5) #2130 Element.attachTo (package:webf/src/dom/element.dart:999:7) #2131 Element.appendChild (package:webf/src/dom/element.dart:1094:15) #2132 WebFViewController.insertAdjacentNode (package:webf/src/launcher/controller.dart:461:16) #2133 flushUICommand (package:webf/src/bridge/to_native.dart:524:16) #2134 flushUICommandWithContextId (package:webf/src/bridge/to_native.dart:469:5) #2135 _flushUICommand (package:webf/src/bridge/from_native.dart:371:3) #2136 _FfiCallback_flushUICommand (dart:ffi) #2137 FfiTrampoline__evaluateQuickjsByteCode (dart:ffi) #2138 evaluateQuickjsByteCode (package:webf/src/bridge/to_native.dart:221:40) #2139 evaluateScripts (package:webf/src/bridge/to_native.dart:166:19) #2140 _RootZone.runUnary (dart:async/zone.dart:1660:54) #2141 _FutureListener.handleValue (dart:async/future_impl.dart:147:18) #2142 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:767:45) #2143 Future._propagateToListeners (dart:async/future_impl.dart:796:13) #2144 Future._completeWithValue (dart:async/future_impl.dart:567:5) #2145 _RootZone.runUnary (dart:async/zone.dart:1660:54) #2146 _FutureListener.handleValue (dart:async/future_impl.dart:147:18) #2147 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:767:45) #2148 Future._propagateToListeners (dart:async/future_impl.dart:796:13) #2149 Future._completeWithValue (dart:async/future_impl.dart:567:5) #2150 _RootZone.runUnary (dart:async/zone.dart:1660:54) #2151 _microtaskLoop (dart:async/schedule_microtask.dart:40:21) #2152 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5) Co-authored-by: edmond.l <edmond.l@binance.com> Co-authored-by: TIANCHENG <dongtiangche@outlook.com>
andycall
force-pushed
the
feat/mutation_observer
branch
from
November 8, 2023 06:59
93e34b8
to
0d633fc
Compare
andycall
force-pushed
the
feat/mutation_observer
branch
from
November 8, 2023 07:42
4732eaf
to
e60140c
Compare
andycall
force-pushed
the
feat/mutation_observer
branch
2 times, most recently
from
November 9, 2023 06:01
443d717
to
1ab3e28
Compare
andycall
force-pushed
the
feat/mutation_observer
branch
from
November 9, 2023 06:06
75c0d89
to
49ec4df
Compare
andycall
force-pushed
the
feat/mutation_observer
branch
from
November 10, 2023 06:26
03e9e84
to
3bbf40a
Compare
andycall
force-pushed
the
feat/mutation_observer
branch
from
November 13, 2023 05:34
16be2c8
to
c526820
Compare
andycall
force-pushed
the
feat/mutation_observer
branch
from
November 13, 2023 16:14
4c36d6c
to
a373ec9
Compare
andycall
force-pushed
the
feat/mutation_observer
branch
from
November 14, 2023 14:01
916e4ea
to
308ea0c
Compare
…y JavaScript GC. (#519) <img width="901" alt="image" src="https://github.com/openwebf/webf/assets/4409743/aaf69f14-965e-4cb2-b8a1-1933e87ed8c5">
andycall
force-pushed
the
feat/mutation_observer
branch
from
November 15, 2023 08:13
ae1905e
to
0d1c200
Compare
andycall
force-pushed
the
feat/mutation_observer
branch
from
November 15, 2023 08:16
2ad0f77
to
3cf973e
Compare
andycall
force-pushed
the
feat/mutation_observer
branch
from
November 15, 2023 11:38
3816fea
to
364655e
Compare
andycall
force-pushed
the
feat/mutation_observer
branch
from
November 15, 2023 13:28
723d8bc
to
40fa257
Compare
andycall
changed the title
[WIP]: feat: add MutationObserver support.
feat: add MutationObserver support.
Nov 15, 2023
andycall
force-pushed
the
feat/mutation_observer
branch
from
November 15, 2023 15:40
b079404
to
2570e72
Compare
zjt123
approved these changes
Nov 22, 2023
andycall
added a commit
that referenced
this pull request
Nov 22, 2023
andycall
added a commit
that referenced
this pull request
Nov 22, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixed #405
https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver