Security Error Content At May Not Load Or Link To

Home > Security Error > Security Error Content At May Not Load Or Link To

Security Error Content At May Not Load Or Link To

Is there a real rationale behind this or is this just a side effect of something else ? Remember the days of jars? It's important to have a trailing slash here: and the add-on needs to be unpacked as otherwise the relative path does not work: noitidart (Noitidart) 2016-02-17 11:06:30 UTC #5 up vote 1 down vote favorite I'm new to Firefox add-on development, and I have a problem while trying to play a sound in my add-on. have a peek here

However, using exactly the same browser, in another tab, I can view the 4.0.5 version of the same page and it works fine. Wednesday, August 04, 2010 3:59 PM Reply | Quote All replies 0 Sign in to vote You will get a security error if you are trying to load a relative local Im still working on trying to the redirectTo method working its really bothering me. let me give you my code though, since its a private repo how should i give you the code?

Note that links to http:// from about: are allowed, and would be a much greater security risk... Mentors: URL: Depends on: Blocks: Show dependency tree /graph Reported: 2006-12-31 10:01 PST by Mike Hommey [:glandium] Modified: 2009-03-01 15:39 PST (History) CC List: 6 users (show) bzbarsky JOIN DEVPPL It looks like you are new here. What to do when majority of the students do not bother to do peer grading assignment?

Small Diwali gifts, from an overseas visitor in India during the festive period? Also I can navigate to that path if write the url manually in Firefox, is it Silverlight plugin that blocks? Learning resources Microsoft Virtual Academy Channel 9 MSDN Magazine Community Forums Blogs Codeplex Support Self support Programs BizSpark (for startups) Microsoft Imagine (for students) United States (English) Newsletter Privacy & cookies It is probably better to raise these issues in Bugzilla than spend hours putting together hacks that are poor practice or will break with the next bug fix.

I can't see why it would be different with audio tags. If nothing else, someone might dupe it to an existing bug and you'll know where to watch for news. I've assigned the Same link in a String in jsp page and tested it through my tomcat application as <%
String linktotest="file://///";

when i click on the share|improve this answer edited Feb 28 '14 at 7:22 answered Feb 27 '14 at 6:12 Noitidart 11.5k52166 I went down this approach as well.

firefox-addon firefox-addon-sdk share|improve this question asked Feb 21 '14 at 23:48 im_nullable 253213 add a comment| 4 Answers 4 active oldest votes up vote 3 down vote accepted +200 actually man Now when you get loadContext you get the contentWindow of whatever browser element (tab browser, or frame or iframe) and then just abort the http request like you are doing and You can login now. Users can configure meetings settings (duration, participants...

I guess adding a test on sourceScheme.EqualsLiteral("about") to and would be okay. Last Comment Bug365526 - Security Error: Content at about: may not load or link to {xxx}. share|improve this answer answered Feb 26 '14 at 6:50 Noitidart 11.5k52166 actually if you create an iframe in html and set it to the chrome path, even if contentaccessible Comment 9 Reed Loden [:reed] (use needinfo?) 2008-07-12 15:21:11 PDT (In reply to comment #8) > I have no idea if it still is a problem.

This should work on any regular file. navigate here Join them; it only takes a minute: Sign up Security Error while trying to play a sound in Firefox add-on? If you want to get involved, click on Join below! But I was asked to make my add-on play a sound when the property turns "orange" and then "red" and I can't make it works.

Wednesday, August 04, 2010 4:03 PM Reply | Quote 0 Sign in to vote I tested thefollowing xamlin a SL4 application and got anunauthorizedaccess exception thrown in IE8. If what we care is about: itself, why not just compare the URI to about:? asked 1 year ago viewed 107 times Related 7Playing a sound in a Firefox add-on1How to play a sound with JS?25Why can't I play sounds more than once using HTML5 audio Check This Out Comment 6 Boris Zbarsky [:bz] (still a bit busy) 2007-01-20 12:30:29 PST The proposed patch would allow all about: URIs that are not whitelisted as "safe" to link to file:, chrome:,

Click the link in the email to activate your account. The solution that did work was your solution of var gBrowser = utils.getMostRecentBrowserWindow().gBrowser; var domWin = httpChannel.notificationCallbacks.getInterface(Ci.nsIDOMWindow); var browser = gBrowser.getBrowserForDocument(domWin.document); //redirect browser.loadURI('pages/test.html')); however I changed this to use loadContext instead So here comes my question : I now see the error "Security Error: Content at moz-nullprincipal:...

noitidart (Noitidart) 2015-09-07 07:24:04 UTC #2 Try making a resource UI out of the file:/// uri you have there.

Both testsresulted in anexception thrown in IE8.What output are you able to seein IE8 when you click on the HyperlinkButton? Does the D:\ represent a local drive or a location on the remote server? Wednesday, August 04, 2010 4:08 PM Reply | Quote 0 Without a doubt the loadContext.associatedWindow is the contentWindow that loaded, so its the iframe or the frame or the top window. My goal is simple, to intercept a specific iframe and load my own HTML page (packaged as a resource with my addon) instead of the content that was requested originally.

Package caption Error: 9pt undefined Why must we use bit shifting for Unity Layer masks? We might need API changes to the new APIs to do it. If you don't see the email, check other places it might be, like your junk, spam, social, or other folders. × Activate account Resend activation E-mail × Account activated Your account this contact form Or would I have little to change to make my code works ?

may not load or link to jar:file:///C:/Documents%20and%20Settings/SONY%20VAIO/Application%20Data/Mozilla/Firefox/Profiles/vr10qb8s.default/extensions/[email protected]!/resources/kaboom/data/pages/test.html. Is this intended behavior now?My addon downloads those images so that it can load them faster in the future, but it looks like I can no longer do this. Presumably it's some kind of restriction, but when I can load the file using the file API, I should be able to load in other ways too? unpack true does have a reduced perf though no?

Not the answer you're looking for? I don't remember setting any kind of security setting in the 4.0.5 TWiki to handle this, but my memory is not what it used to be! noitidart (Noitidart) 2016-02-17 19:29:57 UTC #7 Oh that's an interesting technique! While developing, I was struggling to get a local CSS file loaded.

Click the link in the email to activate your account. The problem with that was I could not reference associated JS/CSS files. What is the meaning of the 90/10 rule of program optimization? My guess is that this is some kind of difference in Apache between the two servers that is telling Firefox that the server is not secure.

Leading me to believe that this has something to do with redirectTo function. you can see a bit hard to understand demo here share|improve this answer answered Feb 22 '14 at 4:30 Noitidart 11.5k52166 Unfortunately, this does not help me get over If you really want to land this please replace the tabs with spaces. Comment 10 Daniel Veditz [:dveditz] 2008-11-19 17:15:13 PST Comment on attachment 250174 [details] [diff] [review] Proposed patch for 1.8 branch r=dveditz This is not great but OK, if you still need