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

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

Issue 1014843004: Make Element.animate work in dart2js Chrome (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix comment indentation Created 5 years, 9 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
Index: tools/dom/scripts/systemhtml.py
diff --git a/tools/dom/scripts/systemhtml.py b/tools/dom/scripts/systemhtml.py
index 3929cecb4220149e24b9051440a14812628d3300..bee79a512dc4beb201d354a3abc846ba86ea3163 100644
--- a/tools/dom/scripts/systemhtml.py
+++ b/tools/dom/scripts/systemhtml.py
@@ -58,6 +58,7 @@ _js_custom_members = monitored.Set('systemhtml._js_custom_members', [
'Document.createTreeWalker',
'DOMException.name',
'DOMException.toString',
+ 'Element.animate',
'Element.createShadowRoot',
'Element.insertAdjacentElement',
'Element.insertAdjacentHTML',
@@ -407,6 +408,7 @@ _js_support_checks_additional_element = [
]
js_support_checks = dict({
+ 'AnimationPlayer': "JS('bool', '!!(document.body.animate)')",
'AudioContext': "JS('bool', '!!(window.AudioContext ||"
" window.webkitAudioContext)')",
'Crypto':

Powered by Google App Engine
This is Rietveld 408576698