Re: [w3c/manifest] Add support for 'serviceworkers' member (#507)

jungkees commented on this pull request.



> +            <ol>
+              <li>If <var>type</var> is not "<code>undefined</code>", issue a
+              developer warning that the type is unsupported.
+              </li>
+              <li>Return <code>"classic"</code>.
+              </li>
+            </ol>
+          </li>
+          <li>If <a>Trim</a>(value) is the empty string, then:
+            <ol>
+              <li>Issue a developer warning that the type is unsupported.
+              </li>
+              <li>Return <code>undefined</code>.
+              </li>
+            </ol>
+          <li>Return <var>type</var>.

Ah.. I got it. It has to do with the prefix ! for an ECMAScript abstract operation. So, the _value_ here is the actual value for this member already. But then it still needs to return _value_ instead of _type_. Referring to other cases, it should return Trim(value) here I suppose.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/pull/507

Received on Thursday, 15 December 2016 14:41:43 UTC