aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/ja/web/api/performance/navigation/index.md53
-rw-r--r--files/ja/web/api/performance/resourcetimingbufferfull_event/index.md97
-rw-r--r--files/ja/web/api/performance/timeorigin/index.md43
-rw-r--r--files/ja/web/api/performance/timing/index.md53
4 files changed, 98 insertions, 148 deletions
diff --git a/files/ja/web/api/performance/navigation/index.md b/files/ja/web/api/performance/navigation/index.md
index c10ffa3203..3ff47dcdc3 100644
--- a/files/ja/web/api/performance/navigation/index.md
+++ b/files/ja/web/api/performance/navigation/index.md
@@ -3,55 +3,40 @@ title: Performance.navigation
slug: Web/API/Performance/navigation
tags:
- API
- - Deprecated
+ - 後方互換性
+ - 非推奨
- HTTP
- - legacy
- ナビゲーションタイミング
- パフォーマンス
- プロパティ
- - 後方互換性
- 読み取り専用
+ - legacy
+browser-compat: api.Performance.navigation
translation_of: Web/API/Performance/navigation
---
-<p>{{APIRef("Navigation Timing")}}</p>
+{{APIRef("Navigation Timing")}}{{Deprecated_Header}}
-<div class="warning">
-<p>このプロパティは <a href="https://w3c.github.io/navigation-timing/#obsolete">Navigation Timing Level 2 仕様</a>では非推奨です。</p>
-</div>
+古い **`Performance.navigation`** は読み取り専用プロパティで、指定された閲覧コンテキスト内で発生するナビゲーションの種類を表す {{domxref("PerformanceNavigation")}} オブジェクトを返します。リソースを取得するまでに必要なリダイレクトの数などです。
-<p>従来の <code><strong>Performance</strong></code><strong><code>.navigation</code></strong> 読み取り専用プロパティは、リソースの取得に必要なリダイレクト数など、特定のブラウジングコンテキストで発生したナビゲーションの種類を表す {{domxref("PerformanceNavigation")}} オブジェクトを返します。</p>
+このプロパティはワーカーでは利用できません。
-<p>このプロパティは Worker では使用できません。</p>
+> **Warning:** このプロパティは [Navigation Timing Level 2 仕様書](https://w3c.github.io/navigation-timing/#obsolete)では非推奨です。代わりに {{domxref("PerformanceNavigationTiming")}} を使用してください。
-<h2 id="構文">構文</h2>
+## 構文
-<pre class="syntaxbox"><em>navObject</em> = <em>performance</em>.navigation;</pre>
+```js
+navObject = performance.navigation;
+```
-<h2 id="仕様">仕様</h2>
+## 仕様書
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">仕様書</th>
- <th scope="col">ステータス</th>
- <th scope="col">コメント</th>
- </tr>
- <tr>
- <td>{{SpecName('Navigation Timing', '#sec-window.performance-attribute', 'Performance.navigation')}}</td>
- <td>{{Spec2('Navigation Timing')}}</td>
- <td>初期定義</td>
- </tr>
- </tbody>
-</table>
+この機能は標準化路線上にはありません。 [Navigation Timing 仕様書](https://w3c.github.io/navigation-timing/#obsolete)では非推奨としています。
+代わりに {{domxref("PerformanceNavigationTiming")}} インターフェイスを使用してください。
-<h2 id="ブラウザの互換性">ブラウザの互換性</h2>
+## ブラウザーの互換性
-<div>
-<p>{{Compat("api.Performance.navigation")}}</p>
-</div>
+{{Compat}}
-<h2 id="あわせて参照">あわせて参照</h2>
+## 関連情報
-<ul>
- <li>The {{domxref("Performance")}} interface it belongs to.</li>
-</ul>
+- 所属先の {{domxref("Performance")}} インターフェイス
diff --git a/files/ja/web/api/performance/resourcetimingbufferfull_event/index.md b/files/ja/web/api/performance/resourcetimingbufferfull_event/index.md
index bfabd2adae..56151c0e8f 100644
--- a/files/ja/web/api/performance/resourcetimingbufferfull_event/index.md
+++ b/files/ja/web/api/performance/resourcetimingbufferfull_event/index.md
@@ -1,84 +1,75 @@
---
-title: 'Performance: resourcetimingbufferfull event'
+title: 'Performance: resourcetimingbufferfull イベント'
slug: Web/API/Performance/resourcetimingbufferfull_event
tags:
- API
- DOM
- - Web 開発
- - onresourcetimingbufferfull
- イベント
- パフォーマンス
- リファレンス
+ - ウェブパフォーマンス
+ - onresourcetimingbufferfull
+browser-compat: api.Performance.resourcetimingbufferfull_event
translation_of: Web/API/Performance/resourcetimingbufferfull_event
---
-<div>{{APIRef}}</div>
+{{APIRef}}
-<p><code>resourcetimingbufferfull</code> イベントは、ブラウザのリソースタイミングバッファがいっぱいになると発生します。</p>
+`resourcetimingbufferfull` イベントは、ブラウザーのリソースタイミングバッファーがいっぱいになると発生します。
<table class="properties">
- <tbody>
- <tr>
- <th scope="row">バブル</th>
- <td>はい</td>
- </tr>
- <tr>
- <th scope="row">キャンセル可能</th>
- <td>はい</td>
- </tr>
- <tr>
- <th scope="row">インターフェイス</th>
- <td>{{domxref("Event")}}</td>
- </tr>
- <tr>
- <th scope="row">イベントハンドラプロパティ</th>
- <td>{{domxref("Performance.onresourcetimingbufferfull", "onresourcetimingbufferfull")}}</td>
- </tr>
- </tbody>
+ <tbody>
+ <tr>
+ <th scope="row">バブリング</th>
+ <td>はい</td>
+ </tr>
+ <tr>
+ <th scope="row">キャンセル</th>
+ <td>可</td>
+ </tr>
+ <tr>
+ <th scope="row">インターフェイス</th>
+ <td>{{domxref("Event")}}</td>
+ </tr>
+ <tr>
+ <th scope="row">イベントハンドラープロパティ</th>
+ <td>
+ {{domxref("Performance.onresourcetimingbufferfull", "onresourcetimingbufferfull")}}
+ </td>
+ </tr>
+ </tbody>
</table>
-<h2 id="例">例</h2>
+## 例
-<p>次の例では、<code>onresourcetimingbufferfull</code> プロパティにコールバック関数を設定します。</p>
+次の例では、`onresourcetimingbufferfull` プロパティにコールバック関数を設定します。
-<pre class="brush: js">function buffer_full(event) {
+```js
+function buffer_full(event) {
console.log("WARNING: Resource Timing Buffer is FULL!");
performance.setResourceTimingBufferSize(200);
}
function init() {
- // Set a callback if the resource buffer becomes filled
+ // リソースバッファーが一杯になったときのコールバックを設定
performance.onresourcetimingbufferfull = buffer_full;
}
-&lt;body onload="init()"&gt;</pre>
+<body onload="init()">
+```
-<p>addEventListener() 関数を使用してハンドラを設定することもできます。</p>
+addEventListener() 関数を使用してハンドラーを設定することもできます。
-<pre class="brush: js">performance.addEventListener('resourcetimingbufferfull', buffer_full);
-</pre>
+```js
+performance.addEventListener('resourcetimingbufferfull', buffer_full);
+```
-<h2 id="仕様">仕様</h2>
+## 仕様書
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">仕様書</th>
- <th scope="col">ステータス</th>
- <th scope="col">コメント</th>
- </tr>
- <tr>
- <td>{{SpecName('Resource Timing', '#dom-performance-onresourcetimingbufferfull', 'onresourcetimingbufferfull')}}</td>
- <td>{{Spec2('Resource Timing')}}</td>
- <td>初期定義</td>
- </tr>
- </tbody>
-</table>
+{{Specifications}}
-<h2 id="ブラウザの互換性">ブラウザの互換性</h2>
+## ブラウザーの互換性
-<div>{{Compat("api.Performance.resourcetimingbufferfull_event")}}</div>
+{{Compat}}
-<h2 id="あわせて参照">あわせて参照</h2>
+## 関連情報
-<ul>
- <li>{{domxref("Performance.clearResourceTimings","Performance.clearResourceTimings()")}}</li>
- <li>{{domxref("Performance.setResourceTimingBufferSize","Performance.setResourceTimingBufferSize()")}}</li>
-</ul>
+- {{domxref("Performance.clearResourceTimings","Performance.clearResourceTimings()")}}
+- {{domxref("Performance.setResourceTimingBufferSize","Performance.setResourceTimingBufferSize()")}}
diff --git a/files/ja/web/api/performance/timeorigin/index.md b/files/ja/web/api/performance/timeorigin/index.md
index eabb9801d2..3dcf89e21c 100644
--- a/files/ja/web/api/performance/timeorigin/index.md
+++ b/files/ja/web/api/performance/timeorigin/index.md
@@ -3,45 +3,34 @@ title: Performance.timeOrigin
slug: Web/API/Performance/timeOrigin
tags:
- API
- - Experimental
- - High Resolution Time API
- - timeOrigin
+ - 実験的
+ - 高解像度時間 API
- パフォーマンス
- プロパティ
- リファレンス
+ - timeOrigin
translation_of: Web/API/Performance/timeOrigin
---
-<p>{{SeeCompatTable}}{{APIRef("High Resolution Time")}}</p>
+{{SeeCompatTable}}{{APIRef("High Resolution Time")}}
-<p>{{domxref("Performance")}} インターフェイスの <strong><code>timeOrigin</code></strong> 読み取り専用プロパティは、パフォーマンス測定の開始時刻のハイレゾリューションタイムスタンプを返します。</p>
+**`timeOrigin`** は {{domxref("Performance")}} インターフェイスの読み取り専用プロパティで、パフォーマンス測定の開始時刻の高解像度タイムスタンプを返します。
-<p>{{AvailableInWorkers}}</p>
+{{AvailableInWorkers}}
-<h2 id="構文">構文</h2>
+## 構文
-<pre class="syntaxbox">var <em>timeOrigin</em> = performance.timeOrigin</pre>
+```js
+var timeOrigin = performance.timeOrigin
+```
-<h3 id="値">値</h3>
+### 値
-<p>ハイレゾリューションのタイムスタンプ</p>
+高解像度のタイムスタンプです。
-<h2 id="仕様">仕様</h2>
+## 仕様書
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">仕様書</th>
- <th scope="col">ステータス</th>
- </tr>
- <tr>
- <td>{{SpecName('Highres Time Level 2','#dom-performance-timeorigin','timeOrigin')}}</td>
- <td>{{Spec2('Highres Time Level 2')}}</td>
- </tr>
- </tbody>
-</table>
+{{Specifications}}
-<h2 id="ブラウザの互換性">ブラウザの互換性</h2>
+## ブラウザーの互換性
-<div>
-<p>{{Compat("api.Performance.timeOrigin")}}</p>
-</div>
+{{Compat}}
diff --git a/files/ja/web/api/performance/timing/index.md b/files/ja/web/api/performance/timing/index.md
index 4253259edd..3c4dfe12dc 100644
--- a/files/ja/web/api/performance/timing/index.md
+++ b/files/ja/web/api/performance/timing/index.md
@@ -3,54 +3,39 @@ title: Performance.timing
slug: Web/API/Performance/timing
tags:
- API
- - legacy
+ - 後方互換性
+ - 非推奨
- ナビゲーションタイミング
- パフォーマンス
- プロパティ
- - 後方互換性
- 読み取り専用
- - 非推奨
+ - legacy
+browser-compat: api.Performance.timing
translation_of: Web/API/Performance/timing
---
-<p>{{APIRef("Navigation Timing")}}</p>
+{{APIRef("Navigation Timing")}}{{deprecated_header}}
-<div class="warning">
-<p>このプロパティは <a href="https://w3c.github.io/navigation-timing/#obsolete">Navigation Timing Level 2 仕様</a>では非推奨です。代わりに {{domxref("Performance.timeOrigin")}} プロパティを使用してください。</p>
-</div>
+古い **`Performance.timing`** 読み取り専用プロパティは、遅延時間に関するパフォーマンス情報を含む {{domxref("PerformanceTiming")}} オブジェクトを返します。
-<p>従来の <code><strong>Performance</strong></code><strong><code>.timing</code></strong> 読み取り専用プロパティは、待ち時間に関連するパフォーマンス情報を含む {{domxref("PerformanceTiming")}} オブジェクトを返します。</p>
+このプロパティはワーカーでは使用できません。
-<p>このプロパティは Worker には使用できません。</p>
+> **Warning:** このプロパティは [Navigation Timing Level 2 仕様書](https://w3c.github.io/navigation-timing/#obsolete)では非推奨です。代わりに {{domxref("PerformanceNavigationTiming")}} を使用してください。
-<h2 id="構文">構文</h2>
+## 構文
-<pre class="syntaxbox"><em>timingInfo</em> = <em>performance</em>.timing;</pre>
+```js
+timingInfo = performance.timing;
+```
-<h2 id="仕様">仕様</h2>
+## 仕様書
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">仕様書</th>
- <th scope="col">ステータス</th>
- <th scope="col">コメント</th>
- </tr>
- <tr>
- <td>{{SpecName('Navigation Timing', '#sec-window.performance-attribute', 'Performance.timing')}}</td>
- <td>{{Spec2('Navigation Timing')}}</td>
- <td>初期定義</td>
- </tr>
- </tbody>
-</table>
+この機能は標準化路線上にはありません。 [Navigation Timing 仕様書](https://w3c.github.io/navigation-timing/#obsolete)では非推奨としています。
+代わりに {{domxref("PerformanceNavigationTiming")}} インターフェイスを使用してください。
-<h2 id="ブラウザの互換性">ブラウザの互換性</h2>
+## ブラウザーの互換性
-<div>
-<p>{{Compat("api.Performance.timing")}}</p>
-</div>
+{{Compat}}
-<h2 id="あわせて参照">あわせて参照</h2>
+## 関連情報
-<ul>
- <li>属している {{domxref("Performance")}} インターフェイス</li>
-</ul>
+- 所属先の {{domxref("Performance")}} インターフェイス