New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 60867 link

Starred by 4 users

Issue metadata

Status: Duplicate
Merged: issue 40787
Email to this user bounced
Closed: Nov 2010
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

  • Only users with Commit permission may comment.

Sign in to add a comment

Javascript error with Pyjamas example

Reported by, Oct 27 2010

Issue description

Google Chrome	7.0.517.41 (Official Build 62167)
WebKit	534.7
User Agent	Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7
Command Line	"C:\Documents and Settings\home\Local Settings\Application Data\Google\Chrome\Application\chrome.exe"
URLs (if applicable) : file:///C:/Pyjamas/pyjamas-0.7/examples/helloworld/output/Hello.html
Other browsers tested: Firefox
Add OK or FAIL after other browsers where you have tested this issue:
Safari 4:
  Firefox 3.x: Ok
IE 7:
IE 8:

What steps will reproduce the problem?
1. Compile the Pyjamas hello world example
2. Open hello.html

What is the expected result?
Several buttons, an AJAX button.

What happens instead?
Nothing shows up.

Please provide any additional information below. Attach a screenshot if

70.7 KB View Download
Labels: FeedbackRequested
Could you, please, attach your html page here?

Comment 2 by, Oct 27 2010

 Issue 60868  has been merged into this issue.

Comment 3 by, Oct 27 2010

@ekamenskaya:  I think, it is attached in (dupe)  issue 60868 .
Labels: NeedsReduction

Comment 5 Deleted

the code is attached in the duplicate:

Also, many examples on the pyjamas site don't work (oddly enough, even though the hello example didn't work on my computer, it does work on the examples site):
This is a security issue.

The script ONLY runs when loaded from the internet
Does it work if you start chrome with --allow-file-access-from-files flag?
Yea, it works
47.0 KB View Download
Labels: -FeedbackRequested -NeedsReduction
Mergedinto: 40787
Status: Duplicate
Great. This is 'working as intended' then - the change was made on  issue 4197 . See that and  bug 40787  for more details. You can currently use either the --allow-file-access-from-files flag or a local webserver as a workaround.

There's  Issue 47416  which suggests loosening the policy a bit - you might want to star that if you want to get notified of updates related to this.
Project Member

Comment 11 by, Oct 12 2012

Labels: Restrict-AddIssueComment-Commit
Mergedinto: chromium:40787
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.
Project Member

Comment 12 by, Mar 11 2013

Labels: -Area-Undefined

Sign in to add a comment