WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
86454
[BlackBerry] Networking - Can't load empty local main resource
https://bugs.webkit.org/show_bug.cgi?id=86454
Summary
[BlackBerry] Networking - Can't load empty local main resource
Sean Wang
Reported
2012-05-15 01:43:04 PDT
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.
Attachments
Patch
(2.60 KB, patch)
2012-05-15 01:58 PDT
,
Sean Wang
xuewen.ok
: commit-queue-
Details
Formatted Diff
Diff
Patch
(2.69 KB, patch)
2012-05-15 02:15 PDT
,
Sean Wang
no flags
Details
Formatted Diff
Diff
Patch
(2.82 KB, patch)
2012-05-15 03:44 PDT
,
Sean Wang
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Sean Wang
Comment 1
2012-05-15 01:58:54 PDT
Created
attachment 141894
[details]
Patch
WebKit Review Bot
Comment 2
2012-05-15 02:00:51 PDT
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.
Sean Wang
Comment 3
2012-05-15 02:01:17 PDT
Comment on
attachment 141894
[details]
Patch obsolete this patch, I didn't remove the "No new tests. (OOPS!)"
Sean Wang
Comment 4
2012-05-15 02:15:50 PDT
Created
attachment 141897
[details]
Patch
WebKit Review Bot
Comment 5
2012-05-15 02:19:17 PDT
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.
Sean Wang
Comment 6
2012-05-15 03:44:04 PDT
Created
attachment 141910
[details]
Patch Correct change log
Joe Mason
Comment 7
2012-05-15 08:29:36 PDT
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.
Sean Wang
Comment 8
2012-05-15 09:16:15 PDT
(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.
Rob Buis
Comment 9
2012-05-17 06:53:22 PDT
Comment on
attachment 141910
[details]
Patch Clearing review flag, bug is invalid.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug