Commit Graph

1657 Commits

Author SHA1 Message Date
amouravski@google.com a1efaac69c Added links and blurb for drag stuff.
Review URL: https://codereview.chromium.org//56423002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29764 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 18:54:47 +00:00
amouravski@google.com 37947804ca Added helpful information on all event getters and static members.
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29755 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 16:59:07 +00:00
blois@google.com 7046fc201e Revert "Fixing the BeforeUnloadEvent"
Causing problems with build on Dartium:
class _CustomEventStreamImpl<T extends Event> extends Stream<T>
                             ^
'file:///mnt/data/b/build/slave/dartium-lucid32-full-be/build/src/dart/tools/dom/src/EventStreamProvider.dart': Error: line 334 pos 41: type '_CustomEventStreamImpl<KeyEvent>' has an out of bound type argument
class _CustomKeyEventStreamImpl extends _CustomEventStreamImpl<KeyEvent>

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29754 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 16:37:33 +00:00
blois@google.com a948d4384a Fixing the BeforeUnloadEvent
Basically the last Blink upgrade introduced the BeforeUnloadEvent which conflicted with our previous polyfill. Our definition was removed, but the suppression remained for Event.returnValue.

The suppression is still needed since that's the incorrect type and on the wrong class, so I modified our metadata lookup to allow it to only target exact class matches (and not super classes).
BUG=
R=efortuna@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29752 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 16:17:38 +00:00
amouravski@google.com fb475209a8 Reproducing changes from https://chromiumcodereview.appspot.com/23556009/
Review URL: https://codereview.chromium.org//54183007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29709 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 22:13:43 +00:00
sgjesse@google.com c38de04d0c Change dart:io Platform.script to return a Uri.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29651 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 07:29:01 +00:00
whesse@google.com 4f08151090 Revert "Change dart:io Platform.script to return a Uri."
This reverts r29619 and r29624.  The changes look fine on the buildbot,
but need review before adding to the repository.

BUG=

TBR=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29627 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:17:37 +00:00
whesse@google.com e57ff49c1b Fix bugs in Platform.script change.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29624 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 01:44:41 +00:00
whesse@google.com cb0110350a Change dart:io Platform.script to return a URI. Change all uses of Platform.script to work with the new value.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29619 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 01:08:11 +00:00
efortuna@google.com 502c7c29c8 Allow matchingTarget to also include the currentTarget.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29609 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 23:32:39 +00:00
efortuna@google.com 57a80ee316 Specify default values for data (text) and value in OptionElement.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29592 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 21:46:11 +00:00
whesse@google.com ad88bc6020 Remove uses of Options from tools directory. Fix platform_test.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29562 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 16:20:49 +00:00
amouravski@google.com 83495ee8ec Refactor EventStreamProvider.dart to make flow make more sense.
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29494 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 21:19:21 +00:00
amouravski@google.com 1573890b6e Updated top level docs for Window.
Review URL: https://codereview.chromium.org//51183002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29480 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 19:26:44 +00:00
vsm@google.com 1cef9f61aa Dartium support for Uri.base (dart-side)
BUG=13581
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29479 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 19:06:24 +00:00
sra@google.com c02e911962 JS_INTERCEPTOR_CONSTANT(Type) generates a constant interceptor in Dart code.
Use JS_INTERCEPTOR_CONSTANT(KeyboardEvent) in dart:html to avoid creating a lookup table.

R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29474 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 18:26:48 +00:00
amouravski@google.com 60b57c3a38 Update headings to use sentence case.
R=kathyw@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29462 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 17:23:32 +00:00
kasperl@google.com 1bbe4d5452 Make sure that classes in dart:html do not implement both List and List<E>.
R=johnniwinther@google.com, blois@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29417 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 08:37:10 +00:00
jacobr@google.com fa8b243f62 Add JsArray
BUG=
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29393 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 20:46:36 +00:00
amouravski@google.com 8f1ff19004 Update EventStream docs with new capture method on the string.
Review URL: https://codereview.chromium.org//47543007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29392 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 20:36:53 +00:00
amouravski@google.com 79b447a313 Renamed XmlHttpRequestEventTarget to remove Xml for consistency.
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29385 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 19:54:00 +00:00
blois@google.com 8c9c2d5c29 Exposing raw DOM lists from wrappers
This is to make them transferrable via dart:js

So basically all of our wrappers implement NodeListWrapper (which is defined in html_common).

One can check if the Dart list is a NodeListWrapper, then call rawList if so.

The result of rawList is typed as List<Node>, which should be either NodeList or HtmlCollection.

BUG=14485
R=justinfagnani@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29322 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-27 02:26:20 +00:00
efortuna@google.com 45701cfb4b Second round of deprecation removal.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29275 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 19:39:09 +00:00
sra@google.com f41f6f6722 ImageData.data is a Uint8ClampedList
Review URL: https://codereview.chromium.org//41583005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29228 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 00:46:48 +00:00
efortuna@google.com 971dbf30ab Supress list mixins for deprecated/removed class.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29226 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 00:23:06 +00:00
amouravski@google.com c1eb44e3d0 Fix for getContextAttributes which wraps bare dictionary into a Dart type.
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29221 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 22:32:46 +00:00
efortuna@google.com 9b40aca70c Remove the low hanging deprecation fruit.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29219 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 22:13:51 +00:00
efortuna@google.com c49f1ce868 Allow matches selector to work on current Opera.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29216 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 21:55:08 +00:00
efortuna@google.com 7effd23744 Add DOMRect for Firefox Rectangle behavior.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29210 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 21:28:58 +00:00
efortuna@google.com 26bf1e0da4 Renamed contains in the rectangle class to containsRectangle.
BUG=https://code.google.com/p/dart/issues/detail?id=13876
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29203 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 20:27:22 +00:00
blois@google.com f41e99e1ed Updating MutationObserver.observe documentation.
TBR
BUG=14375

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29181 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 17:01:08 +00:00
blois@google.com 3058d7ed00 Removing older lifecycle events
With the upgrade to Chrome beta, the shims for the older names can go away.

BUG=13220
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29180 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 16:54:32 +00:00
efortuna@google.com 7e685302b9 Add back unseparated out version of method overloads in dart:html.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29135 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 00:07:45 +00:00
efortuna@google.com 7645b3b4c6 Temporarily disable TouchList constructor to implement varargs.
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29133 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 22:46:35 +00:00
efortuna@google.com 1787f36d42 Rerun go.sh
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29120 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 20:54:41 +00:00
jacobr@google.com 88482fee49 Companion CL to support $0, $1, $2
BUG=
R=justinfagnani@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29112 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 19:32:23 +00:00
jacobr@google.com ec40463cb1 Fix inspector break from Dartium roll
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29104 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 18:26:11 +00:00
vsm@google.com db97191375 Dartium fixes for latest Blink rolls.
TBR=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29085 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 15:00:32 +00:00
jmesserly@google.com 360ea42322 Rename mdv -> template_binding, remove experiemntal apis from dart:html
essentially, we trade off reduce dart:html API surface area for more annoying usage of these APIs. Since Polymer hides most of this, I suspect it won't be too annoying in practice.

Sample usage:

    nodeBind(node).bind(...)

    templateBind(node).model = ...;

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29057 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 02:11:49 +00:00
blois@google.com 15e086338d Revert "Revert "Removing some deprecated members""
Take-two of https://code.google.com/p/dart/source/detail?r=29022

The issue with the original was that addEventListener was changed to private, but this caused the IDB classes which override it to not override it any longer. This was breaking C++ multiple inheritance type casts. Fix is to make addEventListener public.

BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29051 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 00:44:10 +00:00
efortuna@google.com a4a2e26bde Reapply lineDash with polyfill.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29050 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 00:15:36 +00:00
blois@google.com 3d20b78608 Fixing experimental annotation on HtmlDocument.register
Not sure why this just started failing on the bots, but it's an issue.
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29039 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 21:27:33 +00:00
blois@google.com 3aef09e008 Revert "Removing some deprecated members"
For some reason this broke indexed_db on Dartium, I debugged in some but need more time to understand. The completed event is not firing.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29033 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 20:20:32 +00:00
jmesserly@google.com 3ea4328813 fix todomvc tests
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29032 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 20:14:49 +00:00
sra@google.com f4ebe9522c Code review changes for ngeoffray's comments on r28278
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29029 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 19:50:02 +00:00
blois@google.com 811147da98 Removing redirections of deprecated members
The members were deprecated and removed, but these redirections were missing

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29024 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 19:00:31 +00:00
blois@google.com 63f250a430 Removing a number of deprecated members
Mostly left over from previous refactoring

BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29023 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 18:53:36 +00:00
blois@google.com e2c4716609 Removing some deprecated members
These are all DOM APIs that we had annotated as deprecated but not actually removed. They've all been deprecated for quite a while.

BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29022 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 18:42:01 +00:00
blois@google.com 690a1454e5 Revert "Converting Polymer and TemplateElement to use deprecated Node.document"
Now that DRT is updated and we're running dart2js tests properly, all should be good.

BUG=14197
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29018 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 18:28:18 +00:00
efortuna@google.com 8b4e5e92ba "Reverting 29013"
TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29017 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 18:25:40 +00:00