svnlabs / google-caja

Automatically exported from code.google.com/p/google-caja
0 stars 1 forks source link

not clear how to run AMD loader test #1838

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What revision of the cajoler exhibits the problem?  On what browser and OS?

Using Chrome 28.0.1500.71 on Linux

What steps will reproduce the problem?
1. check out caja Rev: 5049
2. cd google-caja-read-only/src/com/google/caja/ses
3. xdg-open explicit.html

What is the expected output? 

 AMD loader test...succeeded

What do you see instead?

 AMD loader test...failed: Error: NetworkError: DOM Exception 19

Please provide any additional information below.

Opening it as file:// clearly won't work. I could perhaps have figured that 
out, but it felt like guesswork.

I was just hoping to see something either in or near explicit.html that says 
"serve this up via http and load it in a browser".

Using tools/httpdhere.py from the ses directory doesn't work either; it has to 
be started from the project root.

Also, kpreid tells me I should be looking at the chrome dev console for 
diagnostics. While fairly obvious, that would be a reassuring clue to find 
documented as well.

Original issue reported on code.google.com by d...@madmode.com on 10 Aug 2013 at 5:51

GoogleCodeExporter commented 9 years ago

Original comment by erights on 10 Aug 2013 at 6:03

GoogleCodeExporter commented 9 years ago

Original comment by kpreid@google.com on 7 Nov 2013 at 8:30

GoogleCodeExporter commented 9 years ago

Original comment by erights@google.com on 15 Feb 2015 at 7:57