commit | bd3e6fa1a3a502bee7ecf404a24580f3aa44c9f4 | [log] [tgz] |
---|---|---|
author | Srujan Gaddam <srujzs@google.com> | Wed Jun 28 23:21:32 2023 +0000 |
committer | Commit Queue <dart-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 28 23:21:32 2023 +0000 |
tree | e08220e72a41921b2f6b7ccb90d5b13e197382ea | |
parent | 2b250992f940288695511f10cc27531193de75c0 [diff] |
Revert "[dart:html] Throw exception if Window.open opens null window" This reverts commit a356f71b71bc29c9ab69759609afa2e72a6563e4. 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>
Dart is:
Optimized for UI: Develop with a programming language specialized around the needs of user interface creation.
Productive: Make changes iteratively: use hot reload to see the result instantly in your running app.
Fast on all platforms: Compile to ARM & x64 machine code for mobile, desktop, and backend. Or compile to JavaScript for the web.
Dart's flexible compiler technology lets you run Dart code in different ways, depending on your target platform and goals:
Dart Native: For programs targeting devices (mobile, desktop, server, and more), Dart Native includes both a Dart VM with JIT (just-in-time) compilation and an AOT (ahead-of-time) compiler for producing machine code.
Dart Web: For programs targeting the web, Dart Web includes both a development time compiler (dartdevc) and a production time compiler (dart2js).
Dart is free and open source.
See LICENSE and PATENT_GRANT.
Visit dart.dev to learn more about the language, tools, and to find codelabs.
Browse pub.dev for more packages and libraries contributed by the community and the Dart team.
Our API reference documentation is published at api.dart.dev, based on the stable release. (We also publish docs from our beta and dev channels, as well as from the primary development branch).
If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.
There are more documents on our wiki.
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.