dart-sdk/tools/dom
Srujan Gaddam bd3e6fa1a3 Revert "[dart:html] Throw exception if Window.open opens null window"
This reverts commit a356f71b71.

Reason for revert: This should be handled by throwing an exception when
the methods of the returned window are called, not when it is opened.
This would be a noisy breaking change that we don't want for 3.1. For
now, revert until the change that affects the individual methods is
landed.

Original change's description:
> [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>

CoreLibraryReviewExempt: Revert in backend-specific library.
Change-Id: I5007b7d7aa608bfc8e5827b5f967af5573d0b758
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/309000
Commit-Queue: Srujan Gaddam <srujzs@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2023-06-28 23:21:32 +00:00
..
idl/dart [dart:html] Add SharedArrayBuffer constructor and slice 2022-08-03 01:04:25 +00:00
new_scripts [dart:html] Migrate python scripts to python 3 2021-09-08 22:10:53 +00:00
scripts Remove code which no longer compiles. 2023-04-03 23:40:05 +00:00
src Revert "[dart:html] Throw exception if Window.open opens null window" 2023-06-28 23:21:32 +00:00
templates Revert "[dart:html] Throw exception if Window.open opens null window" 2023-06-28 23:21:32 +00:00
.gitignore
docs.json Remove superfluous words. 2023-01-30 15:58:38 +00:00
dom.json [3.0 alpha] Remove dart:html's deprecated document.registerElement & registerElement2 APIs 2022-12-09 16:02:02 +00:00
dom.py Remove dartanalyzer from built SDK. 2022-07-01 17:43:20 +00:00
OWNERS Make tools/dom owned by OWNERS_WEB 2022-03-15 19:54:13 +00:00
web_library_bindings.dart Revert "[dart:html] Throw exception if Window.open opens null window" 2023-06-28 23:21:32 +00:00