Comments (4)
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.
What does the JavaScript console say?
from learnangular.
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
from learnangular.
Probably a Chrome on Mac issue. No problems in Safari. Thanks for checking into the issue.
from learnangular.
Related Issues (20)
- Make the left-side menu navigation offer proper links for copying or opening in a new window HOT 3
- Consider using single quotes ' in JavaScript instead of double quotes " HOT 2
- Ambiguous syntax explanation in the $watch tutorial HOT 3
- ... learn which version of angular? HOT 2
- Page Not Found: Dependency injection for five year olds HOT 2
- User data is not being saved in AJAX tutorial HOT 2
- Amazing explanation HOT 1
- The Value Recipe needs some update HOT 5
- Nice explanation. One more point. HOT 3
- First Lesson: Simple App doesn't display HTML correctly HOT 9
- Constant recope HOT 3
- First lesson bug HOT 2
- Binding CSS classes HOT 1
- extra code in Two-way bindings lesson HOT 1
- aesthetics issue in repeaters HOT 1
- Syntax error causes fields to be uneditable
- lol :D HOT 1
- Where can we find the .css files? HOT 1
- The tutorial no longer work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from learnangular.