dart-sdk/tests/lib
Sigmund Cherem e0112afc70 [web] delete notification_permission_test.
This test provides very little value. It requests the notification
permissions and waits for an answer. What's happening is that the test
launches a prompt and then waiting for a user to click on the browser
dialog to accept or reject the request.

On the bots, this is consistently timing out in chrome and safari.
Turns out this issue was [identified][1] 5 years ago and the test was marked
as Timeout in the status files for that reason (dart2js) or skipped
(DDC). Back then there were discussions
about whether we could make chrome automatically accept or reject the
request, but there was no traction on that.

If we thought this test was providing value, we could explore whether
there is a way to make bots automatically accept/reject the prompt by
saving some preferences on the test machines. That said, I'm honestly
not seeing much value here. For that reason, I'm inclined to delete the
test instead.

Other reasons to delete mentioned in the review:
* this API may require a secure context, but our test runner doesn't default to use https yet
* this API requires a [user gesture in FF][2]

[1]: https://github.com/dart-lang/sdk/issues/32002
[2]: https://developer.mozilla.org/en-US/docs/Web/API/Notification/requestPermission_static

Change-Id: Ib8d372b2ebfb5859a0a9bc82d50a14ad8badeab1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/332320
Reviewed-by: Srujan Gaddam <srujzs@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2023-10-27 02:02:29 +00:00
..
analyzer Set up new test suites for migrating the tests to NNBD. 2019-11-19 00:18:43 +00:00
async [tests] update periodic_timer tests to reduce flakiness. 2023-10-26 00:56:43 +00:00
collection [flip-modifiers]: prep more tests for the class modifiers flag flip 2023-03-06 20:52:03 +00:00
convert [dart2wasm] Fix string array copy in UTF8 decoder 2023-10-24 12:02:48 +00:00
developer [ dart:developer ] Remove Metrics related classes 2023-03-10 16:50:10 +00:00
fix_data_tests Remove deprecated APIs from dart:developer 2022-07-19 07:10:03 +00:00
html [web] delete notification_permission_test. 2023-10-27 02:02:29 +00:00
isolate [vm/ffi] Weak RawReceivePorts and NativeCallables 2023-08-14 02:30:11 +00:00
js [dart:js_interop] Add/fix some js_interop helpers 2023-09-23 18:32:59 +00:00
js_interop_unsafe [dart:js_interop] Add/fix some js_interop helpers 2023-09-23 18:32:59 +00:00
math Spelling tests 2023-01-19 16:24:29 +00:00
mirrors [gardening] Remove lib{,_2}/mirrors/typedef_test 2023-10-24 12:17:03 +00:00
typed_data Reapply "[typed_data] Deprecate UnmodifiableUint8ListView and friends" 2023-10-23 18:14:33 +00:00
web [web] remove mirrors patch for web compilers. 2020-07-16 00:12:22 +00:00
lib.status [dart2js] Disable Timeline is performance.measure is absent 2023-10-17 20:23:43 +00:00
lib_analyzer.status Set up new test suites for migrating the tests to NNBD. 2019-11-19 00:18:43 +00:00
lib_app_jit.status Set up new test suites for migrating the tests to NNBD. 2019-11-19 00:18:43 +00:00
lib_dart2js.status [dart2wasm] Rename the dart:wasm library to dart:_wasm. 2023-04-04 11:52:18 +00:00
lib_dartdevc.status [web] delete notification_permission_test. 2023-10-27 02:02:29 +00:00
lib_kernel.status [gardening] Mark all tests as slow in debug-ia32 mode 2022-07-21 10:22:45 +00:00
lib_precompiled.status [testing] Remove --compiler=none from test.py 2022-10-19 08:09:58 +00:00
lib_vm.status [test] Remove ARM64-specific status entries. 2023-10-09 19:30:29 +00:00