Commit graph

12843 commits

Author SHA1 Message Date
Alan Knight 4641732ddb Remove websql_test/functional suppression
BUG=

Review URL: https://codereview.chromium.org/1777013003 .
2016-03-09 14:05:14 -08:00
Asger Feldthaus cb46f224f6 dart2js cps: Inline constructor bodies that are only called once.
ConstructorBodyElements do not exist in the type inference graph, so
we can't rely on it to tell us if such a method has a single call site.

BUG=
R=kmillikin@google.com

Review URL: https://codereview.chromium.org/1779723002 .
2016-03-09 14:00:25 +01:00
Alan Knight 1f9395fb30 Add back CssCharsetRule for Safari support
BUG=

Review URL: https://codereview.chromium.org/1777683002 .
2016-03-08 14:40:57 -08:00
Bob Nystrom cb7aa02116 Type check for-in statements.
This does nominal checking on the iterable expression used in a for-in
statement:

1. It must implement Iterable.
2. The type argument to Iterable must be assignable to the variable's
   type.

R=brianwilkerson@google.com, jmesserly@google.com

Review URL: https://codereview.chromium.org/1771153002 .
2016-03-08 11:25:49 -08:00
William Hesse 301e527e6e Update status for html/websql_test
BUG=https://github.com/dart-lang/sdk/issues/25927
R=floitsch@google.com

Review URL: https://codereview.chromium.org/1775883002 .
2016-03-08 17:55:28 +01: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
Johnni Winther 5719bc4ff3 Add white-listing to sourcemap tests.
BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org/1769013002 .
2016-03-08 10:49:01 +01:00
Johnni Winther 7cbfcd69ca Updates from comments.
BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org/1683063002 .
2016-03-08 10:36:58 +01:00
Johnni Winther 583fd470d8 Add source location to function declarations.
Temporarily adds source location to function declarations in the new source info system.

R=sigmund@google.com

Review URL: https://codereview.chromium.org/1773553002 .
2016-03-08 10:30:13 +01:00
Johnni Winther 7254451244 Add source mappings and inlined Dart code to diff_view.
BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org/1752393002 .
2016-03-08 10:02:28 +01:00
Ryan Macnak c6d3ff0098 More MIPS status cleanup.
R=regis@google.com

Review URL: https://codereview.chromium.org/1774693002 .
2016-03-07 16:37:48 -08:00
Terry Lucas 5d77c0e83c More UIEvent attribute movement in 45 roll.
TBR=alanknight@google.com,sigmund@google.com

Review URL: https://codereview.chromium.org/1771113002 .
2016-03-07 16:12:28 -08:00
Ryan Macnak 865b8eedfc Reset limit of map_insert_remove_oom_test and skip on noopt/precompilation.
Increasing the heap limit to allow for the compiled core libraries in noopt/precompilation requires increasing the iteration count to make the test meaningful, but this also makes it too slow on simarm64, etc.

Cf. baf4d84f34

BUG=http://dartbug.com/24678
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/1772963002 .
2016-03-07 14:23:19 -08:00
Alan Knight 16cbd86998 websql_test/functional shouldn't be suppressed on ie11
BUG=

Review URL: https://codereview.chromium.org/1770143002 .
2016-03-07 13:07:36 -08:00
Sigmund Cherem 43f943245e Update status files: websql_test seems to pass in ie10, many failures seem to be
timeouts in windows, a couple new runtime-error failures in safari.

BUG=

Review URL: https://codereview.chromium.org/1775593002 .
2016-03-07 12:41:14 -08:00
Ryan Macnak 46fea6cfb2 Update status file for some passing tests on MIPS and ARM.
R=regis@google.com

Review URL: https://codereview.chromium.org/1774613002 .
2016-03-07 12:17:27 -08:00
Ryan Macnak baf4d84f34 Increase max heap size in map_insert_remove_oom_test to handle compiled core libraries in --noopt and -cprecompiler -rdart_precompiled.
BUG=http://dartbug.com/24678
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/1773593006 .
2016-03-07 11:29:32 -08:00
Sigmund Cherem 385f3350c5 Update status of cpsir tests in checked mode: skipping for now, since more than
75% fail for one reason, once we fix that we can triage in more detail.

Review URL: https://codereview.chromium.org/1771893002 .
2016-03-07 10:20:41 -08:00
Alan Knight 28980c19fc WebSQL functional test should be suppressed everywhere on dart2js, not just chrome
BUG=

Review URL: https://codereview.chromium.org/1769113002 .
2016-03-07 10:06:04 -08:00
Terry Lucas b1faa37d2a Removed whitelisted failures now fixed
TBR=whesse@google.com

Review URL: https://codereview.chromium.org/1771863003 .
2016-03-07 09:39:37 -08:00
Ryan Macnak e880063e88 Include the canonical static closure when serializing ClosureData.
BUG=http://dartbug.com/25892
R=asiva@google.com

Review URL: https://codereview.chromium.org/1771483002 .
2016-03-07 09:06:26 -08:00
William Hesse f5d284ca9c Update status for a slow test and a crashing test.
BUG=
R=eernst@google.com

Review URL: https://codereview.chromium.org/1768193002 .
2016-03-07 17:59:16 +01:00
Florian Loitsch d41bce8cda Don't assume that we always have a HowToFix and remove failing test.
Also fix a typo.

Review URL: https://codereview.chromium.org/1769043002 .
2016-03-07 17:36:34 +01:00
Florian Loitsch dd326beee1 Move more messages.
Migrates some of the 'undefined' messages to the shared file.

R=brianwilkerson@google.com, johnniwinther@google.com

Review URL: https://codereview.chromium.org/1750143005 .
2016-03-07 16:39:12 +01:00
William Hesse 721a278693 Update status for dart2js browser tests
BUG=
R=sgjesse@google.com

Review URL: https://codereview.chromium.org/1772663002 .
2016-03-07 15:39:56 +01:00
William Hesse b8eeb2f438 Update the whitelisted warnings in dart2js/analyze_api_test.
Modifies cl https://codereview.chromium.org/1773583002/edit

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

Review URL: https://codereview.chromium.org/1770813002 .
2016-03-07 13:25:56 +01:00
William Hesse 7f9e4b7456 Update status for dart2js --cps_ir --host_checked.
BUG=https://github.com/dart-lang/sdk/issues/25911
BUG=https://github.com/dart-lang/sdk/issues/24485
R=sgjesse@google.com

Review URL: https://codereview.chromium.org/1773523002 .
2016-03-07 11:35:11 +01:00
Terry Lucas 5cc441525f Looks like the test works
TBR=alanknight@google.com

Review URL: https://codereview.chromium.org/1772433002 .
2016-03-05 06:34:18 -08:00
Terry Lucas c11989cb80 Update a test result
TBR=alanknight@google.com

Review URL: https://codereview.chromium.org/1770643002 .
2016-03-05 06:14:07 -08:00
Alan Knight d06311b3a8 Suppress failing dart2js tests with Chrome 45 roll
BUG=

Review URL: https://codereview.chromium.org/1771543002 .
2016-03-04 17:58:28 -08:00
Ryan Macnak a78ed1c47a Tree-shake consts.
BUG=http://dartbug.com/25892
R=fschneider@google.com

Review URL: https://codereview.chromium.org/1758153002 .
2016-03-04 09:42:53 -08:00
Zachary Anderson f6ddb4568f Regularize some errors thrown by SecureContext.
This is done by replacing a call to SSL_CTX_set_client_CA_list() with
calls to SSL_CTX_add_client_CA(), preserving the diagnostic status
return value discarded by the former.

R=iposva@google.com, whesse@google.com

Review URL: https://codereview.chromium.org/1761583002 .
2016-03-04 09:02:20 -08:00
Terry Lucas 984737f998 More passing tests with Dartium 45
TBR=alanknight@google.com

Review URL: https://codereview.chromium.org/1766723002 .
2016-03-04 05:30:11 -08:00
Terry Lucas e4a5eefe98 More tests that now work
TBR=alanknight@google.com,whesse@google.com

Review URL: https://codereview.chromium.org/1765913002 .
2016-03-04 05:18:31 -08:00
Regis Crelier 6219753e18 Use TRUNC.W instead of CVT.W on mips to convert from double to int as to not
depend on the current rounding mode (fixes issue 25900).
Add support for TRUNC.W in assembler, disassembler, and simulator.
Fix disassembler to understand CVT.S.
Remove unused instructions.
Update co19 status file.

R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1765623002 .
2016-03-03 17:05:09 -08:00
Terry Lucas 56b461c37c Few more tests for fix for 45 roll
TBR=alanknight@google.com

Review URL: https://codereview.chromium.org/1767523002 .
2016-03-03 16:12:48 -08:00
Ivan Posva d61ebd4ed2 - Unify dart_no_snapshot and dart_bootstrap into one binary.
BUG=
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/1760063003 .
2016-03-03 14:53:59 -08:00
Terry Lucas 84365bc7c0 Skip 2 test for analysis API/IDLs have changed in 45 roll
TBR=alanknight@google.com,jacobr@google.com

Review URL: https://codereview.chromium.org/1760233002 .
2016-03-03 11:38:39 -08:00
Terry Lucas a29edf769f Updated status file changes for Dartium sdk/lib generated from 45 IDLs
TBR=jacobr@google.com,alanknight@google.com

Review URL: https://codereview.chromium.org/1761973002 .
2016-03-03 10:59:24 -08:00
Ryan Macnak 167616b83e Skip mirror tests more generally for $mode == product instead of $runtime == dart_product.
Reduces failures in tools/test.py -mproduct.

R=asiva@google.com

Review URL: https://codereview.chromium.org/1760043002 .
2016-03-03 10:06:59 -08:00
Terry Lucas 3f0bb621a8 Revert "Changes to tests and status file for the 45 roll w/ regenderated sdk/libs"
This reverts commit 8d12df1e77.

TBR=alanknight@google.com,jacobr@google.com

Review URL: https://codereview.chromium.org/1763753002 .
2016-03-03 09:41:01 -08:00
Terry Lucas 23d5f671ae Revert "Fixed dart2js compilation and udpate obsolete analyzer for co19"
This reverts commit 439b59b1fc.

TBR=alanknight@google.com,jacobr@google.com

Review URL: https://codereview.chromium.org/1753903005 .
2016-03-03 09:37:53 -08:00
Srdjan Mitrovic 5c0a18d3be fix status file
BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1759203002 .
2016-03-03 09:35:19 -08:00
William Hesse 15f8618c1c Update status for dart2js host-checked mode tests.
BUG=https://github.com/dart-lang/sdk/issues/25911

Review URL: https://codereview.chromium.org/1760173002 .
2016-03-03 17:29:25 +01:00
Terry Lucas 439b59b1fc Fixed dart2js compilation and udpate obsolete analyzer for co19
TBR=alanknight@google.com,jacobr@google.com

Review URL: https://codereview.chromium.org/1757293002 .
2016-03-03 06:23:31 -08:00
Terry Lucas 8d12df1e77 Changes to tests and status file for the 45 roll w/ regenderated sdk/libs
TBR=alanknight@google.com,jacobr@google.com

Review URL: https://codereview.chromium.org/1746623002 .
2016-03-03 05:33:46 -08:00
Srdjan Mitrovic b3405d5ebc Add --no-background-compilation to tests that expect to run code in optimized form
BUG=
R=asiva@google.com

Review URL: https://codereview.chromium.org/1759973002 .
2016-03-02 16:30:58 -08:00
Matthias Hausner 095038829c Fix co19 status
TBR

Review URL: https://codereview.chromium.org/1758113002 .
2016-03-02 15:57:58 -08:00
Regis Crelier af43180fb6 Triage co19 failures in vm and reference newly filed (or existing) issues.
R=hausner@google.com

Review URL: https://codereview.chromium.org/1756733004 .
2016-03-02 15:22:47 -08:00
Matthias Hausner 5a0a097188 Fix issues in name resolution
Looking up a name x in the library scope or in a prefix can also return
the setter name x=. There were several situations that were not handled
right.

- a getter x and a setter x= should not result in a duplicate name
  error (and thus a resolution error at runtime).

- when looking for an untangled name x but a setter x= is found first,
  keep looking for x.

BUG=25625
R=regis@google.com

Review URL: https://codereview.chromium.org/1752203002 .
2016-03-02 10:44:28 -08:00