Commit graph

4227 commits

Author SHA1 Message Date
Florian Loitsch b40cfcb57f Add zone task support to http-requests.
R=alanknight@google.com, lrn@google.com

Review URL: https://codereview.chromium.org/2042033002 .
2016-07-01 19:44:19 -07:00
Florian Loitsch 726b9f8dc7 Add zone task support for request-anim.
R=lrn@google.com

Review URL: https://codereview.chromium.org/2039963003 .
2016-07-01 19:43:36 -07:00
Florian Loitsch 6d1f6b2af6 Make Dom events run through zone tasks.
R=jacobr@google.com, lrn@google.com

Review URL: https://codereview.chromium.org/2022263002 .
2016-07-01 19:43:06 -07:00
John McCutchan 621ce4e2fd Add --hot-reload-test-mode flag to embedder and wire it up to test.py
- [x] Add --hot-reload-test-mode to standalone embedder.
- [x] Have test.py pass `--hot-reload-test-mode` instead of specific flags.
- [x] Add --reload_every_back_off flag to control exponential backof off reloads.
- [x] Add --check_reloaded flag to ensure that an isolate has reloaded at least once before exiting.

BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/2118923002 .
2016-07-01 14:26:25 -07:00
Zachary Anderson a503570e3a Fuchsia: Initial check-in.
Instructions to build and run are in README.fuchsia.

R=asiva@google.com

Review URL: https://codereview.chromium.org/2117593002 .
2016-07-01 12:42:05 -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
Ryan Macnak d28f756251 Update observatory_pub_packages_rev in Dartium's DEPS.
R=cbernaschina@google.com

Review URL: https://codereview.chromium.org/2115613003 .
2016-06-30 15:24:27 -07:00
Ryan Macnak 0b89ee1638 Roll Dartium blink to "Remove dead reference to Dart_DeleteWeakPersistentHandle."
Review URL: https://codereview.chromium.org/2118583002 .
2016-06-30 14:42:06 -07:00
William Hesse 3d9f53a4e6 Ensure short path names for generated tests on Windows, in test runner.
BUG=
R=sgjesse@google.com

Review URL: https://codereview.chromium.org/2104333002 .
2016-06-29 22:43:16 +02: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
William Hesse f3c5ec9ff1 Suppress timeouts on Windows browser bots when dart2js hangs.
Also run dartfmt on test_runner.dart file.

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

Review URL: https://codereview.chromium.org/2105783002 .
2016-06-28 17:23:02 +02:00
William Hesse 7e9a9804d9 Add suppression to test.dart for flaky content_shell crashes
BUG=https://github.com/dart-lang/sdk/issues/26739
R=kustermann@google.com

Review URL: https://codereview.chromium.org/2081173002 .
2016-06-27 14:44:11 +02:00
Ryan Macnak badaa1d438 Roll Dartium blink to "Disable background finalization."
Review URL: https://codereview.chromium.org/2097603002 .
2016-06-23 11:26:01 -07:00
William Hesse fb117bb484 Fix analyzer warnings for browser_controller.
BUG=
R=terry@google.com

Review URL: https://codereview.chromium.org/2069243002 .
2016-06-15 22:22:34 +02:00
William Hesse f76236db74 Revert "Revert "Make Safari tests more robust.""
This reverts commit b9cdd0e1b2.
This change should now work, because the buildbot recipes use the
renamed flag --reset-browser-configuration.

BUG=
R=ahe@google.com

Review URL: https://codereview.chromium.org/2070513002 .
2016-06-15 04:29:33 -07:00
Peter von der Ahé b9cdd0e1b2 Revert "Make Safari tests more robust."
This reverts commit 199806da03.

That commit failed because tools/bots/compiler.py is being ignored, and test.py is invoked based on recipes not included in this repository.

TBR

Review URL: https://codereview.chromium.org/2065053003 .
2016-06-15 10:39:36 +02:00
Peter von der Ahé 199806da03 Make Safari tests more robust.
R=whesse@google.com

Review URL: https://codereview.chromium.org/1871883002 .
2016-06-15 10:16:14 +02:00
Terry Lucas 6914b84a03 Fixed Linux bots to disable GPU otherwise process is terminated
R=whesse@google.com
TBR=alanknight@google.com, whesse@google.com

Review URL: https://codereview.chromium.org/2054153002 .
2016-06-13 06:34:04 -07:00
William Hesse 093672fe21 Queue standard test suites before co19
When running multiple test suites, queue the suites listed in
TEST_SUITE_DIRECTORIES before co19, vm tests, analyze_library, and
pkgbuild.

A re-upload of CL https://codereview.chromium.org/15565004/ from 2 years ago.

R=sgjesse@google.com
CC=kustermann@google.com

Review URL: https://codereview.chromium.org/2059153002 .
2016-06-13 13:37:34 +02:00
Terry Lucas c2b7fb2c76 Test out disable GPU for layout test for linux bots
TBR=alanknight@google.com

Review URL: https://codereview.chromium.org/2058523005 .
2016-06-10 11:39:05 -07:00
Terry Lucas dd481e9d15 Updated to lated Chromium and WebKit changes for aggregate support.
TBR=alanknight@google.com

Review URL: https://codereview.chromium.org/2040093003 .
2016-06-07 07:41:58 -07:00
William Hesse e9b92b73fe Start working on version 1.18 of Dart
BUG=
R=nweiz@google.com

Review URL: https://codereview.chromium.org/2039093004 .
2016-06-06 23:31:00 +02:00
William Hesse fbf301c0ad Run dartium buildbot tests under xvfb on linux
Previously, the entire builder run was under xvfb, now only the tests are.

R=het@google.com
BUG=

Review URL: https://codereview.chromium.org/2038903002 .
2016-06-03 14:14:13 -07:00
Zach Anderson 44796ed02d Move Windows build output from //build to //out
This is needed in order to begin migration to GN because
third-party dependencies and GN boilerplate expect GN
boilerplate to be in //build.

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

Review URL: https://codereview.chromium.org/2027063003 .
2016-06-03 08:28:48 -07:00
Terry Lucas 5a9b600360 Updated to latest WebKit changes
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org/2032563002 .
2016-06-01 09:48:53 -07:00
William Hesse ca6983b9af Make dartium tests continue if layout tests result uploading fails
BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org/2026093002 .
2016-06-01 00:58:04 +02:00
Sigmund Cherem d1d46593d5 Make test.dart override only those dependencies declared in the pubspec.yaml
file (attempt #2).

Differences from before:
 - pull in transitive dependencies that were missing
 - pass on the package-root in standalone/io/test_runner_test

BUG= http://dartbug.com/26563
R=whesse@google.com

Review URL: https://codereview.chromium.org/2019163002 .
2016-05-31 15:48:54 -07:00
William Hesse 41ece1a95a Reland the roll of co19 tests
This reverts commit 020be8eca6,
updating the version of the co19 test suites to their version
3f0a4bc9a080a792cdf5f093147a900f99ea301f from May 17, 2016.

TBR=sgjesse@google.com
BUG=https://github.com/dart-lang/sdk/pull/26294

Review URL: https://codereview.chromium.org/2023953002 .
2016-05-30 22:11:30 +02:00
Sigmund Cherem dd7cfb2b62 Revert "Make test.dart override only those dependencies declared in the pubspec.yaml"
This reverts commit bcfdd3345b.

Broke standalone/io/test_runner_test, need to investigate.

BUG=

Review URL: https://codereview.chromium.org/2017093004 .
2016-05-27 17:39:17 -07:00
Sigmund Cherem bcfdd3345b Make test.dart override only those dependencies declared in the pubspec.yaml
file.

BUG= http://dartbug.com/26563
R=whesse@google.com

Review URL: https://codereview.chromium.org/2020843002 .
2016-05-27 17:19:47 -07:00
Ryan Macnak 227927a8bb Make Android gyp flags more like Linux gyp flags. Fix cases of -Wconversion-null.
R=zra@google.com

Review URL: https://codereview.chromium.org/2018723002 .
2016-05-26 14:56:24 -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
Jacob Richman fd58be1816 Add back in pure_interfaces list that turned out to still be needed. The checked in generated code matches this cl.
BUG=

Review URL: https://codereview.chromium.org/2005143004 .
2016-05-24 10:25:31 -07:00
Terry Lucas de736d5122 Updated to adding back all fonts to content shell
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org/2000183002 .
2016-05-23 06:09:33 -07:00
William Hesse 020be8eca6 Revert the roll of co19.
This reverts commit 167130ed60.
This reverts commit 9e7594a68fd48d474f9db65ec9f832e19f308830.

This will be recommitted with more status fixes, at a time when other developers aren't working.

R=scheglov@google.com

Review URL: https://codereview.chromium.org/1997013002 .
2016-05-20 19:32:27 +02:00
William Hesse 167130ed60 Roll co19 test suite, update status files.
CL contributed by sgrekhov as pull request
https://github.com/dart-lang/sdk/pull/26294

BUG=
R=whesse@google.com
(Author is sgrekhov@unipro.ru)

Review URL: https://codereview.chromium.org/1999123002 .
2016-05-20 17:09:26 +02:00
Terry Lucas 94456a2433 Optimization for patch file generation
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org/1999803002 .
2016-05-20 07:48:08 -07:00
Jacob Richman f26e522f84 Strip unused functionality from dart:html and fix strong mode errors. Switch from blacklisting pure interfaces to determining pure interfaces from the idl and whitelisting impure interfaces we need for dart2js.
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org/1987073002 .
2016-05-18 12:49:09 -07:00
Florian Schneider 6c778cab08 Pass command line options of tests to precompiled runtime correctly.
This fixes the precompilation tests on Android that have command line
options specified in their test files.

BUG=
R=kustermann@google.com

Review URL: https://codereview.chromium.org/1988133003 .
2016-05-18 21:00:40 +02:00
Harry Terkelsen 1745ba77f5 fix all instances of "the the"
BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org/1980573003 .
2016-05-13 12:38:25 -07:00
Vyacheslav Egorov 43dc5c223d Introduce a new ARMSIMDBC configuration.
This allows us to build dart binary with SIMDBC for non-Android ARM devices.

We are going to use it to measure performance.

BUG=http://dartbug.com/26421
R=zra@google.com

Review URL: https://codereview.chromium.org/1967613002 .
2016-05-10 20:06:54 +02:00
Florian Schneider 92a681266c Fix running precompiled tests on Android.
The command line options for running the snapshot were outdated.

BUG=
R=kustermann@google.com

Review URL: https://codereview.chromium.org/1963573002 .
2016-05-09 10:08:45 +02:00
Ryan Macnak 01381e9efe Roll Dartium DEPS to "Disable verify_order."
Review URL: https://codereview.chromium.org/1956573006 .
2016-05-06 14:22:52 -07:00
Ryan Macnak 7546ef1709 Simplify command line options for creating snapshots.
Also makes codeless app snapshots work in debug and release modes.

dart --snapshot=file.snap [--snapshot-kind=script] script.dart
dart file.snap

dart_bootstrap --snapshot=dir --snapshot-kind=app-after-run script.dart
dart --run-app-snapshot=dir script.dart

dart_bootstrap --snapshot=dir --snapshot-kind=app-jit-after-run script.dart
dart --run-app-snapshot=dir script.dart

dart_bootstrap --snapshot=dir --snapshot-kind=app-aot script.dart
dart_precompiled_runtime --run-app-snapshot=dir script.dart

R=asiva@google.com

Review URL: https://codereview.chromium.org/1947783003 .
2016-05-06 12:40:04 -07:00
Zachary Anderson 78de302495 Fix DBC product build
fixes #26415

R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1945183006 .
2016-05-05 15:57:16 -07:00
Ryan Macnak d7234da230 Include DBC in the "all" architecture.
R=zra@google.com

Review URL: https://codereview.chromium.org/1949423003 .
2016-05-05 15:19:58 -07:00
Terry Lucas 41e6a838c8 Updated to latest Chromium CL
TBR=rmacnak@google.com

Review URL: https://codereview.chromium.org/1950913006 .
2016-05-05 05:55:55 -07:00
Florian Schneider b0f4ccabf4 Fix exit code handling for Android testing.
Shell returns 128+N when exiting because of signal.

BUG=
R=kustermann@google.com

Review URL: https://codereview.chromium.org/1950633003 .
2016-05-04 10:13:34 +02:00
Florian Schneider 174121435a Fix handling of negative exit codes in test.dart on Android.
BUG=dartbug.com/26375
R=kustermann@google.com

Review URL: https://codereview.chromium.org/1940213003 .
2016-05-03 16:47:22 +02:00
William Hesse 5a183f4c54 Update downloaded Dart SDK to 1.16.0
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org/1941423002 .
2016-05-03 14:47:22 +02:00
Terry Lucas 96e8075303 updated to latest WebKit
TBR=asiva@google.com

Review URL: https://codereview.chromium.org/1940113002 .
2016-05-02 18:41:51 -07:00
Terry Lucas 4a118124fc Test bots with WebKit's static Strings and threads
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org/1939323002 .
2016-05-02 14:54:02 -07:00
Terry Lucas c99ed66ca1 Updated to pull in Jacob's and Shiva's WebKit changes
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org/1943473002 .
2016-05-02 11:12:01 -07:00
Martin Kustermann 60087afcf8 Add third_party/android_tools/sdk/platform-tools to PATH if available
R=whesse@google.com

Review URL: https://codereview.chromium.org/1938973002 .
2016-05-02 14:01:44 +02:00
Martin Kustermann abfea75f1e Add support for timeouts when using AdbPrecompilationCommand
R=whesse@google.com

Review URL: https://codereview.chromium.org/1940853002 .
2016-05-02 14:00:18 +02:00
Martin Kustermann 620b896e2f Initial support to test.dart for running precompiler tests on android devices
Steps to make this work:

a) Make sure you have an android sdk checkout:

  => See https://github.com/dart-lang/sdk/wiki/Building-Dart-SDK-for-Android

b) Building using android-toolchain crosscompiler:

  $ ./tools/build.py -mrelease -aarm --os=android dart_precompiled_runtime

  => Notice --os=android

c) Testing using attached android phones:

  $ export PATH=$PATH:$PWD/third_party/android_tools/sdk/platform-tools
  $ ./tools/test.py -mrelease -aarm --system=android -cprecompiler -rdart_precompiled --use-blobs

  => Notice --system=android

Failing tests on android can be marked in status files via:

[ $compiler == precompiler && $runtime == dart_precompiled && $system == android ]

R=whesse@google.com

Review URL: https://codereview.chromium.org/1922163002 .
2016-05-02 12:41:22 +02:00
Alan Knight c5acca2ff0 Check for the case where previousNode fails in sanitization. Can happen with object tags
BUG=
R=sra@google.com

Review URL: https://codereview.chromium.org/1825373004 .
2016-04-28 12:51:40 -07:00
Jacob Richman 6ef4eae35f Remove as checks bloating sample dart apps by 4K
BUG=
R=sra@google.com

Review URL: https://codereview.chromium.org/1923143002 .
2016-04-27 08:53:48 -07:00
Terry Lucas 425d3f5947 Updated DEPS to latest WebKit change
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org/1924783002 .
2016-04-27 07:00:51 -07:00
Terry Lucas a96e920508 Update to latest chromium change fixes Mac compile
TBR=rmacnak@google.com

Review URL: https://codereview.chromium.org/1931473002 .
2016-04-27 05:27:21 -07:00
William Hesse a47eb0f59e Start working on version 1.17 of the Dart SDK
BUG=
R=kevmoo@google.com

Review URL: https://codereview.chromium.org/1923623002 .
2016-04-26 21:30:16 +02:00
William Hesse 7c9219a48e Revert "Delay Firefox browser startup in test scripts, to flatten load."
This reverts commit 40b69fd615.

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

Review URL: https://codereview.chromium.org/1921553005 .
2016-04-26 21:29:45 +02:00
William Hesse 40b69fd615 Delay Firefox browser startup in test scripts, to flatten load.
BUG=https://github.com/dart-lang/sdk/issues/26060
R=johnniwinther@google.com

Review URL: https://codereview.chromium.org/1882813002 .
2016-04-26 15:33:52 +02:00
Ryan Macnak f262fad639 Option to output precompiled instructions as a blob for use with mmap instead of assembly for use in a shared library.
BUG=http://dartbug.com/26199
R=fschneider@google.com

Review URL: https://codereview.chromium.org/1915853004 .
2016-04-25 16:19:34 -07:00
Alan Knight dad1a74d2e Oops, movementX/Y are private. Fix template
BUG=

Review URL: https://codereview.chromium.org/1916203002 .
2016-04-25 13:26:14 -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
Alan Knight 5542568adc Fix MouseEvent.movement to not use old webkit prefix
BUG=

Review URL: https://codereview.chromium.org/1921823002 .
2016-04-25 12:35:03 -07:00
Terry Lucas cf59fdfabd Updated test expectations
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org/1913573002 .
2016-04-22 14:02:01 -07:00
Terry Lucas 8f7b8a9d87 Update to new Webkit additions for custom elements
TBR=jacobr@google.com,alanknight@google.com

Review URL: https://codereview.chromium.org/1914643002 .
2016-04-22 12:53:36 -07:00
Jacob Richman 7fdce7a2f0 Use _downcast and _cast instead of "as" to reduce dart2js output size.
BUG=
R=leafp@google.com

Review URL: https://codereview.chromium.org/1914583002 .
2016-04-22 11:09:01 -07:00
John McCutchan 14d8653ed8 Go back to using dart_bootstrap for precompilation bots
BUG=

Review URL: https://codereview.chromium.org/1913193002 .
2016-04-22 11:07:01 -07:00
John McCutchan 0cfd4f5cd5 GN Build fixes for Flutter + gen_snapshot fix
1. Add "dart_runtime_mode" GN argument. This is an enum with three valid values: "release", "profile", and "develop".
   *) "release" builds product precompiled-runtime.
   *) "profile" builds non-product precompiled-runtime.
   *) "develop" builds non-product non-precompiled-runtime.

2. Remove the redundant "dart_product" GN argument.

3. Kill all *precompiled_runtime static library variants and the related config.

4. Always include the precompiler in gen_snapshot.

5. Support multiple --embedder_entry_points_manifest arguments to gen_snapshot.

6. Update our test harness to use gen_snapshot and pass the same kinds of command line arguments the Flutter folks are using.

7. ASSERT that both DART_PRECOMPILED_RUNTIME and DART_PRECOMPILER are not set at the same time.

R=fschneider@google.com, rmacnak@google.com

Review URL: https://codereview.chromium.org/1903583002 .
2016-04-22 07:00:03 -07:00
Jacob Richman 819ed4bb60 Fix strong mode errors in SVG
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org/1903893003 .
2016-04-21 12:45:08 -07:00
Jacob Richman 25b88eabe5 Fix indexed_db strong mode warnings.
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org/1903973002 .
2016-04-21 10:03:53 -07:00
Jacob Richman 9ffe1c2450 Make querySelectorAll a generic method so that checked mode behavior is consistent with existing behavior and strong mode behavior is strong for the case of List<InputElement> elems = document.querySelector("input");
BUG=
R=leafp@google.com

Review URL: https://codereview.chromium.org/1904903003 .
2016-04-21 09:54:18 -07:00
Jacob Richman 777e1a386e Revert "Remove the generics from _FrozenElementList: causes checked mode failures"
This reverts commit 7824ac771b.

BUG=

Review URL: https://codereview.chromium.org/1909613003 .
2016-04-20 18:50:11 -07:00
Jacob Richman b546d05362 TBR. Add back fix to the misleading types for onError. Otherwise, html/worker_test/functional fails due to the browser itself throwing an event of type Error that is not an ErrorEvent.
BUG=

Review URL: https://codereview.chromium.org/1908603002 .
2016-04-20 10:41:56 -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
Jacob Richman 068252e721 Revert changes to event signatures as they broke one co19 test and this change isn't required due to relaxation in types in EventStreamProvider.dart
BUG=

Review URL: https://codereview.chromium.org/1903033002 .
2016-04-19 16:42:16 -07:00
Jacob Richman 864b64fd5e Strong html
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org/1894713002 .
2016-04-19 15:08:45 -07:00
Terry Lucas b500f3c008 Update to latest Chromium CL displays Dart version.
TBR=alanknight@google.com

Review URL: https://codereview.chromium.org/1902233002 .
2016-04-19 12:55:24 -07:00
Terry Lucas e8fd9f5c1f The patch file cached_patches.dart generated from C++ with special dartium switch --enable-blink-features=dartGenCachedPatches
TBR=jacobr@google.com,alanknight@google.com

Review URL: https://codereview.chromium.org/1898163002 .
2016-04-19 08:32:50 -07:00
Vyacheslav Egorov cb63245a4c Fix GYP configurations on Mac and Windows after DBC patch.
R=srdjan@google.com
BUG=

Review URL: https://codereview.chromium.org/1895223003 .
2016-04-19 00:07:04 +02: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
Alan Knight 810faa31b9 Don't add a non-null check in dart2js for a nullable parameter (seeWebGl.texImage2D)
BUG=

Review URL: https://codereview.chromium.org/1885943002 .
2016-04-16 16:26:14 -07:00
Kevin Moore 5b5312a67c pkg/analyzer: support latest pkg/crypto version
BUG= https://github.com/dart-lang/sdk/issues/26138
R=brianwilkerson@google.com, paulberry@google.com

Review URL: https://codereview.chromium.org/1890973003 .
2016-04-15 10:00:24 -07:00
Alan Knight 7824ac771b Remove the generics from _FrozenElementList: causes checked mode failures
BUG=
R=jacobr@google.com

Review URL: https://codereview.chromium.org/1891543005 .
2016-04-14 15:14:40 -07:00
Terry Lucas 74ddf84ffd Remove MutationEvent bad entries in both removed list and renamed list
R=alanknight@google.com

Review URL: https://codereview.chromium.org/1890983002 .
2016-04-14 13:49:42 -07:00
Alan Knight 48d73a66e0 Fix MutationEvent class name
BUG=

Review URL: https://codereview.chromium.org/1888693004 .
2016-04-14 09:56:07 -07:00
Alan Knight a718c8dac9 Fix a few strong mode errors in dart:html
BUG=
R=jacobr@google.com

Committed: 65fe0a5383

Review URL: https://codereview.chromium.org/1876363006 .
2016-04-13 15:13:31 -07:00
Alan Knight 3fd7e32b65 Revert "Fix a few strong mode errors in dart:html"
This reverts commit 65fe0a5383.

BUG=

Review URL: https://codereview.chromium.org/1879253004 .
2016-04-13 14:56:42 -07:00
Alan Knight 65fe0a5383 Fix a few strong mode errors in dart:html
BUG=
R=jacobr@google.com

Review URL: https://codereview.chromium.org/1876363006 .
2016-04-13 14:41:10 -07:00
William Hesse c0096e6f0c Print name of previous test when a browser test times out.
Remove timeout multiplier for dart2js browser tests.

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

Review URL: https://codereview.chromium.org/1867283002 .
2016-04-13 12:35:27 +02:00
Jacob Richman 08c171d3e5 Revert "Revert "Fix handling of cross-origin windows in dartium and better align general handling of different frame window and location objects.""
Fix missing case that was breaking co19 tests.
This reverts commit 688eeb555c.

BUG=

Review URL: https://codereview.chromium.org/1883513004 .
2016-04-12 17:16:06 -07:00
Jacob Richman 688eeb555c Revert "Fix handling of cross-origin windows in dartium and better align general handling of different frame window and location objects."
This reverts commit f382890e1a.
Reverting while tests are fixed.

BUG=

Review URL: https://codereview.chromium.org/1879093002 .
2016-04-12 11:28:05 -07:00
Terry Lucas 7146915ea8 Breaking Change: Support @JS at library level
R=jacobr@google.com
TBR=asiva@google.com, jacobr@google.com

Review URL: https://codereview.chromium.org/1871573002 .
2016-04-12 10:29:49 -07:00
Jacob Richman f382890e1a Fix handling of cross-origin windows in dartium and better align general handling of different frame window and location objects.
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org/1873933002 .
2016-04-12 10:23:32 -07:00
Jacob Richman e3bc65d10f Roll dartium deps forward
BUG=

Review URL: https://codereview.chromium.org/1881683003 .
2016-04-11 17:38:00 -07:00
Terry Lucas 5c359477be Update to reverted CL in WebKit
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org/1876063002 .
2016-04-11 07:22:24 -07:00
William Hesse 333959070b Remove timeout multiplier for dart2js browser tests.
This reverts part of
82e6256392
Review is at
https://codereview.chromium.org/1865913002

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

Review URL: https://codereview.chromium.org/1874653002 .
2016-04-08 13:06:32 +02:00
William Hesse 579d7c4aea Correct a tree hash to a commit hash in dartium DEPS
BUG=

Review URL: https://codereview.chromium.org/1873723002 .
2016-04-08 11:46:24 +02:00
Jacob Richman 63f33795ef Roll chromium dep forward.
BUG=

Review URL: https://codereview.chromium.org/1867203002 .
2016-04-07 17:23:02 -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
Ryan Macnak 3dbaade249 Roll Dartium DEPS to webkit b57ba19cf9fd85ce195f0e1589bc366ebffdd524 "Set VM flag --support_externalizable_strings".
Review URL: https://codereview.chromium.org/1867123003 .
2016-04-07 15:36:43 -07:00
Jacob Richman 1536c671f5 Add support for switching library from the chrome devtools console.
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org/1865803004 .
2016-04-07 11:14:47 -07:00
William Hesse 82e6256392 Update status for html/JsArray test, increase dart2js timeout on browser bots.
BUG=https://github.com/dart-lang/sdk/issues/26060
BUG=https://github.com/dart-lang/sdk/issues/26197
R=kustermann@google.com

Review URL: https://codereview.chromium.org/1865913002 .
2016-04-06 15:57:35 +02:00
William Hesse c63b10b611 Format the test scripts in /tools/testing/dart using dartfmt 1.16.0-dev.3.0.
R=ahe@google.com

Review URL: https://codereview.chromium.org/1859973002 .
2016-04-06 14:49:18 +02:00
William Hesse 7407ecded4 Start browsers sequentially in testing scripts, as needed.
BUG=https://github.com/dart-lang/sdk/issues/26060
R=ahe@google.com

Review URL: https://codereview.chromium.org/1859523002 .
2016-04-06 11:34:52 +02:00
Terry Lucas c95b9875ef Fix registerElement for HTMLElement prototype should not change it's m_type
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org/1857343002 .
2016-04-05 11:59:28 -07:00
Terry Lucas 7060b6a07b Updated to latest WebKit change
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org/1851293006 .
2016-04-04 10:36:49 -07:00
Terry Lucas feb533e59e Pull in latest Chromium change for Mac build
TBR=johnmccutchen@google.com

Review URL: https://codereview.chromium.org/1856603004 .
2016-04-04 07:39:44 -07:00
Terry Lucas 5d82c5f68e Confirm CL that causes Dartium failures. Looks like the snapshot fix is causing 80 some odd failures in the lanaguage tests (timeout/crashes).
TBR=jacobr@google.com,asiva@google.com

Review URL: https://codereview.chromium.org/1852133002 .
2016-04-03 14:50:03 -07:00
Jacob Richman 56caf03c16 Roll webkit deps forward
BUG=

Review URL: https://codereview.chromium.org/1850353002 .
2016-04-01 16:20:50 -07:00
Terry Lucas 9f2ed047ea Updated SHA1 to remote repository commit #
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org/1848173003 .
2016-04-01 11:48:04 -07:00
Jacob Richman 618f46da9c Roll webkit to version that elmininates snapshot generation from the vm for JS interop now that the VM allows allows patching of classes after finalization.
BUG=

Review URL: https://codereview.chromium.org/1848443006 .
2016-04-01 09:54:45 -07:00
Alan Knight 0f5c249f22 Fix webgl methods, properly this time
BUG=

Review URL: https://codereview.chromium.org/1846803002 .
2016-03-31 09:45:32 -07:00
Jacob Richman 3cb280c5e1 Fast path Location.hash as some apps call it 10000+ times a frame.
BUG=

Review URL: https://codereview.chromium.org/1847543003 .
2016-03-31 09:04:10 -07:00
Harry Terkelsen a9a0ce0c1c Stop retrying failing tests on Safari
BUG=https://github.com/dart-lang/sdk/issues/22519
R=ahe@google.com

Review URL: https://codereview.chromium.org/1844933002 .
2016-03-30 10:27:13 -07:00
Terry Lucas c330f82267 Updated to grab latest WebKit changes
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org/1838353005 .
2016-03-30 07:48:57 -07:00
Jacob Richman c65854d2e4 Optimize dartium dart:html bindings so real world application performance is acceptable. Improves dart:html performance by 2X-30X for microbenchmarks. Real world improvement is typically 2X-3X.
BUG=

Review URL: https://codereview.chromium.org/1832713002 .
2016-03-29 18:32:52 -07:00
Harry Terkelsen 153365a415 roll to newest web_components
BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org/1842943002 .
2016-03-29 14:42:59 -07:00
Zachary Anderson 573d620eef Fix Dartium build
BUG=

Review URL: https://codereview.chromium.org/1844463003 .
2016-03-29 12:56:54 -07:00
Terry Lucas ecca7dc4e5 Update to correct SHA1
TBR=jacobr@google.com

Review URL: https://codereview.chromium.org/1835883003 .
2016-03-28 12:45:21 -07:00
Terry Lucas 7d92bf3b52 Pullin new WebKit change
TBR=jacobr@google.com,alanknight@google.com

Review URL: https://codereview.chromium.org/1835973002 .
2016-03-28 10:37:29 -07:00
Terry Lucas 10e70db01c Speed up interop patch file creation.
Made a number of optimizations to reduce load time from 8 secs to 1 sec.  The changes involved:

- No longer dynamically generate patch files on startup for dart:* libraries (created from WebKits IDL e.g., html, svg, web_audio, web_gl, indexed_db, web_sql).  Instead create a cache of patch files.

- Comparison of @JS refelctedType not by library and symbol name comparison.

- In addition, a VM mirror change see CL https://codereview.chromium.org/1834673003/ gives us the remaining speedup.

This cache of interop patch files, for Dartium only, requires a manual re-gen after go.sh run is:

> cd tools/dom/scripts
> run go.sh

The steps after (for Dartium) are:

1.  build Dartium
2.  cd tools/dartium
3.  run generate_patches.sh
4.  build Dartium

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

Review URL: https://codereview.chromium.org/1833373002 .
2016-03-28 08:20:13 -07:00
Alan Knight ab55f22334 Fix WebGL tex[Sub]Image2D/buffer[Sub]Data, restored Typed/Untyped aliases
BUG=

Review URL: https://codereview.chromium.org/1831033002 .
2016-03-24 10:20:11 -07:00
Zachary Anderson a87fca4d0a Remove unused gyp variable
Review URL: https://codereview.chromium.org/1825233002 .
2016-03-22 14:31:54 -07:00
Zachary Anderson 27f5c1f81c Don't compile in root certs on Android.
This works by using SSL_CTX_load_verify_locations in
SecurityContext._trustBuiltinRoots() to specify
/system/etc/security/cacerts as the certificate directory.

This saves about 240KB from a stripped ProductAndroidARM build.

This has the drawback that SSL_do_handshake will synchronously
hit the filesystem looking for root certs during its trust evaluation.
We call SSL_do_handshake directly from the Dart thread so that Dart
code can be invoked from the "bad certificate" callback called by
SSL_do_handshake. If there was no need to support this callback,
it would be easier to move the handshake to the IOService thread, and
thus remove the compiled-in certs without the need for blocking IO
on the Dart thread.

R=whesse@google.com

Review URL: https://codereview.chromium.org/1811583003 .
2016-03-22 09:30:04 -07:00
Zach Anderson 893a60df2f Bump mac_sdk to 10.8
BUG=

Review URL: https://codereview.chromium.org/1820903004 .
2016-03-21 19:47:04 -07:00
Ivan Posva b41ffe0bb2 - Switch default Mac deployment target to 10.7.
BUG=

Review URL: https://codereview.chromium.org/1819813004 .
2016-03-21 18:00:27 -07:00
Terry Lucas 14effd2813 Updated to latest WebKit change
TBR=jacobr@google.com,alanknight@google.com

Review URL: https://codereview.chromium.org/1817073002 .
2016-03-21 07:16:42 -07:00
Siva Annamalai 520ba45d16 Use the correct binary name for testing product mode.
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1808853006 .
2016-03-18 13:59:34 -07:00
Paul Berry b73e02db49 Add dev_compiler to the SDK build process.
Also update DEPS to bring the latest dev_compiler into the SDK.

This is a second attempt at
https://codereview.chromium.org/1777173003, with the following fixes:

- Added .bat files for Windows.

- Added missing dependency: create_sdk_internal depends on
  dartdevc.dart.snapshot.

- Used pkg_files.stamp to note the source code dependency for
  dartdevc, so that we don't go beyond xcodebuild's input length
  limit.

R=jmesserly@google.com

Review URL: https://codereview.chromium.org/1818543002 .
2016-03-18 13:09:11 -07:00
Alan Knight 4fe809c211 Add @creates annotation to VttCue members
BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org/1811213002 .
2016-03-18 07:35:35 -07:00
Paul Berry ceec063f27 Revert "Add dev_compiler to the SDK build process."
This broke the Mac and Windows builds, for reasons I'm still
investigating.

This reverts commit 2ddf244819.

TBR=jmesserly@google.com

Review URL: https://codereview.chromium.org/1813983003 .
2016-03-17 13:46:51 -07:00
Terry Lucas 94c8b1fd7b Update to latest WebKit change to call Dart_Initialize
TBR=asiva@google.com

Review URL: https://codereview.chromium.org/1811113002 .
2016-03-17 13:43:47 -07:00
Paul Berry 2ddf244819 Add dev_compiler to the SDK build process.
Also update DEPS to bring the latest dev_compiler into the SDK.

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

Review URL: https://codereview.chromium.org/1777173003 .
2016-03-17 11:14:35 -07:00
Terry Lucas 0739f50b96 Updated DEPS for Chromium fix
TBR=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/1811843002 .
2016-03-16 19:15:57 -07:00
Terry Lucas 96d7fbaa1b Reverted experiment for ot test
R=whesse@google.com

Review URL: https://codereview.chromium.org/1806953002 .
2016-03-16 10:09:34 -07:00
Terry Lucas cd24f61a19 Test now passes and try test for timeouts on DRTs Mac Full BOT
TBR=alanknight@google.com

Review URL: https://codereview.chromium.org/1805383002 .
2016-03-16 06:59:21 -07:00
Terry Lucas 00a0cc905d Test failure in DRT not Dartium and revert timeout multiplier
TBR=alanknight@google.com

Review URL: https://codereview.chromium.org/1805793002 .
2016-03-15 19:01:18 -07:00
Terry Lucas d46512329d Temporarily double timeout to test Mac fullbots timing out with DRT
R=jacobr@google.com, alanknight@google.com, whesse@google.com

Review URL: https://codereview.chromium.org/1802383003 .
2016-03-15 13:42:12 -07:00
Terry Lucas a3ec71e091 Updated to new Chromium fix
TBR=johnmccutchan@google.com,jacobr@google.com,alanknight@google.com

Review URL: https://codereview.chromium.org/1795333002 .
2016-03-13 16:38:41 -07:00
Terry Lucas fcced81a76 Update for 45.0.2454.104 released Chrome 45
TBR=jacobr@google.com,alanknight@google.com

Review URL: https://codereview.chromium.org/1791383002 .
2016-03-13 15:59:02 -07:00
Alan Knight 051451d7e6 Trying to fix SQLResultSetRowList's subscript operator to do type conversion
BUG=

Review URL: https://codereview.chromium.org/1779023002 .
2016-03-09 14:02:30 -08:00
William Hesse 00e6b92e20 Change bleeding-edge version to 1.16.0, merge stable and bleeding-edge changelog.
BUG=
R=kevmoo@google.com, mit@google.com

Review URL: https://codereview.chromium.org/1781703002 .
2016-03-09 19:14:31 +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
Ryan Macnak a0e3bfdd68 Qualify the precompiled shared library name with the snapshot directory instead of using LD_LIBRARY_PATH.
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/1771423002 .
2016-03-08 12:01:53 -08: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
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
Terry Lucas 5c3728b067 Fix for KeyEvent,KeyboardEvent and UIEvent changes in roll 45
TBR=jacobr@google.com,alanknight@google.com,sigmund@google.com

Review URL: https://codereview.chromium.org/1754523006 .
2016-03-07 07:51:50 -08:00
Terry Lucas a552c24089 Match version of idl_parser and WebCore so go.sh can be run from a Dart only enlistment.
Needed to pull in the tools/idl_parser code for a Dart enlistment populated during a gclient sync.

Added .gitingore to not ignore tools/idl_parse

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

Review URL: https://codereview.chromium.org/1768853002 .
2016-03-06 15:10:36 -08:00
Terry Lucas c510dc9831 Fixed typedef used globally in IDLs
TBR=alanknight@google.com

Review URL: https://codereview.chromium.org/1763063003 .
2016-03-05 07:34:51 -08:00
Alan Knight 83e2e2dbb2 Change scripts to avoid generating things that bloat the compiled code
BUG=

Review URL: https://codereview.chromium.org/1763213002 .
2016-03-04 15:08:48 -08:00
Kasper Lund 96be0c49fb Revert "Change scripts to avoid generating things that bloat the compiled code"
This reverts commit 4f3abbd5ef.
2016-03-04 10:06:07 +01:00
Alan Knight 4f3abbd5ef Change scripts to avoid generating things that bloat the compiled code
BUG=

Review URL: https://codereview.chromium.org/1759303003 .
2016-03-03 17:39:50 -08:00
Ryan Macnak 3b16570e07 Also update the test harness for unification of dart_no_snapshot into dart_bootstrap.
Cf. d61ebd4ed2

R=iposva@google.com

Review URL: https://codereview.chromium.org/1760263003 .
2016-03-03 16:47:28 -08:00
Zachary Anderson 7a2512540a Build for Android x64
This change adds standalone VM build targets for x64 Android.

Build with, e.g.:

./tools/build.py -m debug -a x64 --os=android runtime

R=iposva@google.com

Review URL: https://codereview.chromium.org/1762043002 .
2016-03-03 14:04:52 -08:00
Jacob Richman c66635cc9f Basline of dart2js w/ regen'd sdk/libs
BUG=

Review URL: https://codereview.chromium.org/1762063002 .
2016-03-03 13:42:10 -08:00
Terry Lucas 4f3b4097fd Fixed dart2js compilation problem
TBR=alanknight@google.com,jacobr@google.com

Review URL: https://codereview.chromium.org/1762763002 .
2016-03-03 11:08:24 -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
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
Terry Lucas d094857c12 Fixed createImageData and added RequestAnimationFrameCallback for compat
TBR=jacobr@google.com

Committed: b524161f8f

Review URL: https://codereview.chromium.org/1753813005 .
2016-03-02 13:23:22 -08:00
Terry Lucas e1a33e9981 Moved ChromiumSubscribeUniform to web_gl
Fixed to return null if dictionary returned form blink is null
Cleanup up logging/error reporting

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

Committed: 01f6e4ed0f

Review URL: https://codereview.chromium.org/1752983003 .
2016-03-02 08:15:45 -08:00
Terry Lucas f22c1f6e83 Revert "test of dart2js w/ regen'd sdk/libs"
This reverts commit 083280b171.

TBR=alanknight@google.com

Review URL: https://codereview.chromium.org/1747283005 .
2016-03-02 04:34:19 -08:00
Terry Lucas 083280b171 test of dart2js w/ regen'd sdk/libs
TBR=alanknight@google.com

Review URL: https://codereview.chromium.org/1756653003 .
2016-03-02 03:39:14 -08:00
Terry Lucas 6aff6fb1ba Fixed Dictionary emitted as interface and dictionary conversion with a null map
TBR=alanknight@google.com,jacobr@google.com

Committed: a61bd2f7b2

Review URL: https://codereview.chromium.org/1752153002 .
2016-03-01 15:55:13 -08:00
Ryan Macnak 6917ae7409 Address static warning in precompiler compiler configuration.
R=fschneider@google.com

Review URL: https://codereview.chromium.org/1751253002 .
2016-03-01 15:51:35 -08:00
Ryan Macnak 3fd5ffdbd4 Make tools/build.py -cprecompiler -rdart_precompiled green:
- Create a separate compilation output directory for each VMOptions varient so they can run in parallel.
- Run both the snapshotter and assembler from the test harness instead of a wrapper script so crashes in the snapshotter are correctly identified by the test harness.
- Delete the assembly source for the precompiled shared library as we go to limit space required to run the test suite (now 61GB for X64 release).
- Remove the VMOption --optimization-counter-threshold in when running precompilation tests.
- Don't look at a library prefix's import list during load(), it was removed by tree-shaking.
- Trace types of TypeParameters.
- Trace types of a Function's owner and parent.
- Update status file for remaining 4 failures under http://dartbug.com/25892.

R=fschneider@google.com

Review URL: https://codereview.chromium.org/1732323005 .
2016-03-01 15:19:11 -08:00
Terry Lucas d2e1a2ce3c client* no longer handle manipulated the properties are back to ints
TBR=alanknight@google.com,jacobr@google.com

Committed: 637ed1e3e1

Review URL: https://codereview.chromium.org/1754593004 .
2016-03-01 04:50:40 -08:00
Terry Lucas 8cb5ef741f Fix more things with webgl so it works
- dart.idl emitted currently supported operations in Chrome 45 so there were 9 duplicates.
- Support mapping a bunch of webgl types to Dart types.

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

Committed: 3a6e6cafea

Review URL: https://codereview.chromium.org/1748383002 .
2016-03-01 03:34:19 -08:00
Terry Lucas 81d0e0f94f Revert "Test sdk/lib regen for dart2js"
This reverts commit 733c996535.

TBR=alanknight@google.com

Review URL: https://codereview.chromium.org/1750283002 .
2016-02-29 23:49:58 -08:00
Terry Lucas 733c996535 Test sdk/lib regen for dart2js
TBR=alanknight@google.com

Review URL: https://codereview.chromium.org/1755523002 .
2016-02-29 23:37:21 -08:00
Ryan Macnak 239144182e Roll Dartium DEPS to "Wire String.fromEnvironment('dart.library.io') to false".
Review URL: https://codereview.chromium.org/1747783003 .
2016-02-29 10:18:07 -08:00
Terry Lucas c7c12c7756 Migrated changed for sdk/lib genernation from integration branch to master.
-  client* not properly exposed.
  -  Expose createImageDataFromImageData for backward compat
  -  Chrome now allow typedefs defined in and IDL to be used and other IDL files (even though the IDL has no include).

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

Review URL: https://codereview.chromium.org/1744093002 .
2016-02-28 11:59:20 -08:00
Terry Lucas e4b800845b Fixed more sdk/lib issues
- SpeechRecognition calling blink constructor needs name prefixed with WebKit
  - Enumerator types as arguments must be String (all enums in IDL are string values).
  - Removed methods in IDBStorage that caused overloaded operations.

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

Review URL: https://codereview.chromium.org/1744613003 .
2016-02-27 10:44:45 -08:00
Terry Lucas 6dce8ce573 Needed to handling calling static attributes/operations in blink
TBR=alanknigt@google.com,jacobr@google.com

Review URL: https://codereview.chromium.org/1738913003 .
2016-02-25 13:40:07 -08:00
Siva Annamalai 993290b599 - Include a random number in the full snapshot filename as some of the tests
which have multiple VMOption specifications in them run in parallel with the
  same snapshot filename and they clobber each other resulting in random crashes
- Delete the temporary snapshot generation directory after the test run
- Modify map_literal_oom_test.dart to run with 10mb heap limit instead of 7MB
  as the VM service isolate in the dart_no_snapshot run gets an OOM.

R=johnmccutchan@google.com, rmacnak@google.com

Review URL: https://codereview.chromium.org/1731023003 .
2016-02-25 10:25:58 -08:00
Terry Lucas 523cec0b4e Added Jacob's CL to 2454_1
TBR=jacobr@google.com,alanknight@google.com

Review URL: https://codereview.chromium.org/1733533003 .
2016-02-24 11:40:48 -08:00
Terry Lucas 574b216abc Updated to point to latest change in WebKit
TBR=jacobr@google.com,alanknight@google.com

Review URL: https://codereview.chromium.org/1731443003 .
2016-02-24 08:20:17 -08:00
Terry Lucas 2a20f47782 Add MessageEvent.data template for dart2js, remove duplicate claims on ClipboardEvent and PointerEvent
BUG=

Review URL: https://codereview.chromium.org/1725083002 .
2016-02-24 07:51:50 -08:00
Terry Lucas 0aad46c4c6 Fixed handle of multi-inheritance
TBR=jacobr@google.com,alanknight@google.com

Review URL: https://codereview.chromium.org/1727233003 .
2016-02-24 06:55:08 -08:00
William Hesse 1f76ab9410 Limit number of browsers opened by test script to 15.
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org/1726653002 .
2016-02-24 13:59:29 +01:00
Alan Knight 78b0f6f353 Replace the now missing ContextAttributes with our previously Firefox-only _TypedContextAttributes
BUG=
R=jacobr@google.com

Review URL: https://codereview.chromium.org/1727003002 .
2016-02-23 16:33:31 -08:00
Alan Knight cc142b92a4 Treat Element.clientTop/Left/etc same as scrollTop/etc., avoid duplicate members
BUG=
R=jacobr@google.com

Review URL: https://codereview.chromium.org/1726173002 .
2016-02-23 16:29:40 -08:00
Alan Knight ce744f6222 Some dart2js fixes with new IDL. RequestCallback name and web_sql import
BUG=
R=jacobr@google.com

Review URL: https://codereview.chromium.org/1729813002 .
2016-02-23 16:27:59 -08:00
Alan Knight 14b2dfd8dd Add wrap/unwrap_jso calls in native_DOMImplementation, remove unused _DOMStringMap
BUG=

Review URL: https://codereview.chromium.org/1724853002 .
2016-02-23 11:21:01 -08:00
Alan Knight e67b4c9161 Fix generator to use SerializedScriptValue for all postMessages
BUG=

Review URL: https://codereview.chromium.org/1723703002 .
2016-02-23 09:28:55 -08:00
William Hesse bb6b9bda4a Remove unused builder-tag on mac builders.
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org/1726583002 .
2016-02-23 11:18:11 +01:00
Harry Terkelsen 53072f64e7 Update Angular to e1d7bdcfe7f25156c8a462452db5367b68a02df6
R=sigmund@google.com

Review URL: https://codereview.chromium.org/1716383002 .
2016-02-22 18:41:48 -08:00
Harry Terkelsen cb96121472 Update Angular to e7470d557df0400a812d84551524970cb5f12eee
R=sigmund@google.com

Review URL: https://codereview.chromium.org/1721853003 .
2016-02-22 16:39:01 -08:00
Terry Lucas 97861e3f22 Fixed a few problems with 45 roll merge
TBR=alanknight@google.com

Review URL: https://codereview.chromium.org/1720823003 .
2016-02-22 12:02:43 -08:00
Terry Lucas a3350d9b06 Generation of sdk/lib files from 45 roll
TBR=alanknight@google.com,jacobr@google.com

Review URL: https://codereview.chromium.org/1720743005 .
2016-02-22 10:59:12 -08:00
Konstantin Shcheglov 427f760c91 Build lib/_internal/analysis_summary during SDK build.
We cannot commit this CL right now, because we will attempt to use
these summaries by default, and they are incomplete yet. But I wanted
to see how to add something to the build process, and we might do
changes to make using SDK summaries optional initiallyand then commit
this CL.

R=paulberry@google.com, whesse@google.com
BUG=

Review URL: https://codereview.chromium.org/1588093005 .
2016-02-19 19:06:22 -08:00
Rico Wind 2b8c5d2450 Print git number when running tools/utils.py
R=whesse@google.com
BUG=

Review URL: https://codereview.chromium.org/1708993002 .
2016-02-18 11:15:18 +01:00
Rico Wind d8fa5d5b31 Archive unstripped dart binaries on the sdk builders
R=whesse@google.com
BUG=

Review URL: https://codereview.chromium.org/1704323002 .
2016-02-18 08:48:13 +01:00
William Hesse 79a5fab9c4 Switch dartium's blink checkout to git.
BUG=
R=terry@google.com

Review URL: https://codereview.chromium.org/1702693002 .
2016-02-16 22:52:49 +01:00
Jacob Richman e5a087916c DEPS AutoUpdate: webkit to 202778 (2016-02-16 07:13:58 -0800) terry@google.com
Fix compilation error Dart_Initialize has a new parameter
https://src.chromium.org/viewvc/blink?view=rev&revision=202778
2016-02-16 07:19:28 -08:00
William Hesse eafdd42501 Revert the debugging changes that added vm abort flag and core dumps.
Revert "Add '--abort-on-assertion-errors' to test runner's dart2js commands."
This reverts commit a8e54625da.

Revert "Add abort-on-assertion flag to dart2js unit test runner."
This reverts commit b42443bd26.

Revert "Enable coredumps for dart2js unit tests on buildbot."
This reverts commit 5c8b76734c.

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

Review URL: https://codereview.chromium.org/1699043003 .
2016-02-16 15:36:24 +01:00
William Hesse 2408221e58 Fix broken reference to Platform in test scripts.
BUG=

Review URL: https://codereview.chromium.org/1700803003 .
2016-02-15 17:53:10 +01:00
William Hesse 2573093c50 Switch to downloaded SDK executable, drop executables in testing/bin.
BUG=https://github.com/dart-lang/sdk/issues/24311
R=ricow@google.com

Review URL: https://codereview.chromium.org/1697203002 .
2016-02-15 17:10:59 +01:00
William Hesse 9ed0e9c97f Update downloaded SDKs to version 1.14.2. Add arm64 dart binary.
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org/1700823002 .
2016-02-15 16:36:01 +01:00
Florian Schneider 1f7458ddf8 VM: Precompiled rodata snapshot.
For now only contains PC descriptors and stack maps and one-byte strings.

BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1584443002 .
2016-02-15 09:15:26 +01:00
John McCutchan 7b7f2b05c6 Add dart_product binary
- Add dart_product binary that doesn't include the service isolate, Observatory, or the snapshot. It can only be used for running full snapshots.
- Use this binary when running tests.

R=asiva@google.com

Review URL: https://codereview.chromium.org/1690303002 .
2016-02-12 11:04:56 -08:00
Siva Annamalai 5a04f81e77 Fix the test script for dart_product runtime
- Treat compilation errors as regular return code instead of as a crash
 - Account for VMOptions specified in the test cases.

R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/1694623002 .
2016-02-12 10:28:04 -08:00
Jacob Richman 4d10bcdff1 DEPS AutoUpdate: webkit to 202777 (2016-02-12 09:15:49 -0800) terry@google.com
V8 exception lost
https://src.chromium.org/viewvc/blink?view=rev&revision=202777
2016-02-12 09:20:23 -08:00
Alan Knight f2fd68c362 Fix MessageEvent.data to convert using structured clone.
BUG=

Review URL: https://codereview.chromium.org/1683403005 .
2016-02-11 13:05:53 -08:00
Jacob Richman 47f322ec68 DEPS AutoUpdate: webkit to 202776 (2016-02-11 06:31:23 -0800) terry@google.com
Need to expose data on ImageData
https://src.chromium.org/viewvc/blink?view=rev&revision=202776
2016-02-11 06:38:46 -08:00
William Hesse 5c8b76734c Enable coredumps for dart2js unit tests on buildbot.
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org/1685743004 .
2016-02-11 14:44:15 +01:00
Jacob Richman c0ddc73fce Switch broken console inspect method to call the _inspect method of the JS inspector host object.
BUG=

Review URL: https://codereview.chromium.org/1689033003 .
2016-02-10 18:49:25 -08:00
Alan Knight 5ae622a5cf Update DEPS
BUG=

Review URL: https://codereview.chromium.org/1687853003 .
2016-02-10 14:39:31 -08:00
William Hesse b42443bd26 Add abort-on-assertion flag to dart2js unit test runner.
BUG=
R=vegorov@google.com

Review URL: https://codereview.chromium.org/1682343003 .
2016-02-10 13:42:00 +01:00
Alan Knight cca5bee27e Update DEPS
BUG=

Review URL: https://codereview.chromium.org/1680393002 .
2016-02-09 15:19:45 -08:00
John McCutchan 7fc337d6f7 Silence observatory tool again
BUG=
R=zra@google.com

Review URL: https://codereview.chromium.org/1683903002 .
2016-02-09 14:17:00 -08:00
pq 6f29b0ae2d Exclude packages from analyzer source in build.
BUG=
R=kmillikin@google.com

Review URL: https://codereview.chromium.org/1685763002 .
2016-02-09 13:35:25 -08:00
John McCutchan 516e814cd8 Add dart2snapshot compiler and dart_snapshotted runtime to test scripts
Command to run tests:

$ ./tools/test.py -c dart2snapshot -r dart_snapshotted

Each tests will be run twice. After the first run a snapshot will be written to disk and then the test will be run again from the snapshot.

R=asiva@google.com

Review URL: https://codereview.chromium.org/1687493002 .
2016-02-09 12:19:22 -08:00
Jacob Richman f478562b0a Dartium 45 roll
R=alanknight@google.com

Review URL: https://codereview.chromium.org/1682783002 .
2016-02-09 10:50:43 -08:00
Ryan Macnak 33752c55fc Update tools/build.py --mode=all to include product.
(Product mode added in 9c0c6cb5c2212fd53a1f57dee6c968410c61fcd2.)

R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/1679873002 .
2016-02-08 10:48:03 -08:00
Sigmund Cherem c3e61f315c cpsir: triage remainder of html test suite, fix a couple.
R=asgerf@google.com, het@google.com

Review URL: https://codereview.chromium.org/1679603002 .
2016-02-08 10:37:52 -08:00
William Hesse a8e54625da Add '--abort-on-assertion-errors' to test runner's dart2js commands.
BUG=https://github.com/dart-lang/sdk/issues/25645
R=kustermann@google.com

Review URL: https://codereview.chromium.org/1671013002 .
2016-02-08 17:26:57 +01:00
John McCutchan 524eae6c34 Use the absolute path when creating a stamp file
BUG=

Review URL: https://codereview.chromium.org/1671673002 .
2016-02-04 15:36:14 -08:00
John McCutchan 3bf51e0138 Fix unnecessary Observatory rebuilds in Flutter
The cause of the rebuilds was that in v 1.14, running `pub build` modifies pubspec.lock file (v 1.13 and below did not do this, bug filed #25688) resulting in unnecessary rebuilds.

- Remove two output build rules because they cause issues with Make.
- Write our own stamp file and use that instead of pubspec.lock.

R=zra@google.com

Review URL: https://codereview.chromium.org/1664403002 .
2016-02-04 13:23:50 -08:00
Ivan Posva f28d46161b Fix ARM cross build:
- Don't try to pass '-mno-omit-leaf-frame-pointer' to the C++
  compiler on any platform for now.

BUG=

Review URL: https://codereview.chromium.org/1666063002 .
2016-02-03 21:38:49 -08:00
Ivan Posva 9c0c6cb5c2 Add product mode:
- Add PRODUCT define and build mode to gyp configurations.
- Add product mode to test harness.
- Start to unify list of flags.
- Allow flags to be constant for particular build configurations.

R=fschneider@google.com

Review URL: https://codereview.chromium.org/1663863002 .
2016-02-03 21:10:30 -08:00
pq 68f077c47b SDK gets analyzer sources.
With this change, analyzer and server sources will appear in `sdk/lib`.

Having the sources in the SDK is a prerequisite to consuming them in a spawned Isolate (needed for dynamic analyzer plugin loading).

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

Review URL: https://codereview.chromium.org/1601373002 .
2016-02-03 09:37:24 -08:00
Florian Schneider 0f48690061 VM: Replace dart --noopt with new binary target dart_noopt.
This allows us to exclude precompiler related code from the standalone
JIT VM, and only have the precompiler included in dart_noopt and dart_no_snapshot
(which is used to generate precompiled snapshots)

BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1661703002 .
2016-02-02 17:51:15 -08:00
Ivan Posva 4f392df85e Fix some more shorten-64-to-32 warnings:
- Remove duplicate check for javascript integer overflow.
- Make sure the BitField class knows the type it is
  encoding into.

BUG=
R=asiva@google.com

Review URL: https://codereview.chromium.org/1644223006 .
2016-02-02 13:58:06 -08:00
Keerti Parthasarathy 0e681885a9 on gcs, move docs for be to builds dir, and dev & stable to dev/stable
BUG=
R=whesse@google.com

Review URL: https://codereview.chromium.org/1647293002 .
2016-02-01 08:25:29 -08:00
William Hesse 2631227d29 Dummy commit, to run a new build on all buildbot bots.
BUG=
R=mit@google.com

Review URL: https://codereview.chromium.org/1652053002 .
2016-02-01 16:04:48 +01:00
William Hesse 6fcd5f63b4 Change version of master (bleeding-edge channel) to 1.15.
BUG=

Review URL: https://codereview.chromium.org/1641283002 .
2016-01-28 19:48:53 +01:00
Jacob Richman 16239b2098 DEPS AutoUpdate: webkit to 202760 (2016-01-27 13:52:56 -0800) jacobr@google.com
Support enabling checked mode either by adding a checked attribute to the dart script tag or the <html> element. Cannot handle reloading a page and having the mode switch between checked and unchecked mode but displays an alert and logged a message telling the user what went wrong.
https://src.chromium.org/viewvc/blink?view=rev&revision=202760
2016-01-27 13:57:29 -08:00
Jacob Richman e837dcedc5 DEPS AutoUpdate: webkit to 202756 (2016-01-25 12:53:41 -0800) jacobr@google.com
Fix test incorrect test expectation files.
https://src.chromium.org/viewvc/blink?view=rev&revision=202756
2016-01-25 12:56:10 -08:00
Zachary Anderson 80f358dede Adds targets for simarmv6 and armv6
related #25562

R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1624593002 .
2016-01-22 13:07:48 -08:00
Florian Schneider f47839ba09 Rename DART_PRECOMPILED -> DART_PRECOMPILED_RUNTIME
To avoid future confusion with precompiler compiler-related macros/build targets

BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1581393008 .
2016-01-19 13:59:49 -08:00
Jacob Richman 20e85cf892 DEPS AutoUpdate: webkit to 202754 (2016-01-19 11:31:31 -0800) jacobr@google.com
Re-baseline line numbers in a couple more test expectation files.
https://src.chromium.org/viewvc/blink?view=rev&revision=202754
2016-01-19 11:38:19 -08:00
Jacob Richman 1aa2ff52d2 DEPS AutoUpdate: webkit to 202753 (2016-01-15 16:05:47 -0800) jacobr@google.com
Strip hardcoded line #s where appropriate.
https://src.chromium.org/viewvc/blink?view=rev&revision=202753
2016-01-15 16:13:25 -08:00
Jacob Richman cbe431cb45 DEPS AutoUpdate: webkit to 202752 (2016-01-15 15:47:54 -0800) jacobr@google.com
Rebaseline test expectations for dartium tests to reflect dart:html refactor.
https://src.chromium.org/viewvc/blink?view=rev&revision=202752
2016-01-15 15:53:09 -08:00
Jacob Richman cf0d19a913 DEPS AutoUpdate: webkit to 202751 (2016-01-15 10:41:20 -0800) jacobr@google.com
Increase the size of the hard coded patch files now that dart:html and dart:js have been refactored.
https://src.chromium.org/viewvc/blink?view=rev&revision=202751
2016-01-15 10:49:02 -08:00
Jacob Richman cf7ae2e0cb Support JS$ prefix for dart and fix bug where _operator_getter and the [] operator were used inconsistently. Would only impact future use cases where js APIs returned types not auto-proxied with dart:html.
Support typed JS interop classes that extend the behavior of  dart:html types in Dartium.

This theoretically enables supporting package:dom at the same time as dart:html as well as helping with
JavaScript libraries that monkey patch the dom.

Also support JS$ name prefix to resolve name conflicts with dart reserved words and with
dart:html libraries.
Cleanup addEventListener and friends so they are consistent with typed JS Interop and fix
bugs in the unlikely case where multiple functions have the same identity hash.
Add checks to make it easier to catch when allowInterop is accidentally omitted
when using the new typed JavaScript interop. You will now get an exception
any time you pass a Function to JS via the new typed interop without first
calling allowInterop.

BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org/1583773003 .
2016-01-15 10:40:32 -08:00
Alan Knight 87c1bb4b39 Add autofocus to the Html5NodeValidator list of standard attributes for <input>
BUG=

Review URL: https://codereview.chromium.org/1588773002 .
2016-01-13 17:19:00 -08:00
William Hesse cd21da1d98 Disable taskkill failure when killing dart processes on windows.
There is an outstanding issue with pub hanging and being unkillable on
windows.  Make the taskkill step pass on windows, even if there are
dart processes, until we fix this issue.

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

Review URL: https://codereview.chromium.org/1582773002 .
2016-01-13 11:17:18 +01:00
Jacob Richman 7c80c30848 DEPS AutoUpdate: webkit to 202748 (2016-01-12 18:20:36 -0800) rmacnak@google.com
Adjust to changed isolate creation callback signature.
https://src.chromium.org/viewvc/blink?view=rev&revision=202748
2016-01-12 18:26:23 -08:00
Alan Knight 7f80dbbbe1 Revert "Mark supportsPointConversions deprecated and always true rather than testing DOMPoint"
This reverts commit 2dfdfe554e.

BUG=

Review URL: https://codereview.chromium.org/1583673002 .
2016-01-12 16:24:12 -08:00
Alan Knight 2dfdfe554e Mark supportsPointConversions deprecated and always true rather than testing DOMPoint
BUG=

Review URL: https://codereview.chromium.org/1580203002 .
2016-01-12 13:52:38 -08:00
Alan Knight a5ba7a7db6 Add an Unstable comment/annotation on caretRangeFromPoint
BUG=

Review URL: https://codereview.chromium.org/1578103003 .
2016-01-12 11:12:47 -08:00
Alan Knight 914bf02cde Switch to using HashChangeEvent constructor instead of initHashChangeEvent
BUG=

Review URL: https://codereview.chromium.org/1582443003 .
2016-01-12 09:42:06 -08:00
Jacob Richman 7761675eec Update update_deps.py to use https as it is now required.
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org/1577173002 .
2016-01-11 16:15:28 -08:00
Jacob Richman 47f03b7bf8 DEPS AutoUpdate: webkit to 202732 (2015-12-16 12:47:24 -0800) johnmccutchan@chromium.org
Support compressed observatory assets
https://src.chromium.org/viewvc/blink?view=rev&revision=202732
2016-01-11 15:39:30 -08:00