Jacob Richman
3c7353d987
Update all tests
...
Support //# multitests for better dartfmt compatibility and fewer multitest false positives
All files under tests were manually updated with
find . -iregex '.*\.dart$' -print0 | xargs -0 perl -pi -e 's/(\S\s+)\/\/\/ /$1\/\/# /'
For now both old and new styles are allowed to accommodate CO19 tests.
R=efortuna@google.com
Review-Url: https://codereview.chromium.org/2765693002 .
2017-03-21 12:39:28 -07:00
Jacob Richman
6a7d6c385e
Add comments
...
Add spaces to make sure dartfmt doesn't destroy bespoke indentation
BUG=
R=sra@google.com
Review-Url: https://codereview.chromium.org/2763823002 .
2017-03-20 21:03:12 -07:00
William Hesse
1cb1b70d5d
Update firefox status for Unicode 6.3 test
...
BUG=https://github.com/dart-lang/sdk/issues/28983
R=johnniwinther@google.com
Review-Url: https://codereview.chromium.org/2745303003 .
2017-03-14 14:39:37 +01:00
Stephen Adams
8cadbf4f72
Redo "Remove U+180E from whitespace in js_runtime and tests"
...
TBR=alanknight@google.com
BUG=
Review-Url: https://codereview.chromium.org/2747983003 .
2017-03-13 21:43:05 -07:00
Stephen Adams
66539fb493
Revert "Remove U+180E from whitespace in js_runtime and tests"
...
Several VM and browser status updates needed.
TBR=alanknight@google.com
BUG=
Review-Url: https://codereview.chromium.org/2748003002 .
2017-03-13 21:11:10 -07:00
Stephen Adams
c6a01283c1
Remove U+180E from whitespace in js_runtime and tests
...
BUG= https://github.com/dart-lang/sdk/issues/28983
R=alanknight@google.com , vsm@google.com
Review-Url: https://codereview.chromium.org/2733353002 .
2017-03-13 20:18:19 -07:00
Stephen Adams
129f9dbb4c
Update status for ff + jsshell list_test
...
TBR=nweiz@google.com
BUG=
Review-Url: https://codereview.chromium.org/2744743002 .
2017-03-09 16:28:39 -08:00
Alan Knight
8d5015556e
Update test status for Firefox 52/Issue 28983
...
BUG=
Review URL: https://codereview.chromium.org/2732963006 .
2017-03-07 16:52:28 -08:00
Asger Feldthaus
3a7529a363
Remove status file sections for the CPS IR.
...
BUG=
R=kmillikin@google.com
Committed: https://github.com/dart-lang/sdk/commit/2d6c90a6b3d6d1be5095e12a0a633305e1d5db2a
Review-Url: https://codereview.chromium.org/2720513006 .
2017-02-28 17:11:19 +01:00
Asger Feldthaus
e7b9672b3e
Revert "Remove status file sections for the CPS IR."
...
This reverts commit 2d6c90a6b3 .
BUG=
Review-Url: https://codereview.chromium.org/2720283002 .
2017-02-28 17:08:04 +01:00
Asger Feldthaus
2d6c90a6b3
Remove status file sections for the CPS IR.
...
BUG=
R=kmillikin@google.com
Review-Url: https://codereview.chromium.org/2720513006 .
2017-02-28 14:40:06 +01:00
Lasse R.H. Nielsen
dccdd1b981
Normalize UriData.parse result.
...
Validates base64 encoding, normalizes padding.
Normalizes non-base64 data using URI percent-escapes for all invalid characters.
Fixes issue #28728 , #28700
BUG= http://dartbug.com/28728 http://dartbug.com/28700
R=floitsch@google.com
Review-Url: https://codereview.chromium.org/2694373003 .
2017-02-17 11:02:38 +01:00
Sigmund Cherem
91796be231
Add mode to test.dart to run dart2js with kernel, and include initial set of
...
failures in status files
BUG=
R=efortuna@google.com , whesse@google.com
Review-Url: https://codereview.chromium.org/2688413004 .
2017-02-14 14:37:23 -08:00
Ryan Macnak
cfe5e5f075
Include metadata in AOT to expand inline frames in stack traces and provide line numbers.
...
Also fix stack trace collection to always include invisible frames. It can happen that a visible function is inlined into an invisible function, and we don't expand inlined frames until we print a stack trace.
dart2js product x64:
compile time: 12.459s
VMIsolate(CodeSize): 152292
Isolate(CodeSize): 3343117
ReadOnlyData(CodeSize): 3728928
Instructions(CodeSize): 8677600
Total(CodeSize): 15901937
->
compile time: 14.195s (+13%)
VMIsolate(CodeSize): 174034
Isolate(CodeSize): 3892418 (+16%)
ReadOnlyData(CodeSize): 5036320 (+35%)
Instructions(CodeSize): 8682624
Total(CodeSize): 17785396 (+12%)
R=asiva@google.com
Review-Url: https://codereview.chromium.org/2687143005 .
2017-02-13 10:27:36 -08:00
Natalie Weizenbaum
8de3c35cc2
[Gardening] Mark a test as flaky on Dart2js. ( #28713 )
...
corelib/list_unmodifiable_test fails flakily on dart2js.
See #28712
2017-02-10 15:05:40 -08:00
Lasse R.H. Nielsen
d4a1e06892
Update URI related documentation and examples.
...
Adds a test for all the examples.
Fixes issues: #28659 , #28660 , #28661
BUG= http://dartbug.com/28659 , http://dartbug.com/28660 , http://dartbug.com/28661
R=floitsch@google.com
Review-Url: https://codereview.chromium.org/2679933002 .
2017-02-07 11:54:28 +01:00
Brian Wilkerson
2ee2fe9b5c
[Gardening] Disable running strong-mode analyzer tests in code that is not strong mode clean
...
R=whesse@google.com
Review-Url: https://codereview.chromium.org/2679553003 .
2017-02-06 13:26:39 -08:00
Lasse R.H. Nielsen
dd561d513b
Add Uri.isScheme test function.
...
Allows checking the scheme of a URI against a known value.
Example: `uri.isScheme("http")`.
Has two advantages over `uri.scheme == "http"`:
* It's case insensitive, so you can do `uri.isScheme("HTTP")` as well, and
* for simple URIs, it doesn't need to allocate a new string.
R=floitsch@google.com
Review-Url: https://codereview.chromium.org/2664453003 .
2017-01-30 13:26:39 +01:00
Lasse R.H. Nielsen
dab2d0efb8
Fix invalid URIs generated using Uri constructor with clever paths.
...
Fixes issue #28359
BUG= http://dartbug.com/28359
R=floitsch@google.com
Committed: https://github.com/dart-lang/sdk/commit/d3a839fb84c744fb77bfff67d0d39df99cfa6404
Review-Url: https://codereview.chromium.org/2626013004 .
2017-01-16 09:16:06 +01:00
Lasse R.H. Nielsen
d3a839fb84
Fix invalid URIs generated using Uri constructor with clever paths.
...
Fixes issue #28359
BUG= http://dartbug.com/28359
R=floitsch@google.com
Review-Url: https://codereview.chromium.org/2626013004 .
2017-01-13 09:38:07 +01:00
Florian Schneider
bef4967ea1
Remove dart_noopt and related parts from the VM.
...
dart_noopt is not needed anymore because we have testing
and builbot integration of the real precompilation pipeline in place now.
Fixes #24569
Fixes #25726
Fixes #25845
R=rmacnak@google.com
Review-Url: https://codereview.chromium.org/2624393002 .
2017-01-11 16:55:55 -08:00
Matthias Hausner
dfde15a8be
Gardening: mark regexp pcre_test slow/timeout in precompiled code
...
This test seems to be slow in any configuration. There are old bugs,
e.g. 21593 and 22008 that mention the slowness and flakiness, but there
are no takers to either fix the regexp code or make the test smaller.
Note: in precompiled mode, the regular expression code is interpreted, and thus actually slower than in the JIT version of the test.
BUG=
R=rmacnak@google.com
Review-Url: https://codereview.chromium.org/2624733005 .
2017-01-10 13:03:49 -08:00
Regis Crelier
dc0605012f
Move Null type to the Bottom in the VM ( fixes #28025 ).
...
Fix wrong comments.
R=asiva@google.com
Review-Url: https://codereview.chromium.org/2608373002 .
2017-01-05 10:05:31 -08:00
Florian Loitsch
59ffd06f15
Update status file.
...
Review-Url: https://codereview.chromium.org/2598183002 .
2016-12-23 11:51:28 +01:00
Johnni Winther
dd1a470dda
No luck at status-bingo
...
Review-Url: https://codereview.chromium.org/2600503002 .
2016-12-22 15:27:52 +01:00
Johnni Winther
f6b5361adb
Support for Null as bottom in dart2js
...
Closes #28026
R=floitsch@google.com
Review-Url: https://codereview.chromium.org/2595363002 .
2016-12-22 15:01:33 +01:00
Kasper Lund
0efa6cfda0
Revert "Update status"
...
This reverts commit 5fdc195aa1 and follows
the revert of the dart2js support for null-as-bottom.
TBR'ed.
R=johnniwinter@google.com
BUG=
Review-Url: https://codereview.chromium.org/2592373002 .
2016-12-22 09:53:14 +01:00
Johnni Winther
5fdc195aa1
Update status
...
Review-Url: https://codereview.chromium.org/2594013002 .
2016-12-21 16:36:35 +01:00
Harry Terkelsen
c78814326c
Update jsshell to 50.0
...
R=sra@google.com
Review URL: https://codereview.chromium.org/2552123003 .
2016-12-06 16:58:15 -08:00
Ryan Macnak
1ebeb79942
Remove runtime 'dart_app' as it became identical to 'vm'.
...
Merge compiler 'dart2app' and 'dart2appjit' and rename to 'app_jit' since they came to mean the same thing.
Update status files to reflect these changes.
R=asiva@google.com
Review URL: https://codereview.chromium.org/2541533004 .
2016-12-01 16:47:33 -08:00
William Hesse
e2a48dbf38
Update status for failing tests
...
BUG=https://github.com/dart-lang/sdk/issues/27925
R=eernst@google.com
Review URL: https://codereview.chromium.org/2536183002 .
2016-11-29 14:26:27 +01:00
William Hesse
6f7005ee71
Update status for co19 tests on browsers.
...
BUG=
R=kustermann@google.com
Review URL: https://codereview.chromium.org/2538443002 .
2016-11-28 16:32:41 +01:00
Lasse Reichstein Holst Nielsen
7957a1c256
Make EfficientLength extend Iterable.
...
This should help least-upper-bound computations to not think of EfficientLength
as completely separate from Iterable even though they are always used together.
It doesn't solve all problems with the least-upper-bound computation,
but at least some of the more often occuring ones.
R=floitsch@google.com
Review URL: https://codereview.chromium.org/2467113003 .
Committed: https://github.com/dart-lang/sdk/commit/b08fb1373f88121bb4056adce9b71849a5bede2a
2016-11-28 08:04:04 +01:00
William Hesse
4bfe727db6
Update status for Firefox 50
...
BUG=https://github.com/dart-lang/sdk/issues/27873
BUG=https://github.com/dart-lang/sdk/issues/27872
BUG=https://github.com/dart-lang/sdk/issues/27871
BUG=https://github.com/dart-lang/sdk/issues/27867
R=sortie@google.com
Review URL: https://codereview.chromium.org/2526493004 .
2016-11-23 09:49:01 +01:00
Vyacheslav Egorov
2403444eba
VM: Optimize RegExp.matchAsPrefix(...) by generating a sticky RegExp specialization.
...
This is the same as a sticky RegExp flag in ES2015.
Overlay some RegExp fields on top of each other - given that they should never be used simultaneously.
BUG=http://dartbug.com/27810
R=rmacnak@google.com
Review URL: https://codereview.chromium.org/2510783002 .
2016-11-17 17:46:21 +01:00
John McCutchan
50b47360bd
Update more status files for hot reload bots
...
BUG=
Review URL: https://codereview.chromium.org/2500343003 .
2016-11-15 07:34:03 -08:00
Ryan Macnak
3658a16e47
DBC: When calling DRT_OptimizeInvokedFunction, patch the stack to have a stub instead of the to-be-optimized function as the caller.
...
Fixes #27746
R=fschneider@google.com , zra@google.com
Review URL: https://codereview.chromium.org/2473213002 .
2016-11-04 09:51:02 -07:00
Florian Schneider
6fa4a54bba
DBC: Fix smi shl with large (>word-size) shift counts
...
Insert check to guard against large shift counts.
Integer shifts with shift counts greater or equal than the number
of bits per word are undefined behavior in C/C++.
Fixes #27474 .
R=vegorov@google.com
Review URL: https://codereview.chromium.org/2474103003 .
2016-11-04 12:16:34 +01:00
Florian Schneider
de6b131857
Temporarily skip flaky tests for DBC
...
BUG=#27746
Review URL: https://codereview.chromium.org/2477753002 .
2016-11-03 15:08:42 +01:00
Florian Schneider
44418359e0
DBC: Handle constants correctly in the optimizing backend
...
We don't always allocate a register for constants in optimized code. Instead
they are copied into registes as needed by parallel moves at the use site.
Fixes #27731 .
R=vegorov@google.com
Review URL: https://codereview.chromium.org/2477653002 .
2016-11-03 12:24:05 +01:00
Ryan Macnak
d8bb15f915
Mark failing DBC tests.
...
Issue #27731
Issue #27732
Issue #27733
R=zra@google.com
Review URL: https://codereview.chromium.org/2465253007 .
2016-11-02 15:28:57 -07:00
Ryan Macnak
6cf5c3baa3
Revert "Make EfficientLength extend Iterable."
...
This reverts commit b08fb1373f .
TBR=lrn@google.com
Review URL: https://codereview.chromium.org/2467283003 .
2016-11-02 13:20:41 -07:00
Lasse R.H. Nielsen
b08fb1373f
Make EfficientLength extend Iterable.
...
This should help least-upper-bound computations to not think of EfficientLength
as completely separate from Iterable even though they are always used together.
It doesn't solve all problems with the least-upper-bound computation,
but at least some of the more often occuring ones.
R=floitsch@google.com
Review URL: https://codereview.chromium.org/2467113003 .
2016-11-02 14:05:35 +01:00
Florian Loitsch
6beb1fdd11
Change Set.difference API to accept Set<Object>.
...
Fixes #27573
BUG= http://dartbug.com/27573
R=lrn@google.com
Review URL: https://codereview.chromium.org/2413233002 .
2016-10-20 14:37:15 +02:00
Florian Schneider
6d66f3dea8
VM: Make optimized try-catch work in DBC.
...
The catch entry block has all locals in fixed locations
(Rj) where j = kNumberOfRegisters - i for parameter i.
This means we reserve a range of DBC registers at the top-end of the frame.
Those registers are blocked for general allocation to avoid any overlap
with the rest of the registers that are allocated from the bottom.
Each optimized frame with a try-catch will be kNumberOfRegisters wide.
BUG=
R=vegorov@google.com
Review URL: https://codereview.chromium.org/2388093003 .
2016-10-13 11:36:23 -07:00
Florian Schneider
8a7dabe522
Temporarily update status for 2 tests on SIMDBC.
...
BUG=
R=zra@google.com
Review URL: https://codereview.chromium.org/2388363002 .
2016-10-04 09:25:44 -07:00
Lasse R.H. Nielsen
9bd4406d4b
Fix bug in _SimpleUri.resolve.
...
In some cases it didn't follow our non-RFC behavior for resolving a relative
path on top of another relative path.
Fixes issue #27447
BUG= http://dartbug.com/27447
R=eernst@google.com
Review URL: https://codereview.chromium.org/2374253004 .
2016-09-29 15:00:42 +02:00
Sigmund Cherem
fc0bf7a85b
First set of test triage for fast-startup
...
Review URL: https://codereview.chromium.org/2285823002 .
2016-08-26 10:04:41 -07:00
Lasse R.H. Nielsen
99ec987a09
Remove deprecated Resource class from dart:core.
...
BUG=
R=floitsch@google.com , mit@google.com
Review URL: https://codereview.chromium.org/2272373002 .
Committed: https://github.com/dart-lang/sdk/commit/f61143153a9aee2738bf3bf83d447e016f41e653
Committed: https://github.com/dart-lang/sdk/commit/35437dda1f8b120d4b241a0a4925071a16f42442
2016-08-26 11:58:04 +02:00
Lasse Nielsen
35437dda1f
Remove deprecated Resource class from dart:core.
...
BUG=
R=floitsch@google.com , mit@google.com
Review URL: https://codereview.chromium.org/2272373002 .
Committed: https://github.com/dart-lang/sdk/commit/f61143153a9aee2738bf3bf83d447e016f41e653
2016-08-26 10:50:58 +02:00