dart-sdk/tools
Srujan Gaddam a356f71b71 [dart:html] Throw exception if Window.open opens null window
Window.open silently allows a null window to be opened, and
issues arise later when users try to use the non-null wrapper.
This CL changes that to throw an exception if the window is null.
This exception can be caught and recovered from. This avoids the
larger breaking change of making this API nullable.

CoreLibraryReviewExempt: Backend-specific library.
Change-Id: I9a53a477cb370c3bc6bc26b2162ce66c5af166aa
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/306910
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Srujan Gaddam <srujzs@google.com>
2023-06-12 18:29:56 +00:00
..
bots Delete old debianpackage-linux builder. 2023-06-06 14:26:45 +00:00
buildtools Spelling tools 2022-12-21 17:26:48 +00:00
dart2js Change : to = in tools/ and DOM templates. 2022-08-24 14:21:01 +00:00
dom [dart:html] Throw exception if Window.open opens null window 2023-06-12 18:29:56 +00:00
fuchsia
linux_dist_support Delete old debianpackage-linux builder. 2023-06-06 14:26:45 +00:00
package_deps [pkg][vm] Native Assets builder 2023-05-15 13:49:30 +00:00
patches Spelling tools 2023-01-09 15:48:57 +00:00
sdks Checked in SDKs are now automatically uploaded. 2023-04-21 13:57:15 +00:00
spec_parser Add suport for inline classes in Dart.g 2023-05-22 14:09:48 +00:00
test_generators Change "dartfmt" -> "dart format" in test generator. 2021-10-04 17:11:27 +00:00
testing
verify_docs Mark deprecated Hints with Warning aliases as deprecated 2023-04-13 20:07:36 +00:00
.gitignore
3xhead_flutter_hooks.sh
addlatexhash.dart [deps] rev package:file 2022-05-10 00:08:42 +00:00
analysis_options.yaml [repo] improve the analysis of the tools/ directory 2022-02-17 19:09:52 +00:00
build.py [infra] Workaround Python binary pecularities on Mac OS X 2023-05-31 08:51:22 +00:00
canary.dart
copy_dart.py
copy_tree.py Spelling tools 2023-01-09 15:48:57 +00:00
create_pkg_manifest.py
diff_results.dart Spelling tools 2023-01-09 15:48:57 +00:00
download_chromium_sysroot.sh
experimental_features.yaml [vm/ffi] dartdev CLI native-assets 2023-05-30 09:10:28 +00:00
FAKE_COMMITS [flip-modifiers]: flip the flags for sealed classes and class modifiers 2023-03-10 05:27:57 +00:00
find_depot_tools.py
gen_fuchsia_test_manifest.py
generate_buildfiles.py
generate_experimental_flags.dart [tools] migrate the rest of tools/ to null safety 2022-06-24 16:38:39 +00:00
generate_idefiles.py [build] Switch builds to the ninja in DEPS 2022-09-27 11:24:03 +00:00
generate_package_config.dart [_fe_analyzer_shared][cfe][analyzer] Initial implementation of exhaustiveness checking 2023-01-24 13:34:46 +00:00
generate_package_config.py [infra] re-land work to auto-generate .dart_tool/package_config.json 2022-04-12 17:21:02 +00:00
generate_sdk_version_file.py [sdk] Generate a version file for the unpatched SDK 2022-05-05 10:36:05 +00:00
generate_shim_headers.py add tools for generating shim headers 2023-04-19 01:37:48 +00:00
get_dot_git_folder.py
git_cl_try.sh [vm] Update bot list in tools/git_cl_try.sh 2022-04-22 15:35:20 +00:00
gn.py [infra] Setup Windows ARM64. 2023-06-02 18:18:09 +00:00
gn_helpers.py
line_doc_comments.dart Fix typos 2022-06-15 11:08:28 +00:00
list_dart_files.py
list_dart_files_as_depfile.py
make_version.py [infra] Create a GIT_TIMESTAMP file for tarball 2023-02-06 09:15:01 +00:00
manage_deps.dart [deps] update the rev script to handle 'main' branches 2023-02-06 18:04:11 +00:00
minidump.py
opt_out_files.dart [repo] improve the analysis of the tools/ directory 2022-02-17 19:09:52 +00:00
OWNERS Add myself and Ben to owners of package:dap 2023-05-15 19:12:16 +00:00
OWNERS_ANALYZER [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
OWNERS_BUILD [infra] Give VM engineers OWNERS over tools/gn.py et al. 2022-04-25 17:47:23 +00:00
OWNERS_CFE [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
OWNERS_DEVTOOLS Add myself and Ben to owners of package:dap 2023-05-15 19:12:16 +00:00
OWNERS_ECOSYSTEM [owners] add mosum@ to the OWNERS_ECOSYSTEM file 2022-09-16 17:51:55 +00:00
OWNERS_ENG add a tools/OWNERS_GOOGLE3 owners file 2022-04-19 21:31:07 +00:00
OWNERS_FOUNDATION [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
OWNERS_GOOGLE3 add a tools/OWNERS_GOOGLE3 owners file 2022-04-19 21:31:07 +00:00
OWNERS_INFRA [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
OWNERS_PRODUCT [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
OWNERS_PUB Add OWNERS_PUB 2022-03-07 13:33:42 +00:00
OWNERS_VM [OWNERS] Fix VM owners file entries. 2022-11-11 20:25:03 +00:00
OWNERS_WASM [wasm] Add Omer to tools/OWNERS_WASM 2023-05-22 11:12:02 +00:00
OWNERS_WEB [owners] Add Nate to OWNERS_WEB 2022-06-09 16:47:43 +00:00
presubmit.sh
publish_pkg.py
rev_sdk_deps.dart [deps] rev dartdoc, http, lints, logging, tools, webdev 2023-05-30 21:49:31 +00:00
run_offsets_extractor.sh [vm] Support RISC-V. 2022-01-20 00:57:57 +00:00
run_with_coredumps_enabled.py [gardening] Add coredump archiving support to iso-stress builder. 2021-10-04 08:49:28 +00:00
set_ia32_sysroot.sh
set_x64_sysroot.sh
spec_parse.py
task_kill.py
test.dart [tools] migrate the rest of tools/ to null safety 2022-06-24 16:38:39 +00:00
test.py
utils.py [infra] Setup Windows ARM64. 2023-06-02 18:18:09 +00:00
validate_test_matrix.dart Migrate several files in tools/. 2022-06-10 16:31:04 +00:00
VERSION [Release] Bump minor version of main to version 3.1. 2023-04-12 16:36:20 +00:00
write_dartdoc_options_file.py
write_revision_file.py
write_version_file.py
yaml2json.dart [repo] improve the analysis of the tools/ directory 2022-02-17 19:09:52 +00:00