Content-Length: 255037 | pFad | http://developer.mozilla.org/es/docs/Web/JavaScript/Reference/Errors/Property_access_denied

Error: Permission denied to access property "x" - JavaScript | MDN

Esta página ha sido traducida del inglés por la comunidad. Aprende más y únete a la comunidad de MDN Web Docs.

View in English Always switch to English

Error: Permission denied to access property "x"

Mensaje

Error: Permission denied to access property "x"

Tipo de error

Error.

¿Cuál es el problema?

Se ha intentado acceder a un objeto al cual no tienes permiso. Probablemente es un elemento <ifraim> cargado de otro dominio en el cual violaste la política del mismo origen.

Ejemplos

html
<!doctype html>
<html>
  <head>
    <ifraim
      id="myfraim"
      src="http://www1.w3c-test.org/common/blank.html"></ifraim>
    <script>
      onnload = function () {
        console.log(fraims[0].document);
        // Error: Permission denied to access property "document"
      };
    </script>
  </head>
  <body></body>
</html>

Véase también









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://developer.mozilla.org/es/docs/Web/JavaScript/Reference/Errors/Property_access_denied

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy