blob: 7435d8c4ae6ed7ea65cbe14492438d2517d1178b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
---
title: Performance.navigation
slug: Web/API/Performance/navigation
tags:
- HTTP
- Performance
- Propriété
- lecture seule
translation_of: Web/API/Performance/navigation
---
<p>{{APIRef("Navigation Timing")}}</p>
<h2 id="Summary">Summary</h2>
<p>La propriété en lecture seule <code><strong>Performance</strong></code><strong><code>.navigation</code></strong> permet d'accéder à un objet de type {{domxref("PerformanceNavigation")}} représentant la navigation qui a lieu dans le contexte courant, par êxemple, le nombre de redirections.</p>
<h2 id="Syntax">Syntax</h2>
<pre class="syntaxbox"><em>navObject</em> = <em>performance</em>.navigation;</pre>
<h2 id="Specifications">Specifications</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('Navigation Timing', '#sec-window.performance-attribute', 'Performance.navigation')}}</td>
<td>{{Spec2('Navigation Timing')}}</td>
<td>Initial definition.</td>
</tr>
</tbody>
</table>
<h2 id="Browser_compatibility">Browser compatibility</h2>
<div>
<div>
<p>{{Compat("api.Performance.navigation")}}</p>
</div>
</div>
<h2 id="See_also">See also</h2>
<ul>
<li>The {{domxref("Performance")}} interface it belongs to.</li>
</ul>
|