diff --git a/notifications.bs b/notifications.bs index 8d57720..8c63c5c 100644 --- a/notifications.bs +++ b/notifications.bs @@ -909,13 +909,13 @@ return the notification's require interaction prefere result of the following steps:
    -
  1. Let frozenActions be an empty list of type {{NotificationAction}}. +

  2. Let frozenActions be a new list.

  3. For each entry in the notification's list of actions, perform the following steps:

      -
    1. Let action be a new {{NotificationAction}}. +

    2. Let action be a new {{NotificationAction}} dictionary.

    3. Set action's {{NotificationAction/action}} to entry's name. @@ -926,15 +926,15 @@ result of the following steps:

    4. Set action's {{NotificationAction/icon}} to entry's icon URL. - -

    5. Call Object.freeze on action, to - prevent accidental mutation by scripts. +

    6. Let jsAction be action, converted to an ECMAScript value. -

    7. Append action to frozenActions. +

    8. Perform SetIntegrityLevel(jsAction, "frozen"). + +

    9. Let idlAction be jsAction, converted to an IDL value. + + +

    10. Append idlAction to frozenActions.

  4. Create a frozen array from frozenActions. @@ -1224,8 +1224,8 @@ urlPrefix: https://w3c.github.io/vibration/ text: validate and normalize urlPrefix: #idl-def-; type: interface text: VibratePattern; url: vibratepattern -urlPrefix: https://tc39.github.io/ecma262/#sec-object.; type: dfn - text: freeze +urlPrefix: https://tc39.github.io/ecma262/#sec-; spec: ECMA-262; type: abstract-op + text: SetIntegrityLevel