NavigateToURL bug in FireFox?

Hi all,
I'm expreiencing a strange bug with FireFox... I have the
following example application:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:Script>
<![CDATA[
import flash.net.navigateToURL;
private function onClick():void {
navigateToURL(new URLRequest("abc.html"));
]]>
</mx:Script>
<mx:Button label="test" click="onClick()"/>
</mx:Application>
So, basically, when I click the "test" button, the browser
should go to "abc.html".
Now, if I run the application locally, it works perfectly as
expected in both IE and FF. But, if I run the application off my
webserver (Apache2), then IE still works perfectly, but FF doesn't.
The behaviour I get in FF is as follows: when I click on the
button, roughly half of the time it will work as expected (ie opens
"abc.html" in a new tab), and the other half of the time FF
displays a "FireFox prevented this site from opening a popup
window" message.
Now the fact that this only occurs when the application is
served remotely is obviously due to FF's security model. But the
weird part (bug?) is that the "blocking" occurs randomly. If I just
click the "test" button a dozen times (slow or fast) the result
will be around half a dozen new windows, with the other half a
dozen blocked :(
So, has anyone experienced this problem before? Can you spot
anything wrong with the code in my example above? I've tried the
example on another PC, and it has exactly the same problem - both
PC's are running FireFox 1.5.
Any thoughts would be really appreciated.
Paul.

Hi leotemp, thanks for you reply. I've had a play with the
IFrame approach in the past, and it introduces some other problems
for the type of app I'm writing (can't really say what that app is
yet).
I've done some more playing with the problem, and how's this
for wierd mis-behaviour? ... I wrote an openNewWindow() JavaScript
function and placed it into the HTML wrapper that loads the swf
file. Then, if I call that function using navigateToURL, the same
problem occurs. But if I call that function using
ExternalInterface.call("openNewWindow","abc.html") then it *almost*
works... you see, the ExternalInterface version works well if the
call is made from a click handler (like the example above), but
unfortunately, I need it to work in the result handler of a SOAP
service call... and there, it is blocked again! Though this time
the blocking is a lot more consistant... ie it blocks about 9 out
of 10 tries :(
I'm assuming that the problem is due to FF trying to
differentiate between popups that are the direct result of user
clicks, versus popups that result from automatic scripts - blocking
the latter, but not the former.
Any other ideas?!
Paul.

Similar Messages

  • How much money i will get, if i tell you a new bug in Firefox 8

    how much money i will get, if i tell you a new bug in Firefox 8, i found a new bug in Firefox 8, i tested this bug on chrome but their is no issue with this .

    About the only way you could get money is by reporting a serious or critical security vulnerability that has not been reported before.
    http://www.mozilla.org/security/bug-bounty.html
    http://www.mozilla.org/security/bug-bounty-faq.html

  • How long till you slackers fix the clipboard bug in firefox?

    seriously im ditching firefox as of now for opera cuz no one seems to be interested in fixing the virtual private clipboard bug in firefox.
    It is nothing short of infuriating & frustrating!!!!!!!! CMON U SLACKERS!!!!

    Delete a possible user.js file and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.
    *http://kb.mozillazine.org/Preferences_not_saved
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)

  • Scrolling bug in Firefox 3.67 still exists in Beta 4.0b7 - will it ever be fixed?

    https://bugzilla.mozilla.org/show_bug.cgi?id=581240
    I use Firefox to work online with a wiki called Confluence. When previewing a page in any version after 3.66, you cannot scroll properly to see the whole page.
    I would have provided this as feedback, but the feedback button keeps telling me to download the latest Beta and this is it.

    The test case in comment 1 of that bug report shows the Pass alert for me with the current Minefield nightly build. It also works in Firefox 3.5.16 , but not in Firefox 3.6.13
    <pre><nowiki>data:text/html;charset=utf-8,
    <script>
    function onload() {
    document.getElementById("preview").style.display = "";
    document.getElementById("preview").innerHTML = ('<iframe src="data:text/html," scrolling="no"></iframe>');
    var iframe = document.getElementById("preview").firstChild;
    var doc = iframe.contentDocument;
    doc.write("<script src='data:text/javascript,'></"+"script>"+"<script>function onload() {alert('PASS')}</" + "script>");
    doc.close();
    </script>
    <body>
    You should see an alert saying "PASS". Firefox 3.6.7, however, doesn't show the alert.
    <div id="preview" style="display:none">
    </div>
    </body></nowiki></pre>

  • Flex 3 locale swf loading bug on firefox

    Hi all
    I REALLY need your help here
    if anyone knows this bug or have any idea how to deal with it, it would really mean a lot to me
    i've been tring everything
    description:
    i'm building an application using flex 3, where all texts are being localized via the locale loaded at runtime
    i suspect that for some reason the  locale swf i'm loading isn't updating elements of the page
    as you can see in the image below, texts appear cut off.
    this happens to me only in firefox, no matter which page of the app is being displayed
    any ideas?
    appreciate your time in answering
    Yariv Gilad

    Hello and thank you for your quick answer
    the text is indeed right, and what you say make sense to me
    how can i proceed from here though?
    how can i fix the "sizing and positioning problem" ?
    the UI components are there and are being populated dynamically through the locale
    is there a way to force them to update?
    is this the right direction at all?
    any other ideas?
    just to note that if i hard-code the text into the components they are rendered perfectly
    so i don't see a reason to change their position or size...
    thank you for your time
    Yariv Gilad

  • When will Mozilla correct the printing bug with Firefox where only 1 page is printed?

    There is a problem with FireFox whereby it only prints the FIRST PAGE of many sites.
    Searching the web on this, it seems that this problem has been around for a long time and even what the cause is.
    Apparently FireFox interprets the html text "overflow: hidden" as meaning to 'hide' all the rest of the page when printing.
    Many users have reported this problem, but to date it has not been adressed.
    Please correct this Mozilla (Or do I have to go back to using Safari?)

    Please go to the following bug and add a comment documenting this problem:
    https:// bugzilla .mozilla .org/ show_bug.cgi?id=258397
    If more people report this problem, there is a better chance they will fix it.
    ''Moderator broke the hyperlink. Please don't advocate the spamming in Bugzilla reports, if anything request that users '''vote''' for a Bug that they think should be fixed. That particular Bug is a duplicate of this one - https://bugzilla.mozilla.org/show_bug.cgi?id=129941 - which was fixed in 4.0b7.''

  • New bug in Firefox

    Dear Firefox Supportline,
    I have found a bug and would like you to fix it in the next versions of Firefox.
    Code example:
    <!DOCTYPE html>
    <html>
    <head></head>
    <body>
    <div style="background-color: orange;">
    <div style="float: left;">TEXT</div>
    <div style="clear: both; overflow: hidden;"></div>
    </div>
    <div style="background-color: pink; height: 20px; margin: 150px 0px 10px;"></div>
    <div style="background-color: red;">Another text</div>
    </body>
    </html>
    If to delete feature "overflow" with value "hidden" for the layer which removes floating, then an unnecessary margin is created.
    Best regards, ZEOS

    Image:

  • I close out Firefox then when I try to reopen it, I get a message that it is still running. I've had so many bugs with Firefox that I'm removing it and going back to IE.

    The problems I've had with Firefox are numerous. It keeps running in the background and won't reopen. I have to go to the task manager and close it manually. Now, it won't load my iGoogle homepage. I was loading fine, earlier but now won't. My other browsers work fine. There are just too many bugs here.

    For more information see [[Basic Troubleshooting]], under
    '''4. Restart Firefox in Safe Mode'''

  • Flash audio bug on Firefox Mozilla on PC

    - Quoted from Bugzilla@mozilla:
    https://bugzilla.mozilla.org/show_bug.cgi?id=289873
    To see the problem, go to
    http://www.spellingcity.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
    rv:1.7.6)
    Gecko/20050317 Firefox/1.0.2
    Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1;
    en-US; rv:1.7.6)
    Gecko/20050317 Firefox/1.0.2
    When using flash players to play audio files, using 15
    players works, but more
    don't:
    WORKS =>
    http://freesound.iua.upf.edu/flashtest.php?x=15
    DOESN'T WORK =>
    http://freesound.iua.upf.edu/flashtest.php?x=16
    DOESN'T WORK =>
    http://freesound.iua.upf.edu/flashtest.php?x=20
    DOESN'T WORK =>
    http://freesound.iua.upf.edu/flashtest.php?x=40
    etc...
    This number is a GLOBAL number: if you open more tabs or more
    instances (making
    the count of flash players larger than 15) the player fails.
    Checked on about 4
    different computers and both OSX and Windows XP.
    Internet Explorer doesn't seem to have problems with more
    than 15 players, and
    using up to 100 players (or more) doesn't impose any
    problems.
    guess: problem is not related to audio, as it works in
    Internet Explorer and
    isn't OS-dependent.
    Reproducible: Always
    Steps to Reproduce:
    1.
    http://freesound.iua.upf.edu/flashtest.php?x=15,
    works
    2.
    http://freesound.iua.upf.edu/flashtest.php?x=16,
    doesn't work

    https://bugbase.adobe.com/index.cfm?event=bug&id=3539635
    https://bugbase.adobe.com/index.cfm?event=bug&id=3541557
    https://bugbase.adobe.com/index.cfm?event=bug&id=3541576
    Please add your vote. We're dying because of this issue.

  • Bug in Firefox??

    Ever since yesterday when i'm in the firefox browser, sometimes the websites I'm on don't show up right. It looks like its in safemode or something and instead of the site being centered and organized, its all to the left and uneven. Does that make sense? I don't know if there is a bug in my computer or something. I have to use firefox for the website that I go to because Safari doesn't support it. It's not just that one site though. I have to refresh the page several times before its back to normal. Any ideas on what might be wrong? I just got a macbook w/ Leopard. The very basic one.

    That sounds like what happened to me yesterday, too. However, I think it was a glitch in Firefox, because as soon as I shut FF down and restarted it, everything went back to normal. Every now and then FF does some strange things, and I've found restarting it generally does the trick.

  • Privacy violation bug in firefox 7

    I have found a bug in fire fox 7 this is a bug that sends information about me over the internet to a server.
    This is a violation of the privacy act and i will sue.
    Then there is a problem wit logging in on portals if i do it with firefox 7 i get banned for flodding even when i did not post any messages on that portal.
    So for me its pretty clear

    Never used the feedback before, there is an option to report a bug there.
    Thanks

  • FLV Preload bug in Firefox for Windows

    I have created an FLV player using progressive download that
    functions correctly in all platforms except Firefox on Windows. In
    Firefox/Windows the movie stops loading as soon as the buffer is
    full.
    This can be seen by watching the BytesLoaded and BufferLength
    values. As soon as the BufferLength reaches BufferTime, BytesLoaded
    stops increasing and the video starts playing.
    On all other platforms, BytesLoaded continues to grow while
    the movie is playing until the entire movie is loaded.
    As a result, in Firefox the video will play smoothly until
    the buffer is empty, then it will pause while the buffer refills
    (during which the BytesLoaded also increases) and then it begins
    playing again. This stop/start behavior continues until the
    BytesLoaded finally equals BytesTotal and the movie will play to
    completion.
    Does Firefox require some different coding, or am I missing
    something that the other platforms are just more forgiving of? I
    believe the server mime types have been set correctly, but I'm open
    to all possibilities based on your experience or ideas.
    Thanks!
    The essential code (minus UI and error checking stuff) is
    this:
    //

    On Bug in iCloud 4.0 control panel - decimal places Office 2013 / Outlook 2013
    they mentioned the same Bug.
    Apple do you hear us?

  • There is a bug in firefox that wants me to install programs every time I open firefox. How do I get it cleaned off. AVG Security did not find it.

    Every time I start firefox there is another page in the backround that starts up and wants me to install software. I have updated to the newest firefox and latest AVG security software and scanned my whole computer and this bug is hid some where. I have scanned with firefox up and running and with it not running and did not find it. How can I get rid of it?
    Running windows vista service pack 2 64 bit .

    What software does it want you to load? '''Mozilla.org''' installer programs
    only install Firefox, nothing else. If you did not get the program from
    '''Mozilla.org''', it may be an altered program from someone else.<BR><BR>
    That may be an update message from a program you already have. Please
    send a screen shot if you can.
    =====================================================
    Whenever you get a message / popup that software / files need to be updated,<br><br>
    <u>'''''DO NOT USE ANY OF THE PROVIDED LINKS'''''</u>.<br><br>
    While this may be a legitimate message, it could also be <u>'''''Malware or a Virus'''''</u>.
    Any time you want or need to check for upgrades,
    go to the web site of the <u>'''''True Owner'''''</u> of the program in question.
    For example, to check out Firefox, go to '''''[https://www.mozilla.org Mozilla.org]'''''.
    =====================================================
    In order to better assist you with your issue please provide us with a screenshot. If you need help to create a screenshot, please see [[How do I create a screenshot of my problem?]]
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. This will help us to visualize the problem.
    Thank you!

  • Irritating bug in Firefox package...

    Just to bring some attention to it... if you press the apostrophe or "/" key, the "find" bar pops up at the bottom of the window. I've never seen this in any other distro.
    (Also, the Firefox package crashes more than Firefox usually does... So for now I think I'd recommend using the port instead.)

    that's not a bug, that's a "feature", it's sort of new.
    Firefox doesn't crash here, if it's related to flash then try with a clean config (Firefox is hardly backward compatible with it's config, sad as it is).

  • How do I submit a bug? (Firefox blocks bluetooth headset commands.)

    I am using a Samsung Epic with Froyo 2.2.1, and a Sony MW600 playing mp3s with "Just Playlists Plus". Everything works as it should until I open firefox. It seeps like Firefox is capturing the pause, skip, etc. commands from the headset and not passing them on to the OS.

    Read Bug writing Guidelines
    https://developer.mozilla.org/en/Bug_writing_guidelines

Maybe you are looking for