vsm@google.com
c5dd3d3ba7
MERGE: 152953-155080
...
TBR=jacobr@google.com ,blois@google.com
Review URL: https://codereview.chromium.org//22357003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25832 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-06 21:17:56 +00:00
blois@google.com
59a514b316
Moving AngleInstancedArrays from dart:html to dart:web_gl.
...
It's a new type which for some reason was added to Canvas rather than with the rest of the WebGL stuff.
BUG=11357
R=efortuna@google.com
Review URL: https://codereview.chromium.org//21297002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25649 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-30 22:26:34 +00:00
vsm@google.com
9f8be9f84a
Fix Dartium test break
...
I had to revert this line - it's breaking a test on Dartium.
TBR=efortuna@google.com
Review URL: https://codereview.chromium.org//20174003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25460 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-25 01:50:42 +00:00
vsm@google.com
28541ed31f
Regenerate dart:html from new Blink IDL files
...
This includes some script updates. See:
https://codereview.chromium.org/19605006
for the IDL roll.
R=efortuna@google.com
Review URL: https://codereview.chromium.org//19789017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25456 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-25 00:08:44 +00:00
vsm@google.com
992776552a
Fixes for Blink roll.
...
TBR=jacobr@google.com ,asiva@google.com
Review URL: https://codereview.chromium.org//19820007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25395 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-24 04:46:29 +00:00
jacobr@google.com
1fdd1a34b2
Utility methods used for dartium debugger integration.
...
In addition, added back two DOM methods required by the chrome dev tools that had been removed from dart:html
I'm not thrilled about adding back className but the devtools use className in 495 places so figuring out which places are actually talking about classNames of inspected objects and which ones are just internal uses of className inside the devtools would be a pain.
As the browser has a String "class" attribute I do think it is natural to provide at least a read only className in addition to classes.
This changes goes along with the larger CL
https://codereview.chromium.org/18169002/
which I will be sending out for general review in a little bit.
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//18125007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25032 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 22:57:04 +00:00
efortuna@google.com
2a070f0c72
Add point to Window class and Window polyfills of screen.
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//18920008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24987 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-13 00:40:26 +00:00
efortuna@google.com
a9ea9a28ad
Convert decodeAudioData to return a Future.
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//19018006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24893 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-10 22:58:33 +00:00
efortuna@google.com
cc9f39dfba
Add back appendBlob and send variants in WebSocket.
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//18850007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24854 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-09 17:26:51 +00:00
efortuna@google.com
842b1f41c3
Make type parameter in toDataUrl have an optional default value as per the spec.
...
BUG=
R=amouravski@google.com
Review URL: https://codereview.chromium.org//18500010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24753 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 21:19:16 +00:00
efortuna@google.com
f81052f2c8
Reapply expanding overloaded functions into separate functions.
...
BUG=
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//18577002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24709 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-02 22:32:44 +00:00
amouravski@google.com
6f88eecf44
Removed overloads for WebGLRenderingContext.texImage2D and texSubImage2D.
...
R=efortuna@google.com
Review URL: https://codereview.chromium.org//17738007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24670 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-02 00:01:15 +00:00
efortuna@google.com
3629744086
"Reverting 24655"
...
BUG=
Review URL: https://codereview.chromium.org//18277003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24656 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-01 21:09:19 +00:00
efortuna@google.com
fc0df10d8b
Expand overloaded methods and optional parameters in the html library.
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//16494002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24655 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-01 20:49:07 +00:00
blois@google.com
edf30f6b20
Exposing Node.firstChild and Node.lastChild.
...
These are the most efficient way access children and are very commonly used.
BUG=
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//17909002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24476 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 16:53:50 +00:00
jmesserly@google.com
7fd6e0a3dc
Restore adoptNode and importNode to dart:html
...
http://dom.spec.whatwg.org/#dom-document-importnode
These seem more relevant in a <template>/ShadowRoot world. In particular I wanted to port an MDV test that uses adoptNode.
R=blois@google.com
Review URL: https://codereview.chromium.org//17681003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24423 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 18:02:26 +00:00
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
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
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
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
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
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
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
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
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
jmesserly@google.com
9005b278e7
Implement Model-Driven-Views spec for Dart
...
This has code ported from a few different sources:
* a port of https://github.com/toolkitchen/mdv polyfill
* a port of the observable layer: https://github.com/dart-lang/web-ui/tree/master/lib/observe
* a port of list change summary: https://github.com/rafaelw/ChangeSummary/blob/master/change_summary.js
The observePath/PathObserver code is written from scratch, but inspired by change_summary. I tried to keep it simpler; it does not support dirty checking. There's no good way to do that until we get dart:mirrors.
R=floitsch@google.com , sigmund@google.com
Committed: https://code.google.com/p/dart/source/detail?r=22561
Review URL: https://codereview.chromium.org//14732003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22570 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-09 21:39:03 +00:00
jmesserly@google.com
1cef1fbc55
"Reverting 22561"
...
need to investigate test failures
Review URL: https://codereview.chromium.org//14908005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22562 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-09 20:43:30 +00:00
jmesserly@google.com
bf4f12c62b
Implement Model-Driven-Views spec for Dart
...
This has code ported from a few different sources:
* a port of https://github.com/toolkitchen/mdv polyfill
* a port of the observable layer: https://github.com/dart-lang/web-ui/tree/master/lib/observe
* a port of list change summary: https://github.com/rafaelw/ChangeSummary/blob/master/change_summary.js
The observePath/PathObserver code is written from scratch, but inspired by change_summary. I tried to keep it simpler; it does not support dirty checking. There's no good way to do that until we get dart:mirrors.
R=floitsch@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org//14732003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22561 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-09 20:29:14 +00:00
blois@google.com
a77e44a30f
Dart.idl cleanup
...
BUG=
R=sra@google.com
Review URL: https://codereview.chromium.org//15012015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22558 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-09 18:51:21 +00:00
blois@google.com
f27af17116
A couple changes which clean up some of the DOM class names:
...
Changing the default name to use the JS interface name rather than interface ID- this fixes a couple of cases like DOMSecurityPolicy where the spec name is SecurityPolicy. This also picks up more names as being 'WebKit' prefixed.
I made the class names automatically strip the WebKit prefix and also automatically add the experimental attribute. Like we already do for member names.
BUG=
R=efortuna@google.com
Review URL: https://codereview.chromium.org//14855011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22446 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-06 22:58:35 +00:00
blois@google.com
47cc6126bb
Removing PagePopupController.
...
BUG=
R=jacobr@google.com
Review URL: https://codereview.chromium.org//14590002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22162 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-30 02:13:10 +00:00
blois@google.com
936fdce168
Fixing build from merge issue.
...
In a merge I had re-added a property which had been suppressed in htmlrenamer.py.
BUG=
Review URL: https://codereview.chromium.org//14585002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22161 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-30 02:00:40 +00:00
blois@google.com
3ca6bd2dc6
Properly exposing NodeIterator and TreeWalker
...
Also removing references to EntityReference which is an outdated XML type.
Note that there's a bit of an oddity here around NodeFilter, which is both a class with all of the filter flags, and a function signature for a callback.
For now, I've scrubbed references to NodeFilter (the callback), but if desired I can add a new filter callback. This will most likely require a bit of Dartium work as well, so a separate CL I think.
BUG=
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//13685021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22160 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-30 01:36:04 +00:00
ager@google.com
431954b584
Rename dart:typeddata to dart:typed_data.
...
R=asiva@google.com , floitsch@google.com , srdjan@google.com
BUG=
Review URL: https://codereview.chromium.org//14426006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21871 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 11:54:54 +00:00
sra@google.com
600bcf9339
Make RadioNodeList be NodeList
...
BUG=
Review URL: https://codereview.chromium.org//14159020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21858 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 00:18:39 +00:00
jmesserly@google.com
0b46496995
unhide nodeType constants
...
Node.nodeType is not very useful without these :)
See also:
https://code.google.com/p/dart/issues/detail?id=4754
Review URL: https://codereview.chromium.org//13852015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21840 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 21:30:15 +00:00
ager@google.com
7f79491c06
Move to new dart:typeddata types
...
Mads: if you land this, please rerun go.sh from tools/dom/scripts to regenerate html_dart2js.dart. I didn't include it here to make this patchable.
Stephen: I still need to run the perf tests we talked about to sanity check.
Review URL: https://codereview.chromium.org//14367012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21789 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 08:22:51 +00:00
amouravski@google.com
51535c4a8e
Regenerated to put SQL database back.
...
Review URL: https://codereview.chromium.org//14232015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21657 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 20:31:00 +00:00
antonm@google.com
b693f3e1ea
Changes for the roll.
...
TBR=ager@google.com , blois@google.com , podivilov@chromium.org
Review URL: https://codereview.chromium.org//14007012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21627 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 16:15:01 +00:00
ager@google.com
9bd8f2db46
Use name to sort IDB interfaces into the indexed_db library.
...
R=antonm@google.com ,blois@google.com
BUG=
Review URL: https://codereview.chromium.org//14014004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21214 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 16:10:21 +00:00
blois@google.com
8afa069ae4
These APIs were introduced in the CSS DOM 2 spec and have been removed from the CSS DOM 3 spec. We should remove them as well.
...
http://dev.w3.org/csswg/cssom/#the-cssstyledeclaration-interface
BUG=
Review URL: https://codereview.chromium.org//12857006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21121 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 23:25:11 +00:00
blois@google.com
93566b8a35
Making supressed DOM types abstract
...
This clears up a number of dart analyzer issues for the suppressed types.
Also making SVGGradientElement not be suppressed since it is used.
BUG=
Review URL: https://codereview.chromium.org//13744005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21111 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 20:45:32 +00:00
efortuna@google.com
5c0ae732b4
Add back localName and improve toString for Html nodes.
...
BUG=
Review URL: https://codereview.chromium.org//13744003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21105 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 19:29:10 +00:00