[Webkit-unassigned] [Bug 50581] Make TestResultsServer return empty JSON or 404 for non-existing results files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 6 14:05:47 PST 2010


--- Comment #6 from Ojan Vafai <ojan at chromium.org>  2010-12-06 14:05:47 PST ---
Looks like a webkit bug. At first glance, it seems we don't fire the error event for a 404 if the file contents are empty. Firefox fires the error event in this case. As a workaround, on the JS side, we can listen to the load event as well and check if the script is empty, e.g., 

  onload="alert('innerHTML=\'' + document.getElementById('foo').innerHTML + '\'');"

Eventually, we can fix the webkit bug and won't need this anymore.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list