Commit Graph

6 Commits

Author SHA1 Message Date
Vijay Menon 36b7d07f6e use old function syntax on null_test
Change-Id: I29a401b875285cf709b1f69629dc0ac4420c3341
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/132120
Auto-Submit: Vijay Menon <vsm@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Vijay Menon <vsm@google.com>
2020-01-17 01:49:35 +00:00
Vijay Menon 17f80f0d1f [nnbd] port dart:js to nnbd
This tests static analysis on the ddc patch, but not the dart2js one yet.

It also fixes js/null_test.dart to ensure it passes.  Note, that test was broken independent of NNBD.

Change-Id: I5a6bfdfaac845eaba6f154d30f2c1e30199574d0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/131300
Commit-Queue: Vijay Menon <vsm@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2020-01-16 19:26:18 +00:00
Robert Nystrom 352b41f289 Migrate lib_2/js to NNBD.
Change-Id: I5832ab61eabbbbc03e0620be2f831b85663a7ac9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/128340
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
2019-12-17 20:28:14 +00:00
Bob Nystrom f6ca2c1d8f Remove the Dart 1 tests.
This deletes:

tests/co19
tests/corelib
tests/html
tests/isolate
tests/language
tests/lib

It does not delete tests/standalone because apparently there are tests
in there that are not in standalone_2. (I assume they were added after
the test migration. I don't know why they were added there.)

I have tried to remove references to the old tests from various scripts
and tools but may have missed some. (As you can imagine, grepping for
"lib" does not have the best signal-to-noise ratio.)

"It was a pleasure to burn. It was a special pleasure to see things
eaten, to see things blackened and changed. With the brass nozzle in his
fists, with this great python spitting its venomous kerosene upon the
world, the blood pounded in his head, and his hands were the hands of
some amazing conductor playing all the symphonies of blazing and burning
to bring down the tatters and charcoal ruins of history."

- Ray Bradbury, Fahrenheit 451

Change-Id: If3db4a50e7a5ee25aff8058b1483e2ce8e68424e
Reviewed-on: https://dart-review.googlesource.com/c/75420
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Reviewed-by: Terry Lucas <terry@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2018-10-11 23:45:18 +00:00
sigmund@google.com 43b31f88a8 Fix js/null_test to run also in CSP mode
R=sra@google.com

Review URL: https://codereview.chromium.org//439513002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38909 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-05 21:46:43 +00:00
sigmund@google.com 16f720a4cc Fix inconsistency with null vs undefined in dart:js
BUG=https://code.google.com/p/dart/issues/detail?id=20305
R=sra@google.com

Review URL: https://codereview.chromium.org//437733002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38814 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-01 00:41:03 +00:00