Commit Graph

6631 Commits

Author SHA1 Message Date
vsm@google.com e0a30046ef Remove spawnDomFunction from dart:html
Note, spawnDomFunction is still used under the hood in Dartium to
implement Timers and printing in background isolates.  I don't think
this is necessary, but I'll clean up in a separate CL once we decide
what we're doing with background isolates.

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27577 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-17 17:26:58 +00:00
jacobr@google.com d9b198f2bf Cleanup bugs in wrapExpressionAsClosure Fix bug in how setters were handled and filter out 'this' from local variables list.
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27576 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-17 17:08:40 +00:00
kustermann@google.com 612b2e4b72 We can use subprocess.Popen(shell=True) only on windows
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27554 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-17 09:09:23 +00:00
kustermann@google.com 0ab3784e86 Run gsutil in the cmd.exe shell on windows
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27553 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-17 08:47:04 +00:00
kustermann@google.com d52c1da883 Bugfix in tools/bots/bot_utils.py: don't get the dirname in case of the gsutil shell script on buildbots
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27552 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-17 08:31:40 +00:00
kustermann@google.com 7d5b61f247 Use shell script on buildbot to call gsutil otherwise the python script
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27551 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-17 08:17:49 +00:00
kustermann@google.com 46a5e58287 Make editor builders archive to gs://dart-archive/ in addition to the other GCS buckets
This is the first step towards release channels.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27550 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-17 07:51:53 +00:00
zra@google.com e155ff8c53 Revert last commit
Review URL: https://codereview.chromium.org//23889034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27507 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 23:36:32 +00:00
zra@google.com a61d0c66b0 Allows build of the standalone VM for ARM adroid.
R=iposva@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27506 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 23:29:14 +00:00
blois@google.com 5f2320dea7 Making Document, Element and Window documentable via @DocsEditable
TBR
BUG=13291

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27503 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 21:23:07 +00:00
blois@google.com a7c9ce28d7 Fixing Element.shadowRoot JS type annotation
Getter was annotated as never returning null, but in fact can return null.

BUG=
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27455 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 22:20:16 +00:00
rmacnak@google.com 2a87dc5402 Give each binding class an id to be used as an index into a cache of handles on the corresponding Dart classes.
BUG=
R=asiva@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27452 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 21:55:30 +00:00
jacobr@google.com 9d5d4c0ea8 Dart helper methods to support the Dart REPL
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27436 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 17:03:20 +00:00
blois@google.com d312cbbd08 Exposing document.createElement
As part of removing all $dom_ APIs, making this one public. There are valid scenarios for creating elements in other documents.

BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27415 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 00:00:39 +00:00
sigmund@google.com 6b27fc46fb Fix docs_test. I just learned that when updating docs under html we also need to
run:
   python tools/dom/dom.py docs

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27404 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 21:07:43 +00:00
ricow@google.com 7ff576944f Don't try to get chrome version on windows.
We still make sure that the binary is valid.

Enable the browser controller on windows again

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27333 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 12:29:43 +00:00
blois@google.com b904bf81ba Revert "Revert "Tag extensions""
Original CL is the first patch, changes follow. Includes fixes for Chrome test failures and Firefox type check issues.

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27313 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 22:03:43 +00:00
blois@google.com 647d73af0f Fix for CSS URIs not parsing correctly with innerHTML
Chrome has a bug (https://code.google.com/p/chromium/issues/detail?id=229142) where CSS URIs are not converting correctly when an element is parsed in one document then moved to another document. This uses a base element to set the baseURI of the parse document so it doesn't need to be converted on clone.

BUG=13147
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27305 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 19:06:27 +00:00
lrn@google.com fe5ec3ae22 Update co19 test expectations to disable tests using String.concat.
Found an actual use of concat in a package.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27287 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 11:51:20 +00:00
asiva@google.com 4d8651f8af 1. Make direct calls to _nativeIndexedGetter in "get last" "get first" "get single" instead of calling the "[]" operator. This avoids one additional native call to the length method for each call to "last" "first" or "single"
2. Fix templateloader to deal with nested 'if' conditions

R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27270 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 23:22:31 +00:00
blois@google.com fefb7a4b0d Optimization for Element.innerHtml
Basically we were creating a new range every time HTML needs to be parsed, which is unnecessary and turns out to be quite expensive.

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27259 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 19:13:48 +00:00
kustermann@google.com 1e32f03118 Disable new browser controller on win-chrome
test.dart is not able to determine the version of chrome when running
'chrome.exe --version'. This causes an open browser window to hang and
makes the bot timeout.

TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27245 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 12:22:32 +00:00
kustermann@google.com 58b33d70e9 test.py: Bugfix in browser_controller. Make sure we always complete even in case of errors
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27242 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 11:32:34 +00:00
ricow@google.com 0ea1b3ed34 Reenable non-zero exitcode in the task_kill script
BUG:13121

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27241 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 10:26:13 +00:00
ricow@google.com 4877ace9a5 Enable browser controller for chrome on mac and linux
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27240 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 09:48:44 +00:00
ricow@google.com b4b435faab Add support for chrome on windows to the new browser controller
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27239 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 09:45:52 +00:00
ricow@google.com fce194e34f Flush stdout after writing the command we run.
On windows we are getting this out of order and it is insanely annoying.

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27237 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 09:18:54 +00:00
ricow@google.com 3f0d3bbd18 Enable browser controller for firefox on windows on the bots.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27236 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 08:55:42 +00:00
ricow@google.com 175c3f58e1 Add support for firefox on windows to the browser controller
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27235 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 08:52:43 +00:00
ricow@google.com 6383f784a6 Tempoarily return 0 from taskkill process.
We are seeing hanging firefox instances on windows.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27229 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 07:21:30 +00:00
jmesserly@google.com 337880c0d4 fixed TodoMVC tests to include deploying to JS
R=kustermann@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27222 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 23:00:41 +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 43d28b5ffd Fixing visibilityState APIs in Dart
The event was not being exposed because it does not appear in the IDL and the associated property was not working cross-platform.

BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27206 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 18:01:46 +00:00
blois@google.com 871fbc9189 Fixing Element.shadowRoot to work with webkitShadowRoot
Chrome 31 changed it to shadowRoot, need to support the prefixed version as well.

BUG=13061
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27203 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 17:47:37 +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
mcampione@google.com fe2adfdb62 Edited one-liner for SVG. Also regenerated indexeddb doc and httprequest.
BUG=
R=sethladd@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27150 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 20:32:53 +00:00
efortuna@google.com 9f52a2969c Added back childNodes and getAttribute and setAttribute.
This is a quick check to verify that it was this CL:
https://codereview.chromium.org/23189014/ was the cause of the performance
regression. If it is, I have some ideas of potential performance improvements
going forward that we should investigate, and I'll also investigate why I wasn't
getting this performance behavior on my machine locally. Either way, expect at
least one additional change on these APIs going forward.

BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27139 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 19:34:39 +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
kustermann@google.com f4691ff4fe Consider tests as flaky if it contains more than one marker (which can occur when running the test)
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27116 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 12:03:10 +00:00
ricow@google.com 63eaf527ac Update ps command in taskkill to also work on linux
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27101 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 08:52:20 +00:00
blois@google.com e0b7d07337 Fixing Indexed DB from latest Blink roll
Primarily changes to support syntax from:
https://codereview.chromium.org//23788007
https://codereview.chromium.org//23523008

BUG=12948
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27084 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 23:35:41 +00:00
mcampione@google.com d9be5f5afb added library-level description for dart:indexed_db
BUG=
R=blois@google.com, kathyw@google.com, sethladd@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27076 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 20:24:56 +00:00
kustermann@google.com ba57b8898d Disable record/replay functionality for ARM
Now that we've got a checked-in binary for ARM we can directly drive the tests
on the ARM buildbot.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27049 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 13:09:42 +00:00
kustermann@google.com ffbc235c05 Added support for using a checked-in binary of dart for ARM
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27046 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 12:33:53 +00:00
ricow@google.com ba16679d74 Revert revision 27014 "Remove restriction on the number of IE processes running simultainiously"
I updated the comment to better reflect what our current status is.

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27041 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 11:16:23 +00:00
ahe@google.com eb5906ef01 Remove dart2js_foreign.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27032 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 08:41:32 +00:00
ricow@google.com ec88776e9a Add div displaying the currently executing test.
This can be useful if the window freezes up with a busy loop

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27027 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 08:04:26 +00:00
kustermann@google.com 71f3a4df75 Shard based on relative originTestPath
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27017 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 17:51:32 +00:00
kustermann@google.com c0ab51e4d6 Seems like cc/ TestCases don't have a TestInformation object attached
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27015 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 14:19:40 +00:00
ricow@google.com bfa2c1d9dd Remove restriction on the number of IE processes running simultainiously
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27014 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 14:16:13 +00:00