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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 968613002: Fixed tests for DOMPoint support for dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed css_test to run on all platforms. 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:
Download patch
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 09eac05683206cd72322c478fb7b2f3c7ba9d975..019cc214f387fc41c588908cd768aca1e1d73ceb 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -10150,6 +10150,9 @@ class DomPoint extends DomPointReadOnly {
throw new ArgumentError("Incorrect number or type of arguments");
}
+ /// Checks if this type is supported on the current platform.
+ static bool get supported => true;
+
@DomName('DOMPoint.w')
@DocsEditable()
@Experimental() // untriaged
@@ -33107,7 +33110,7 @@ class Window extends EventTarget implements WindowEventHandlers, WindowBase, Glo
* convertPointFromNodeToPage and convertPointFromPageToNode are removed.
* see http://dev.w3.org/csswg/cssom-view/#geometry
*/
- static bool get supportsPointConversions => true;
+ static bool get supportsPointConversions => DomPoint.supported;
// To suppress missing implicit constructor warnings.
factory Window._() { throw new UnsupportedError("Not supported"); }

Powered by Google App Engine
This is Rietveld 408576698