dart-sdk/tools/dom/templates
Srujan Gaddam b859e00908 Reland "[dart:html] Throw exception if Window.open opens null window" and
"[dart:html] Move NullWindowException to implementation"

This is a revert of bd3e6fa1a3 and
2b250992f9.

This adds some small code change to avoid a null-assertion being emitted
that would lead to a browser SecurityError.

CoreLibraryReviewExempt: Reland.
Change-Id: Iab52bb728b14fd0b2378b8923b0e1ea8ea930b12
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/311922
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Srujan Gaddam <srujzs@google.com>
2023-07-06 15:50:48 +00:00
..
html Reland "[dart:html] Throw exception if Window.open opens null window" and 2023-07-06 15:50:48 +00:00
callback.darttemplate Renaming dart:html library from 'html' to 'dart.html' 2013-01-31 17:25:55 +00:00
dart2js_impl.darttemplate Removed DomName, DosEditable, and experimental annoations they are unused. 2018-06-18 18:48:03 +00:00
dart2js_maplike_impl.darttemplate Add null-safety to html_common 2020-02-10 19:14:34 +00:00
dart2js_static_extension_impl.darttemplate Added js_util import to html_dart2js 2021-08-13 23:13:31 +00:00