Closed Bug 316131 Opened 20 years ago Closed 17 years ago

Flash loads remote XML file indefinitely when missing.

Categories

(Core :: General, defect)

1.8 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: visualactive, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 I created an SWF file that will loaded an XML file from a domain that does not exist. This was for error testing purposes. I configured flash to report an error when it failed to load but Firefox never stops attempting to load the XML file that never existed therefore my SWF never knows if the file existed or not. Internet Explorer 6 notices that the file does not exist and Flash will report the error. Reproducible: Always Steps to Reproduce: 1. Create an SWF. 2. Put this code in the first frame and tweak it so it will tell you of a success or failure without a Output window: var xmlFile:XML = new XML ( ); xmlFile.onLoad = function ( flag:Boolean ) : Void { // Succesfully loaded? if ( flag == true ) { // Continue. } // Failed to load? else { report( "Failed to load." ); } } report( "Loading xml file..." ); xmlFile.load( "http://www.aphonyurlthatshouldnotexist.com/a/file/that/does/not/exist.xml" ); 3. Run the SWF in Firefox. Actual Results: onLoad will never be executed. Expected Results: Reported "Failed to load."
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2 I found the same problem on the french verion of FireFox : no file present = no more actions !
Component: General → Networking: SMTP
Product: Firefox → Core
QA Contact: general
Version: unspecified → 1.8 Branch
keops do you still see this? (reporter's email address is dead)
Not anymore : thanks !
RESO WFM per comment 4. And why is this in Networking: SMTP when this isn't an SMTP problem?
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Component: Networking: SMTP → General
QA Contact: general
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.