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
09249173ad
Add alternate name for RtcIceCandidateEvent
...
BUG=
R=terry@google.com
Review URL: https://codereview.chromium.org//1038913003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44713 260f80e4-7a28-3924-810f-c04153c831b5
2015-03-26 17:34:49 +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
alanknight@google.com
604106c107
Add webkitAudioPannerNode as an optional name
...
BUG=
R=terry@google.com
Review URL: https://codereview.chromium.org//873803002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43149 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-26 20:27:23 +00:00
leafp@google.com
78e328a2f2
More dart:html and dart:blink tweaks
...
Methods with no arguments mangled properly (python None and 0 are both false...).
Abstract classes generated from pure interfaces have no method bodies.
Add missing pure interfaces.
Emit dart:blink methods in sorted order.
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//671023003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41288 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-24 17:47:14 +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
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
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
ddf659197c
Reviewers=vsm,leafp
...
Fixed emitting problems with default/optional.
R=leafp@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//551713003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40054 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-09 20:59:03 +00:00
efortuna@google.com
51dbc85367
Fix allow DOMRectList as well as ClientRectList.
...
BUG=
R=sra@google.com
Review URL: https://codereview.chromium.org//384973005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38171 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-11 20:56:58 +00:00
efortuna@google.com
e0672a319d
Add ClipboardEvent for Firefox.
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//380383002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38138 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-10 22:34:07 +00:00
efortuna@google.com
c5327131d8
Deal with ImputEvent in Firefox.
...
BUG=
R=blois@google.com , jmesserly@google.com
Review URL: https://codereview.chromium.org//331353005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37838 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-30 22:07:09 +00:00
efortuna@google.com
4862f5b718
Fix DataTransfer object for Drag and Drop in Chrome 35.
...
Fix for https://code.google.com/p/dart/issues/detail?id=18664
BUG=
R=cbracken@google.com
Review URL: https://codereview.chromium.org//271543006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35873 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-07 22:35:26 +00:00
leafp@google.com
5e0688e1ec
This CL contains all of the changes for splitting off all of the native
...
calls from dart:html into dart:blink. As currently configured, the
dart:blink library will be empty and unused. The only changes in the
idl generated dart and C++ code in the default configuration should
be cosmetic. The global variable "dart_use_blink" in systemnative.py
currently controls whether or not the real blink library is
generated. Enabling this requires as yet unchecked in changes to
blink. These changes are expected to land as part of the chrome
35 roll.
Support for building with/without blink
DOM changes for checked receivers
Dartium native call generation refactor
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//254463006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35430 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-25 16:22:08 +00:00
sra@google.com
47f25a390c
Validate native tags
...
Fix dart:html problem where tag is used by two classes. (Current IDL now has correct inheritance.)
R=blois@google.com
Review URL: https://codereview.chromium.org//235573006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34990 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-11 19:42:04 +00:00
efortuna@google.com
bce070e7cc
Change HtmlCollection to appear as List<Node> and getElementsByX return ListNode|HtmlCollection (depending on browser).
...
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//227153010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34799 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 22:22:55 +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
450ed203ff
Add back DocumentType error so that Dartium can build.
...
BUG=
Review URL: https://codereview.chromium.org//161343002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32625 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 21:32:19 +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
blois@google.com
9407a9ded2
Updating IDL files from Chrome roll.
...
Fixes include IDB conversion changes & NodeWalker & TreeIterator.
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//142713007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32508 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 18:26:58 +00:00
vsm@google.com
ad353d440b
Fixes for 1750 roll
...
TBR=jacobr@google.com
Review URL: https://codereview.chromium.org//150783005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32477 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 01:38:01 +00:00
asiva@google.com
7ea7adfe16
Add more functions to the list of leaf functions which do not need an
...
auto generated dart scope. Resulting improvements in the Dromaeo benchmarks
getAttribute 1072.0 1529.0
element_property_access 1304.0 1987.0
setAttribute 305.38922155688624 422.1556886227545
element_property_assignment 509.4905094905095 668.0
getElementById 1012.0 1523.0
getElementById (not in document) 2440.0 3279.0
getElementsByTagName(div) 119232.0 155037.0
getElementsByTagName(p) 109280.0 148015.0
getElementsByTagName(a) 119869.0 156460.0
getElementsByTagName(*) 114050.0 146375.0
getElementsByTagName (not in document) 172848.0 238313.0
getElementsByName 1356.0 1724.0
getElementsByName (not in document) 2657.0 2891.0
R=rmacnak@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//113743003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31582 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 21:48:17 +00:00
vsm@google.com
5e3937addf
Changes for Chrome 32
...
Once we're ready to switch ... some paths have changed from 31.
R=jacobr@google.com
Review URL: https://codereview.chromium.org//93933014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31486 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-06 17:12:25 +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
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
4f06435c24
Make AudioContext work in iOS 7.
...
BUG=
R=sra@google.com
Review URL: https://codereview.chromium.org//29583004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28877 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-18 20:37:09 +00:00
asiva@google.com
ab61301521
Generate a class table of all the IDL classes in the database. This table is used
...
to access the C++ class hierachy information to do a proper subtype of check.
The new subtype of check improves the following benchmarks
Dromaeo-drt dom-modify appendChild runs-per-second from 889.0 to 1575.0
Dromaeo-drt dom-modify insertBefore runs-per-second from 592.4075924075925 to 1298.0
The generated class table is as follows:
enum {
_HistoryCrossFrameClassId = 0,
_LocationCrossFrameClassId,
_DOMWindowCrossFrameClassId,
_DateTimeClassId,
// New types that are not auto-generated should be added here.
ANGLEInstancedArraysClassId,
AbstractWorkerClassId,
....
....
};
typedef struct {
const char* class_name;
int library_id;
int base_class_id;
bool is_node;
bool is_active;
bool is_event;
} _Classinfo;
typedef _Classinfo _DartWebkitClassInfo[NumWebkitClassIds];
_DartWebkitClassInfo DartWebkitClassInfo = {
{ "_HistoryCrossFrame", DartHtmlLibraryId, -1, false, false, false },
{ "_LocationCrossFrame", DartHtmlLibraryId, -1, false, false, false },
{ "_DOMWindowCrossFrame", DartHtmlLibraryId, -1, false, false, true },
{ "DateTime", DartCoreLibraryId, -1, false, false, false },
// New types that are not auto-generated should be added here.
{ "AngleInstancedArrays", DartWebGlLibraryId, -1, false, false, false, },
{ "AbstractWorker", DartHtmlLibraryId, -1, false, false, false, },
.....
.....
};
R=rmacnak@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//27358002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28821 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 20:27:30 +00:00
efortuna@google.com
eaa854b258
Move Rectangle and Point into dart:math.
...
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//25808002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28272 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 17:47:39 +00:00
efortuna@google.com
0b53b15b7d
"Reverting 28184"
...
TBR=blois
BUG=
Review URL: https://codereview.chromium.org//25785003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28186 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-02 22:13:16 +00:00
efortuna@google.com
837c6b6ee3
Move Point and Rect over to dart:math, to be re-exported by dart:html.
...
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//25623002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28184 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-02 21:54:02 +00:00
efortuna@google.com
d5212a6ac0
Make OptionElement construtor arguments named optional parameters.
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//25585002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28115 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 20:33:49 +00:00
asiva@google.com
ca128dea70
- Modify toDart to first do a simple lookup in the appropriate table before going down the templatized
...
morass of switch statements
- Add a returnToDart function so that the WeakPersistent Handle returned from a lookup/create of the wrapper
could be returned as is without the need to call Dart_handleFromWeakPersistentHandle
- Use Dart_SetDoubleReturnValue for doubles
some DromaeoDartium numbers before this change:
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-query getElementsByTagName(div) runs-per-second 84240.6
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-traverse nextSibling runs-per-second 207.91683326669332
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-query getElementsByTagName(*) runs-per-second 69599.2
some DromaeoDartium numbers after this change:
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-query getElementsByTagName(div) runs-per-second 104252.4
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-traverse nextSibling runs-per-second 366.8
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-query getElementsByTagName(*) runs-per-second 94922.6
R=rmacnak@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//23681014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27710 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-20 16:25:12 +00:00
blois@google.com
dbf675d60d
Adding conversion support for JSON XHR requests.
...
This has been a half-supported feature for Chrome for a while, but popular elsewhere. Appears that recent Dartium behavior broke, so adding a test, but still need to fix Dartium.
BUG=13069
R=efortuna@google.com
Review URL: https://codereview.chromium.org//23454012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27215 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 22:02:22 +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
8fe0dd796d
Fixing mouse clicks on IE11 Preview
...
The previous fix works for RTM but not the current version.
TBR
BUG=
Review URL: https://codereview.chromium.org//23483025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26937 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 19:27:38 +00:00
blois@google.com
5eade2a0e6
Fixing mouse events on IE11.
...
IE11 is passing PointerEvents in place of MouseEvents.
BUG=12744
R=sra@google.com
Review URL: https://codereview.chromium.org//23479008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26890 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 19:52:21 +00:00
jacobr@google.com
339b0bdd70
Attempt to land Dartium roll a second time.
...
BUG=
Review URL: https://codereview.chromium.org//23064024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26363 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 15:54:49 +00:00
jacobr@google.com
c6ebe4e4e0
rollback problem blink merge cl
...
Review URL: https://codereview.chromium.org//23163010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26339 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 06:22:24 +00:00
jacobr@google.com
785c8416bc
Changes required for Dartium roll
...
Merge checkpoint. Everything compiles.
BUG=
Review URL: https://codereview.chromium.org//22886009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26335 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 01:50:17 +00:00
vsm@google.com
7c85f03cc9
Move _HTMLElement to HtmlElement
...
The old HtmlElement is now HtmlHtmlElement. The custom tests don't break for now. I'll modify them in a separate CL to inherit from HtmlElement instead.
R=blois@google.com
Review URL: https://codereview.chromium.org//23151005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26248 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-16 00:46:10 +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
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
1311f1d755
Fixing WebGLLoseContext on Firefox.
...
BUG=11874
R=efortuna@google.com
Review URL: https://codereview.chromium.org//21287002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25697 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-01 00:35:25 +00:00
vsm@google.com
a439ba51c0
Fix dartium build breakage
...
TBR=efortuna@google.com
Review URL: https://codereview.chromium.org//20214002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25458 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-25 00:47:17 +00:00