@@ -217,23 +217,10 @@ string <var>title</var>, {{NotificationOptions}} <a for=/>dictionary</a> <var>op
217
217
<li><p> Set <var> notification</var> 's <a for=notification>body</a> to
218
218
<var> options</var> ["{{NotificationOptions/body}}"] .
219
219
220
- <li>
221
- <p> If <var> options</var> ["{{NotificationOptions/url}}"] <a for=map>exists</a> :
222
-
223
- <ol>
224
- <li><p> Let <var> url</var> be the result of <a lt="URL parser">parsing</a>
225
- <var> options</var> ["{{NotificationOptions/url}}"] using <var> baseURL</var> .
226
-
227
- <li>
228
- <p> If <var> url</var> is not failure:
229
-
230
- <ol>
231
- <li><p> If <var> url</var> 's <a for=url>origin</a> is not <a>same origin</a> with
232
- <var> notification</var> 's <a for=notification>origin</a> , then <a>throw</a> a {{TypeError}} .
233
-
234
- <li><p> Set <var> notification</var> 's <a for=notification>URL</a> to <var> url</var> .
235
- </ol>
236
- </ol>
220
+ <li><p> If <var> options</var> ["{{NotificationOptions/url}}"] <a for=map>exists</a> , then
221
+ <a lt="URL parser">parse</a> it using <var> baseURL</var> , and if that does not return failure, set
222
+ <var> notification</var> 's <a for=notification>URL</a> to the return value. (Otherwise
223
+ <var> notification</var> 's <a for=notification>URL</a> remains null.)
237
224
238
225
<li><p> Set <var> notification</var> 's <a for=notification>tag</a> to
239
226
<var> options</var> ["{{NotificationOptions/tag}}"] .
@@ -290,28 +277,15 @@ string <var>title</var>, {{NotificationOptions}} <a for=/>dictionary</a> <var>op
290
277
<li><p> Set <var> action</var> 's <a for=action>title</a> to
291
278
<var> entry</var> ["{{NotificationAction/title}}"] .
292
279
293
- <li>
294
- <p> If <var> entry</var> ["{{NotificationAction/url}}"] <a for=map>exists</a> ,
295
-
296
- <ol>
297
- <li><p> Let <var> url</var> be the result of <a lt="URL parser">parsing</a>
298
- <var> entry</var> ["{{NotificationAction/url}}"] using <var> baseURL</var> .
299
-
300
- <li>
301
- <p> If <var> url</var> is not failure:
302
-
303
- <ol>
304
- <li><p> If <var> url</var> 's <a for=url>origin</a> is not <a>same origin</a> with
305
- <var> notification</var> 's <a for=notification>origin</a> , then <a>throw</a> a {{TypeError}} .
306
-
307
- <li><p> Set <var> action</var> 's <a for=action>URL</a> to <var> url</var> .
308
- </ol>
309
- </ol>
280
+ <li><p> If <var> entry</var> ["{{NotificationAction/url}}"] <a for=map>exists</a> , then
281
+ <a lt="URL parser">parse</a> it using <var> baseURL</var> , and if that does not return failure,
282
+ set <var> action</var> 's <a for=action>URL</a> to the return value. (Otherwise <var>action</var>' s
283
+ <a for=action>URL</a> remains null.)
310
284
311
285
<li><p> If <var> entry</var> ["{{NotificationAction/icon}}"] <a for=map>exists</a> , then
312
- <a lt="url parser">parse</a> it using <var> baseURL</var> , and if that does not return failure,
286
+ <a lt="URL parser">parse</a> it using <var> baseURL</var> , and if that does not return failure,
313
287
set <var> action</var> 's <a for=action>icon URL</a> to the return value. (Otherwise
314
- <a for=action>icon URL</a> remains null.)
288
+ <var> action </var> 's < a for=action>icon URL</a> remains null.)
315
289
316
290
<li><p> Append <var> action</var> to <var> notification</var> 's <a for=notification>actions</a> .
317
291
</ol>
@@ -589,7 +563,7 @@ platform supports activation, the user agent must (unless otherwise specified) r
589
563
590
564
<ol>
591
565
<li><p> <a>Create a fresh top-level traversable</a> given <var> url</var> .
592
- <!-- XXX Should maybe set userInvolvement correctly here? -->
566
+ <!-- Should maybe set userInvolvement correctly here, even though it doesn't do anything today. -->
593
567
594
568
<li><p> Return.
595
569
</ol>
0 commit comments