[17] この属性は、 Unforgeable
です >>2。
[3] location.protocol
の取得器は、次のようにしなければなりません
>>2。
Document
の起源と入口設定群オブジェクトの起源が同じ起源ドメインでなければ、SecurityError
例外を投げ、ここで停止します。:
を連結したものを返します。[5] location.protocol
の設定器は、次のようにしなければなりません
>>2。
USVString
として解釈した結果に設定します。Document
の起源と入口設定群オブジェクトの起源が同じ起源ドメインでなければ、SecurityError
例外を投げ、ここで停止します。:
を連結したものに設定します。 URL は複製、
ただし状態上書きは scheme start state とします。SyntaxError
例外を投げ、ここで停止します。Location
-object-setter navigate を実行します。[1] Define security around Window, WindowProxy, and Location properly · whatwg/html@acae3df ( 版) <https://github.com/whatwg/html/commit/acae3df652b382e9f4f1d1b4dc7e08e2b00df821>
[19] Merge effective script origin into origin · whatwg/html@8a843f2 ( 版) <https://github.com/whatwg/html/commit/8a843f2169a6864a3024c4329528dccb2051d275>
[20] Use URL's HTTP(S) scheme concept and define rel=icon better ( (annevk著, )) <https://github.com/whatwg/html/commit/a932f7dfd5e50101db47a373cee27b04ed108934>
[21] Return failure in state override scheme parsing (annevk著, ) <https://github.com/whatwg/url/commit/4617e33b27d386bbf1db8c04316961d46aaa1397>
[22] Use "SyntaxError" for location.protocol's setter (annevk著, ) <https://github.com/whatwg/html/commit/560f5d1cc4742e98bf08e3b56930820c620ff062>
[23] Editorial: clarify colon parsing for protocol setters (domenic著, ) <https://github.com/whatwg/html/commit/e956bb4179220442b6c6639baae57d449bb8b38b>
http:
とhttps:
以外に設定することはできません。