/[suikacvs]/markup/html/html5/spec-ja/data/browsers.dat
Suika

Diff of /markup/html/html5/spec-ja/data/browsers.dat

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.51 by apache, Fri Oct 24 03:42:32 2008 UTC revision 1.97 by apache, Fri Oct 24 12:08:31 2008 UTC
# Line 952  Otherwise, return the <a href=#browsing- Line 952  Otherwise, return the <a href=#browsing-
952       container</a> for <var title="">b</var>.       container</a> for <var title="">b</var>.
953  #ja  #ja
954  そうでない場合、 <var title="">b</var> の<a href=#browsing-context-container>閲覧文脈包含子</a>を返します。  そうでない場合、 <var title="">b</var> の<a href=#browsing-context-container>閲覧文脈包含子</a>を返します。
955    
956    
957  #pattern  #pattern
958  <span class=secno>* </span>Navigating nested browsing contexts in the DOM  <span class=secno>* </span>Navigating nested browsing contexts in the DOM
959  #ja  #ja
960  <span class=secno>$1 </span>DOM における入れ子閲覧文脈のナビゲーション  <span class=secno>$1 </span>DOM における入れ子閲覧文脈のナビゲーション
961    
962  #pattern  #pattern
963  <span class=secno>* </span>Navigating auxiliary browsing contexts in the DOM  <span class=secno>* </span>Navigating auxiliary browsing contexts in the DOM
964  #ja  #ja
965  <span class=secno>$1 </span>DOM における補助閲覧文脈のナビゲーション  <span class=secno>$1 </span>DOM における補助閲覧文脈のナビゲーション
966    
967  #en  #en
968  If the <a href=#parent-browsing-context>parent browsing context</a>'s <a href=#active-document>active  If the <a href=#parent-browsing-context>parent browsing context</a>'s <a href=#active-document>active
969     document</a> does not have the <span>same</span> <a href=#effective-script-origin>effective     document</a> does not have the <span>same</span> <a href=#effective-script-origin>effective
970     script origin</a> as the script that is accessing the <code title=dom-frameElement><a href=#dom-frameelement>frameElement</a></code> attribute, then throw     script origin</a> as the script that is accessing the <code title=dom-frameElement><a href=#dom-frameelement>frameElement</a></code> attribute, then throw
971     a <a href=#security-exception>security exception</a>.     a <a href=#security-exception>security exception</a>.
972  #ja  #ja
973  <a href=#parent-browsing-context>親閲覧文脈</a>の<a href=#active-document>活性文書</a>が、  <a href=#parent-browsing-context>親閲覧文脈</a>の<a href=#active-document>活性文書</a>が、
974  <code title=dom-frameElement><a href=#dom-frameelement>frameElement</a></code>  <code title=dom-frameElement><a href=#dom-frameelement>frameElement</a></code>
975  属性にアクセスしているスクリプトと<span>同じ</span><a href=#effective-script-origin>実効スクリプト起源</a>を持たない場合、  属性にアクセスしているスクリプトと<span>同じ</span><a href=#effective-script-origin>実効スクリプト起源</a>を持たない場合、
976  <a href=#security-exception>保安性例外</a>を投げます。  <a href=#security-exception>保安性例外</a>を投げます。
977    
978  #en  #en
979  A <a href=#browsing-context>browsing context</a> <var title="">A</var> is  A <a href=#browsing-context>browsing context</a> <var title="">A</var> is
980    <dfn id=allowed-to-navigate>allowed to navigate</dfn> a second <a href=#browsing-context>browsing    <dfn id=allowed-to-navigate>allowed to navigate</dfn> a second <a href=#browsing-context>browsing
981    context</a> <var title="">B</var> if one of the following    context</a> <var title="">B</var> if one of the following
982    conditions is true:    conditions is true:
983  #ja  #ja
984  <a href=#browsing-context>閲覧文脈</a> <var title="">A</var> は、  <a href=#browsing-context>閲覧文脈</a> <var title="">A</var> は、
985  次の条件のいずれかが真である場合、別の<a href=#browsing-context>閲覧文脈</a> <var title="">B</var>  次の条件のいずれかが真である場合、別の<a href=#browsing-context>閲覧文脈</a> <var title="">B</var>
986  <dfn id=allowed-to-navigate>ナビゲーションすることが認められ</dfn>ます。  <dfn id=allowed-to-navigate>ナビゲーションすることが認められ</dfn>ます。
987    
988  #en  #en
989  The browsing context <var title="">B</var> is an  The browsing context <var title="">B</var> is an
990     <a href=#auxiliary-browsing-context>auxiliary browsing context</a> and <var title="">A</var>     <a href=#auxiliary-browsing-context>auxiliary browsing context</a> and <var title="">A</var>
991     is <a href=#allowed-to-navigate>allowed to navigate</a> <var title="">B</var>'s     is <a href=#allowed-to-navigate>allowed to navigate</a> <var title="">B</var>'s
992     <a href=#opener-browsing-context>opener browsing context</a>, or     <a href=#opener-browsing-context>opener browsing context</a>, or
993  #ja  #ja
994  閲覧文脈 <var title="">B</var> が<a href=#auxiliary-browsing-context>補助閲覧文脈</a>であり、  閲覧文脈 <var title="">B</var> が<a href=#auxiliary-browsing-context>補助閲覧文脈</a>であり、
995  <var title="">A</var> が <var title="">B</var> の<a href=#opener-browsing-context>開闢器閲覧文脈</a>に<a href=#allowed-to-navigate>ナビゲーションすることが認められている</a>  <var title="">A</var> が <var title="">B</var> の<a href=#opener-browsing-context>開闢器閲覧文脈</a>に<a href=#allowed-to-navigate>ナビゲーションすることが認められている</a>
996    
997  #pattern  #pattern
998  <span class=secno>* </span>Groupings of browsing contexts  <span class=secno>* </span>Groupings of browsing contexts
999  #ja  #ja
1000  <span class=secno>$1 </span>閲覧文脈の群化  <span class=secno>$1 </span>閲覧文脈の群化
1001    
1002  #en  #en
1003  Each <a href=#unit-of-related-browsing-contexts>unit of related browsing contexts</a> is then  Each <a href=#unit-of-related-browsing-contexts>unit of related browsing contexts</a> is then
1004    further divided into the smallest number of groups such that every    further divided into the smallest number of groups such that every
1005    member of each group has an <a href=#effective-script-origin>effective script origin</a>    member of each group has an <a href=#effective-script-origin>effective script origin</a>
1006    that, through appropriate manipulation of the <code title=dom-document-domain><a href=#dom-document-domain>document.domain</a></code> attribute, could    that, through appropriate manipulation of the <code title=dom-document-domain><a href=#dom-document-domain>document.domain</a></code> attribute, could
1007    be made to be the same as other members of the group, but could not    be made to be the same as other members of the group, but could not
1008    be made the same as members of any other group. Each such group is a    be made the same as members of any other group. Each such group is a
1009    <dfn id=unit-of-related-similar-origin-browsing-contexts>unit of related similar-origin browsing contexts</dfn>.    <dfn id=unit-of-related-similar-origin-browsing-contexts>unit of related similar-origin browsing contexts</dfn>.
1010  #ja  #ja
1011  <a href=#unit-of-related-browsing-contexts>関連閲覧文脈の単位</a>のそれぞれを更に分割して、  <a href=#unit-of-related-browsing-contexts>関連閲覧文脈の単位</a>のそれぞれを更に分割して、
1012  各群のすべての成員が <code title=dom-document-domain><a href=#dom-document-domain>document.domain</a></code> 属性の適切な操作によって同じ群の他の成員と同じ<a href=#effective-script-origin>実効スクリプト起源</a>となり得、  各群のすべての成員が <code title=dom-document-domain><a href=#dom-document-domain>document.domain</a></code> 属性の適切な操作によって同じ群の他の成員と同じ<a href=#effective-script-origin>実効スクリプト起源</a>となり得、
1013  かつ他のいずれの群の成員とも同じとはなり得ないようになる、  かつ他のいずれの群の成員とも同じとはなり得ないようになる、
1014  最小の個数の群に分けます。  最小の個数の群に分けます。
1015  この群は、それぞれが<dfn id=unit-of-related-similar-origin-browsing-contexts>関連類似起源閲覧文脈の単位</dfn>です。  この群は、それぞれが<dfn id=unit-of-related-similar-origin-browsing-contexts>関連類似起源閲覧文脈の単位</dfn>です。
1016    
1017  #en  #en
1018  A <dfn id=valid-browsing-context-name>valid browsing context name</dfn> is any string with at  A <dfn id=valid-browsing-context-name>valid browsing context name</dfn> is any string with at
1019    least one character that does not start with a U+005F LOW LINE    least one character that does not start with a U+005F LOW LINE
1020    character. (Names starting with an underscore are reserved for    character. (Names starting with an underscore are reserved for
1021    special keywords.)    special keywords.)
1022  #ja  #ja
1023  <dfn id=valid-browsing-context-name>妥当な閲覧文脈名</dfn>は、  <dfn id=valid-browsing-context-name>妥当な閲覧文脈名</dfn>は、
1024  最低1文字あって U+005F LOW LINE 文字で始まらないような文字列です。  最低1文字あって U+005F LOW LINE 文字で始まらないような文字列です。
1025  (下線で始まる名前は特別なキーワードに予約します。)  (下線で始まる名前は特別なキーワードに予約します。)
1026    
1027  #en  #en
1028  A <dfn id=valid-browsing-context-name-or-keyword>valid browsing context name or keyword</dfn> is any string  A <dfn id=valid-browsing-context-name-or-keyword>valid browsing context name or keyword</dfn> is any string
1029    that is either a <a href=#valid-browsing-context-name>valid browsing context name</a> or that is    that is either a <a href=#valid-browsing-context-name>valid browsing context name</a> or that is
1030    an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for one of: <code title="">_blank</code>, <code title="">_self</code>, <code title="">_parent</code>, or <code title="">_top</code>.    an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for one of: <code title="">_blank</code>, <code title="">_self</code>, <code title="">_parent</code>, or <code title="">_top</code>.
1031  #ja  #ja
1032  <dfn id=valid-browsing-context-name-or-keyword>妥当な閲覧文脈名かキーワード</dfn>は、  <dfn id=valid-browsing-context-name-or-keyword>妥当な閲覧文脈名かキーワード</dfn>は、
1033  <a href=#valid-browsing-context-name>妥当な閲覧文脈名</a>であるか、  <a href=#valid-browsing-context-name>妥当な閲覧文脈名</a>であるか、
1034  または  または
# Line 1037  A <dfn id=valid-browsing-context-name-or Line 1037  A <dfn id=valid-browsing-context-name-or
1037  <code title="">_parent</code>、  <code title="">_parent</code>、
1038  <code title="">_top</code>  <code title="">_top</code>
1039  のいずれかと  のいずれかと
1040  <a href=#ascii-case-insensitive>ASCII 大文字・小文字不区別</a>で一致するような文字列です。  <a href=#ascii-case-insensitive>ASCII 大文字・小文字不区別</a>で一致するような文字列です。
1041    
1042  #en  #en
1043  If the given browsing context name is not <code title="">_blank</code> and there exists a browsing context whose  If the given browsing context name is not <code title="">_blank</code> and there exists a browsing context whose
1044      <a href=#browsing-context-name title="browsing context name">name</a> is the same as the      <a href=#browsing-context-name title="browsing context name">name</a> is the same as the
1045      given browsing context name, and the current browsing context is      given browsing context name, and the current browsing context is
# Line 1049  If the given browsing context name is no Line 1049  If the given browsing context name is no
1049      context must be the chosen one. If there are multiple matching      context must be the chosen one. If there are multiple matching
1050      browsing contexts, the user agent should select one in some      browsing contexts, the user agent should select one in some
1051      arbitrary consistent manner, such as the most recently opened,      arbitrary consistent manner, such as the most recently opened,
1052      most recently focused, or more closely related.      most recently focused, or more closely related.
1053  #ja  #ja
1054  与えられた閲覧文脈名が <code title="">_blank</code> ではなく、  与えられた閲覧文脈名が <code title="">_blank</code> ではなく、
1055  <a href=#browsing-context-name title="browsing context name">名前</a>が与えられた閲覧文脈名と同じ閲覧文脈が存在し、  <a href=#browsing-context-name title="browsing context name">名前</a>が与えられた閲覧文脈名と同じ閲覧文脈が存在し、
1056  現在の閲覧文脈がその閲覧文脈に<a href=#allowed-to-navigate>ナビゲーションすることが認められ</a>ており、  現在の閲覧文脈がその閲覧文脈に<a href=#allowed-to-navigate>ナビゲーションすることが認められ</a>ており、
1057  両閲覧文脈の関係が十分深くて互いに到達してもよいと利用者エージェントが判断する場合には、  両閲覧文脈の関係が十分深くて互いに到達してもよいと利用者エージェントが判断する場合には、
1058  閲覧文脈はその選んだものでなければ[[MUST:なりません]]。  閲覧文脈はその選んだものでなければ[[MUST:なりません]]。
1059  一致する閲覧文脈が複数ある場合には、利用者エージェントはいずれかを何らかの一貫した方法、  一致する閲覧文脈が複数ある場合には、利用者エージェントはいずれかを何らかの一貫した方法、
 例えば最も新しく開かれたもの、最も新しく焦点が与えられたもの、最も関係が深いものなどを選ぶ[[SHOULD:べきです]]。  
1060    例えば最も新しく開かれたもの、最も新しく焦点が与えられたもの、最も関係が深いものなどを選ぶ[[SHOULD:べきです]]。
1061    
1062    #en
1063    If the user agent has been configured such that
1064         in this instance it will create a new browsing context, and the
1065         browsing context is being requested as part of <a href=#following-hyperlinks title="following hyperlinks">following a hyperlink</a> whose
1066         <a href=#linkTypes>link types</a> include the <code title=rel-noreferrer><a href=#link-type-noreferrer>noreferrer</a></code> keyword
1067    #ja
1068    利用者エージェントがこの実現値において新しい閲覧文脈を作るように設定されており、
1069    <a href=#linkTypes>リンク型</a>が <code title=rel-noreferrer><a href=#link-type-noreferrer>noreferrer</a></code> キーワードを含む<a href=#following-hyperlinks title="following hyperlinks">ハイパーリンクをたどる</a>過程で閲覧文脈が要求されている場合
1070    
1071    #en
1072    A new <a href=#top-level-browsing-context>top-level browsing context</a> must be
1073         created. If the given browsing context name is not <code title="">_blank</code>, then the new top-level browsing context's
1074         name must be the given browsing context name (otherwise, it has
1075         no name). The chosen browsing context must be this new browsing
1076         context. If it is immediately <a href=#navigate title=navigate>navigated</a>, then the navigation will be
1077         done with <a href=#replacement-enabled>replacement enabled</a>.
1078    #ja
1079    新しい<a href=#top-level-browsing-context>最上位閲覧文脈</a>を作らなければ[[MUST:なりません]]。
1080    与えられた閲覧文脈名が <code title="">_blank</code> でない場合、
1081    新しい最上位閲覧文脈の名前は与えられた閲覧文脈名でなければ[[MUST:なりません]]
1082    (そうでない場合、名前を持ちません)。
1083    選ばれる閲覧文脈はこの新しい閲覧文脈でなければ[[MUST:なりません]]。
1084    即座に<a href=#navigate title=navigate>ナビゲーション</a>される場合には、
1085    そのナビゲーションは<a href=#replacement-enabled>置換有効</a>でなされます。
1086    
1087    #en
1088    If the user agent has been configured such that in this
1089         instance it will create a new browsing context, and the <code title=rel-noreferrer><a href=#link-type-noreferrer>noreferrer</a></code> keyword doesn't
1090         apply
1091    #ja
1092    利用者エージェントがこの実現値において新しい閲覧文脈を作るように設定されており、
1093    <code title=rel-noreferrer><a href=#link-type-noreferrer>noreferrer</a></code>
1094    キーワードが適用されない場合
1095    
1096    #en
1097    A new <a href=#auxiliary-browsing-context>auxiliary browsing context</a> must be
1098         created, with the <a href=#opener-browsing-context>opener browsing context</a> being the
1099         current one. If the given browsing context name is not <code title="">_blank</code>, then the new auxiliary browsing context's
1100         name must be the given browsing context name (otherwise, it has
1101         no name). The chosen browsing context must be this new browsing
1102         context. If it is immediately <a href=#navigate title=navigate>navigated</a>, then the navigation will be
1103         done with <a href=#replacement-enabled>replacement enabled</a>.
1104    #ja
1105    新しい<a href=#auxiliary-browsing-context>補助閲覧文脈</a>を、
1106    現在の閲覧文脈を<a href=#opener-browsing-context>開闢器閲覧文脈</a>として作らなければ[[MUST:なりません]]。
1107    与えられた閲覧文脈名が <code title="">_blank</code> でない場合、
1108    新しい補助閲覧文脈の名前は与えられた閲覧文脈名でなければ[[MUST:なりません]]
1109    (そうでない場合、名前を持ちません)。
1110    選ばれる閲覧文脈はこの新しい閲覧文脈でなければ[[MUST:なりません]]。
1111    即座に<a href=#navigate title=navigate>ナビゲーション</a>される場合は、
1112    そのナビゲーションは<a href=#replacement-enabled>置換有効</a>でなされます。
1113    
1114    #en
1115    If the user agent has been configured such that in this
1116         instance it will reuse the current browsing context
1117    #ja
1118    利用者エージェントがこの実現値において現在の閲覧文脈を再利用するよう設定されている場合
1119    
1120    #en
1121    The chosen browsing context is the current browsing
1122         context.
1123    #ja
1124    選ばれる閲覧文脈は現在の閲覧文脈です。
1125    
1126    #en
1127    If the user agent has been configured such that in this
1128         instance it will not find a browsing context
1129    #ja
1130    利用者エージェントがこの実現値において閲覧文脈を探さないよう設定されている場合
1131    
1132    #en
1133    There must not be a chosen browsing context.
1134    #ja
1135    選ばれる閲覧文脈があっては[[MUST NOT:なりません]]。
1136    
1137    #en
1138    User agent implementors are encouraged to provide a way for
1139        users to configure the user agent to always reuse the current
1140        browsing context.
1141    #ja
1142    利用者エージェントが常に現在の閲覧文脈を再利用するように利用者が設定できるようにすることを利用者エージェント実装者にはお勧めします。
1143    
1144    #pattern
1145    <span class=secno>* </span>The default view
1146    #ja
1147    <span class=secno>$1 </span>既定表示
1148    
1149    #en
1150    The <code>AbstractView</code> object of <a href=#default-view title="default
1151      view">default views</a> must also implement the
1152      <code><a href=#window>Window</a></code> and <code>EventTarget</code> interfaces.
1153    #ja
1154    <a href=#default-view title="default
1155      view">既定表示</a>の <code>AbstractView</code> オブジェクトは
1156    <code><a href=#window>Window</a></code> 界面と <code>EventTarget</code>
1157    界面も実装しなければ[[MUST:なりません]]。
1158    
1159    #en
1160    The <dfn id=dom-window title=dom-window><code>window</code></dfn>, <dfn id=dom-frames title=dom-frames><code>frames</code></dfn>, and <dfn id=dom-self title=dom-self><code>self</code></dfn> DOM attributes must all
1161      return the <code><a href=#window>Window</a></code> object itself.
1162    #ja
1163    DOM 属性 <dfn id=dom-window title=dom-window><code>window</code></dfn>、
1164    <dfn id=dom-frames title=dom-frames><code>frames</code></dfn>、
1165    <dfn id=dom-self title=dom-self><code>self</code></dfn>
1166    はすべて <code><a href=#window>Window</a></code> オブジェクト自体を返さなければ[[MUST:なりません]]。
1167    
1168    #en
1169    The <code><a href=#window>Window</a></code> object also provides the scope for script
1170      execution. Each <code>Document</code> in a <a href=#browsing-context>browsing
1171      context</a> has an associated <dfn id=list-of-added-properties>list of added properties</dfn>
1172      that, when a document is <a href=#active-document title="active
1173      document">active</a>, are available on the
1174      <code>Document</code>'s <a href=#default-view>default view</a>'s
1175      <code><a href=#window>Window</a></code> object. A <code>Document</code> object's
1176      <a href=#list-of-added-properties>list of added properties</a> must be empty when the
1177      <code>Document</code> object is created.
1178    #ja
1179    <code><a href=#window>Window</a></code> オブジェクトはスクリプト実行の適用範囲をも提供します。
1180    <a href=#browsing-context>閲覧文脈</a>中の各 <code>Document</code>
1181    は関連付けられた<dfn id=list-of-added-properties>追加特性のリスト</dfn>を持ち、
1182    この追加特性は、文書が<a href=#active-document title="active
1183      document">活性</a>な時、
1184    <code>Document</code> の<a href=#default-view>既定表示</a>の
1185    <code><a href=#window>Window</a></code> オブジェクト上で利用可能となります。
1186    <code>Document</code> オブジェクトの<a href=#list-of-added-properties>追加特性のリスト</a>は、
1187    <code>Document</code> オブジェクトが作られた時には空でなければ[[MUST:なりません]]。
1188    
1189    #en
1190    User agents must raise a <a href=#security-exception>security exception</a> whenever
1191      any of the members of a <code><a href=#window>Window</a></code> object are accessed by
1192      scripts whose <a href=#effective-script-origin>effective script origin</a> is not the same
1193      as the <code><a href=#window>Window</a></code> object's <a href=#browsing-context>browsing context</a>'s
1194      <a href=#active-document>active document</a>'s <a href=#effective-script-origin>effective script origin</a>,
1195      with the following exceptions:
1196    #ja
1197    利用者エージェントは、 <a href=#effective-script-origin>実効スクリプト起源</a>が
1198    <code><a href=#window>Window</a></code> オブジェクトの<a href=#browsing-context>閲覧文脈</a>の<a href=#active-document>活性文書</a>の<a href=#effective-script-origin>実効スクリプト起源</a>と同じでないスクリプトが
1199    <code><a href=#window>Window</a></code> オブジェクトの成員にアクセスしようとした際には、
1200    次に挙げる例外を除き、常に<a href=#security-exception>保安性例外</a>を投げなければ[[MUST:なりません]]。
1201    
1202    
1203    #en
1204    The <code title=dom-location><a href=#dom-location>location</a></code> object
1205    #ja
1206    <code title=dom-location><a href=#dom-location>location</a></code> オブジェクト
1207    
1208    #en
1209    The <code title=dom-window-postMessage-2><a href=#dom-window-postmessage-2>postMessage()</a></code>
1210       method with two arguments
1211    #ja
1212    2引数の <code title=dom-window-postMessage-2><a href=#dom-window-postmessage-2>postMessage()</a></code> メソッド
1213    
1214    #en
1215    The <code title=dom-window-postMessage-3><a href=#dom-window-postmessage-3>postMessage()</a></code>
1216       method with three arguments
1217    #ja
1218    3引数の <code title=dom-window-postMessage-3><a href=#dom-window-postmessage-3>postMessage()</a></code>
1219    メソッド
1220    
1221    #en
1222    The <code title=dom-frames><a href=#dom-frames>frames</a></code> attribute
1223    #ja
1224    <code title=dom-frames><a href=#dom-frames>frames</a></code> 属性
1225    
1226    #en
1227    User agents must not allow scripts to override the <code title=dom-location><a href=#dom-location>location</a></code> object's setter.
1228    #ja
1229    利用者エージェントはスクリプトが <code title=dom-location><a href=#dom-location>location</a></code>
1230    オブジェクトの設定器を上書きすることを認めては[[MUST NOT:なりません]]。
1231    
1232    #pattern
1233    <span class=secno>* </span>APIs for creating and navigating browsing contexts by name
1234    #ja
1235    <span class=secno>$1 </span>名前により閲覧文脈を作成・ナビゲーションする API
1236    
1237    #en
1238    The <dfn id=dom-open title=dom-open><code>open()</code></dfn> method on
1239      <code><a href=#window>Window</a></code> objects provides a mechanism for <a href=#navigate title=navigate>navigating</a> an existing <a href=#browsing-context>browsing
1240      context</a> or opening and navigating an <a href=#auxiliary-browsing-context>auxiliary browsing
1241      context</a>.
1242    #ja
1243    <code><a href=#window>Window</a></code> オブジェクトの
1244    <dfn id=dom-open title=dom-open><code>open()</code></dfn>
1245    メソッドは既存の<a href=#browsing-context>閲覧文脈</a>を<a href=#navigate title=navigate>ナビゲーション</a>したり、
1246    <a href=#auxiliary-browsing-context>補助閲覧文脈</a>を開いたりナビゲーションしたりする機構を提供します。
1247    
1248    #en
1249    The method has four arguments, though they are all optional.
1250    #ja
1251    このメソッドは4つの引数を持ちますが、そのすべてが任意選択です。
1252    
1253    #en
1254    The first argument, <var title="">url</var>, must be a
1255      <a href=#valid-url>valid URL</a> for a page to load in the browsing
1256      context. If no arguments are provided, or if the first argument is
1257      the empty string, then the <var title="">url</var> argument defaults
1258      to "<code><a href=#about:blank>about:blank</a></code><!-- XXX xref -->". The argument must be
1259      <a href=#resolve-a-url title="resolve a url">resolved</a> to an <a href=#absolute-url>absolute
1260      URL</a> (or an error) when the method is invoked.
1261    #ja
1262    最初の引数 <var title="">url</var> は、閲覧文脈中に読み込む頁の<a href=#valid-url>妥当な URL</a>
1263    でなければ[[MUST:なりません]]。引数が与えられなかった場合や、
1264    最初の引数が空文字列の場合、 <var title="">url</var> 引数には既定値の
1265    「<code><a href=#about:blank>about:blank</a></code><!-- XXX xref -->」
1266    が用いられます。
1267    この引数は、メソッドが呼び出された時に<a href=#absolute-url>絶対
1268      URL</a> (または誤り) に<a href=#resolve-a-url title="resolve a url">解決</a>されます。
1269    
1270    #en
1271    The second argument, <var title="">target</var>, specifies the
1272      <a href=#browsing-context-name title="browsing context name">name</a> of the browsing
1273      context that is to be navigated. It must be a <a href=#valid-browsing-context-name-or-keyword>valid browsing
1274      context name or keyword</a>. If fewer than two arguments are
1275      provided, then the <var title="">name</var> argument defaults to the
1276      value "<code>_blank</code>".
1277    #ja
1278    2つ目の引数 <var title="">target</var> は、ナビゲーションされる閲覧文脈の<a href=#browsing-context-name title="browsing context name">名前</a>を指定します。
1279    これは<a href=#valid-browsing-context-name-or-keyword>妥当な閲覧文脈名かキーワード</a>でなければ[[MUST:なりません]]。
1280    引数が2つ未満の場合には、 <var title="">name</var> 引数には既定値の「<code>_blank</code>」
1281    が用いられます。
1282    
1283    #en
1284    The third argument, <var title="">features</var>, has no effect
1285      and is supported for historical reasons only.
1286    #ja
1287    3つ目の引数 <var title="">features</var> は、効果を持たず、
1288    歴史的な理由のみにより対応しています。
1289    
1290    #en
1291    The fourth argument, <var title="">replace</var>, specifies
1292      whether or not the new page will <a href=#replacement-enabled title="replacement
1293      enabled">replace</a> the page currently loaded in the browsing
1294      context, when <var title="">target</var> identifies an existing
1295      browsing context (as opposed to leaving the current page in the
1296      browsing context's <a href=#session-history>session history</a>). When three or
1297      fewer arguments are provided, <var title="">replace</var> defaults
1298      to false.
1299    #ja
1300    4つ目の引数 <var title="">replace</var> は、 <var title="">target</var>
1301    が既存の閲覧文脈を識別する時に、
1302    閲覧文脈中に現在読み込まれている頁を
1303    (閲覧文脈の<a href=#session-history>セッション履歴</a>に現在の頁を残さずに)
1304    新しい頁が<a href=#replacement-enabled title="replacement
1305      enabled">置き換える</a>かどうかを指定します。
1306    引数が3つ以下の場合、 <var title="">replace</var> には既定値の偽が用いられます。
1307    
1308    #en
1309    When the method is invoked, the user agent must first select a
1310      <a href=#browsing-context>browsing context</a> to navigate by applying <a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>the
1311      rules for choosing a browsing context given a browsing context
1312      name</a> using the <var title="">target</var> argument as the
1313      name and the <a href=#browsing-context>browsing context</a> of the script as the
1314      context in which the algorithm is executed, unless the user has
1315      indicated a preference, in which case the browsing context to
1316      navigate may instead be the one indicated by the user.
1317    #ja
1318    利用者エージェントは、このメソッドが呼び出された時、まずは、
1319    <var title="">target</var> 引数を名前、スクリプトの<a href=#browsing-context>閲覧文脈</a>を算法が実行される文脈として用いて<a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>閲覧文脈名から閲覧文脈を選ぶ規則</a>を適用してナビゲーションを行う
1320    <a href=#browsing-context>閲覧文脈</a>を選択しなければ[[MUST:なりません]]。
1321    ただし、利用者が希望を示した場合は例外で、その場合は利用者が示した閲覧文脈をナビゲーションを行うものとして[[MAY:構いません]]。
1322    
1323    #en
1324    For example, suppose there is a user agent that
1325      supports control-clicking a link to open it in a new tab. If a user
1326      clicks in that user agent on an element whose <code title=handler-onclick><a href=#handler-onclick>onclick</a></code> handler uses the <code title=dom-open><a href=#dom-open>window.open()</a></code> API to open a page in an
1327      iframe, but, while doing so, holds the control key down, the user
1328      agent could override the selection of the target browsing context to
1329      instead target a new tab.
1330    #ja
1331    例えば、制御鍵を押しながらリンクをクリックすると新しいタブで開く利用者エージェントがあるとします。
1332    利用者がこの利用者エージェント上で <code title=handler-onclick><a href=#handler-onclick>onclick</a></code> 取扱器が <code title=dom-open><a href=#dom-open>window.open()</a></code> を用いて頁を iframe
1333    で開く要素をクリックした場合で、利用者がクリック中に制御鍵を押し続けていた場合、
1334    利用者エージェントは対象閲覧文脈の選択を上書きして、代わりに新しいタブで開くことができます。
1335    
1336    
1337    #en
1338    Then, the user agent must <a href=#navigate>navigate</a> the selected
1339      <a href=#browsing-context>browsing context</a> to the <a href=#absolute-url>absolute URL</a> (or
1340      error) obtained from <a href=#resolve-a-url title="resolve a url">resolving</a>
1341      <var title="">url</var>. If the <var title="">replace</var> is true,
1342      then <a href=#replacement-enabled title="replacement enabled">replacement must be
1343      enabled</a>; otherwise, it must not be enabled unless the
1344      <a href=#browsing-context>browsing context</a> was just created as part of the
1345      <a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>the rules for choosing a browsing context given a browsing
1346      context name</a>. The navigation must be done with the
1347      <a href=#script-browsing-context>script browsing context</a> of the script that invoked the
1348      method as the <a href=#source-browsing-context>source browsing context</a>.
1349    #ja
1350    その後、利用者エージェントは選ばれた<a href=#browsing-context>閲覧文脈</a>を <var title="">url</var>
1351    の<a href=#resolve-a-url title="resolve a url">解決</a>によって得られた<a href=#absolute-url>絶対
1352    URL</a> (または誤り) に<a href=#navigate>ナビゲーション</a>しなければ[[MUST:なりません]]。
1353    <var title="">replace</var> が真の場合、<a href=#replacement-enabled title="replacement enabled">置換を有効としなければ[[MUST:なりません]]</a>。そうでない場合、
1354    <a href=#browsing-context>閲覧文脈</a>が<a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name>閲覧文脈名から閲覧文脈を選ぶ規則</a>の中で作成されたばかりである場合を除き、
1355    置換を有効としては[[MUST NOT:なりません]]。ナビゲーションは、
1356    メソッドを呼び出したスクリプトの<a href=#script-browsing-context>スクリプト閲覧文脈</a>を<a href=#source-browsing-context>原始閲覧文脈</a>として行わなければ[[MUST:なりません]]。
1357    
1358    #en
1359    The method must return the <code><a href=#window>Window</a></code> object of the
1360      default view of the <a href=#browsing-context>browsing context</a> that was
1361      navigated, or null if no browsing context was navigated.
1362    #ja
1363    メソッドはナビゲーションされる<a href=#browsing-context>閲覧文脈</a>の既定表示の <code><a href=#window>Window</a></code>
1364    オブジェクトか、ナビゲーションされる閲覧文脈がない場合には null を返さなければ[[MUST:なりません]]。
1365    
1366    #en
1367    The <dfn id=dom-name title=dom-name><code>name</code></dfn> attribute of
1368      the <code><a href=#window>Window</a></code> object must, on getting, return the current
1369      name of the <a href=#browsing-context>browsing context</a>, and, on setting, set the
1370      name of the <a href=#browsing-context>browsing context</a> to the new value.
1371    #ja
1372    <code><a href=#window>Window</a></code> オブジェクトの <dfn id=dom-name title=dom-name><code>name</code></dfn>
1373    属性は、取得時には<a href=#browsing-context>閲覧文脈</a>の現在の名前を返し、
1374    設定時には<a href=#browsing-context>閲覧文脈</a>の名前を新しい値に設定しなければ[[MUST:なりません]]。
1375    
1376    #en
1377    The name <a href=#resetBCName>gets reset</a> when
1378      the browsing context is navigated to another domain.
1379    #ja
1380    名前は、他のドメインにナビゲーションされた時に<a href=#resetBCName>再設定されます</a>。
1381    
1382    #pattern
1383    <span class=secno>* </span>Accessing other browsing contexts
1384    #ja
1385    <span class=secno>$1 </span>他の閲覧文脈へのアクセス
1386    
1387    #en
1388    The <dfn id=dom-length title=dom-length><code>length</code></dfn> DOM
1389      attribute on the <code><a href=#window>Window</a></code> interface must return the
1390      number of <a href=#child-browsing-context title="child browsing context">child browsing
1391      contexts</a> of the <a href=#active-document title="active document">active</a>
1392      <code>Document</code>.
1393    #ja
1394    <code><a href=#window>Window</a></code>
1395    界面の <dfn id=dom-length title=dom-length><code>length</code></dfn> DOM 属性は<a href=#active-document title="active document">活性</a>
1396      <code>Document</code> の<a href=#child-browsing-context title="child browsing context">子閲覧文脈</a>の数を返さなければ[[MUST:なりません]]。
1397    
1398    #pattern
1399    <span class=secno>* </span>Origin
1400    #ja
1401    <span class=secno>$1 </span>起源
1402    
1403    #en
1404    The <dfn id=origin-0>origin</dfn> of a resource and the <dfn id=effective-script-origin>effective script
1405      origin</dfn> of a resource are both either opaque identifiers or
1406      tuples consisting of a scheme component, a host component, a port
1407      component, and optionally extra data.
1408    #ja
1409    資源の<dfn id=origin-0>起源</dfn>と資源の<dfn id=effective-script-origin>実効スクリプト起源</dfn>は、いずれも、不透明な識別子か、または scheme 部品、 host 部品、 port 部品、任意選択で余剰データの組かのいずれかです。
1410    
1411    #en
1412    The extra data could include the certificate of the
1413      site when using encrypted connections, to ensure that if the site's
1414      secure certificate changes, the origin is considered to change as
1415      well.
1416    #ja
1417    余剰データは、暗号化接続を使っている時に、サイトの保安証明書が変化した場合に起源も同時に変化したとみなすためにこれを含めることができます。
1418    
1419    #en
1420    For URLs
1421    #ja
1422    URL に関して
1423    
1424    #en
1425    The <a href=#origin-0>origin</a> and <a href=#effective-script-origin>effective script
1426        origin</a> of the <a href=#url>URL</a> is whatever is returned by
1427        the following algorithm:
1428    #ja
1429    <a href=#url>URL</a> の<a href=#origin-0>起源</a>と<a href=#effective-script-origin>実効スクリプト起源</a>は、次の算法によって返されるものです。
1430    
1431    #en
1432    Let <var title="">url</var> be the <a href=#url>URL</a> for
1433         which the <a href=#origin-0>origin</a> is being determined.
1434    #ja
1435    <var title="">url</var> を、<a href=#origin-0>起源</a>を決定しようとしている <a href=#url>URL</a>
1436    とします。
1437    
1438    #en
1439    <a href=#parse-a-url title="parse a url">Parse</a> <var title="">url</var>.
1440    #ja
1441    <var title="">url</var> を<a href=#parse-a-url title="parse a url">構文解析</a>します。
1442    
1443    #en
1444    If <var title="">url</var> does not use a server-based
1445         naming authority, or if parsing <var title="">url</var> failed,
1446         or if <var title="">url</var> is not an <a href=#absolute-url>absolute
1447         URL</a>, then return a new globally unique
1448         identifier.
1449    #ja
1450    <var title="">url</var> が鯖型命名局を用いていない場合や、
1451    <var title="">url</var> の構文解析が失敗した場合や、
1452    <var title="">url</var> が<a href=#absolute-url>絶対
1453         URL</a>
1454    でない場合、新しい大域的に固有な識別子を返します。
1455    
1456    #en
1457    Let <var title="">scheme</var> be the <a href=#url-scheme title=url-scheme>&lt;scheme&gt;</a> component of <var title="">url</var>, <a href=#converted-to-lowercase>converted to lowercase</a>.
1458    #ja
1459    <var title="">scheme</var> を、<var title="">url</var> の <a href=#url-scheme title=url-scheme>&lt;scheme&gt;</a> 部品を、<a href=#converted-to-lowercase>小文字に変換</a>したものとします。
1460    
1461    #en
1462    If the UA doesn't support the protocol given by <var title="">scheme</var>, then return a new globally unique
1463         identifier.
1464    #ja
1465    利用者エージェントが <var title="">scheme</var> によって与えられるプロトコルに対応していない場合、
1466    新しい大域的に固有な識別子を返します。
1467    
1468    
1469    #en
1470    If <var title="">scheme</var> is "<code title="">file</code>", then the user agent may return a
1471         UA-specific value.
1472    #ja
1473    <var title="">scheme</var> が「<code title="">file</code>」
1474    の場合、利用者エージェントは利用者エージェント規定の値を返して[[MAY:構いません]]。

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.97

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24