History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: FB-12211
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: C C
Assignee: Mac Martine
Reporter: Mac Martine
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Flash Builder / Flex Builder

Security error when viewing source on any project: OSX

Created: 03/06/08 01:26 PM   Updated: 06/15/09 12:47 PM
Component/s: View Source
Security Level: Public (All JIRA Users )

Issue Links:
Duplicate
This issue duplicates:
FB-11595 Trust file updates not applied while ... None Waiting on Info
 

Severity: Incorrectly Functioning
Reproducibility: Every Time
Discoverability: High
Found in Version: 3.0 (Released) - 194161
Milestone: Gumbo Release
Affected OS(s): Mac - All Macs
Steps to Reproduce:
Steps to reproduce:

This has come up before, but now it's happening for me with every project inside or outside the workspace. I also tried creating a new workspace, same problem.
The flexbuilder_plugin.cfg file has the project path in it as /User/mac/ws/test/bin-debug but the path run is file://localhost/Users/ws/test/bin-debug/goner.swf

(Found on OSX)

1. Create a Flex Project
2. Export Release Version
3. Run/Debug
4. View Source
 
 Actual Results:
[SWF] Users:homer:goner:bin-debug:goner.swf - 554,455 bytes after decompression
*** Security Sandbox Violation ***
SecurityError: Error #2148: SWF file file://localhost/Users/ws/test/bin-debug/goner.swf cannot access local resource srcview/index.html. Only local-with-filesystem and trusted local SWF files may access local resources.
at global/flash.net::navigateToURL()
at mx.core::Application/menuItemSelectHandler()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\Application.as:1518]
Connection to srcview/index.html halted - not permitted from file://localhost/Users/ws/test/goner/bin-debug/goner.swf
 
 -- Also, why is it looking for an E: drive? I'm on a Mac so that would never exist
 Expected Results:
 
 
 Workaround (if any):
 
 
 
Language Found: English
Bugbase Id: none
Triaged: Yes
Regression: No
QA Owner: Rebecca Hauck
Resolved by: Tom Lane
Fixed Version: Gumbo I6 - 206045
Confirmed Version: Gumbo I6 - 206045
Participants: Heidi Williams, Jason San Jose, Larry McLister, Mac Martine, Michael Huensch, Rebecca Hauck, Sharon Ma and Tom Lane


 All   Comments      Sort Order:
Rebecca Hauck - [03/27/08 01:17 PM ]
Hey Mac,

This is UTR for me on both Win and Mac. Are you still seeing it?

-R

Michael Huensch - [04/09/08 11:37 PM ]
[SWF] C:\Documents and Settings\Threadkiller\My Documents\Flex Builder 3\Away3DTest\bin-debug\Away3DTest.swf - 802,537 bytes after decompression
*** Security Sandbox Violation ***
Connection to Spirit1.md2 halted - not permitted from file:///C:/Documents and Settings/Threadkiller/My Documents/Flex Builder 3/Away3DTest/bin-debug/Away3DTest.swf
SecurityError: Error #2148: SWF file file:///C:/Documents and Settings/Threadkiller/My Documents/Flex Builder 3/Away3DTest/bin-debug/Away3DTest.swf cannot access local resource Spirit1.md2. Only local-with-filesystem and trusted local SWF files may access local resources.
at flash.net::URLStream/load()
at flash.net::URLLoader/load()
at away3d.loaders::Object3DLoader/startLoadingGeometry()[C:\Documents and Settings\Threadkiller\My Documents\Flex Builder 3\Away3DTest\src\away3d\loaders\Object3DLoader.as:124]
at FlexMd2Loader$/loadGeometry()[C:\Documents and Settings\Threadkiller\My Documents\Flex Builder 3\Away3DTest\src\FlexMd2Loader.as:88]
at FlexMd2$/load()[C:\Documents and Settings\Threadkiller\My Documents\Flex Builder 3\Away3DTest\src\FlexMd2.as:16]

As you can see, Away3DTest\bin-debug\Away3DTest.swf exists in the same folder as the file I am trying to access and should therefore not be giving a security warning as far as I can tell. This project worked just fine last time I opened it.

Mac Martine - [05/22/08 01:05 PM ]
nope. utr

Jason San Jose - [07/08/08 01:05 PM ]
Reproduced on Vista, SA, build 203164, Flash Player 10, Flex SDK 4, IE 7.

Error message:
SecurityError: Error #2148: SWF file file:///C:/Users/labuser/Documents/Gumbo/smoke108/bin-release/smoke108.swf cannot access local resource srcview/index.html. Only local-with-filesystem and trusted local SWF files may access local resources.
at global/flash.net::navigateToURL()
at mx.core::Application/menuItemSelectHandler()

Rebecca Hauck - [07/22/08 05:39 PM ]
IRB: Turns out this is a fact of life to do with player security. It is due to the swf being run as a local file. When run through an URL (i.e., in LCDS), the FP security allows it.

Mac Martine - [08/12/08 01:52 PM ]
It's working now :)

Mac Martine - [08/21/08 01:04 PM ]
it's back. hahah! Occurs on OSX -- works on XP

Mac Martine - [08/21/08 01:20 PM ]
this was auto-assigned to me, so sending to IRB

Rebecca Hauck - [08/26/08 04:17 PM ]
IRB: Opened to George for I7

Mac Martine - [09/11/08 01:22 PM ]
Oddly I'm now seeing this on some projects but not all. I have a new workspace and each project was newly created.

Sharon Ma - [09/12/08 11:44 AM ]
I got it in b208328 SA on Mac with a Flex SDK 4 project, error details:
SecurityError: Error #2148: SWF file file://localhost/Users/sharon/Documents/Gumbo/MyNewProj/bin-debug/MyNewProj.swf cannot access local resource srcview/index.html. Only local-with-filesystem and trusted local SWF files may access local resources.
at global/flash.net::navigateToURL()
at flex.core::Application/viewSourceMenuItemSelectHandler()[E:\dev\trunk\frameworks\projects\flex4\src\flex\core\Application.as:912]

Larry McLister - [09/16/08 06:35 PM ]
move from I7 to I8

Larry McLister - [10/22/08 01:59 PM ]
MAXRELNOTE if not fixed

Heidi Williams - [10/24/08 02:56 PM ]
Moved to post MAX

Larry McLister - [01/05/09 03:47 PM ]
bulk change from I9 to I10

Heidi Williams - [01/28/09 05:44 PM ]
Moved to I11

Heidi Williams - [02/16/09 03:13 PM ]
Moved to Gumbo Release (post i13).

Heidi Williams - [03/17/09 05:32 PM ]
Reassigned to Tom.

Tom Lane - [06/12/09 08:36 PM ]
This sounds like a dupe of FB-11595.