@@ -60,8 +60,8 @@ or "<code>rtl</code>").
60
60
<p> A <a for=/>notification</a> has an associated <dfn for=notification id=body>body</dfn> (a
61
61
string).
62
62
63
- <p> A <a for=/>notification</a> has an associated <dfn for=notification>URL</dfn> (null or a
64
- <a for=/>URL</a> ). It is initially null.
63
+ <p> A <a for=/>notification</a> has an associated <dfn for=notification>navigation URL</dfn> (null or
64
+ a <a for=/>URL</a> ). It is initially null.
65
65
66
66
<p> A <a for=/>notification</a> has an associated <dfn for=notification id=tag>tag</dfn> (a string).
67
67
@@ -139,7 +139,7 @@ for an end user. Each <a for=/>action</a> has an associated:
139
139
<dt> <dfn for=action id=action-title>title</dfn>
140
140
<dd> A string.
141
141
142
- <dt> <dfn for=action>URL</dfn>
142
+ <dt> <dfn for=action>navigation URL</dfn>
143
143
<dd> Null or a <a for=/>URL</a> . It is initially null.
144
144
145
145
<dt> <dfn for=action>icon URL</dfn>
@@ -225,10 +225,10 @@ clipped corners.
225
225
<li><p> Set <var> notification</var> 's <a for=notification>body</a> to
226
226
<var> options</var> ["{{NotificationOptions/body}}"] .
227
227
228
- <li><p> If <var> options</var> ["{{NotificationOptions/url }}"] <a for=map>exists</a> , then
228
+ <li><p> If <var> options</var> ["{{NotificationOptions/navigate }}"] <a for=map>exists</a> , then
229
229
<a lt="URL parser">parse</a> it using <var> baseURL</var> , and if that does not return failure, set
230
- <var> notification</var> 's <a for=notification>URL</a> to the return value. (Otherwise
231
- <var> notification</var> 's <a for=notification>URL</a> remains null.)
230
+ <var> notification</var> 's <a for=notification>navigation URL</a> to the return value. (Otherwise
231
+ <var> notification</var> 's <a for=notification>navigation URL</a> remains null.)
232
232
233
233
<li><p> Set <var> notification</var> 's <a for=notification>tag</a> to
234
234
<var> options</var> ["{{NotificationOptions/tag}}"] .
@@ -280,10 +280,10 @@ clipped corners.
280
280
<li><p> Set <var> action</var> 's <a for=action>title</a> to
281
281
<var> entry</var> ["{{NotificationAction/title}}"] .
282
282
283
- <li><p> If <var> entry</var> ["{{NotificationAction/url }}"] <a for=map>exists</a> , then
283
+ <li><p> If <var> entry</var> ["{{NotificationAction/navigate }}"] <a for=map>exists</a> , then
284
284
<a lt="URL parser">parse</a> it using <var> baseURL</var> , and if that does not return failure,
285
- set <var> action</var> 's <a for=action>URL</a> to the return value. (Otherwise <var>action</var>' s
286
- <a for=action>URL</a> remains null.)
285
+ set <var> action</var> 's <a for=action>navigation URL</a> to the return value. (Otherwise
286
+ <var> action </var> 's < a for=action>navigation URL</a> remains null.)
287
287
288
288
<li><p> If <var> entry</var> ["{{NotificationAction/icon}}"] <a for=map>exists</a> , then
289
289
<a lt="URL parser">parse</a> it using <var> baseURL</var> , and if that does not return failure,
@@ -560,21 +560,22 @@ platform supports activation, the user agent must (unless otherwise specified) r
560
560
<li><p> If one of <var> notification</var> 's <a for=notification>actions</a> was activated by the end
561
561
user, then set <var> action</var> to that <a for=/>action</a> .
562
562
563
- <li><p> Let <var> url</var> be <var> notification</var> 's <a for=notification>URL</a> .
563
+ <li><p> Let <var> navigationURL</var> be <var> notification</var> 's
564
+ <a for=notification>navigation URL</a> .
564
565
565
566
<li>
566
- <p> If <var> action</var> is non-null, then set <var> url </var> to <var> action</var> 's
567
- <a for=action>URL</a> .
567
+ <p> If <var> action</var> is non-null, then set <var> navigationURL </var> to <var> action</var> 's
568
+ <a for=action>navigation URL</a> .
568
569
569
570
<p class=note> This intentionally makes it so that when an <a for=/>action</a> 's
570
- <a for=action>URL</a> is null, it falls through to the <code> click</code> event, providing more
571
- flexibility to the web developer.
571
+ <a for=action>navigation URL</a> is null, it falls through to the <code> click</code> event,
572
+ providing more flexibility to the web developer.
572
573
573
574
<li>
574
- <p> If <var> url </var> is non-null:
575
+ <p> If <var> navigationURL </var> is non-null:
575
576
576
577
<ol>
577
- <li><p> <a>Create a fresh top-level traversable</a> given <var> url </var> .
578
+ <li><p> <a>Create a fresh top-level traversable</a> given <var> navigationURL </var> .
578
579
<!-- Should maybe set userInvolvement correctly here, even though it doesn't do anything today. -->
579
580
580
581
<li><p> Return.
@@ -681,7 +682,7 @@ interface Notification : EventTarget {
681
682
readonly attribute NotificationDirection dir;
682
683
readonly attribute DOMString lang;
683
684
readonly attribute DOMString body;
684
- readonly attribute USVString url ;
685
+ readonly attribute USVString navigate ;
685
686
readonly attribute DOMString tag;
686
687
readonly attribute USVString image;
687
688
readonly attribute USVString icon;
@@ -701,7 +702,7 @@ dictionary NotificationOptions {
701
702
NotificationDirection dir = "auto";
702
703
DOMString lang = "";
703
704
DOMString body = "";
704
- USVString url ;
705
+ USVString navigate ;
705
706
DOMString tag = "";
706
707
USVString image;
707
708
USVString icon;
@@ -730,7 +731,7 @@ enum NotificationDirection {
730
731
dictionary NotificationAction {
731
732
required DOMString action;
732
733
required DOMString title;
733
- USVString url ;
734
+ USVString navigate ;
734
735
USVString icon;
735
736
};
736
737
@@ -894,13 +895,13 @@ return the <a>maximum number of actions</a> supported.
894
895
<p> The <dfn attribute for=Notification><code>body</code></dfn> getter steps are to return
895
896
<a>this</a> 's <a for=/>notification</a>' s <a for=notification>body</a> .
896
897
897
- <p> The <dfn attribute for=Notification><code>url </code></dfn> getter steps are:
898
+ <p> The <dfn attribute for=Notification><code>navigate </code></dfn> getter steps are:
898
899
899
900
<ol>
900
- <li><p> If <a>this</a> 's <a>notification</a>' s <a for=notification>URL</a> is null, then return the
901
- empty string.
901
+ <li><p> If <a>this</a> 's <a>notification</a>' s <a for=notification>navigation URL</a> is null, then
902
+ return the empty string.
902
903
903
- <li><p> Return <a>this</a> 's <a>notification</a>' s <a for=notification>URL</a> ,
904
+ <li><p> Return <a>this</a> 's <a>notification</a>' s <a for=notification>navigation URL</a> ,
904
905
<a lt="URL serializer">serialized</a> .
905
906
</ol>
906
907
@@ -976,9 +977,9 @@ then return null.
976
977
<li><p> Set <var> action</var> ["{{NotificationAction/title}}"] to <var> entry</var> 's
977
978
<a for=action>title</a> .
978
979
979
- <li><p> If <var> entry</var> 's <a for=action>URL</a> is non-null, then set
980
- <var> action</var> ["{{NotificationAction/url }}"] to <var> entry</var> 's <a for=action>URL</a> ,
981
- <a lt="URL serializer">serialized</a> .
980
+ <li><p> If <var> entry</var> 's <a for=action>navigation URL</a> is non-null, then set
981
+ <var> action</var> ["{{NotificationAction/navigate }}"] to <var> entry</var> 's
982
+ <a for=action>navigation URL</a> , <a lt="URL serializer">serialized</a> .
982
983
983
984
<li><p> If <var> entry</var> 's <a for=action>icon URL</a> is non-null, then set
984
985
<var> action</var> ["{{NotificationAction/icon}}"] to <var> entry</var> 's
0 commit comments