Jan-Hendrik Dolling
89560c68a0
change "the the" to the
2016-10-28 21:47:50 +02:00
Alan Knight
30b489578d
Revert "Reapply zone tasks."
...
This reverts commit 6a7c037aa6 .
BUG=
Review URL: https://codereview.chromium.org/2162643002 .
2016-07-18 13:12:36 -07:00
Florian Loitsch
6a7c037aa6
Reapply zone tasks.
...
This reverts commit 34d3c37233 .
Committed: https://github.com/dart-lang/sdk/commit/f746f8f77e93fd93cb4ff3b4ed644c96a432947a
R=lrn@google.com
Review URL: https://codereview.chromium.org/2119243002 .
Reverted: https://github.com/dart-lang/sdk/commit/dae392291595fa394d601d2d0baa77b66d85533f
2016-07-05 17:33:09 +02:00
Florian Loitsch
dae3922915
Revert "Reapply zone tasks."
...
This reverts commit f746f8f77e .
Review URL: https://codereview.chromium.org/2123593002 .
2016-07-04 21:58:15 +02:00
Florian Loitsch
f746f8f77e
Reapply zone tasks.
...
This reverts commit 34d3c37233 .
Review URL: https://codereview.chromium.org/2119243002 .
2016-07-04 19:55:58 +02:00
Florian Loitsch
34d3c37233
Revert zone tasks.
...
Revert "Add tasks to zones."
This reverts commit 85cccde717 .
Revert "Make Dom events run through zone tasks."
This reverts commit 6d1f6b2af6 .
Revert "Add zone task support for request-anim."
This reverts commit 726b9f8dc7 .
Revert "Add zone task support to http-requests."
This reverts commit b40cfcb57f .
Revert "Update status file for jsshell."
This reverts commit 5e05ee9b5f .
Review URL: https://codereview.chromium.org/2120063002 .
2016-07-01 22:36:52 -07:00
Florian Loitsch
6d1f6b2af6
Make Dom events run through zone tasks.
...
R=jacobr@google.com , lrn@google.com
Review URL: https://codereview.chromium.org/2022263002 .
2016-07-01 19:43:06 -07:00
Jacob Richman
f26e522f84
Strip unused functionality from dart:html and fix strong mode errors. Switch from blacklisting pure interfaces to determining pure interfaces from the idl and whitelisting impure interfaces we need for dart2js.
...
BUG=
R=alanknight@google.com
Review URL: https://codereview.chromium.org/1987073002 .
2016-05-18 12:49:09 -07:00
Alan Knight
c5acca2ff0
Check for the case where previousNode fails in sanitization. Can happen with object tags
...
BUG=
R=sra@google.com
Review URL: https://codereview.chromium.org/1825373004 .
2016-04-28 12:51:40 -07:00
Jacob Richman
6ef4eae35f
Remove as checks bloating sample dart apps by 4K
...
BUG=
R=sra@google.com
Review URL: https://codereview.chromium.org/1923143002 .
2016-04-27 08:53:48 -07:00
Jacob Richman
7fdce7a2f0
Use _downcast and _cast instead of "as" to reduce dart2js output size.
...
BUG=
R=leafp@google.com
Review URL: https://codereview.chromium.org/1914583002 .
2016-04-22 11:09:01 -07:00
Jacob Richman
864b64fd5e
Strong html
...
BUG=
R=alanknight@google.com
Review URL: https://codereview.chromium.org/1894713002 .
2016-04-19 15:08:45 -07:00
Jacob Richman
08c171d3e5
Revert "Revert "Fix handling of cross-origin windows in dartium and better align general handling of different frame window and location objects.""
...
Fix missing case that was breaking co19 tests.
This reverts commit 688eeb555c .
BUG=
Review URL: https://codereview.chromium.org/1883513004 .
2016-04-12 17:16:06 -07:00
Jacob Richman
688eeb555c
Revert "Fix handling of cross-origin windows in dartium and better align general handling of different frame window and location objects."
...
This reverts commit f382890e1a .
Reverting while tests are fixed.
BUG=
Review URL: https://codereview.chromium.org/1879093002 .
2016-04-12 11:28:05 -07:00
Jacob Richman
f382890e1a
Fix handling of cross-origin windows in dartium and better align general handling of different frame window and location objects.
...
BUG=
R=alanknight@google.com
Review URL: https://codereview.chromium.org/1873933002 .
2016-04-12 10:23:32 -07:00
Jacob Richman
1536c671f5
Add support for switching library from the chrome devtools console.
...
BUG=
R=alanknight@google.com
Review URL: https://codereview.chromium.org/1865803004 .
2016-04-07 11:14:47 -07:00
Jacob Richman
c65854d2e4
Optimize dartium dart:html bindings so real world application performance is acceptable. Improves dart:html performance by 2X-30X for microbenchmarks. Real world improvement is typically 2X-3X.
...
BUG=
Review URL: https://codereview.chromium.org/1832713002 .
2016-03-29 18:32:52 -07:00
Terry Lucas
af562187bc
Chrome moved clipboardData from Event to ClipboardEvent for security clipboard can only be accessed during a onCut/onCopy/onPaste event.
...
The polyfill class KeyEvent can no longer access clipboardData without listening for the cut, copy or paste event.
TBR=alanknight@google.com ,sigmund@google.com
Review URL: https://codereview.chromium.org/1775923002 .
2016-03-08 05:24:02 -08:00
Terry Lucas
5d77c0e83c
More UIEvent attribute movement in 45 roll.
...
TBR=alanknight@google.com ,sigmund@google.com
Review URL: https://codereview.chromium.org/1771113002 .
2016-03-07 16:12:28 -08:00
Terry Lucas
5c3728b067
Fix for KeyEvent,KeyboardEvent and UIEvent changes in roll 45
...
TBR=jacobr@google.com ,alanknight@google.com ,sigmund@google.com
Review URL: https://codereview.chromium.org/1754523006 .
2016-03-07 07:51:50 -08:00
Alan Knight
14b2dfd8dd
Add wrap/unwrap_jso calls in native_DOMImplementation, remove unused _DOMStringMap
...
BUG=
Review URL: https://codereview.chromium.org/1724853002 .
2016-02-23 11:21:01 -08:00
Jacob Richman
c0ddc73fce
Switch broken console inspect method to call the _inspect method of the JS inspector host object.
...
BUG=
Review URL: https://codereview.chromium.org/1689033003 .
2016-02-10 18:49:25 -08:00
Jacob Richman
cf7ae2e0cb
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
Review URL: https://codereview.chromium.org/1583773003 .
2016-01-15 10:40:32 -08:00
Alan Knight
87c1bb4b39
Add autofocus to the Html5NodeValidator list of standard attributes for <input>
...
BUG=
Review URL: https://codereview.chromium.org/1588773002 .
2016-01-13 17:19:00 -08:00
Sam Rawlins
931ceef9b2
Fixing dart:html links _not_ found in docs.json
...
BUG= https://github.com/dart-lang/sdk/issues/23601
R=alanknight@google.com
Review URL: https://codereview.chromium.org/1448963002 .
2015-11-16 10:18:23 -08:00
Kevin Moore
156bc53866
Hide implementation members in dart:html, dart:js and related libraries
...
Closes https://github.com/dart-lang/sdk/issues/24602
R=alanknight@google.com , jacobr@google.com , terry@google.com
Review URL: https://codereview.chromium.org/1416043008 .
2015-11-02 13:23:22 -05:00
Jacob Richman
9075efbb43
Fix broken console evaluation in devtools when stopped at an async frame.
...
It appears that the Dart VM is now adding a local with invalid dart name :async_op
in some cases when the call stack is async.
This change filters out those variables from the list of locals.
BUG=
R=alanknight@google.com
Review URL: https://codereview.chromium.org/1424133002 .
2015-10-28 15:00:34 -07:00
Alan Knight
a9362610ee
Hide internal methods like wrap_jso from the dart:html public interface
...
Issue https://github.com/dart-lang/sdk/issues/24602
R=terry@google.com
Review URL: https://codereview.chromium.org/1409743003 .
2015-10-19 11:28:53 -07:00
Terry L. Lucas
4653701a76
Fixed native element extension, custom events, _VMUpgrader, and data binding.
...
Enabled tests that exercise this areas.
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org/1391143006 .
2015-10-14 10:03:56 -07:00
Terry L. Lucas
4f9771f4e1
Fixed JS custom elements and temporarily mark polymer test as failing
...
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org/1402693002 .
2015-10-10 16:50:10 -07:00
Terry L. Lucas
888d458e90
Fixed upgrading and data binding
...
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org/1403623002 .
2015-10-09 17:03:53 -07:00
Terry L. Lucas
82fdf816b9
Added Alan's CL 1398603003 and augmented with upgrade for HtmlElement and HTMLElement
...
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org/1400843002 .
2015-10-09 09:38:37 -07:00
Alan Knight
c92a2450b4
Switch dart:html objects not to be NativeFieldWrapper subclasses with JsInterop
...
BUG=
Review URL: https://codereview.chromium.org/1392723003 .
2015-10-07 17:42:39 -07:00
Jacob Richman
8d793ca758
Dartium typed js interop work dart repo side of the change. Also tries to get
...
BUG=
Review URL: https://codereview.chromium.org/1391353002 .
2015-10-07 11:44:50 -07:00
Terry L. Lucas
ff5d07a4e9
Fixed few more issues with upgrader and custom event identitiy
...
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org/1391273002 .
2015-10-07 08:53:31 -07:00
Terry L. Lucas
ecfad36ac7
Fixed custom elements to work in Polymer
...
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org/1389683002 .
2015-10-05 08:55:52 -07:00
Alan Knight
1b80b9013e
Make sure we short-circuit the second corruption test, it might be crashing firefox
...
BUG=
Review URL: https://codereview.chromium.org//1371543002 .
2015-09-24 16:45:08 -07:00
Alan Knight
5b6401e900
Move JS calls out of Dartium code
...
BUG=
Review URL: https://codereview.chromium.org//1369573004 .
2015-09-24 12:36:18 -07:00
Alan Knight
8f35656f9b
Fix node_validator xss tests for IE and Firefox
...
BUG=
Review URL: https://codereview.chromium.org//1365093003 .
2015-09-24 10:43:08 -07:00
Terry L. Lucas
7b322c246c
Dartium JS Enabled take 2
...
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1348173002 .
2015-09-16 07:13:53 -07:00
Terry L. Lucas
09c804aa78
Revert "Dartium JS Interop enabled."
...
This reverts commit 403bd1698d .
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1345083002 .
2015-09-15 19:44:26 -07:00
Terry L. Lucas
403bd1698d
Dartium JS Interop enabled.
...
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1349493003 .
2015-09-15 17:36:47 -07:00
Terry L. Lucas
9b0d2582fc
Revert "Dartium w/ JsInterop enabled"
...
This reverts commit 346af54711 .
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1330163010 .
2015-09-09 17:33:24 -07:00
Terry L. Lucas
346af54711
Dartium w/ JsInterop enabled
...
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1321613005 .
2015-09-09 17:01:40 -07:00
Terry L. Lucas
012c998f64
Revert "Patched in Dartium JsInterop"
...
This reverts commit 4bb2e617db .
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1327083002 .
2015-09-08 13:35:03 -07:00
Terry L. Lucas
4bb2e617db
Patched in Dartium JsInterop
...
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1310363006 .
2015-09-08 12:46:41 -07:00
Alan Knight
cd8c569632
Make sure NodeValidator uriAttributes aren't passed as attributes
...
WIP
BUG=
R=terry@google.com
Review URL: https://codereview.chromium.org//1236413002 .
2015-07-17 14:12:44 -07:00
Terry L. Lucas
206ffe343b
Revert "- Update _blink library using dart:js instead of native keyword"
...
This reverts commit 8ecb64d6b0 .
TBR=vsm@google.com
Review URL: https://codereview.chromium.org//1237263005 .
2015-07-17 07:45:12 -07:00
Terry L. Lucas
8ecb64d6b0
- Update _blink library using dart:js instead of native keyword
...
- Fixed dart:js event wrapping
- Fixed dart2js gen when --gen-interop used
- Cleanup and enabled static window() for JS interop
- Enabled --gen-interop
- Added --gen-interop switch
R=vsm@google.com ,alanknight@google.com
Review URL: https://codereview.chromium.org//1234273003 .
2015-07-17 07:37:18 -07:00
Terry L. Lucas
1fa61ee114
Fixed a few more things to make Dartium build w/o --gen-interop
...
TBR=vsm@google.com
Review URL: https://codereview.chromium.org//1239653003 .
2015-07-14 07:17:59 -07:00