aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/urierror
diff options
context:
space:
mode:
authorFlorian Merz <me@fiji-flo.de>2021-02-11 12:56:40 +0100
committerFlorian Merz <me@fiji-flo.de>2021-02-11 12:56:40 +0100
commit310fd066e91f454b990372ffa30e803cc8120975 (patch)
treed5d900deb656a5da18e0b60d00f0db73f3a2e88e /files/zh-cn/web/javascript/reference/global_objects/urierror
parent8260a606c143e6b55a467edf017a56bdcd6cba7e (diff)
downloadtranslated-content-310fd066e91f454b990372ffa30e803cc8120975.tar.gz
translated-content-310fd066e91f454b990372ffa30e803cc8120975.tar.bz2
translated-content-310fd066e91f454b990372ffa30e803cc8120975.zip
unslug zh-cn: move
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/urierror')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/urierror/prototype/index.html83
1 files changed, 0 insertions, 83 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/urierror/prototype/index.html b/files/zh-cn/web/javascript/reference/global_objects/urierror/prototype/index.html
deleted file mode 100644
index c5d381250a..0000000000
--- a/files/zh-cn/web/javascript/reference/global_objects/urierror/prototype/index.html
+++ /dev/null
@@ -1,83 +0,0 @@
----
-title: URIError.prototype
-slug: Web/JavaScript/Reference/Global_Objects/URIError/prototype
-translation_of: Web/JavaScript/Reference/Global_Objects/URIError
-translation_of_original: Web/JavaScript/Reference/Global_Objects/URIError/prototype
----
-<div>{{JSRef}}</div>
-
-<div><code><strong>URIError.prototype</strong></code> 属性表示 {{jsxref("URIError")}} 构造器的原型。</div>
-
-<h2 id="描述">描述</h2>
-
-<p>所有的 {{jsxref("URIError")}} 实例都继承自 <code>URIError.prototype</code>。 可以通过原型(prototype) 给所有的实例添加属性或者方法。</p>
-
-<h2 id="属性">属性</h2>
-
-<dl>
- <dt><code>URIError.prototype.constructor</code></dt>
- <dd>声明创建实例原型 (prototype) 的方法。</dd>
- <dt>{{jsxref("Error.prototype.message", "URIError.prototype.message")}}</dt>
- <dd>错误信息。虽然 ECMA-262 规范指出 {{jsxref("URIError")}} 应该提供其自己专属的 <code><strong>message</strong></code><strong> </strong>属性,但是在 <a href="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey">SpiderMonkey</a> 中,该属性继承自 {{jsxref("Error.prototype.message")}}</dd>
- <dt>{{jsxref("Error.prototype.name", "URIError.prototype.name")}}</dt>
- <dd>错误名称。继承自 {{jsxref("Error")}}。</dd>
- <dt>{{jsxref("Error.prototype.fileName", "URIError.prototype.fileName")}}</dt>
- <dd>产生该错误的代码所在文件的路径。 继承自 {{jsxref("Error")}}。</dd>
- <dt>{{jsxref("Error.prototype.lineNumber", "URIError.prototype.lineNumber")}}</dt>
- <dd>产生该错误的代码所在行的行号。继承自 {{jsxref("Error")}}。</dd>
- <dt>{{jsxref("Error.prototype.columnNumber", "URIError.prototype.columnNumber")}}</dt>
- <dd>产生该错误的代码所在列的列号。 继承自 {{jsxref("Error")}}。</dd>
- <dt>{{jsxref("Error.prototype.stack", "URIError.prototype.stack")}}</dt>
- <dd>堆栈记录。继承自 {{jsxref("Error")}}。</dd>
-</dl>
-
-<h2 id="方法">方法</h2>
-
-<p>虽然 {{jsxref("URIError")}} 的原型对象自身不包含任何方法,但是 {{jsxref("URIError")}} 的实例通过原型链(prototype chain)继承了一些方法。</p>
-
-<h2 id="规范">规范</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Specification</th>
- <th scope="col">Status</th>
- <th scope="col">Comment</th>
- </tr>
- <tr>
- <td>{{SpecName('ES3', '#sec-15.11.7.6', 'NativeError.prototype')}}</td>
- <td>{{Spec2('ES3')}}</td>
- <td> 初始定义</td>
- </tr>
- <tr>
- <td>{{SpecName('ES5.1', '#sec-15.11.7.6', 'NativeError.prototype')}}</td>
- <td>{{Spec2('ES5.1')}}</td>
- <td> 定义为 <code><em>NativeError</em>.prototype</code>.</td>
- </tr>
- <tr>
- <td>{{SpecName('ES6', '#sec-nativeerror.prototype', 'NativeError.prototype')}}</td>
- <td>{{Spec2('ES6')}}</td>
- <td><font face="Open Sans, arial, x-locale-body, sans-serif"><span style="background-color: rgba(212, 221, 228, 0.15);"> 定义为</span></font><code><em>NativeError</em>.prototype</code>.</td>
- </tr>
- <tr>
- <td>{{SpecName('ESDraft', '#sec-nativeerror.prototype', 'NativeError.prototype')}}</td>
- <td>{{Spec2('ESDraft')}}</td>
- <td><font face="Open Sans, arial, x-locale-body, sans-serif"><span style="background-color: rgba(212, 221, 228, 0.25);"> 定义为</span></font><code><em>NativeError</em>.prototype</code>.</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="浏览器兼容性">浏览器兼容性</h2>
-
-<div>
-
-
-<p>{{Compat("javascript.builtins.URIError")}}</p>
-</div>
-
-<h2 id="相关链接">相关链接</h2>
-
-<ul>
- <li>{{jsxref("Error.prototype")}}</li>
- <li>{{jsxref("Function.prototype")}}</li>
-</ul>