Commit Graph

3287 Commits

Author SHA1 Message Date
whesse@google.com 7ba45adfab Add MacOS content_shell download to homebrew formula update app.
BUG=dartbug.com/21717
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42251 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 17:04:32 +00:00
whesse@google.com 5f8aa66fde Rename legacy path library in tools/testing to avoid name collision.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42129 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-05 07:21:47 +00:00
kevmoo@google.com 47de553025 tools/testing: move code into individual libraries
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42108 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-04 15:32:57 +00:00
kevmoo@google.com 61b056964a tools: removed unused members, tiny cleanup
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42106 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-04 13:56:14 +00:00
vsm@google.com b4cfeafc5e Revert "Workaround for canPlayType in Dartium"
This keeps the test.

R=leafp@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42089 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-03 19:25:35 +00:00
ricow@google.com 76e1f20f41 Bump version on bleeding edge
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42031 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-01 09:08:22 +00:00
vsm@google.com e04af71146 Workaround for canPlayType in Dartium
BUG=http://dartbug.com/21702
R=leafp@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41967 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-25 20:12:05 +00:00
whesse@google.com 0059ade0dd Add android device id to test output for failing tests.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41960 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-25 16:11:42 +00:00
ahe@google.com f01fe227e0 Checked mode fixes.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41951 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-25 13:52:58 +00:00
whesse@google.com 12845acbf3 Revert "Add android device id to test output in test scripts."
This reverts r41933

BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41934 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-24 17:53:30 +00:00
whesse@google.com d91010512a Add android device id to test output in test scripts.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41933 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-24 17:40:13 +00: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
ahe@google.com b9439fd455 Cannot run incremental tests in checked mode, yet.
Review URL: https://codereview.chromium.org//745963003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41909 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-21 16:37:48 +00:00
ahe@google.com 571790c5b0 Move variable declaration.
Review URL: https://codereview.chromium.org//753593002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41908 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-21 16:24:40 +00:00
ahe@google.com 9c60f3f0c7 Run Try Dart tests on Dart-enabled browser
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41906 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-21 16:12:41 +00:00
whesse@google.com 6601198a60 Do not retry intentionally failing tests on browsers.
BUG=dartbug.com/21434
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41714 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-13 14:20:50 +00:00
whesse@google.com f82e0e339a Put test shared options before filename in compilation commands.
BUG=dartbug.com/21582
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41708 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-13 09:17:00 +00:00
eernst@google.com 93f4f00719 Working insertion of hash values; added a few labels in spec
Hash values are now computed for each "paragraph" starting with \LMHash
(which includes subsequent grammar, dartCode, itemize blocks, but stops
at \section-like commands).  Now addlatexhash.dart expects three arguments
(first the source latex file, then the destination simplified and
hash-value-annotated latex source file, and finally a file name used to
create the list of hash values emitted).  Adjusted testing accordingly.
Added a test for robustness of the hash value generation: It is checked
that lots of different "unimportant" changes make no difference for the
generated hash values (e.g., we can add/remove comments, change white
space, add \commentary{..} etc. without changing the hash values).

In order to ensure that all "structure" commands in the spec have a label,
I added an \LMLabel{..} a handful of places, following the style which is
used throughout the spec.

In dart.sty, the \renewcommand that made \LMHash{} produce a fixed
hash value has been removed such that the actual hash values are now
inserted into the generated spec PDF/DVI file.  Tests have been adjusted
to handle this difference between the spec with and without hash values
when comparing the two.

R=gbracha@google.com, lrn@google.com, ricow@google.com

Committed: https://code.google.com/p/dart/source/detail?r=41658

Reverted: https://code.google.com/p/dart/source/detail?r=41662

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41687 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-12 08:41:55 +00:00
zra@google.com b4d3762221 Adds GN build files for building in GN based projects.
Review URL: https://codereview.chromium.org//690923003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41673 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-11 22:03:55 +00:00
whesse@google.com 3b4613ca3a Enable dart2js compilation for new HTML tests.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41668 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-11 14:59:14 +00:00
eernst@google.com 4074b50818 Revert "Working insertion of hash values; added a few labels in spec"
This reverts commit r41658.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41662 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-11 11:39:40 +00:00
eernst@google.com 9570a582eb Working insertion of hash values; added a few labels in spec
Hash values are now computed for each "paragraph" starting with \LMHash
(which includes subsequent grammar, dartCode, itemize blocks, but stops
at \section-like commands).  Now addlatexhash.dart expects three arguments
(first the source latex file, then the destination simplified and
hash-value-annotated latex source file, and finally a file name used to
create the list of hash values emitted).  Adjusted testing accordingly.
Added a test for robustness of the hash value generation: It is checked
that lots of different "unimportant" changes make no difference for the
generated hash values (e.g., we can add/remove comments, change white
space, add \commentary{..} etc. without changing the hash values).

In order to ensure that all "structure" commands in the spec have a label,
I added an \LMLabel{..} a handful of places, following the style which is
used throughout the spec.

In dart.sty, the \renewcommand that made \LMHash{} produce a fixed
hash value has been removed such that the actual hash values are now
inserted into the generated spec PDF/DVI file.  Tests have been adjusted
to handle this difference between the spec with and without hash values
when comparing the two.

R=gbracha@google.com, lrn@google.com, ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41658 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-11 10:08:12 +00:00
lrn@google.com 42dac4c7b4 Add some ArgumentError and RangeError constructors that capture more information.
Switch some uses of RangeError.range to RangeError.index.
Fix bug in Queue where elementAt allowed `length` as input.

R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41653 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-11 07:55:47 +00:00
whesse@google.com beaa60020c Refactor test scripts browser multitest loop.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41635 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-10 14:25:59 +00:00
whesse@google.com ea27275aa6 Refactor browser test enqueuing in test scripts.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41633 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-10 13:37:40 +00:00
ahe@google.com 9bf0729a4a Don't delete old version before new version is downloaded.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41632 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-10 13:34:48 +00:00
alanknight@google.com 48ff3ccd27 Rename snapshot, other user-visible parts of docgen to dartdocgen.
BUG=
R=ricow@google.com

Committed: https://code.google.com/p/dart/source/detail?r=41529

Committed: https://code.google.com/p/dart/source/detail?r=41571

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41573 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 17:41:25 +00:00
alanknight@google.com 57aede2e75 "Reverting 41571"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41572 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 17:27:52 +00:00
alanknight@google.com b9be0df603 Rename snapshot, other user-visible parts of docgen to dartdocgen.
BUG=
R=ricow@google.com

Committed: https://code.google.com/p/dart/source/detail?r=41529

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41571 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 17:15:10 +00:00
ricow@google.com 55dac6a763 Allow testing script to run without the package directories being present
R=sigmund@google.com, whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41570 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 17:14:49 +00:00
whesse@google.com 562fb318a8 Support dart and js scripts in HTML tests, on dartium.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41569 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 17:03:24 +00:00
whesse@google.com 84b0209a77 Add test/xml content type to test server.
BUG=dartbug.com/21525
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41566 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 16:37:16 +00:00
whesse@google.com 1c840e6f01 Re-land r41544 "Update dart binaries used for running tests to version 1.7.2"
This also re-lands r41546, and some status file updates.

BUG=dartbug.com/21525 21526 21527
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41562 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 15:28:56 +00:00
ricow@google.com 802c618118 Move test config files under tools/testing/dart
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41561 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 14:21:19 +00:00
whesse@google.com d71ecd85d9 Fix hanging test script batch runners.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41553 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 13:03:00 +00:00
whesse@google.com 0624b4f7b7 Revert r41544 "Update dart binaries used for running tests to version 1.7.2"
Also revert fixes for test scripts for this update, r41546

BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41547 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 11:41:49 +00:00
whesse@google.com 207f9eacb4 Fix test scripts and xhr test for new default HTTP headers
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41546 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 09:59:51 +00:00
alanknight@google.com 844c55185c "Reverting 41529"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41531 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 21:08:12 +00:00
alanknight@google.com 935058524b Rename snapshot, other user-visible parts of docgen to dartdocgen.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41529 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 20:23:08 +00:00
whesse@google.com 151dfd105e Fix multitest display name bug in test scripts.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41520 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 13:42:25 +00:00
whesse@google.com cecc8d7de5 Fix HTML tests on non-browser runtimes.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41519 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 13:09:50 +00:00
whesse@google.com 6ac0684ab8 Working SimpleHTML test front end
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41517 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 12:54:34 +00:00
johnniwinther@google.com 09fbe78e71 Move dart2js from sdk/lib/_internal/compiler to pkg/compiler
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41514 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 08:51:01 +00:00
johnniwinther@google.com 8637cfd322 Revert "Move dart2js from sdk/lib/_internal/compiler to pkg/compiler"
This reverts commit r41512.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41513 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 08:15:26 +00:00
johnniwinther@google.com 2b336e17f0 Move dart2js from sdk/lib/_internal/compiler to pkg/compiler
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41512 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 07:09:04 +00:00
whesse@google.com 49acd886b9 Improve handling of intentionally broken links in test scripts.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41492 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-04 15:00:00 +00:00
whesse@google.com 0928369fc9 Improve browser testing scripts to better handle tests that reload themselves.
BUG=dartbug.com/18558
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41490 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-04 14:46:45 +00:00
whesse@google.com c6102a3b5b Retry failing tests on Safari, because it is flaky.
BUG=dartbug.com/21434

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41397 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-29 17:53:14 +00:00
whesse@google.com 67e8b965bb _Temporarily_ retry failing browser tests on Safari, because versions 6.2 and 7.1 are flaky on dart2js output.
Add support for macos 10.9 to buildbot scripts.

BUG=dartbug.com/21434
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41394 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-29 13:07:11 +00:00
leafp@google.com be08f872c5 Redirect blink calls through instance
Use a singleton instance object for dispatching calls from dart:html to dart:blink to make code more resilient against changes in web idl.

BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41379 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-28 23:11:51 +00:00