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
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
0c4f4dce36
Fixing dart2js size regression from CustomElement.detail
...
The annotation for CustomEvent.detail was being dropped.
BUG=
R=sra@google.com
Review URL: https://codereview.chromium.org//26115003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28807 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 17:36:58 +00:00
sra@google.com
c66099f078
Tighter native type annotations for some elements returning Lists
...
We need to be more careful with type annotations on native elements now that some classes implement List<dynamic>.
R=blois@google.com
Review URL: https://codereview.chromium.org//26971005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28626 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-15 01:45:17 +00:00
efortuna@google.com
3854434797
Removed position and totalSize because HttpRequestProgressEvent has other fields that do the same thing.
...
Turns out position and totalSize were on Firefox 3 and earlier, but we don't
have to worry about backwards compatibility that far.
https://developer.mozilla.org/es/docs/XMLHttpRequest/Usar_XMLHttpRequest
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//24427003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27900 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 18:03:20 +00:00
blois@google.com
afd3921b76
Fixing JS size regression from Blink roll.
...
BUG=
R=jacobr@google.com , sra@google.com
Review URL: https://codereview.chromium.org//23481010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27163 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 22:37:48 +00:00
blois@google.com
b14e379d94
Cleaning up a bunch of DOM generation tables
...
Many unused keys and missing events, etc.
BUG=
R=efortuna@google.com , jacobr@google.com
Review URL: https://codereview.chromium.org//23889005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27137 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 18:30:54 +00:00
jacobr@google.com
013e3bb062
Dart binding changes to along with Blink merge 155942-156717
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//23829002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26948 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 21:24:02 +00:00
blois@google.com
0820807ae6
Fixing dart2js codesize regression from blink roll.
...
New ErrorEvent.error was pulling in everything.
BUG=
R=sra@google.com
Review URL: https://codereview.chromium.org//22986022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26468 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 20:27:54 +00:00
blois@google.com
0094164ae8
Regenerating DOM types from IDL roll.
...
TBR=vsm
BUG=
Review URL: https://codereview.chromium.org//22352004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25849 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 00:57:08 +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
amouravski@google.com
894a503bfd
Fixed a typo that broke tests.
...
Review URL: https://codereview.chromium.org//18379002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24644 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-01 19:05:46 +00:00
amouravski@google.com
c0a39d0412
Make html metadata follow the spec.
...
Per https://code.google.com/p/dart/issues/detail?id=11568
R=scheglov@google.com
Review URL: https://codereview.chromium.org//18182010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24638 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-01 18:34:30 +00:00
blois@google.com
0c17281a29
Fixing type error for WebGL's getShaderParameter.
...
Was preventing the return of bools in dart2js.
BUG=11487
R=efortuna@google.com
Review URL: https://codereview.chromium.org//18089016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24599 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-28 17:54:42 +00:00
ngeoffray@google.com
04f294a73d
Remove =List in JS, use JSExtendableArray instead.
...
R=kasperl@google.com
Review URL: https://codereview.chromium.org//17301008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24319 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 10:09:14 +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
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
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
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
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
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
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
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
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
75770524fa
Changing metadata lookup to always use interface.id
...
We had some discrepancies where interface lookup was using interface.doc_js_name but member lookup was using interface.id.
Standardized on interface.id.
Also updated the @DomName annotation to always use the JS interface name, which should help with MDN fallback documentation.
BUG=
R=sra@google.com
Review URL: https://codereview.chromium.org//14651019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22556 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-09 18:41:07 +00:00
blois@google.com
68defad6ae
Testing & supporting new HTMLTemplateElement
...
This went into Chrome 26 stable, so exposing it in Dart w/ proper constructor, tests and supported flags.
BUG=9696
R=efortuna@google.com
Review URL: https://codereview.chromium.org//13686018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22513 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-08 16:15:12 +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
72cf63c068
Refactoring DOM annotations and comment generation, adding DOM API triage list
...
This pulls the annotation and comment code out of generator.py and into a Metadata class, which is also tracking new APIs from the IDLs.
Right now the API triage list is being updated when new members appear, but is not adding any metadata to the Dart APIs. Of note for the triage list is that there are currently 437 untriaged members- these are all of the APIs which have either been introduced, renamed or moved in the past week.
BUG=
R=sra@google.com
Review URL: https://codereview.chromium.org//14455007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22193 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-30 18:35:30 +00:00