GithubHelp home page GithubHelp logo

Comments (4)

levibotelho avatar levibotelho commented on June 12, 2024 1

It shouldn't be browser dependent -- the issue is that the frame is from a different origin than the site. This error USED to happen because people would land on learn-angular.org and access an AJAX endpoint in the last lesson from www.learn-angular.org. I fixed that by modifying the DNS record.

I honestly can't see why this error would occur because the frame is on the same site. It's not even loading anything -- the site just writes to the frame as you can see here. It's as same-origin as same-origin can be.

I'm also finding this difficult to comprehend because you're the first person to report this, and with the amount of traffic the site gets someone else certainly should have reported it by now. I for one cannot reproduce (tested on Chrome on Windows and Chromium on Ubuntu).

Do you have access to a Windows machine by any chance? I'm wondering if this is specific to the Mac version of Chrome. Maybe I'm way off base here but I really have no idea... Might need some help from Stack Overflow.

from learnangular.

levibotelho avatar levibotelho commented on June 12, 2024

What does the JavaScript console say?

from learnangular.

aaronkelton avatar aaronkelton commented on June 12, 2024

Quick note: it does work on iPhone Chrome browser, latest updates.

2angular.min.js:85 Error: Blocked a frame with origin "http://www.learn-angular.org" from accessing a cross-origin frame. at Error (native) at h.n.run (http://www.learn-angular.org/bundles/scripts?v=r88Q425Dp0R03EpeDj-uTsZ6EkZzuvATUk6abF9Wcks1:1:1776) at http://ajax.googleapis.com/ajax/libs/angularjs/1.2.12/angular.min.js:163:57 at http://ajax.googleapis.com/ajax/libs/angularjs/1.2.12/angular.min.js:179:344 at h.$eval (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.12/angular.min.js:102:456) at h.$apply (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.12/angular.min.js:103:212) at HTMLButtonElement.<anonymous> (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.12/angular.min.js:179:326) at http://ajax.googleapis.com/ajax/libs/angularjs/1.2.12/angular.min.js:27:208 at q (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.12/angular.min.js:7:386) at HTMLButtonElement.Yc.c (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.12/angular.min.js:27:190)(anonymous function) @ angular.min.js:85

image

from learnangular.

aaronkelton avatar aaronkelton commented on June 12, 2024

Probably a Chrome on Mac issue. No problems in Safari. Thanks for checking into the issue.

from learnangular.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.