Commit 827116aa authored by mvanouwerkerk's avatar mvanouwerkerk Committed by Commit bot

Notifications: icon url is USVString.

See: https://notifications.spec.whatwg.org/#api

Review URL: https://codereview.chromium.org/1633123002

Cr-Commit-Position: refs/heads/master@{#371514}
parent a3aaa89b
...@@ -65,7 +65,7 @@ enum NotificationPermission { ...@@ -65,7 +65,7 @@ enum NotificationPermission {
readonly attribute DOMString lang; readonly attribute DOMString lang;
readonly attribute DOMString body; readonly attribute DOMString body;
readonly attribute DOMString tag; readonly attribute DOMString tag;
readonly attribute DOMString icon; readonly attribute USVString icon;
[RuntimeEnabled=NotificationExperimental] readonly attribute sequence<unsigned long>? vibrate; [RuntimeEnabled=NotificationExperimental] readonly attribute sequence<unsigned long>? vibrate;
readonly attribute boolean silent; readonly attribute boolean silent;
......
...@@ -15,7 +15,7 @@ dictionary NotificationOptions { ...@@ -15,7 +15,7 @@ dictionary NotificationOptions {
DOMString lang = ""; DOMString lang = "";
DOMString body = ""; DOMString body = "";
DOMString tag = ""; DOMString tag = "";
DOMString icon; USVString icon;
// TODO(sh919.park): vibrate should be ([Clamp] unsigned long or sequence<unsigned long>) // TODO(sh919.park): vibrate should be ([Clamp] unsigned long or sequence<unsigned long>)
(unsigned long or sequence<unsigned long>) vibrate; (unsigned long or sequence<unsigned long>) vibrate;
boolean silent = false; boolean silent = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment