| 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.
|
|
|