Commit Graph

793 Commits

Author SHA1 Message Date
blois@google.com f016e7af84 Fixing CSS Animations cross-platform issues.
BUG=
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23926 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 19:18:59 +00:00
blois@google.com b61e864617 Fix RtcDataChannel for Firefox nightly
BUG= http://dartbug.com/11067
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23922 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 17:38:54 +00:00
blois@google.com d72387b95a Updating metadata after Chrome rolls.
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23888 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 23:47:09 +00:00
blois@google.com 09dab7ecf3 Fixing up element_types_test to work properly in checked mode, adding a few more element constructors.
Basically the constructors were failing in checked mode when they returned UnknownElement rather than the expected type. I adjusted the tests to account for this.

BUG=10796
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23885 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 22:42:12 +00:00
blois@google.com ab50cfcc68 Adding annotations for native types of type Object or dynamic.
Also added generation warnings to try to detect these.

BUG=10946
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23875 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 19:46:57 +00:00
antonm@google.com 5a334f3da2 Remove renames for gone interfaces.
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23818 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-10 16:25:37 +00:00
blois@google.com f7e2d341dd Fixing codegen issues from Blink roll.
Appears that Blink is in the process of renaming WebKit IDL types, but right now they have duplicated types.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23757 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-07 18:26:03 +00:00
antonm@google.com 9a71e85188 Remove now unused enables.
TBR=blois@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23754 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-07 16:40:32 +00:00
antonm@google.com f1677b76c9 Blink IDL roll.
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23752 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-07 16:34:31 +00:00
antonm@google.com a352956d29 Chrome roll 202464->204370.
TBR=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23743 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-07 14:56:12 +00:00
antonm@google.com 7629d7f4d4 Partial support for new getters/setters declaration.
TBR=blois@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23742 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-07 12:07:54 +00:00
blois@google.com 0956f1c314 Fixing HttpRequest.upload.onProgress.
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23658 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-05 21:09:59 +00:00
blois@google.com 320b629f3f Hiding dart:html's Entity
Causing some conflicts with other packages, need to decide what we want to do with it.

BUG=
R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23646 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-05 17:49:16 +00:00
blois@google.com 58a92ac603 Fixing a number of Dart2JS compiler warnings.
BUG=11039
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23569 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 21:11:14 +00:00
blois@google.com 5bbd582932 Fixing some of the tests disabled from the chrome IDL roll.
Basically some native constructors were added which are not yet cross-platform, so skipping them for now.
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23564 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 20:10:48 +00:00
amouravski@google.com 768d611f4e Remove more question marks.
R=antonm@google.com, blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23563 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 19:56:58 +00:00
vsm@google.com 03de0e182f Remove error throw on bad DEFINES
We need to be forgiving here for Android builds.

R=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23547 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 15:44:20 +00:00
antonm@google.com 2ebfa26751 Remove now absent interfaces/methods.
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23544 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 15:07:57 +00:00
antonm@google.com 081a2be830 Allow null strings in setters.
V8 generator always allows nulls for Reflect attributes of type
DOMString.  That looks somewhat hairy, but let's just follow the logic
for Dart as well.

R=podivilov@chromium.org
BUG=8189

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23541 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 13:26:11 +00:00
vsm@google.com b85b97cbe6 Fixes for Blink roll to r151189
TBR=antonm

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23511 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-02 18:34:36 +00:00
blois@google.com 881e456c21 Cleaning up some DOM APIs which were marked as deprecated because they were moved or renamed.
There were basically two issues:
- localName and namespaceUri moved from Node down to Element.
- The transitionEnd event was polyfilled based on the deprecated webkitTransitionEnd event, so it was switched to the standard transtionEnd.

The Attr change was needed because the node map was using localName on Attr (inherited from Node), when it should have been using name. Attr is not actually exposed anywhere, so made it private.

BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23423 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 16:31:09 +00:00
blois@google.com 0c7e06c5cf Fixing type of ApplicationCache.onProgress.
BUG=10317
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23372 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 00:56:57 +00:00
efortuna@google.com 34b6083654 Fix up other RTC family mozilla names.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23313 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 00:26:47 +00:00
efortuna@google.com c89a0c73c0 Add mozRTCPeerConnection to JS names.
BUG=
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23312 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 23:48:14 +00:00
blois@google.com a1f522165f Modernizing HttpRequest documentation.
Also fixing docs so they get applied to Dartium.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23303 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 19:33:06 +00:00
antonm@google.com fd3c7da1ee Verify that correct number of arguments was passed.
R=amouravski@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23296 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 17:42:13 +00:00
blois@google.com ecb5686319 Generating support annotations from DOM triage list.
This is applying the results of the detailed API triage I did to the support annotations for DOM types.

BUG=
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23159 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-24 17:14:47 +00:00
antonm@google.com 7156616c08 Revert to ? presence checks.
TBR=amouravski@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23127 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-24 09:02:25 +00:00
amouravski@google.com f968d3465c Added tests to previously broken functionality and added null checks.
R=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23123 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-24 08:23:24 +00:00
blois@google.com ba295aaafe Only update dom.json when executing from go.sh.
BUG=
R=antonm@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23099 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-23 20:30:43 +00:00
antonm@google.com 6e51015ab7 Remove now unused attribute.
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23033 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-22 18:12:59 +00:00
antonm@google.com 5b9d62c9a9 Migrate to new indexed getter marking scheme.
TBR=blois@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22995 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-22 08:52:52 +00:00
antonm@google.com b80cfdce1c Regens after IDL roll.
TBR=blois@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22991 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-22 08:05:50 +00:00
blois@google.com 4284aa2264 Getting html_dart2js and html_dartium a bit more in sync.
I used the analyzer and made a quick API diff app to compare the two libraries, most of these are just minor nits, but good to get them in sync.

BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22963 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-21 21:52:07 +00:00
blois@google.com 77ad8172f3 Exposing a number of new events.
These are all new events which we didn't have naming entries and event types for.
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22955 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-21 20:46:18 +00:00
antonm@google.com 1d6243bb18 Changes for the roll.
TBR=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22942 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-21 14:18:00 +00:00
vsm@google.com f1718c5140 Update ENABLE_* flags
Bring this up to date with:

http://src.chromium.org/viewvc/multivm/trunk/webkit/Source/core/features.gypi?revision=1242

Note, this does *not* change any generated code.  Unused flags where
removed.  Added flags are precautionary.  They don't affect generated
code, but they are defined in a Chromium build.

R=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22890 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-20 15:55:06 +00:00
vsm@google.com 440b01ccaa Regen dart:html from IDL with fixes
Some minor fixes:
- HALF_FLOAT_OES moved to OesTextureHalfFloat
- Window.Css renamed to Window.css to avoid conflict with Css class
- LocalMediaStream removed upstream

TBR=blois

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22820 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-16 22:12:54 +00:00
vsm@google.com 8379279dc0 Retry "Changes for webkit roll 148757-149482"
TBR=antonm

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22801 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-16 16:39:09 +00:00
vsm@google.com 45fc399cf7 Revert "Changes for webkit roll 148757-149482"
TBR=antonm

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22769 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-16 06:06:49 +00:00
vsm@google.com da46c65d3b Changes for webkit roll 148757-149482
Review URL: https://codereview.chromium.org//14954007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22765 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-16 05:37:13 +00:00
antonm@google.com 792209e050 Properly process the case of CallWith=ScriptArguments.
R=podivilov@chromium.org
BUG=10628

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22751 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-15 18:08:37 +00:00
sra@google.com 5a2d284a38 Revert "Revert "dart2js native mixin application should extend 'Interface', not 'Object'""
Review URL: https://codereview.chromium.org//15007011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22610 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-11 02:29:49 +00:00
blois@google.com 31db2b16d2 Fixing overrideMimeType on IE10.
I thought the test was failing for a different reason earlier, but it's that overrideMimeType is not supported on IE.

BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22607 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-10 23:47:37 +00:00
blois@google.com 4fd4ab5b36 Syncing CssStyleDeclaration.setPropertyValue's signature between dart2js and dartium
Because of IDL changes, the generated signature changed but the dart2js code had a polyfill which did not change.

The last parameter really should be optional, but this is dependent on https://code.google.com/p/dart/issues/detail?id=9156.

BUG=10583
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22606 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-10 23:22:16 +00:00
sra@google.com e413e4ef0c Revert "dart2js native mixin application should extend 'Interface', not 'Object'"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22604 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-10 22:40:09 +00:00
sra@google.com a24c4034b8 dart2js native mixin application should extend 'Interface', not 'Object'
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22602 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-10 22:13:51 +00:00
blois@google.com f297525d5a Adding annotations to DOM constants.
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22589 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-10 17:39:40 +00:00
blois@google.com e0be480237 Updating DOM metadata with latest IDL version.
BUG=
R=amouravski@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22580 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-10 00:35:19 +00:00
amouravski@google.com bc44aa444e Changed the order of optional parameter creation so that they're created from
last to first.

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22578 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-10 00:02:58 +00:00