Carlo Bernaschina
53c315a095
Removed onPopState event test from vm_connect_target tests
...
TBR=johnmccutchan@google.com ,rmacnak@google.com
Review URL: https://codereview.chromium.org/2177843005 .
2016-07-25 13:12:18 -07:00
Carlo Bernaschina
f5e157f7d0
Converted Observatory library-nav-menu element
...
R=johnmccutchan@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2164903003 .
2016-07-25 09:36:17 -07:00
Carlo Bernaschina
4dccbcaa0f
Revert "Use Timer and not AnimationFrame during Observatory UI tests"
...
This reverts commit ebbeff3d2c .
TBR=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2173373002 .
2016-07-24 16:11:32 -07:00
Carlo Bernaschina
ebbeff3d2c
Use Timer and not AnimationFrame during Observatory UI tests
...
TBR=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2176093002 .
2016-07-24 15:11:14 -07:00
Carlo Bernaschina
61e34b244b
Converted Observatory nav-notify element
...
Still writing tests.
R=johnmccutchan@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2167053002 .
2016-07-24 12:54:04 -07:00
Carlo Bernaschina
a66cee26bd
Converted Observatory class-nav-menu element
...
R=johnmccutchan@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2165913004 .
2016-07-22 17:22:50 -07:00
Carlo Bernaschina
d2a5586289
Converted Observatory vm-connect-target element
...
R=johnmccutchan@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2169313002 .
2016-07-22 17:04:43 -07:00
Carlo Bernaschina
e71c000ce4
Converted Observatory vm-nav-menu element
...
R=johnmccutchan@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2170723002 .
2016-07-22 15:08:05 -07:00
Carlo Bernaschina
3ccc1f337f
Converted Observatory isolate-nav-menu element
...
R=johnmccutchan@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2168463004 .
2016-07-22 14:27:34 -07:00
Carlo Bernaschina
5680532769
Converted Observatory nav-bar element
...
R=johnmccutchan@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2173613002 .
2016-07-22 13:53:12 -07:00
Carlo Bernaschina
4cb0cd442c
Converted Observatory top-nav-menu element
...
R=johnmccutchan@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2159273003 .
2016-07-21 17:20:00 -07:00
Carlo Bernaschina
a459125aa1
Converted Observatory curly-block element
...
R=johnmccutchan@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2160793004 .
2016-07-21 16:42:46 -07:00
John McCutchan
c373aa760a
Rate limit devfs writes
...
Fixes a 'too many open files' error with non-rooted Android devices
R=rmacnak@google.com
Review URL: https://codereview.chromium.org/2172513003 .
2016-07-21 11:03:15 -07:00
Carlo Bernaschina
5282bd5b64
Suppressed warnings
...
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2165863002 .
2016-07-19 16:07:24 -07:00
Carlo Bernaschina
9fb05ba1f8
Converted Observatory nav-menu-item element
...
R=johnmccutchan@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2160123002 .
2016-07-19 15:45:07 -07:00
Carlo Bernaschina
b7ffd9339c
Converted Observatory nav-menu element
...
R=johnmccutchan@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2162733002 .
2016-07-19 15:28:29 -07:00
Carlo Bernaschina
0cc589e104
Converted Observatory nav-refresh element
...
R=johnmccutchan@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2161633005 .
2016-07-19 15:20:04 -07:00
Carlo Bernaschina
addbf1ea99
Avoid to run Observatory UI tests on DRT
...
TBR=rmacnak@google.com
Review URL: https://codereview.chromium.org/2160313002 .
2016-07-19 10:33:07 -07:00
Carlo Bernaschina
250f2a92a4
Converted Observatory view-footer element
...
R=johnmccutchan@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2154413002 .
2016-07-19 09:43:21 -07:00
John McCutchan
b6e17330ed
Fix DevFS on Android devices
...
- [x] Allow a system temporary directory to be set on Android.
- [x] This is set on Flutter's engine startup path which fixes DevFS on Android devices.
Related to https://github.com/dart-lang/sdk/issues/4413
BUG=
R=rmacnak@google.com
Review URL: https://codereview.chromium.org/2156243002 .
2016-07-18 10:45:53 -07:00
John McCutchan
1ff0f72158
Fix DevFS writes with subdirectories
...
- [x] Add a test case for multiple level directory DevFS write
BUG=
R=asiva@google.com
Review URL: https://codereview.chromium.org/2157013002 .
2016-07-18 08:58:40 -07:00
John McCutchan
09944945ab
Update service.status for hot_reload
...
BUG=
Review URL: https://codereview.chromium.org/2142143003 .
2016-07-12 12:41:20 -07:00
Todd Turnidge
3a51fceaba
First cut at _spawnUri rpc in the vm service.
...
BUG=
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2072543002 .
2016-07-11 14:25:27 -07:00
Todd Turnidge
f7242f2137
Reimplement devfs in dart. Implementation now writes to disk.
...
BUG=
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2120473004 .
2016-07-01 14:57:32 -07:00
Ryan Macnak
eb20b68e87
Add --hot-reload to the test harness.
...
./tools/build.py -mdebug,release runtime
./tools/test.py -mdebug,release --checked --hot-reload
BUG=http://dartbug.com/26809
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2114083002 .
2016-07-01 11:28:00 -07:00
Carlo Bernaschina
412c5f7bf5
Added observatory_ui tests to configuration
...
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2104213002 .
2016-06-29 08:39:44 -07:00
Carlo Bernaschina
0aa1f383d9
Avoid to mask all the NetworkRpcException
...
If a malformed message is received and the test fails with a
NetworkRpcException the framework ignores it.
This is still a workaround, if the exception is no thrown from inside the test,
but from a non awaited Future, it will still pass the test.
To fix it definetly, it is required to find all the non awaited rpc requests
and await for them.
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2093703002 .
2016-06-28 14:03:12 -07:00
Ryan Macnak
1f1e425033
Fix string_escaping_test exiting early by re-writing to use async-await.
...
Review URL: https://codereview.chromium.org/2085683003 .
2016-06-21 19:19:39 -07:00
Carlo Bernaschina
10c6ae2861
Removing OutOfMemoryError test
...
TBR=rmacnak@google.com
Review URL: https://codereview.chromium.org/2084643004 .
2016-06-20 18:12:23 -07:00
Carlo Bernaschina
05f3bc2823
Make OutOfMemory test work on 32 bit machines.
...
R=rmacnak@google.com
Review URL: https://codereview.chromium.org/2080383003 .
2016-06-20 17:26:17 -07:00
Carlo Bernaschina
c4cd62032d
Removed all analyzer issues from tests
...
Done by removing dead code, suppressing warning via getters, removed from analysis files with intentional errors and warnings.
Added tests for rpc commands:
- setName
- _getObjectStore
Added tests for particular exceptions:
- OutOfMemory
- StackOverflow
R=johnmccutchan@google.com , rmacnak@google.com , turnidge@google.com
Review URL: https://codereview.chromium.org/2073893002 .
2016-06-20 16:26:57 -07:00
John McCutchan
1a4c2005cc
DevFS initial implementation.
...
This cl implements an experimental filesystem maintained in the vm, called dart-devfs. This will allow service protocol users to read and write source files while the vm is running. This is needed for the reload support for flutter.
R=turnidge@google.com
Review URL: https://codereview.chromium.org/2059883003 .
2016-06-10 12:33:50 -07:00
Ryan Macnak
ef8baa8760
Add test harness option for app snapshots with unoptimized code.
...
./tools/test.py -m all -c dart2appjit -r dart_app --use-blobs
Rename 'dart_product' runtime to 'dart_app'.
Rename Dart_PrecompiledJITSnapshotBlob to Dart_CreateAppJITSnapshot and add documentation.
Remove out-of-date scripts in tools/precompilation.
R=fschneider@google.com
Review URL: https://codereview.chromium.org/1992703005 .
2016-05-26 10:37:47 -07:00
Florian Schneider
f220c1fb7c
Temporarily update status for two flaky service tests.
...
BUG=dartbug.com/26470
TBR=turnidge@google.com ,
Review URL: https://codereview.chromium.org/2001583002 .
2016-05-20 12:10:10 +02:00
Florian Schneider
c414c2b8da
Update status for flaky VM service tests.
...
TBR=johnmccutchan@google.com ,
BUG=
Review URL: https://codereview.chromium.org/1995973002 .
2016-05-19 09:38:08 +02:00
John McCutchan
b895aa5154
Improve CPU Profile View
...
Service:
- [x] Add "_profilerMode" to VM response. "VM" or "Dart" depending on --profile-vm flag.
- [x] Output a tree where VM tag are treated as executing "exit frame" functions when profiling Dart.
- [x] tick "exit frame" tag functions when profiling Dart.
Observatory:
- [x] don't include option for VM tags when profiling Dart.
- [x] default to no tags when profiling Dart.
- [x] indent the colored bar closer to the down arrow.
- [x] don't show percentages for user tag rows.
- [x] Update cpu profile table view to use virtual tree.
- [x] Update class allocation view to use virtual tree.
BUG=
R=rmacnak@google.com
Review URL: https://codereview.chromium.org/1851293005 .
2016-05-13 10:07:19 -07:00
Todd Turnidge
956ac4c183
Fix getSourceReport's forceCompile option for unused classes.
...
BUG=
R=rmacnak@google.com
Review URL: https://codereview.chromium.org/1916243002 .
2016-05-04 11:02:06 -07:00
Zachary Anderson
3d7202bad3
DBC: Adds simdbc64 target, adds arm64 arithmetic overflow logic
...
There were differences between linux gcc, android gcc,
MacOS clang, and 32 vs. 64-bit w.r.t the __builtin
functions for detecting arithmetic overflow. I couldn't get
them all working at the same time. Instead, I removed them,
and changed to always use the inline assembly. This works
in all the configurations above.
This change also adds a simdbc64 target for building simdbc
for 64-bit, and sets up the android targets. simdbc targets
arm, and simdbc64 targets arm64. You can build them with:
$ ./tools/build.py -m release -a simdbc{64} --os=android runtime
R=iposva@google.com
Review URL: https://codereview.chromium.org/1904153003 .
2016-04-25 12:48:34 -07:00
John McCutchan
45c0eb6d85
Skip analyzer tests for service/get_isolate_after_language_error_test
...
BUG=
Review URL: https://codereview.chromium.org/1912683002 .
2016-04-21 07:30:01 -07:00
John McCutchan
204031ea61
Add heart beat tests to make sure we see an isolate's sticky error after exit
...
BUG=
R=rmacnak@google.com
Review URL: https://codereview.chromium.org/1907743002 .
2016-04-21 07:20:53 -07:00
Florian Schneider
e905d64058
VM: Remove redundant build target dart_product.
...
It has been replaced by out/Product<arch>/dart
Building and testing product mode works via the -mproduct flag
with build.py/test.py.
BUG=
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/1902073003 .
2016-04-20 12:29:21 +02:00
Ryan Macnak
441f7d8524
vm-service: Answer fields from superclass to subclass in declaration order (layout order).
...
BUG=http://dartbug.com/26160
R=turnidge@google.com
Review URL: https://codereview.chromium.org/1865553003 .
2016-04-18 16:14:18 -07:00
Vyacheslav Egorov
ee0f608ce4
Dart Byte Code interpreter.
...
This version is Clang/GCC only and does not support Windows because it uses computed goto's.
Only unoptimized mode is supported.
Architecture is described in constants_dbc.h and stack_frame_dbc.h.
R=fschneider@google.com , zra@google.com
Review URL: https://codereview.chromium.org/1858283002 .
2016-04-18 23:02:01 +02:00
Siva Annamalai
84c81d81a9
Fix status file for tests that are taking long.
...
R=srdjan@google.com
Review URL: https://codereview.chromium.org/1885243002 .
2016-04-13 17:36:57 -07:00
Ivan Posva
c434931517
- Remove --coverage_dir flag and old-style coverage service requests.
...
BUG=
Review URL: https://codereview.chromium.org/1846443002 .
2016-04-07 16:24:49 -07:00
John McCutchan
1c4f63df6c
Print the isolate's sticky error if it has one.
...
- Bump protocol version to 3.4 to match service.md.
- Added note in changelog about 'none' pause event.
- Print the isolate's sticky error if it has one.
Fixes #26203
Review URL: https://codereview.chromium.org/1862903003 .
2016-04-07 15:31:50 -07:00
Ryan Macnak
a43f06e571
Mark evaluate_activation_in_method_class_test as failing on the analyzer.
...
BUG=http://dartbug.com/24478
Review URL: https://codereview.chromium.org/1858313002 .
2016-04-05 09:50:00 -07:00
Ryan Macnak
87e8bc2c96
VM: Evaluate-in-frame should happen in the scope of the method class, not the receiver class.
...
BUG=http://dartbug.com/26161
R=hausner@google.com
Review URL: https://codereview.chromium.org/1854243002 .
2016-04-04 15:22:57 -07:00
Ivan Posva
c2700473c4
- Update test with available flag.
...
BUG=
Review URL: https://codereview.chromium.org/1838013002 .
2016-03-28 17:55:30 -07:00
Florian Schneider
f3de2377ab
Move the VM's typed_data implementation to runtime/lib.
...
This removes the additional indirection to the VM's implementation
for all the factory constructors.
Additionally, it removes one class per typed data list type, thus reducing
snapshot and generated code size.
BUG=
R=asiva@google.com
Review URL: https://codereview.chromium.org/1790593002 .
2016-03-21 13:39:49 +01:00