| 1991 |
#ja |
#ja |
| 1992 |
新しい値に IDNA ToASCII 算法を、 AllowUnassigned 旗と UseSTD3ASCIIRules |
新しい値に IDNA ToASCII 算法を、 AllowUnassigned 旗と UseSTD3ASCIIRules |
| 1993 |
旗の両方を設定して適用します。 <var title="">new value</var> を、 |
旗の両方を設定して適用します。 <var title="">new value</var> を、 |
|
ToASCII 算法の結果とします。 |
|
| 1994 |
|
ToASCII 算法の結果とします。 |
| 1995 |
|
|
| 1996 |
|
#en |
| 1997 |
|
If ToASCII fails to convert one of the components of the |
| 1998 |
|
string, e.g. because it is too long or because it contains invalid |
| 1999 |
|
characters, then throw a <a href=#security-exception>security exception</a> and abort |
| 2000 |
|
these steps. <a href=#refsRFC3490>[RFC3490]</a> |
| 2001 |
|
#ja |
| 2002 |
|
ToASCII が文字列の部品のいずれかの変換に失敗した場合、 |
| 2003 |
|
例えば長過ぎたり非妥当な文字を含んでいたりして失敗した場合には、 |
| 2004 |
|
<a href=#security-exception>保安性例外</a>を投げ、 |
| 2005 |
|
これらの段階を停止します。 <a href=#refsRFC3490>[RFC3490]</a> |
| 2006 |
|
|
| 2007 |
|
#en |
| 2008 |
|
If <var title="">new value</var> is not exactly equal to the |
| 2009 |
|
current value of the <code title=dom-document-domain><a href=#dom-document-domain>document.domain</a></code> attribute, then |
| 2010 |
|
run these substeps: |
| 2011 |
|
#ja |
| 2012 |
|
<var title="">new value</var> が <code title=dom-document-domain><a href=#dom-document-domain>document.domain</a></code> 属性の現在の値と正確に等しくない場合、 |
| 2013 |
|
次の部分段階を走らせます。 |
| 2014 |
|
|
| 2015 |
|
#en |
| 2016 |
|
If the current value is an IP address, throw a <a href=#security-exception>security |
| 2017 |
|
exception</a> and abort these steps. |
| 2018 |
|
#ja |
| 2019 |
|
現在の値が IP 番地の場合、<a href=#security-exception>保安性例外</a>を投げ、 |
| 2020 |
|
これらの段階を停止します。 |
| 2021 |
|
|
| 2022 |
|
#en |
| 2023 |
|
If <var title="">new value</var>, prefixed by a U+002E FULL |
| 2024 |
|
STOP ("."), does not exactly match the end of the current value, |
| 2025 |
|
throw a <a href=#security-exception>security exception</a> and abort these |
| 2026 |
|
steps. |
| 2027 |
|
#ja |
| 2028 |
|
<var title="">new value</var> に U+002E FULL |
| 2029 |
|
STOP (".") を接頭辞として連結したものが現在の値の終わりに正確に一致しない場合、 |
| 2030 |
|
<a href=#security-exception>保安性例外</a>を投げ、これらの段階を停止します。 |
| 2031 |
|
|
| 2032 |
|
#en |
| 2033 |
|
Set the attribute's value to <var title="">new value</var>. |
| 2034 |
|
#ja |
| 2035 |
|
属性の値を <var title="">new value</var> に設定します。 |
| 2036 |
|
|
| 2037 |
|
#en |
| 2038 |
|
Set the host part of the <a href=#effective-script-origin>effective script origin</a> |
| 2039 |
|
tuple of the <code>Document</code> to <var title="">new |
| 2040 |
|
value</var>. |
| 2041 |
|
#ja |
| 2042 |
|
<code>Document</code> の<a href=#effective-script-origin>実効スクリプト起源</a>の組の host |
| 2043 |
|
部分を <var title="">new |
| 2044 |
|
value</var> に設定します。 |
| 2045 |
|
|
| 2046 |
|
#en |
| 2047 |
|
Set the port part of the <a href=#effective-script-origin>effective script origin</a> |
| 2048 |
|
tuple of the <code>Document</code> to "manual override" (a value |
| 2049 |
|
that, for the purposes of <a href=#same-origin title="same origin">comparing |
| 2050 |
|
origins</a>, is identical to "manual override" but not |
| 2051 |
|
identical to any other value). |
| 2052 |
|
#ja |
| 2053 |
|
<code>Document</code> の<a href=#effective-script-origin>実効スクリプト起源</a>の組の port |
| 2054 |
|
部分を「手動上書き」 (<a href=#same-origin title="same origin">起源の比較</a>においては、 |
| 2055 |
|
「手動上書き」と同一であり、他の値とは同一ではない値) に設定します。 |
| 2056 |
|
|
| 2057 |
|
#en |
| 2058 |
|
The <dfn id="the-document's-domain" title="the document's domain">domain</dfn> of a |
| 2059 |
|
<code>Document</code> is the host part of the document's |
| 2060 |
|
<a href=#origin-0>origin</a>, if that is a scheme/host/port tuple. If it |
| 2061 |
|
isn't, then the document does not have a domain. |
| 2062 |
|
#ja |
| 2063 |
|
<code>Document</code> の<dfn id="the-document's-domain" title="the document's domain">ドメイン</dfn>は、文書の<a href=#origin-0>起源</a>が scheme・host・port 組である場合には、 |
| 2064 |
|
その host 部分です。そうでない場合には、文書はドメインを持ちません。 |
| 2065 |
|
|
| 2066 |
|
#en |
| 2067 |
|
The <code title=dom-document-domain><a href=#dom-document-domain>domain</a></code> |
| 2068 |
|
attribute is used to enable pages on different hosts of a domain to |
| 2069 |
|
access each others' DOMs. |
| 2070 |
|
#ja |
| 2071 |
|
<code title=dom-document-domain><a href=#dom-document-domain>domain</a></code> 属性は、 |
| 2072 |
|
あるドメインの異なるホストの頁が互いの DOM にアクセス可能とするために使います。 |
| 2073 |
|
|
| 2074 |
|
#en |
| 2075 |
|
Various mechanisms can cause author-provided executable code to |
| 2076 |
|
run in the context of a document. These mechanisms include, but are |
| 2077 |
|
probably not limited to: |
| 2078 |
|
#ja |
| 2079 |
|
著者が提供した実行可能符号を、文書の文脈の中で様々な機構によって走らせることができます。 |
| 2080 |
|
そのような機構には次のものがありますが、おそらく他にも存在します。 |
| 2081 |
|
|
| 2082 |
|
|
| 2083 |
|
#en |
| 2084 |
|
Processing of <code><a href=#script>script</a></code> elements. |
| 2085 |
|
#ja |
| 2086 |
|
<code><a href=#script>script</a></code> 要素の処理。 |
| 2087 |
|
|
| 2088 |
|
#en |
| 2089 |
|
Processing of inline <code title="javascript |
| 2090 |
|
protocol"><a href=#javascript-protocol>javascript:</a></code> URLs (e.g. the <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute of <code><a href=#the-img-element>img</a></code> |
| 2091 |
|
elements, or an <code title="">@import</code> rule in a CSS |
| 2092 |
|
<code><a href=#the-style-element>style</a></code> element block). |
| 2093 |
|
#ja |
| 2094 |
|
行内 <code title="javascript |
| 2095 |
|
protocol"><a href=#javascript-protocol>javascript:</a></code> URL |
| 2096 |
|
の処理 |
| 2097 |
|
(例えば <code><a href=#the-img-element>img</a></code> 要素の <code title=attr-img-src><a href=#attr-img-src>src</a></code> 属性や CSS |
| 2098 |
|
<code><a href=#the-style-element>style</a></code> 要素ブロック中の |
| 2099 |
|
<code title="">@import</code> 規則)。 |