|
Support JS$ prefix for dart and fix bug where _operator_getter and the [] operator were used inconsistently. Would only impact future use cases where js APIs returned types not auto-proxied with dart:html.
Support typed JS interop classes that extend the behavior of dart:html types in Dartium.
This theoretically enables supporting package:dom at the same time as dart:html as well as helping with
JavaScript libraries that monkey patch the dom.
Also support JS$ name prefix to resolve name conflicts with dart reserved words and with
dart:html libraries.
Cleanup addEventListener and friends so they are consistent with typed JS Interop and fix
bugs in the unlikely case where multiple functions have the same identity hash.
Add checks to make it easier to catch when allowInterop is accidentally omitted
when using the new typed JavaScript interop. You will now get an exception
any time you pass a Function to JS via the new typed interop without first
calling allowInterop.
BUG=
R=alanknight@google.com
Committed: https://github.com/dart-lang/sdk/commit/cf7ae2e0cb2c9af91c86ee603a71d114e72905db
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+839 lines, -1501 lines) |
Patch |
|
M |
sdk/lib/html/dartium/html_dartium.dart
|
View
|
|
243 chunks |
+247 lines, -742 lines |
0 comments
|
Download
|
|
M |
sdk/lib/html/html_common/conversions_dartium.dart
|
View
|
|
8 chunks |
+38 lines, -48 lines |
0 comments
|
Download
|
|
M |
sdk/lib/indexed_db/dartium/indexed_db_dartium.dart
|
View
|
|
6 chunks |
+6 lines, -18 lines |
0 comments
|
Download
|
|
M |
sdk/lib/js/dartium/js_dartium.dart
|
View
|
|
28 chunks |
+404 lines, -249 lines |
0 comments
|
Download
|
|
M |
sdk/lib/svg/dartium/svg_dartium.dart
|
View
|
|
107 chunks |
+107 lines, -321 lines |
0 comments
|
Download
|
|
M |
sdk/lib/web_audio/dartium/web_audio_dartium.dart
|
View
|
|
23 chunks |
+23 lines, -69 lines |
0 comments
|
Download
|
|
M |
sdk/lib/web_gl/dartium/web_gl_dartium.dart
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
tests/html/html.status
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
tests/lib/analyzer/analyze_library.status
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
tools/dom/scripts/generator.py
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
|
M |
tools/dom/scripts/systemhtml.py
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
tools/dom/src/dartium_CustomElementSupport.dart
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
tools/dom/templates/html/dartium/html_dartium.darttemplate
|
View
|
|
5 chunks |
+7 lines, -31 lines |
0 comments
|
Download
|
|
M |
tools/dom/templates/html/impl/impl_DOMException.darttemplate
|
View
|
|
1 chunk |
+1 line, -6 lines |
0 comments
|
Download
|
Total messages: 5 (2 generated)
|