Commit Graph

3219 Commits

Author SHA1 Message Date
Florian Loitsch eccd64922c Mark WebGl test as flaky.
Review-Url: https://codereview.chromium.org/3009083002 .
2017-09-04 11:42:18 +02:00
Terry Lucas 0585e74b63 Fixed analyzer test to use dart2js not dartium
R=paulberry@google.com

Committed: https://github.com/dart-lang/sdk/commit/704de3bb3e27313c0eb6eb5ebc03173a5396dd1e
Review-Url: https://codereview.chromium.org/3004153002 .
2017-09-01 09:03:16 -07:00
William Hesse a8cab7a205 Revert "Removed Dartium SDK libs"
This reverts commit 4a58918382.
That commit seems to have broken docgen on the html libraries.

BUG=
TBR=terry@google.com

Review-Url: https://codereview.chromium.org/3004173002 .
2017-09-01 00:47:57 +02:00
Terry Lucas 4a58918382 Removed Dartium SDK libs
First stage remove the libraries that are no longer part of 1.25 and beyond.

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

Committed: https://github.com/dart-lang/sdk/commit/a18908461adc431af2ee0114ed5ea9ef781bfb67
Committed: https://github.com/dart-lang/sdk/commit/d96561af083777ac9529c75ae05b6e89f8f06a6c
Review-Url: https://codereview.chromium.org/3008563002 .
2017-08-31 07:17:23 -07:00
Terry Lucas f1269525a8 Revert: Removed Dartium SDK libs
Review-Url: https://codereview.chromium.org/3005913003 .
2017-08-30 20:47:07 -07:00
Terry Lucas d96561af08 Removed Dartium SDK libs
First stage remove the libraries that are no longer part of 1.25 and beyond.

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

Committed: https://github.com/dart-lang/sdk/commit/a18908461adc431af2ee0114ed5ea9ef781bfb67
Review-Url: https://codereview.chromium.org/3008563002 .
2017-08-30 20:07:15 -07:00
Alexander Aprelev 7cbb96c199 Wholesale update tests status in attempt to make (fyi) dartkp buildbots green.
Buildbots are here: https://build.chromium.org/p/client.dart.fyi/console.

BUG=
R=asiva@google.com

Review-Url: https://codereview.chromium.org/3000423002 .
2017-08-28 18:32:21 -07:00
Vyacheslav Egorov 7d5231796e [VM, Precompiler] Support obfuscation of the symbolic information in precompiler
Obfuscation is controlled by obfuscate flag in Dart_IsolateFlags.

Obfuscation of identifiers is performed during script tokenization - when TokenStream is generated from the source. All kIDENT and kINTERPOL_VAR tokens are renamed consistently using a persistent obfuscation map stored in ObjectStore::obfuscation_map.

Some identifiers (pseudo-keywords, arithmetic operators, builtin recognized methods and entry-points) are not renamed to keep name based lookups from breaking. All other identifiers are renamed.

Constant instances of Symbol-s (both created via literal syntax #ident and using constant constructor const Symbol("ident")) are renamed consistently with corresponding identifiers.

Script urls and Library urls and names are also obfuscated.

Obfuscation map can be dumped as a JSON array at the end of precompilation using Dart_GetObfuscationMap API.

BUG=https://github.com/dart-lang/sdk/issues/30524
R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/3003583002 .
2017-08-25 09:48:23 +02:00
Alexander Aprelev 7ed68c87f9 Adjust dartk test status for checked/unchecked modes
This is follow-up to https://codereview.chromium.org/3005473002.

TBR=siva

BUG=

Review-Url: https://codereview.chromium.org/3000393002 .
2017-08-23 09:29:16 -07:00
Alexander Aprelev dff0d004d1 Update dartk test status to make dartk buildbots(vm-kernel-linux-release-x64-checked-be) greener.
BUG=
R=asiva@google.com

Review-Url: https://codereview.chromium.org/3005473002 .
2017-08-23 09:10:44 -07:00
William Hesse 79b128cd02 Update linux status for Firefox 55
BUG=https://github.com/dart-lang/sdk/issues/30468
R=mkroghj@google.com

Review-Url: https://codereview.chromium.org/3002803002 .
2017-08-17 15:27:03 +02:00
Karl Klose eed045f449 [Gardening] Mark media-query-list_t01 test as failing on dart2js-ff-windows
R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/2995703003 .
2017-08-10 13:06:03 +02:00
William Hesse 5890090f03 Update status for Firefox 55
BUG=
R=athom@google.com

Review-Url: https://codereview.chromium.org/2996743002 .
2017-08-09 19:03:22 +02:00
Alan Knight 9d482d65a5 Mark another webgl tex-image test flaky
BUG=

Review-Url: https://codereview.chromium.org/2989163002 .
2017-07-31 12:49:35 -07:00
Alan Knight e2c5b586f4 Mark two co19 tests flaky
BUG=

Review-Url: https://codereview.chromium.org/2988113003 .
2017-07-28 15:24:56 -07:00
Alan Knight 4c9b6c8437 Fix some test suppressions for Chrome 60
BUG=
R=sigmund@google.com

Review-Url: https://codereview.chromium.org/2986153002 .
2017-07-28 12:39:04 -07:00
Erik Ernst 9336e199fd Re-land of CL 2990703002, adding fixes to analyzer_test and error_test.
This CL is identical to the reverted CL 2990703002 which implements
syntactic support for generalized void in the analyzer, plus two bug
fixes in pkg/analyzer/test/generated/parser_test.dart and
pkg/analyzer_cli/test/error_test.dart. In the former, a test on parsing
`void,` was changed to expect an error: _isTypeIdentifier on a lone
`void` will no longer return true, which is necessary because `void`
can now be used as a type annotation alone. Another test on `void x`
was added, which produces the behavior previously seen for `void,`.
In error_test, the error which is used throughout was changed from
`void foo;` to `var int foo;` (because the former is no longer an
error).

Review-Url: https://codereview.chromium.org/2992623002 .
2017-07-27 12:39:19 +02:00
Sigmund Cherem 64adc3c87b update status files: fixes roll of chrome 60
BUG=
R=efortuna@google.com

Review-Url: https://codereview.chromium.org/2988903002 .
2017-07-26 15:11:58 -07:00
Erik Ernst 2e73ce1187 Revert "Implemented support for generalized void in analyzer."
This reverts commit 1d44f5296a,
because it causes failures for the analyzer in parser_test, error_test.

Review-Url: https://codereview.chromium.org/2990723002 .
2017-07-26 18:18:04 +02:00
Erik Ernst 1d44f5296a Implemented support for generalized void in analyzer.
Changed the analyzer parser to accept usages of `void` which were
previously rejected as syntax errors: `void` can now be the type
annotation for a variable or parameter, and it can be an actual type
argument.

Removed affected error codes like VOID_PARAMETER, VOID_VARIABLE,
VOID_RETURN_FOR_GETTER and associated declarations (like checking
functions), and adjusted test cases to expect success rather than
compile time errors.

Adjusted generalized_void_syntax_test.dart (it had real errors like
`final` variables with no initializer etc. that were not detected
when tools would just reject the file as syntactically wrong).

R=brianwilkerson@google.com

Review-Url: https://codereview.chromium.org/2990703002 .
2017-07-26 17:45:13 +02:00
Siva Annamalai 33c50e9374 1. Correctly set root_library based on the application script URI instead of looking for the library that has the 'main' method.
2. Adjust the Dart front end to not require a 'main' method when the in memory filesystem is used, this allows execution of VM unit tests which all do not necessarily have a 'main' method (integrated CL from siggi)

3. Change kernel reader to not look for a 'main' methos when Dart_LoadKernel is called.

4. Change Dart_LoadScript to also support loading of dart programs when Dart front end is used

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

Review-Url: https://codereview.chromium.org/2948273002 .
2017-07-19 18:09:19 -07:00
Johnni Winther 4f15ccd910 Update ff status
Review-Url: https://codereview.chromium.org/2982223002 .
2017-07-19 16:45:41 +02:00
Terry Lucas d0d5d6cc25 Revert "Revert "Removed Dartium test exceptions""
This reverts commit b85f66253c.

TBR=alanknight@google.com

Review-Url: https://codereview.chromium.org/2984613002 .
2017-07-19 05:51:54 -07:00
Johnni Winther 3b7095fde5 Update safari status
Review-Url: https://codereview.chromium.org/2983843002 .
2017-07-19 14:43:14 +02:00
Johnni Winther b85f66253c Revert "Removed Dartium test exceptions"
This reverts commit 84f079f24c.

Review-Url: https://codereview.chromium.org/2983073002 .
2017-07-19 13:31:32 +02:00
Sigmund Cherem 9bbe761f4b Update status files for kernel tests
Now kernel-service sends an "error" status whenever there are compile time errors,
so many of these tests that were not executed at runtime are now correctly being
reported by the VM as compile time errors.

This was only possible now that we are plumbing all error messages through a
single API, we can later evaluate whether it makes sense to recover
on some of these errors and how to deal better with recovery

Review-Url: https://codereview.chromium.org/2976403002 .
2017-07-18 20:29:20 -07:00
Terry Lucas 84f079f24c Removed Dartium test exceptions
TBR=alanknight@google.com

Review-Url: https://codereview.chromium.org/2983033002 .
2017-07-18 13:18:14 -07:00
Alan Knight 789de57cdf Allow setting unknown CSS properties, e.g. CSS variables
BUG=
R=terry@google.com

Review-Url: https://codereview.chromium.org/2976213002 .
2017-07-17 14:56:31 -07:00
Jens Johansen 0152654a2d [Gardening] Mark flaky dart2js-linux-chrome tests
In the last 21 test-runs on dart2js-linux-chromeff-1-4-be the results
was as follows for these tests:

04: Pass => RuntimeError        dart2js-chrome  co19 LayoutTests/fast/canvas/webgl/index-validation-verifies-too-many-indices_t01
03: Pass => RuntimeError        dart2js-chrome  co19 LayoutTests/fast/canvas/webgl/premultiplyalpha-test_t01
02: Pass => RuntimeError        dart2js-chrome  co19 LayoutTests/fast/canvas/canvas-transforms-fillRect-shadow_t01
02: Pass => RuntimeError        dart2js-chrome  co19 LayoutTests/fast/canvas/canvas-ellipse_t01
02: Pass => RuntimeError        dart2js-chrome  co19 LayoutTests/fast/canvas/canvas-before-css_t01
01: Pass => RuntimeError        dart2js-chrome  co19 LayoutTests/fast/canvas/webgl/triangle_t01
01: Pass => RuntimeError        dart2js-chrome  co19 LayoutTests/fast/canvas/canvas-scale-fillRect-shadow_t01

BUG=
R=kmillikin@google.com

Review-Url: https://codereview.chromium.org/2977003002 .
2017-07-13 11:32:37 +02:00
Ryan Macnak f20b32b793 [vm] Enable mirrors in product mode. Allows building a product mode SDK.
Fixes https://github.com/dart-lang/sdk/issues/29972

R=zra@google.com

Review-Url: https://codereview.chromium.org/2972883002 .
2017-07-12 12:55:58 -07:00
Terry Lucas 1c6340e284 Updated for window's webgl not available on Windows bots.
TBR=alanknight@google.com

Review-Url: https://codereview.chromium.org/2980743002 .
2017-07-12 08:16:30 -07:00
Terry Lucas e7c9da5558 Few more tests passing
TBR=alanknight@google.com

Review-Url: https://codereview.chromium.org/2974993002 .
2017-07-11 14:52:48 -07:00
Terry Lucas 1ce73bc2f1 Updated for tests passing in Mac/Windows.
TBR=alanknight@google.com

Review-Url: https://codereview.chromium.org/2981543003 .
2017-07-11 14:20:22 -07:00
Peter von der Ahé 99d637f581 Improve parsing of function expressions.
Fixes #29937
Fixes #29978
Fixes #29979

R=danrubel@google.com

Review-Url: https://codereview.chromium.org/2968093003 .
2017-07-11 10:35:59 +02:00
Jens Johansen fa1cf9e404 [kernel] Allow reflection on some fields; add metadata on fields too.
BUG=
R=vegorov@google.com

Review-Url: https://codereview.chromium.org/2973943002 .
2017-07-11 10:11:09 +02:00
Erik Ernst 3b05eb9553 Add support to dart2js for option --enable-asserts.
R=johnniwinther@google.com, sigmund@google.com, sra@google.com

Review-Url: https://codereview.chromium.org/2879153005 .
2017-07-07 10:59:09 +02:00
Florian Loitsch 304665a5b8 Fix status file line.
Review-Url: https://codereview.chromium.org/2970073002 .
2017-07-05 16:04:00 +02:00
Peter von der Ahé 5999f45148 Implement type variables on old style function-typed formal parameters.
R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/2969053002 .
2017-07-05 14:54:21 +02:00
Peter von der Ahé 6bb89e4fbf Use type variables on Typedef correctly.
R=johnniwinther@google.com, paulberry@google.com

Review-Url: https://codereview.chromium.org/2967923002 .
2017-07-05 13:12:27 +02:00
Florian Loitsch 89365d4d9a Mark max-device-aspect-ratio_t01 as flaky.
Review-Url: https://codereview.chromium.org/2972663002 .
2017-07-04 16:12:15 +02:00
Florian Loitsch 97a458adf7 Update status files.
R=ahe@google.com

Review-Url: https://codereview.chromium.org/2972613003 .
2017-07-04 12:54:36 +02:00
Florian Loitsch 3df3725f27 Mark type_object tests as co19 issues.
R=whesse@google.com

Review-Url: https://codereview.chromium.org/2964913002 .
2017-07-04 12:14:18 +02:00
Florian Loitsch 6a9337ee82 Mark mouseOverEvent test as flaky.
Review-Url: https://codereview.chromium.org/2970813002 .
2017-07-04 10:09:58 +02:00
Vyacheslav Egorov f167ad18da test.py: temporarily disable background optimizer in vm-dartk-debug config.
It is causing flakiness on bots.

Unmark tests marked as flaky by 45e4d848d2

See https://github.com/dart-lang/sdk/issues/30016.

BUG=
R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2970733002 .
2017-07-03 17:05:12 +02:00
Peter von der Ahé 45e4d848d2 [gardening] Update status files for kernel debug mode.
Review-Url: https://codereview.chromium.org/2969883002 .
2017-07-03 15:37:16 +02:00
Jens Johansen bbb463ac20 [kernel] Delete most of the AST
Now basically only Program (with ~no children) persists.

BUG=
R=kmillikin@google.com

Review-Url: https://codereview.chromium.org/2931773005 .
2017-06-30 07:55:08 +02:00
Jens Johansen 6cb702b723 [Kernel] Add check in the constant evaluator.
Currently some tests pass in checked mode but fails in non-checked mode
because we don't check the result of a constant-evaluation that should
be bool in non-checked mode.
This CL changes it so we always check the bool result in the constant-evaluator.

BUG=
R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2956493003 .
2017-06-29 11:18:10 +02:00
Paul Berry 0958e40357 Adjust return types of spec-mode function expressions to match VM.
R=scheglov@google.com

The spec is unclear about what is supposed to happen here (see
https://github.com/dart-lang/sdk/issues/30044).  Matching the VM
behavior allows us to pass the existing tests.
Review-Url: https://codereview.chromium.org/2958363002 .
2017-06-28 14:36:00 -07:00
Florian Loitsch 978213d427 Revert "Make Zone API strong mode clean."
This reverts commit 0b35711d48.

BUG=

Review-Url: https://codereview.chromium.org/2963743002 .
2017-06-28 13:31:32 +02:00
Florian Loitsch 0b35711d48 Make Zone API strong mode clean.
Review-Url: https://codereview.chromium.org/2959163002 .
2017-06-28 13:16:39 +02:00