When loading a html whose length is 0, the browser show a dialog "The network is unavailable. Plese try again later. How to reproduce: 1) telnet to the blaceberry device, and touch a empty file using the "touch empty.html" command. 2) load the new created file using "file:///path-to-empty.html" 3) the error dialog will be observed. The browser should can load an empty file and not return a error.
Created attachment 141894 [details] Patch
Attachment 141894 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/ChangeLog:10: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 141894 [details] Patch obsolete this patch, I didn't remove the "No new tests. (OOPS!)"
Created attachment 141897 [details] Patch
Attachment 141897 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/ChangeLog:10: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 141910 [details] Patch Correct change log
I would prefer to fix this in the platform layer and have an empty file return a Is it curl that's status of 0 (equivalent to HTTP 200) to webkit before the close, rather than special-casing it in webkit.
(In reply to comment #7) > I would prefer to fix this in the platform layer and have an empty file return a Is it curl that's status of 0 (equivalent to HTTP 200) to webkit before the close, rather than special-casing it in webkit. OK, then let's close this bug.
Comment on attachment 141910 [details] Patch Clearing review flag, bug is invalid.