Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default silent to platform convention #194

Merged
merged 3 commits into from
May 19, 2023
Merged

Conversation

marcoscaceres
Copy link
Member

@marcoscaceres marcoscaceres commented May 10, 2023

notifications.bs Outdated Show resolved Hide resolved
notifications.bs Outdated Show resolved Hide resolved
@annevk annevk added needs tests Moving the issue forward requires someone to write tests do not merge yet Pull request must not be merged per rationale in comment needs implementer interest Moving the issue forward requires implementers to express interest labels May 16, 2023
@rayankans
Copy link

Thanks for the proposal Marcos, agreed that the default should be platform specific, and is an overall improvement. The change looks good to me, and happy to apply the changes from the chromium side of things.

@marcoscaceres
Copy link
Member Author

Small set of tests are coming as part of WebKit/WebKit#13912

(reviewed upstream)

I’ll send them to WPT hopefully tomorrow.

@marcoscaceres
Copy link
Member Author

Implementer bugs filed.

@annevk annevk added addition/proposal New features or enhancements and removed needs tests Moving the issue forward requires someone to write tests do not merge yet Pull request must not be merged per rationale in comment needs implementer interest Moving the issue forward requires implementers to express interest labels May 19, 2023
@annevk annevk merged commit 3f9fdde into whatwg:main May 19, 2023
@marcoscaceres marcoscaceres deleted the silent_null branch May 19, 2023 18:07
webkit-commit-queue pushed a commit to marcoscaceres/WebKit that referenced this pull request May 23, 2023
https://bugs.webkit.org/show_bug.cgi?id=256828
rdar://109390045

Reviewed by Brady Eidson.

Makes the silent member on the NotificationOption dictionary default to null.
This is then reflected by the silent attribute of the Notification interface.

Spec change:
whatwg/notifications#194

* LayoutTests/imported/w3c/web-platform-tests/interfaces/notifications.idl:
* LayoutTests/imported/w3c/web-platform-tests/notifications/constructor-basic.https-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/notifications/constructor-basic.https.html:
* Source/WebCore/Modules/notifications/Notification.h:
* Source/WebCore/Modules/notifications/Notification.idl:
* Source/WebCore/Modules/notifications/NotificationOptions.idl:

Canonical link: https://commits.webkit.org/264397@main
@marcoscaceres
Copy link
Member Author

Tests sent at web-platform-tests/wpt#40160 (reviewed upstream)

annevk pushed a commit to web-platform-tests/wpt that referenced this pull request May 23, 2023
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Jun 10, 2023
… to null, a=testonly

Automatic update from web-platform-tests
Notifications: test that silent defaults to null

For whatwg/notifications#194.
--

wpt-commits: ac2c4415f6ea3f0d08a2d19f0e104ce447054db1
wpt-pr: 40160
ErichDonGubler pushed a commit to erichdongubler-mozilla/firefox that referenced this pull request Jun 12, 2023
… to null, a=testonly

Automatic update from web-platform-tests
Notifications: test that silent defaults to null

For whatwg/notifications#194.
--

wpt-commits: ac2c4415f6ea3f0d08a2d19f0e104ce447054db1
wpt-pr: 40160
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Jun 16, 2023
… to null, a=testonly

Automatic update from web-platform-tests
Notifications: test that silent defaults to null

For whatwg/notifications#194.
--

wpt-commits: ac2c4415f6ea3f0d08a2d19f0e104ce447054db1
wpt-pr: 40160

UltraBlame original commit: e3ed9dae6c2e719eb3ca042485d5493caac92613
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Jun 16, 2023
… to null, a=testonly

Automatic update from web-platform-tests
Notifications: test that silent defaults to null

For whatwg/notifications#194.
--

wpt-commits: ac2c4415f6ea3f0d08a2d19f0e104ce447054db1
wpt-pr: 40160

UltraBlame original commit: e3ed9dae6c2e719eb3ca042485d5493caac92613
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Jun 16, 2023
… to null, a=testonly

Automatic update from web-platform-tests
Notifications: test that silent defaults to null

For whatwg/notifications#194.
--

wpt-commits: ac2c4415f6ea3f0d08a2d19f0e104ce447054db1
wpt-pr: 40160

UltraBlame original commit: e3ed9dae6c2e719eb3ca042485d5493caac92613
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition/proposal New features or enhancements
Development

Successfully merging this pull request may close these issues.

Defaulting silent to false could conflict with OS defaults
4 participants