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 4059b2c6cde574f1e65b70d8d34d435694f39560..5bb71d2c2ebab4f9301c85eaad44f9120fcf9f9b 100644 |
--- a/sdk/lib/html/dartium/html_dartium.dart |
+++ b/sdk/lib/html/dartium/html_dartium.dart |
@@ -6601,7 +6601,7 @@ class DataView extends ArrayBufferView { |
@DomName('DataView.getInt8') |
@DocsEditable |
- int getInt8(int byteOffset) native "DataView_getInt8_Callback"; |
+ Object getInt8({int byteOffset}) native "DataView_getInt8_Callback"; |
int getUint16(int byteOffset, {bool littleEndian}) { |
if (?littleEndian) { |
@@ -6635,7 +6635,7 @@ class DataView extends ArrayBufferView { |
@DomName('DataView.getUint8') |
@DocsEditable |
- int getUint8(int byteOffset) native "DataView_getUint8_Callback"; |
+ Object getUint8({int byteOffset}) native "DataView_getUint8_Callback"; |
void setFloat32(int byteOffset, num value, {bool littleEndian}) { |
if (?littleEndian) { |
@@ -11118,7 +11118,7 @@ class File extends Blob { |
@DomName('File.lastModifiedDate') |
@DocsEditable |
- Date get lastModifiedDate native "File_lastModifiedDate_Getter"; |
+ DateTime get lastModifiedDate native "File_lastModifiedDate_Getter"; |
@DomName('File.name') |
@DocsEditable |
@@ -13258,17 +13258,6 @@ class HtmlDocument extends Document { |
document.$dom_body = value; |
} |
- /** |
- * Registers a custom Element subclass as an available HTML tag. |
- * |
- * Not yet implemented. |
- */ |
- @Experimental |
- void register(String tagName, Type elementClass) { |
- // TODO: tagName validation |
- throw new Exception('Not yet implemented'); |
- } |
- |
@DomName('Document.caretRangeFromPoint') |
Range caretRangeFromPoint(int x, int y) { |
return document.$dom_caretRangeFromPoint(x, y); |
@@ -14636,11 +14625,11 @@ class InputElement extends _Element_Merged implements |
@DomName('HTMLInputElement.valueAsDate') |
@DocsEditable |
- Date get valueAsDate native "HTMLInputElement_valueAsDate_Getter"; |
+ DateTime get valueAsDate native "HTMLInputElement_valueAsDate_Getter"; |
@DomName('HTMLInputElement.valueAsDate') |
@DocsEditable |
- void set valueAsDate(Date value) native "HTMLInputElement_valueAsDate_Setter"; |
+ void set valueAsDate(DateTime value) native "HTMLInputElement_valueAsDate_Setter"; |
@DomName('HTMLInputElement.valueAsNumber') |
@DocsEditable |
@@ -17939,7 +17928,7 @@ class Metadata extends NativeFieldWrapperClass1 { |
@DomName('Metadata.modificationTime') |
@DocsEditable |
- Date get modificationTime native "Metadata_modificationTime_Getter"; |
+ DateTime get modificationTime native "Metadata_modificationTime_Getter"; |
@DomName('Metadata.size') |
@DocsEditable |
@@ -21023,7 +21012,7 @@ class RtcStatsElement extends NativeFieldWrapperClass1 { |
@DomName('RTCStatsElement.timestamp') |
@DocsEditable |
- Date get timestamp native "RTCStatsElement_timestamp_Getter"; |
+ DateTime get timestamp native "RTCStatsElement_timestamp_Getter"; |
@DomName('RTCStatsElement.names') |
@DocsEditable |