| 194 |
attribute represents the cookies of the resource. |
attribute represents the cookies of the resource. |
| 195 |
#ja |
#ja |
| 196 |
<dfn id=cookie0 title=dom-document-cookie><code>cookie</code></dfn> |
<dfn id=cookie0 title=dom-document-cookie><code>cookie</code></dfn> |
|
属性は、資源のクッキーを表します。 |
|
| 197 |
|
属性は、資源のクッキーを表します。 |
| 198 |
|
|
| 199 |
|
#en |
| 200 |
|
On getting, if the <a href="#sandboxed2">sandboxed |
| 201 |
|
origin browsing context flag</a> is set on the <a |
| 202 |
|
href="#browsing1">browsing context</a> of the document, the user agent |
| 203 |
|
must raise a <a href="#security10">security exception</a>. Otherwise, it |
| 204 |
|
must return the same string as the value of the <code |
| 205 |
|
title="">Cookie</code> HTTP header it would include if <a href="#fetch" |
| 206 |
|
title=fetch>fetching</a> the resource indicated by <span>the document's |
| 207 |
|
address</span><!-- XXXDOCURL --> over HTTP, as per RFC 2109 section 4.3.4 |
| 208 |
|
or later specifications. <a href="#refsRFC2109">[RFC2109]</a> <a |
| 209 |
|
href="#refsRFC2965">[RFC2965]</a> |
| 210 |
|
#ja |
| 211 |
|
取得時、<a href="#sandboxed2">砂箱起源閲覧文脈旗</a>が文書の<a |
| 212 |
|
href="#browsing1">閲覧文脈</a>に設定されている場合には、 |
| 213 |
|
利用者エージェントは<a href="#security10">保安性例外</a>を発生させなければ[[MUST:なりません]]。 |
| 214 |
|
そうでない場合、<span>文書の番地</span><!-- XXXDOCURL -->で示される資源を HTTP |
| 215 |
|
によって<a href="#fetch" |
| 216 |
|
title=fetch>取ってくる</a>場合に RFC 2109 |
| 217 |
|
4.3.4 節やより新しい仕様書に従って含まれるであろう <code |
| 218 |
|
title="">Cookie</code> HTTP 頭部の値と同じ文字列を返さなければ[[MUST:なりません]]。 <a href="#refsRFC2109">[RFC2109]</a> <a |
| 219 |
|
href="#refsRFC2965">[RFC2965]</a> |
| 220 |
|
|
| 221 |
|
#en |
| 222 |
|
On setting, if the <a href="#sandboxed2">sandboxed origin browsing |
| 223 |
|
context flag</a> is set on the <a href="#browsing1">browsing context</a> |
| 224 |
|
of the document, the user agent must raise a <a |
| 225 |
|
href="#security10">security exception</a>. Otherwise, the user agent must |
| 226 |
|
act as it would when processing cookies if it had just attempted to <a |
| 227 |
|
href="#fetch">fetch</a> <span>the document's address</span><!-- XXXDOCURL |
| 228 |
|
--> |
| 229 |
|
over HTTP, and had received a response with a <code>Set-Cookie</code> |
| 230 |
|
header whose value was the specified value, as per RFC 2109 sections |
| 231 |
|
4.3.1, 4.3.2, and 4.3.3 or later specifications. <a |
| 232 |
|
href="#refsRFC2109">[RFC2109]</a> <a href="#refsRFC2965">[RFC2965]</a> |
| 233 |
|
#ja |
| 234 |
|
設定時、<a href="#sandboxed2">砂箱起源閲覧文脈旗</a>が文書の<a |
| 235 |
|
href="#browsing1">閲覧文脈</a>に設定されている場合には、 |
| 236 |
|
利用者エージェントは<a href="#security10">保安性例外</a>を発生させなければ[[MUST:なりません]]。 |
| 237 |
|
そうでない場合、利用者エージェントは、 |
| 238 |
|
<span>文書の番地</span><!-- XXXDOCURL -->で示される資源を HTTP |
| 239 |
|
によって<a href="#fetch" |
| 240 |
|
title=fetch>取ってこよう</a>とし、 |
| 241 |
|
値が指定された値である <code>Set-Cookie</code> |
| 242 |
|
頭部がある応答を受信した場合にクッキーを処理する時と同じように、 |
| 243 |
|
RFC 2109 4.3.1 節、4.3.2 節、4.3.3. 節やより新しい仕様書に従い作用しなければ[[MUST:なりません]]。 <a href="#refsRFC2109">[RFC2109]</a> <a |
| 244 |
|
href="#refsRFC2965">[RFC2965]</a> |