Commit Graph

278 Commits

Author SHA1 Message Date
Alan Knight 9ad57e7aa3 Fix Crypto.getRandomValues to modify its argument, fix tests
BUG=

Review URL: https://codereview.chromium.org/1387273002 .
2015-10-07 09:11:14 -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
Terry L. Lucas 4947e570d4 Changed to use JSInterop
Review URL: https://codereview.chromium.org//1173403004 .
2015-07-13 12:38:16 -07:00
alanknight@google.com 1f20842389 Another try at appendHtml and insertAdjacentHtml should be consistently sanitized
BUG=

Review URL: https://codereview.chromium.org//1123173003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45818 260f80e4-7a28-3924-810f-c04153c831b5
2015-05-15 17:59:23 +00:00
alanknight@google.com bfa61f62e0 "Reverting 45815"
BUG=

Review URL: https://codereview.chromium.org//1127403006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45816 260f80e4-7a28-3924-810f-c04153c831b5
2015-05-15 17:04:53 +00:00
alanknight@google.com 1c69173804 Test Dartium with appendHtml sanitizing. Will immediately revert.
BUG=

Review URL: https://codereview.chromium.org//1133343005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45815 260f80e4-7a28-3924-810f-c04153c831b5
2015-05-15 16:30:17 +00:00
alanknight@google.com f0136ff1eb Clean up WheelEvent
BUG=
R=terry@google.com

Review URL: https://codereview.chromium.org//1126463005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45740 260f80e4-7a28-3924-810f-c04153c831b5
2015-05-12 16:34:01 +00:00
alanknight@google.com 5d2f7f8ae8 Fix notification
BUG=
R=terry@google.com

Review URL: https://codereview.chromium.org//1002953005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44471 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-13 17:21:31 +00:00
terry@google.com e0fff4e457 Changes to support roll 39 IDLs
Reviewers=vsm@google.com,asiva@google.com

Review URL: https://codereview.chromium.org//952133004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44099 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-27 18:10:08 +00:00
terry@google.com 69e76a7b28 Clamp scrollX, scrollY, pageXOffset, and pageYOffset from double to int
TBR=vsm@google.com,asiva@google.com

Review URL: https://codereview.chromium.org//898993002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43477 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-04 16:59:12 +00:00
jacobr@google.com 721034fa84 BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//863713003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43029 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-20 23:04:27 +00:00
vsm@google.com b4cfeafc5e Revert "Workaround for canPlayType in Dartium"
This keeps the test.

R=leafp@google.com

Review URL: https://codereview.chromium.org//748883004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42089 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-03 19:25:35 +00:00
vsm@google.com e04af71146 Workaround for canPlayType in Dartium
BUG=http://dartbug.com/21702
R=leafp@google.com

Review URL: https://codereview.chromium.org//758123003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41967 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-25 20:12:05 +00:00
terry@google.com c3229b7ee1 Fixed pointerlock* getters
Fixed onPointerLockChange, onPointerLockError and pointerLockElement not exposed after webkit prefix wa removed.

Review=vsm@google.com
BUG=21376
R=vsm@google.com

Review URL: https://codereview.chromium.org//750093002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41916 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-21 20:12:17 +00:00
rmacnak@google.com de9ba250c5 Reapply "Stop suppressing generation of bindings with Promise. Add some tests for DOM APIs that answer promises."
Fix static warning in storage_quota_test.

Fix status of fontface_loaded_test.

R=leafp@google.com

Review URL: https://codereview.chromium.org//658903005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41210 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-20 18:27:03 +00:00
vsm@google.com 23b5353b0e Suppress new Request type in dart:html
This is conflicting with the Request type in IDB.  Hiding it for now.  We may want to expose with a different name or factor out into a service worker library.

BUG=http://dartbug.com/21341
R=blois@google.com

Review URL: https://codereview.chromium.org//666543004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41208 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-20 17:57:14 +00:00
rmacnak@google.com f310862906 Revert "Stop suppressing generation of bindings with Promise. Add some tests for DOM APIs that answer promises."
TBR=vsm@google.com

Review URL: https://codereview.chromium.org//661603003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41138 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-16 02:54:14 +00:00
rmacnak@google.com 5178314123 Stop suppressing generation of bindings with Promise. Add some tests for DOM APIs that answer promises.
R=vsm@google.com

Review URL: https://codereview.chromium.org//605853003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41136 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-16 01:17:45 +00:00
vsm@google.com 8a39ccb8df Fix for web_gl statics
This was fixed on trunk / 1.7 separately.  Here's the same for bleeding_edge:

BUG=https://code.google.com/p/dart/issues/detail?id=21173
R=leafp@google.com

Review URL: https://codereview.chromium.org//618323004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41045 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-10 16:40:01 +00:00
vsm@google.com 94095d64a2 Merge 38 changes to bleeding edge
TBR=terry@google.com,leafp@google.com
BUG=

Review URL: https://codereview.chromium.org//605083004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40774 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-29 15:56:25 +00:00
vsm@google.com 1c4bb5f363 Revert "Chrome 38 script changes from integration branch"
This reverts commit r40567.

TBR=leafp@google.com

Review URL: https://codereview.chromium.org//589253002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40570 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-22 21:11:34 +00:00
vsm@google.com 9e25106514 Chrome 38 script changes from integration branch
TBR=leafp@google.com

Review URL: https://codereview.chromium.org//593853002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40567 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-22 20:45:57 +00:00
vsm@google.com e379d380bc Migrate to Chrome 37 IDL
This enables terry's new scripts with fixes from vsm and leafp (tested in the dartium_integration branch).

R=leafp@google.com

Review URL: https://codereview.chromium.org//569783002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40219 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-12 21:18:06 +00:00
terry@google.com ecceb75d35 Begin hookup of Blink IDL parser for dart:* libraries.
BUG=
R=vsm@google.com

Committed: https://code.google.com/p/dart/source/detail?r=39948

Review URL: https://codereview.chromium.org//444743002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40026 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-09 13:18:24 +00:00
terry@google.com ac72bce2f1 "Reverting 39948"
BUG=

Review URL: https://codereview.chromium.org//554853002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39999 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-08 20:58:19 +00:00
terry@google.com cf0c6a3565 Begin hookup of Blink IDL parser for dart:* libraries.
BUG=
R=vsm@google.com

Review URL: https://codereview.chromium.org//444743002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39948 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-08 02:33:50 +00:00
leafp@google.com 61fe00cb78 Round Touch attributes back to int for backwards compatibility
Most of the attributes in the Touch interface (clientX/Y, screenX/Y, pageX/Y, webkitRadiusX/Y) have changed to use double instead of int.  Since we are generating dart:html from old idl, this immediately breaks for us as soon as these are used.  This CL wraps calls to these with a round to retain the old API.

BUG=http://dartbug.com/20587
R=blois@google.com

Review URL: https://codereview.chromium.org//493843003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39426 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-20 20:29:36 +00:00
efortuna@google.com 7cbe70fb2c Deprecate MouseEvent.elementTo and elementFrom since they have the same
functionality as relatedTarget.

BUG=
R=blois@google.com

Review URL: https://codereview.chromium.org//454043004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39050 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-08 21:07:24 +00:00
vsm@google.com 3aff966aa6 Fix broken FileReader API in _blink_dartium
TBR=leafp@google.com,terry@google.com

Review URL: https://codereview.chromium.org//444973002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38926 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-06 11:27:47 +00:00
vsm@google.com 5fc33c9533 Deprecate ShadowRoot.applyAuthorStyles
This is gone in Chrome 36 as well.

TBR=blois@google.com,jacobr@google.com

Review URL: https://codereview.chromium.org//298003004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36634 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-26 12:33:58 +00:00
vsm@google.com c36c9df390 Change Element offset/client/scroll attributes to be num instead of int
Note, these attributes have changed from int to double in Chrome 36. On Dartium, this breaks us in checked mode. Unfortunately, I cannot easily change the dart.idl to mark these as double - that will break Chrome 34 and 35.

For now, I need custom code to mark these as num. We need a better solution.

TBR=blois@google.com,jacobr@google.com

Review URL: https://codereview.chromium.org//300143002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36627 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-26 10:49:31 +00:00
vsm@google.com 098aa42080 Dartium 35: Add a deprecated ShadowRoot.resetStyleInheritance
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org//296723002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36349 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-20 09:47:02 +00:00
blois@google.com fd6f27f790 Exposing Node.baseURL
Polymer uses it quite a bit, seems like Dart should expose it. It's primarily useful in Polymer because with HTMLImports it's easy to load content with different base URIs.

BUG=
R=jmesserly@google.com

Review URL: https://codereview.chromium.org//235503007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35041 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-14 21:37:51 +00:00
blois@google.com 2596425027 Fix for bug 14923
Make sure that completeError is not called with null.

BUG=14923
R=efortuna@google.com

Review URL: https://codereview.chromium.org//138003019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34797 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 21:19:10 +00:00
vsm@google.com adcaea49a4 Restore these deprecated types for now
R=blois@google.com

Review URL: https://codereview.chromium.org//208493004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34404 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-26 03:16:47 +00:00
vsm@google.com a1f53ce2c0 Remove queryUsageAndQuota API
This is gone in Chrome 34.  It's breaking the dart2js analyze_api test.

TBR'ing to get the bots green.

TBR=blois@google.com

Review URL: https://codereview.chromium.org//208743003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34376 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-25 18:06:31 +00:00
vsm@google.com 1192f128cf Regenerate dart:html for dart2js using Chrome 34 IDL
(This is just a go.sh run.)

R=blois@google.com

Review URL: https://codereview.chromium.org//205033008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34368 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-25 16:29:24 +00:00
jacobr@google.com 1ea29a21d7 Fixes for Chrome 34 merge
BUG=
R=vsm@google.com

Review URL: https://codereview.chromium.org//204033002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34069 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-18 22:08:44 +00:00
efortuna@google.com 4bf8e46dcc Remove the html warnings!
BUG=
R=blois@google.com

Review URL: https://codereview.chromium.org//164743003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32678 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 22:23:21 +00:00
efortuna@google.com f91b102ccb "Reverting 32641"
BUG=

Review URL: https://codereview.chromium.org//162843002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32642 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 05:52:21 +00:00
efortuna@google.com c1e36a1efe Reapply "remove html warnings."
BUG=
R=blois@google.com

Review URL: https://codereview.chromium.org//162413002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32641 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 01:43:25 +00:00
efortuna@google.com 7acd2cc7c7 Revert all html warning changes.
For the sake of ease of cherry-picking, I'm going to back this change out to
apply all at once, once I fix this postMessage test failure on Dartium.

BUG=

Review URL: https://codereview.chromium.org//160963004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32630 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 22:12:18 +00:00
efortuna@google.com dd29511add Fix analyzer test failure.
BUG=

Review URL: https://codereview.chromium.org//153653008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32619 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 20:37:53 +00:00
efortuna@google.com 9f1b31b001 Fix more warnings for dart:html.
BUG=
R=blois@google.com

Review URL: https://codereview.chromium.org//153823007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32618 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 20:12:09 +00:00