Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Applications / Firefox / Mozilla / September 2004



Tip: Looking for answers? Try searching our database.

OSX specific chrome question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kenneth Feldt - 05 Sep 2004 15:34 GMT
I have an XUL interface that references a file on
the local drive (an SVG document to be displayed). The
pathname is a fully qualified pathname (no relative
pathname).

The XUL source line looks like....

<iframe src="///Macintosh
HD/EBC/Demos/ELearn2004/ebc03/ebc03/content/graph.xml" flex="6"/>

As long as I use the file reference for the chrome application,
everything works fine....

  ./mozilla-bin -chrome
file:////MozDev/SVGBuildQtz/mozilla/dist/MozillaDebug.app/Contents/MacOS/chrome/workbook/content/workbook/workbook.xul

However, after I register the chrome application, and launch
it of the form...

./mozilla-bin -chrome chrome://workbook/content/

the chrome application tells me that the file
'/MacintoshHD....graph.xml' cannot be found.

My installed-chrome.txt line looks like:

content,install,url,resource:/chrome/workbook/content/workbook/

And from what I can tell by the chrome.rdf file, everything registered
fine. (The XUL file does get found and is being launched).

Is there something about referencing filesystem files from registered
chrome applications that is different from non-registered chrome
apps?
Brion Vibber - 05 Sep 2004 21:07 GMT
> I have an XUL interface that references a file on
> the local drive (an SVG document to be displayed). The
[quoted text clipped - 5 lines]
> <iframe src="///Macintosh
> HD/EBC/Demos/ELearn2004/ebc03/ebc03/content/graph.xml" flex="6"/>
[snip]
> Is there something about referencing filesystem files from registered
> chrome applications that is different from non-registered chrome
> apps?

Have you tried specifying the file: protocol?

-- brion vibber (brion @ pobox.com)
Kenneth Feldt - 06 Sep 2004 13:35 GMT
>> I have an XUL interface that references a file on
>> the local drive (an SVG document to be displayed). The
[quoted text clipped - 15 lines]
>
> -- brion vibber (brion @ pobox.com)
That took care of it.... thanks!
Ken
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.