---
title: Performance.navigation
slug: Web/API/Performance/navigation
tags:
  - API
  - Deprecado
  - HTTP
  - Legado
  - Propiedad
  - Rendimiento
  - Solo lectura
  - Tiempo de navegación
translation_of: Web/API/Performance/navigation
---
<p>{{APIRef("Navigation Timing")}}</p>

<div class="warning">
<p>Esta propiedad está deprecada en <a href="https://w3c.github.io/navigation-timing/#obsolete">Navigation Timing Level 2 specification</a>.</p>
</div>

<p>La propiedad de solo lectura <code><strong>Performance</strong></code><strong><code>.navigation</code></strong> del legado devuelve un objeto {{domxref("PerformanceNavigation")}} representado el tipo de navegación que ocurre en el contexto de navegación dado, tales como el número de redirecciones necesarias para traer el recurso.</p>

<p>Esta propiedad no está disponible en workers.</p>

<h2 id="Sintaxis">Sintaxis</h2>

<pre class="syntaxbox"><em>navObject</em> = <em>performance</em>.navigation;</pre>

<h2 id="Especificaciones">Especificaciones</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">Especificación</th>
   <th scope="col">Estado</th>
   <th scope="col">Comentario</th>
  </tr>
  <tr>
   <td>{{SpecName('Navigation Timing', '#sec-window.performance-attribute', 'Performance.navigation')}}</td>
   <td>{{Spec2('Navigation Timing')}}</td>
   <td>Definición inicial.</td>
  </tr>
 </tbody>
</table>

<h2 id="Compatibilidad_de_navegadores">Compatibilidad de navegadores</h2>

<div>


<p>{{Compat("api.Performance.navigation")}}</p>
</div>

<h2 id="Ver_también">Ver también</h2>

<ul>
 <li>The {{domxref("Performance")}} interface it belongs to.</li>
</ul>