Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Error: Permission denied to access property "x"

Relawan kami belum menerjemahkan artikel ini ke dalam Bahasa Indonesia . Bergabunglah dan bantu kami menyelesaikan pekerjaan ini!

Message

Error: Permission denied to access property "x"

Error type

Error.

What went wrong?

There was attempt to access an object for which you have no permission. This is likely an <iframe> element loaded from a different domain for which you violated the same-origin policy.

Examples

<!DOCTYPE html>
<html>
  <head>
    <iframe id="myframe" src="https://www1.w3c-test.org/common/blank.html"></iframe>
    <script>
      onload = function() {
        console.log(frames[0].document);
        // Error: Permission denied to access property "document"
      }
    </script>
  </head>
  <body></body>
</html>

See also

Tag Dokumen dan Kontributor

 Kontributor untuk laman ini: SphinxKnight, Bzbarsky, fscholz
 Terakhir diperbarui oleh: SphinxKnight,