diff --git a/index.html b/index.html index e5b5e06d..77f8aee2 100644 --- a/index.html +++ b/index.html @@ -2523,6 +2523,71 @@

+
+

+ Multi-purpose members +

+

+ This section specifies members that can be used on multiple objects. + Each member specifies with object a member can be used with. +

+
+

+ platform member +

+

+ The platform + member represents the platform to which a containing + object applies. +

+

+ The following object types can make use of this member: +

+ +

+ A platform represents a software distribution ecosystem or + possibly an operating system. +

+

+ This specification does not define the particular values for a the + platform member. However, the working group + maintains a list of known + platform values in our wiki. +

+

+ The steps for processing the platform member of an + application are given by the following algorithm. The algorithm + takes an application object application. This + algorithm will return a string or undefined. +

+
    +
  1. Let value be the result of calling the + [[\GetOwnProperty]] internal method of application + passing "platform" as the argument. +
  2. +
  3. If Type(value) is not "string": +
      +
    1. If Type(value) is not "undefined", + optionally issue a developer warning that the type is not + supported. +
    2. +
    3. Return undefined. +
    4. +
    +
  4. +
  5. Otherwise, Trim(value) and return the result. +
  6. +
+
+

Application object and its members @@ -2560,40 +2625,6 @@

Where should the platform expected value be listed?

-
-

- platform member -

-

- The platform member of an - application object represents the platform on which the application - can be found. -

-

- The steps for processing the platform member of an - application are given by the following algorithm. The algorithm - takes an application object application. This - algorithm will return a string or undefined. -

-
    -
  1. Let value be the result of calling the - [[\GetOwnProperty]] internal method of application - passing "platform" as the argument. -
  2. -
  3. If Type(value) is not "string": -
      -
    1. If Type(value) is not "undefined", - optionally issue a developer warning that the type is not - supported. -
    2. -
    3. Return undefined. -
    4. -
    -
  4. -
  5. Otherwise, Trim(value) and return the result. -
  6. -
-

url member