Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Issue 10696209: MutationObserver (Closed)

Created:
8 years, 5 months ago by sra1
Modified:
8 years, 5 months ago
Reviewers:
vsm, Anton Muhin
CC:
reviews_dartlang.org, podivilov1, vsm
Visibility:
Public.

Description

Add MutationObserver constructor Add custom MutationObserver.observe method The observe method supports configuration by dictionary and optional arguments: observer.observe(node, {'subtree': true}); observer.observe(node, subtree: true); If both are given, they are merged. Committed: https://code.google.com/p/dart/source/detail?r=9752

Patch Set 1 : #

Total comments: 7

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+424 lines, -19 lines) Patch
M lib/compiler/implementation/lib/native_helper.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M lib/dom/dom.dart View 1 2 chunks +11 lines, -2 lines 0 comments Download
M lib/dom/frog/dom_frog.dart View 1 3 chunks +13 lines, -3 lines 0 comments Download
M lib/dom/idl/dart/dart.idl View 1 1 chunk +13 lines, -0 lines 0 comments Download
M lib/dom/scripts/systemhtml.py View 1 1 chunk +1 line, -1 line 0 comments Download
A + lib/dom/templates/html/frog/factoryprovider_MutationObserver.darttemplate View 1 1 chunk +6 lines, -1 line 0 comments Download
A lib/dom/templates/html/impl/impl_MutationObserver.darttemplate View 1 1 chunk +78 lines, -0 lines 0 comments Download
A lib/dom/templates/html/interface/interface_MutationObserver.darttemplate View 1 chunk +19 lines, -0 lines 0 comments Download
M lib/html/dartium/html_dartium.dart View 2 chunks +82 lines, -6 lines 0 comments Download
M lib/html/frog/html_frog.dart View 3 chunks +90 lines, -5 lines 0 comments Download
M lib/unittest/unittest.dart View 1 1 chunk +0 lines, -1 line 0 comments Download
M tests/html/html.status View 1 2 chunks +2 lines, -0 lines 0 comments Download
A tests/html/mutationobserver_test.dart View 1 1 chunk +108 lines, -0 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
sra1
8 years, 5 months ago (2012-07-13 08:15:39 UTC) #1
sra1
On 2012/07/13 08:15:39, sra1 wrote: It is no longer true that Dartium should need a ...
8 years, 5 months ago (2012-07-13 08:17:45 UTC) #2
Anton Muhin
I am responding on email thread regarding the general approach. https://chromiumcodereview.appspot.com/10696209/diff/6012/lib/dom/dom.dart File lib/dom/dom.dart (right): https://chromiumcodereview.appspot.com/10696209/diff/6012/lib/dom/dom.dart#newcode11849 ...
8 years, 5 months ago (2012-07-13 10:50:47 UTC) #3
sra1
https://chromiumcodereview.appspot.com/10696209/diff/6012/lib/dom/dom.dart File lib/dom/dom.dart (right): https://chromiumcodereview.appspot.com/10696209/diff/6012/lib/dom/dom.dart#newcode11849 lib/dom/dom.dart:11849: interface WebKitMutationObserver default _WebKitMutationObserverFactoryProvider { On 2012/07/13 10:50:47, Anton ...
8 years, 5 months ago (2012-07-19 00:34:54 UTC) #4
vsm
8 years, 5 months ago (2012-07-19 01:12:30 UTC) #5
lgtm

https://chromiumcodereview.appspot.com/10696209/diff/22001/tests/html/mutatio...
File tests/html/mutationobserver_test.dart (right):

https://chromiumcodereview.appspot.com/10696209/diff/22001/tests/html/mutatio...
tests/html/mutationobserver_test.dart:1: // Copyright (c) 2011, the Dart project
authors.  Please see the AUTHORS file
2012

Powered by Google App Engine
This is Rietveld 408576698