Terry Lucas
ef6273cba0
Dart Web Libraries re-generated based on Chrome 63 WebIDLs.
...
This is a migration of 13 Chrome release about 1.5 years of Chrome releases.
Update PYTHON scripts for cleaner and easier rolling.
Here's a doc on the changes that might affect Dart users:
https://docs.google.com/document/d/1Kj0nk3SueO3JKub8im7z3znu9j5oiI7vf49ejZrMxuE/edit#
Change-Id: I768fbd09b04fe6884af36ac102d5813f67bae426
Reviewed-on: https://dart-review.googlesource.com/24501
Commit-Queue: Terry Lucas <terry@google.com >
Reviewed-by: Terry Lucas <terry@google.com >
2018-03-18 09:41:04 +00:00
Alan Knight
6f71f9c80b
Revert "[Experiment] Stop suppressing DragEvent"
...
This reverts commit fbbb974670 .
Also updates the cached_patches.dart file.
BUG=
R=terry@google.com
Review-Url: https://codereview.chromium.org/2907563003 .
2017-05-25 11:16:10 -07:00
Alan Knight
fbbb974670
[Experiment] Stop suppressing DragEvent
...
BUG=
R=jacobr@google.com
Review-Url: https://codereview.chromium.org/2898673003 .
2017-05-22 14:10:05 -07:00
Jacob Richman
b546d05362
TBR. Add back fix to the misleading types for onError. Otherwise, html/worker_test/functional fails due to the browser itself throwing an event of type Error that is not an ErrorEvent.
...
BUG=
Review URL: https://codereview.chromium.org/1908603002 .
2016-04-20 10:41:56 -07:00
Jacob Richman
068252e721
Revert changes to event signatures as they broke one co19 test and this change isn't required due to relaxation in types in EventStreamProvider.dart
...
BUG=
Review URL: https://codereview.chromium.org/1903033002 .
2016-04-19 16:42:16 -07:00
Jacob Richman
864b64fd5e
Strong html
...
BUG=
R=alanknight@google.com
Review URL: https://codereview.chromium.org/1894713002 .
2016-04-19 15:08:45 -07:00
Alan Knight
a718c8dac9
Fix a few strong mode errors in dart:html
...
BUG=
R=jacobr@google.com
Committed: https://github.com/dart-lang/sdk/commit/65fe0a5383c7d09efb1dd958a7a30ec5c4d1c847
Review URL: https://codereview.chromium.org/1876363006 .
2016-04-13 15:13:31 -07:00
Alan Knight
3fd7e32b65
Revert "Fix a few strong mode errors in dart:html"
...
This reverts commit 65fe0a5383 .
BUG=
Review URL: https://codereview.chromium.org/1879253004 .
2016-04-13 14:56:42 -07:00
Alan Knight
65fe0a5383
Fix a few strong mode errors in dart:html
...
BUG=
R=jacobr@google.com
Review URL: https://codereview.chromium.org/1876363006 .
2016-04-13 14:41:10 -07:00
Terry Lucas
af562187bc
Chrome moved clipboardData from Event to ClipboardEvent for security clipboard can only be accessed during a onCut/onCopy/onPaste event.
...
The polyfill class KeyEvent can no longer access clipboardData without listening for the cut, copy or paste event.
TBR=alanknight@google.com ,sigmund@google.com
Review URL: https://codereview.chromium.org/1775923002 .
2016-03-08 05:24:02 -08:00
terry@google.com
c3229b7ee1
Fixed pointerlock* getters
...
Fixed onPointerLockChange, onPointerLockError and pointerLockElement not exposed after webkit prefix wa removed.
Review=vsm@google.com
BUG=21376
R=vsm@google.com
Review URL: https://codereview.chromium.org//750093002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41916 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-21 20:12:17 +00:00
vsm@google.com
b8464a3dde
Suppress cloning EventTarget methods in subtypes when using blink
...
I have an forthcoming Blink CL to safely cast to EventTarget*.
Not sure this is the right path long term.
Review URL: https://codereview.chromium.org//283043003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36166 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-14 13:46:10 +00:00
blois@google.com
3550d8fadd
Speeding up go.sh
...
Primary issue was resolving the media events (over and over and over). Tried to cache all resolved events but ran into complications with dart2js suppressions.
Takes it down to ~12-15s on my machine.
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//172823002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32812 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 19:35:41 +00:00
blois@google.com
dd84eacad7
Suppressing media events from list of global events.
...
Fixes analyzer issue
TBR
BUG=
Review URL: https://codereview.chromium.org//108943003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31563 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 18:40:30 +00:00
blois@google.com
0e62a20627
Removing media events from Document and Element.
...
We were already doing this for Window, but they just got added to Element & Document in Chrome 32. Suppressing them as they aren't needed and can be used from MediaElement already.
TBR
BUG=
Review URL: https://codereview.chromium.org//109473009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31562 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 18:34:37 +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
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
efortuna@google.com
8963a49505
Event delegation
...
Fix for https://code.google.com/p/dart/issues/detail?id=6270
BUG=
R=blois@google.com , jmesserly@google.com
Review URL: https://codereview.chromium.org//21607003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25969 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-09 17:37:32 +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
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
blois@google.com
28560f4a06
Adding WebGL context events to Canvas.
...
BUG=9482
R=efortuna@google.com
Review URL: https://codereview.chromium.org//16997002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24006 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 20:12:01 +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
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
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
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
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
blois@google.com
def45dd2e1
Fixing error event type of Workers.
...
BUG=10253
R=efortuna@google.com
Review URL: https://codereview.chromium.org//13901019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22133 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-29 17:53:28 +00:00
antonm@google.com
0aa3e138a9
Cleanup now unused event names.
...
R=ager@google.com , blois@google.com
Review URL: https://codereview.chromium.org//14260002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21480 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 17:19:08 +00:00
blois@google.com
21ce609108
Fixing up a number of go.sh warnings
...
Tables have been falling out of date with IDL changes.
BUG=
Review URL: https://codereview.chromium.org//13725029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21016 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-06 00:39:27 +00:00
blois@google.com
1c3fc640c9
Adding monitoring to a number of DOM generation scripts.
...
Also fixing a bunch of issues uncovered.
BUG=
Review URL: https://codereview.chromium.org//12252019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18499 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 00:43:30 +00:00
blois@google.com
6735b55710
Removing deprecated events syntax.
...
BUG=
Review URL: https://codereview.chromium.org//12217124
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18459 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 17:43:57 +00:00
antonm@google.com
6de3b1f6a6
Follow up to IDL roll.
...
TBR=blois@google.com ,efortuna@google.com ,podivilov@chromium.org
Review URL: https://codereview.chromium.org//12233003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18141 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 15:14:38 +00:00
amouravski@google.com
b615b83236
Change the way that events are annotated.
...
Review URL: https://codereview.chromium.org//12092118
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18053 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 16:04:17 +00:00
amouravski@google.com
956d645a0f
Can now correctly add documentation to constructors.
...
Review URL: https://codereview.chromium.org//12087112
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17954 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 23:11:31 +00:00
amouravski@google.com
87e86c1f8d
Second half of HTML json docs. This reads the json file and inserts the docs.
...
The format should match what was hand-written, but the order of annotations may
have changed. This does not effect anything, but it's worth noting.
Review URL: https://codereview.chromium.org//12045076
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17649 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 19:24:25 +00:00
blois@google.com
d2aa044d2b
Deprecating old DOM event APIs.
...
This also exposes EventTarget.dispatchEvent. We had discussed naming this as 'dispatch', but it seems a bit safer to use 'dispatchEvent' to avoid potential name conflicts.
BUG=
Review URL: https://codereview.chromium.org//12047054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17595 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 19:42:02 +00:00
blois@google.com
51ed22e712
Adding supported flag to HashChangeEvent.
...
Also had to change the event type of the hashChange event as it is supported everywhere, but the type may or may not be a HashChangeEvent.
BUG=
Review URL: https://codereview.chromium.org//12041053
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17507 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 22:22:28 +00:00
blois@google.com
759e9b6706
Adding annotations to event streams.
...
I need to add supported annotations to some events, splitting out this part since it makes the other CL quite unwieldy.
BUG=
Review URL: https://codereview.chromium.org//12025035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17329 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 23:35:23 +00:00
blois@google.com
764b68db02
Removing redundant event streams.
...
Basically removing the event stream providers from Document and Window for events which are also declared on Element. The streams themselves are still exposed, just that a single provider is now on Element.
Also removed MediaElement events from Window, as they are duplicative and should be accessed via the MediaElement provider.
I was also hoping that this would have some JS size benefits, but I'm not seeing any.
BUG=7860
Review URL: https://codereview.chromium.org//11956021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17229 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 18:29:00 +00:00
amouravski@google.com
9da44d6aed
Change /// @docsEditable to @DocsEditable annotation.
...
Review URL: https://codereview.chromium.org//11970019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17171 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 22:51:43 +00:00
blois@google.com
a4977979c4
Adding streams to dart:html.
...
This exposes all DOM events as streams. This keeps the current DOM event syntax as well, I'd like to make sure this API is stable before deprecating the old syntax, then we'll remove it a while after that.
I made an initial stab at getting the event types correct for the streams, though it's not documented very well and frequently inconsistent between browsers. Hopefully it's close, and I imagine there will be changes to come.
BUG=
Review URL: https://codereview.chromium.org//11824072
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17028 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-14 20:19:28 +00:00
efortuna@google.com
01fb2bbc86
Moved most of html lib generating scripts into tools.
...
BUG=
Review URL: https://codereview.chromium.org//11691009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16557 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-28 22:26:48 +00:00