| Index: tools/dom/scripts/systemhtml.py
|
| diff --git a/tools/dom/scripts/systemhtml.py b/tools/dom/scripts/systemhtml.py
|
| index 3d0d9130787fdc5b5d1122f7ca909e1a9cb77460..98589dbf608fec1894168bc0a5299eab44aed75a 100644
|
| --- a/tools/dom/scripts/systemhtml.py
|
| +++ b/tools/dom/scripts/systemhtml.py
|
| @@ -497,6 +497,15 @@ class Dart2JSBackend(HtmlDartGenerator):
|
| return js_support_checks.get(self._interface.doc_js_name)
|
|
|
| def EmitStaticFactory(self, constructor_info):
|
| + WITH_CUSTOM_STATIC_FACTORY = [
|
| + 'AudioContext',
|
| + 'Blob',
|
| + 'MutationObserver',
|
| + ]
|
| +
|
| + if self._interface.doc_js_name in WITH_CUSTOM_STATIC_FACTORY:
|
| + return
|
| +
|
| has_optional = any(param_info.is_optional
|
| for param_info in constructor_info.param_infos)
|
|
|
|
|