Commit Graph

2316 Commits

Author SHA1 Message Date
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
kustermann@google.com f6ab02857e test.py: Fixed incorrect handling of multitest in status files, status file cleanups.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27013 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 14:04:59 +00:00
kustermann@google.com b0889233cd test.py: Print the warning about left-over dirs only for directories created using Directory.createTemp()
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27003 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 09:29:12 +00:00
blois@google.com 128a95f0a4 Fixing wheel event on Dart2js
Proper fix of doing the new constructor were thwarted by inconsistencies between latest Chrome and stable branch.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26960 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 23:56:10 +00:00
jacobr@google.com f59872ee07 Missed one template from the previous CL to unbreak indexed_db.
Remove invalid calls to the _count method. This is a short term fix to make the build green.  Blois will be submitting the correct fix.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26958 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 23:12:59 +00:00
jacobr@google.com 792918a7de Remove invalid calls to the _count method. This is a short term fix to make the build green. Blois will be submitting the correct fix.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26956 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 23:01:13 +00:00
blois@google.com 0bea9648e1 Fixing console.
BUG=
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26955 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 22:32:32 +00:00
jacobr@google.com c9378836aa Remove obsolete manually defined _deltaX and _deltaY members.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26949 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 21:37:09 +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
jmesserly@google.com 7a091dcfca Turn on Polymer TodoMVC tests on Dart buildbots
The biggest changes are to the examples, but there's a small tweak to test_suite.dart as well, so it can load the HTML files.

For now, we only test the development loop (content_shell+Dart VM). I'm working on changes to enable us to test the deploy story with dart2js.

R=kustermann@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26943 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 21:09:06 +00:00
blois@google.com 6570db562c Revert "Basic functionality is working with JS native support and polyfill, still some issues with dart2js typechecking."
This reverts commit r26935. Failing in FF checked on type extension and IE9 on synchronous constructor upgrading, need to investigate.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26938 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 19:37:23 +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
kustermann@google.com 59c486d34c Fixed type error in browser_controller: DebugLogger.error() takes a string
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26936 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 19:15:03 +00:00
blois@google.com 5607d75eca Basic functionality is working with JS native support and polyfill, still some issues with dart2js typechecking.
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26935 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 19:08:19 +00:00
kustermann@google.com 7c2d27bb13 Add again the *necessary* timeout markers for tests running on ie9/ie10
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26930 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 17:32:42 +00:00
efortuna@google.com 47dcd084f3 Removing more dom_ methods (dom_getAttribute and dom_setAttribute.).
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26928 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 17:18:40 +00:00