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

Unified Diff: tools/dom/scripts/systemhtml.py

Issue 14251017: Distinguish between common and dart2js specific monitored. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/dom/scripts/monitored.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/systemhtml.py
diff --git a/tools/dom/scripts/systemhtml.py b/tools/dom/scripts/systemhtml.py
index 4d813a441a54d372600559d2601f138ed89f4b6b..3cb9d4bdd280379fe780b33358c7cb2eb1af0ead 100644
--- a/tools/dom/scripts/systemhtml.py
+++ b/tools/dom/scripts/systemhtml.py
@@ -74,7 +74,7 @@ _js_custom_members = monitored.Set('systemhtml._js_custom_members', [
'Window.open',
'Window.requestAnimationFrame',
# 'WorkerContext.indexedDB', # Workers
- ])
+ ], dart2jsOnly=True)
_js_custom_constructors = monitored.Set('systemhtml._js_custom_constructors', [
'AudioContext',
@@ -84,7 +84,7 @@ _js_custom_constructors = monitored.Set('systemhtml._js_custom_constructors', [
'RTCPeerConnection',
'RTCSessionDescription',
'SpeechRecognition',
- ])
+ ], dart2jsOnly=True)
# Classes that offer only static methods, and therefore we should suppress
# constructor creation.
« no previous file with comments | « tools/dom/scripts/monitored.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698