diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-06 18:42:39 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-06 18:42:39 +0000 |
commit | 11622c7100f20cbd2c8c82204d99ee082cda19f1 (patch) | |
tree | 1d04f1dbba5bb119319c543a9623827030877561 /webkit | |
parent | aff32eb29fc9c66062ff303e815834086ede70e7 (diff) | |
download | chromium_src-11622c7100f20cbd2c8c82204d99ee082cda19f1.zip chromium_src-11622c7100f20cbd2c8c82204d99ee082cda19f1.tar.gz chromium_src-11622c7100f20cbd2c8c82204d99ee082cda19f1.tar.bz2 |
Update baseline for security/block-test.html
This CL also revises how we print resource errors to make our results more
close resemble those of Mac WebKit.
security/block-test-no-port.html is no longer WONTFIX since we always run
layout tests with a no-proxy configuration now.
security/block-test.html does not need to be skipped on mac since we now have a
FTP implementation ;-)
R=dglazkov
BUG=18610
TEST=none
Review URL: http://codereview.chromium.org/165038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22635 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
5 files changed, 163 insertions, 287 deletions
diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/security/README b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/security/README deleted file mode 100644 index 20f99d1..0000000 --- a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/security/README +++ /dev/null @@ -1,5 +0,0 @@ -This file documents why the various tests have been rebaselined. - -block-test.html --------------------------- -This test differs in type names, error codes, and GURL canonicalization. diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/security/block-test-expected.txt b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/security/block-test-expected.txt deleted file mode 100644 index c475c96..0000000 --- a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/security/block-test-expected.txt +++ /dev/null @@ -1,128 +0,0 @@ -http://255.255.255.255:1/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:1/test.jpg"> -<unknown> - didFinishLoading -http://255.255.255.255:7/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:7/test.jpg"> -http://255.255.255.255:1/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:1/test.jpg"> -http://255.255.255.255:7/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:7/test.jpg"> -http://255.255.255.255:9/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:9/test.jpg"> -http://255.255.255.255:9/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:9/test.jpg"> -http://255.255.255.255:11/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:11/test.jpg"> -http://255.255.255.255:11/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:11/test.jpg"> -http://255.255.255.255:13/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:13/test.jpg"> -http://255.255.255.255:13/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:13/test.jpg"> -http://255.255.255.255:15/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:15/test.jpg"> -http://255.255.255.255:15/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:15/test.jpg"> -http://255.255.255.255:17/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:17/test.jpg"> -http://255.255.255.255:17/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:17/test.jpg"> -http://255.255.255.255:19/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:19/test.jpg"> -http://255.255.255.255:19/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:19/test.jpg"> -http://255.255.255.255:20/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:20/test.jpg"> -http://255.255.255.255:20/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:20/test.jpg"> -http://255.255.255.255:21/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:21/test.jpg"> -http://255.255.255.255:21/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:21/test.jpg"> -http://255.255.255.255:22/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:22/test.jpg"> -http://255.255.255.255:22/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:22/test.jpg"> -http://255.255.255.255:23/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:23/test.jpg"> -http://255.255.255.255:23/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:23/test.jpg"> -http://255.255.255.255:25/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:25/test.jpg"> -http://255.255.255.255:25/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:25/test.jpg"> -http://255.255.255.255:37/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:37/test.jpg"> -http://255.255.255.255:37/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:37/test.jpg"> -http://255.255.255.255:42/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:42/test.jpg"> -http://255.255.255.255:42/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:42/test.jpg"> -http://255.255.255.255:43/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:43/test.jpg"> -http://255.255.255.255:43/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:43/test.jpg"> -http://255.255.255.255:53/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:53/test.jpg"> -http://255.255.255.255:53/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:53/test.jpg"> -http://255.255.255.255:77/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:77/test.jpg"> -http://255.255.255.255:77/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:77/test.jpg"> -http://255.255.255.255:79/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:79/test.jpg"> -http://255.255.255.255:79/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:79/test.jpg"> -http://255.255.255.255:87/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:87/test.jpg"> -http://255.255.255.255:87/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:87/test.jpg"> -http://255.255.255.255:95/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:95/test.jpg"> -http://255.255.255.255:95/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:95/test.jpg"> -http://255.255.255.255:101/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:101/test.jpg"> -http://255.255.255.255:101/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:101/test.jpg"> -http://255.255.255.255:102/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:102/test.jpg"> -http://255.255.255.255:102/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:102/test.jpg"> -http://255.255.255.255:103/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:103/test.jpg"> -http://255.255.255.255:103/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:103/test.jpg"> -http://255.255.255.255:104/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:104/test.jpg"> -http://255.255.255.255:104/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:104/test.jpg"> -http://255.255.255.255:109/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:109/test.jpg"> -http://255.255.255.255:109/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:109/test.jpg"> -http://255.255.255.255:110/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:110/test.jpg"> -http://255.255.255.255:110/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:110/test.jpg"> -http://255.255.255.255:111/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:111/test.jpg"> -http://255.255.255.255:111/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:111/test.jpg"> -http://255.255.255.255:113/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:113/test.jpg"> -http://255.255.255.255:113/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:113/test.jpg"> -http://255.255.255.255:115/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:115/test.jpg"> -http://255.255.255.255:115/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:115/test.jpg"> -http://255.255.255.255:117/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:117/test.jpg"> -http://255.255.255.255:117/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:117/test.jpg"> -http://255.255.255.255:119/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:119/test.jpg"> -http://255.255.255.255:119/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:119/test.jpg"> -http://255.255.255.255:123/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:123/test.jpg"> -http://255.255.255.255:123/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:123/test.jpg"> -http://255.255.255.255:135/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:135/test.jpg"> -http://255.255.255.255:135/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:135/test.jpg"> -http://255.255.255.255:139/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:139/test.jpg"> -http://255.255.255.255:139/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:139/test.jpg"> -http://255.255.255.255:143/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:143/test.jpg"> -http://255.255.255.255:143/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:143/test.jpg"> -http://255.255.255.255:179/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:179/test.jpg"> -http://255.255.255.255:179/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:179/test.jpg"> -http://255.255.255.255:389/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:389/test.jpg"> -http://255.255.255.255:389/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:389/test.jpg"> -http://255.255.255.255:465/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:465/test.jpg"> -http://255.255.255.255:465/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:465/test.jpg"> -http://255.255.255.255:512/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:512/test.jpg"> -http://255.255.255.255:512/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:512/test.jpg"> -http://255.255.255.255:513/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:513/test.jpg"> -http://255.255.255.255:513/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:513/test.jpg"> -http://255.255.255.255:514/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:514/test.jpg"> -http://255.255.255.255:514/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:514/test.jpg"> -http://255.255.255.255:515/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:515/test.jpg"> -http://255.255.255.255:515/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:515/test.jpg"> -http://255.255.255.255:526/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:526/test.jpg"> -http://255.255.255.255:526/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:526/test.jpg"> -http://255.255.255.255:530/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:530/test.jpg"> -http://255.255.255.255:530/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:530/test.jpg"> -http://255.255.255.255:531/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:531/test.jpg"> -http://255.255.255.255:531/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:531/test.jpg"> -http://255.255.255.255:532/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:532/test.jpg"> -http://255.255.255.255:532/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:532/test.jpg"> -http://255.255.255.255:540/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:540/test.jpg"> -http://255.255.255.255:540/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:540/test.jpg"> -http://255.255.255.255:556/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:556/test.jpg"> -http://255.255.255.255:556/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:556/test.jpg"> -http://255.255.255.255:563/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:563/test.jpg"> -http://255.255.255.255:563/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:563/test.jpg"> -http://255.255.255.255:587/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:587/test.jpg"> -http://255.255.255.255:587/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:587/test.jpg"> -http://255.255.255.255:601/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:601/test.jpg"> -http://255.255.255.255:601/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:601/test.jpg"> -http://255.255.255.255:636/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:636/test.jpg"> -http://255.255.255.255:636/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:636/test.jpg"> -http://255.255.255.255:993/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:993/test.jpg"> -http://255.255.255.255:993/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:993/test.jpg"> -http://255.255.255.255:995/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:995/test.jpg"> -http://255.255.255.255:995/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:995/test.jpg"> -http://255.255.255.255:2049/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:2049/test.jpg"> -http://255.255.255.255:2049/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:2049/test.jpg"> -http://255.255.255.255:3659/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:3659/test.jpg"> -http://255.255.255.255:3659/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:3659/test.jpg"> -http://255.255.255.255:4045/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:4045/test.jpg"> -http://255.255.255.255:4045/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:4045/test.jpg"> -http://255.255.255.255:6000/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:6000/test.jpg"> -http://255.255.255.255:6000/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:6000/test.jpg"> -ftp://255.255.255.255/test.jpg - willSendRequest <WebRequest URL "ftp://255.255.255.255/test.jpg"> -ftp://255.255.255.255/test.jpg - didFailLoadingWithError <WebError code -109, failing URL "ftp://255.255.255.255/test.jpg"> -ftp://255.255.255.255/test.jpg - willSendRequest <WebRequest URL "ftp://255.255.255.255/test.jpg"> -ftp://255.255.255.255/test.jpg - didFailLoadingWithError <WebError code -109, failing URL "ftp://255.255.255.255/test.jpg"> -ftp://255.255.255.255:22/test.jpg - willSendRequest <WebRequest URL "ftp://255.255.255.255:22/test.jpg"> -ftp://255.255.255.255:22/test.jpg - didFailLoadingWithError <WebError code -109, failing URL "ftp://255.255.255.255:22/test.jpg"> -This test attempts to change the src of an IMG tag to all black listed ports to confirm that WebKit returns the correct error for them - blocked instead of cannot find. It also tries the FTP ports for exemptions. Due to the nature of this test, the results can only be processed automatically via DumpRenderTree - - diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/security/block-test-expected.txt b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/security/block-test-expected.txt index 9553933..8a1af1d 100644 --- a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/security/block-test-expected.txt +++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/security/block-test-expected.txt @@ -1,128 +1,128 @@ -http://255.255.255.255:1/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:1/test.jpg"> +http://255.255.255.255:1/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:1/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) <unknown> - didFinishLoading -http://255.255.255.255:7/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:7/test.jpg"> -http://255.255.255.255:1/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:1/test.jpg"> -http://255.255.255.255:7/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:7/test.jpg"> -http://255.255.255.255:9/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:9/test.jpg"> -http://255.255.255.255:9/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:9/test.jpg"> -http://255.255.255.255:11/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:11/test.jpg"> -http://255.255.255.255:11/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:11/test.jpg"> -http://255.255.255.255:13/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:13/test.jpg"> -http://255.255.255.255:13/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:13/test.jpg"> -http://255.255.255.255:15/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:15/test.jpg"> -http://255.255.255.255:15/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:15/test.jpg"> -http://255.255.255.255:17/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:17/test.jpg"> -http://255.255.255.255:17/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:17/test.jpg"> -http://255.255.255.255:19/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:19/test.jpg"> -http://255.255.255.255:19/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:19/test.jpg"> -http://255.255.255.255:20/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:20/test.jpg"> -http://255.255.255.255:20/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:20/test.jpg"> -http://255.255.255.255:21/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:21/test.jpg"> -http://255.255.255.255:21/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:21/test.jpg"> -http://255.255.255.255:22/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:22/test.jpg"> -http://255.255.255.255:22/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:22/test.jpg"> -http://255.255.255.255:23/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:23/test.jpg"> -http://255.255.255.255:23/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:23/test.jpg"> -http://255.255.255.255:25/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:25/test.jpg"> -http://255.255.255.255:25/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:25/test.jpg"> -http://255.255.255.255:37/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:37/test.jpg"> -http://255.255.255.255:37/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:37/test.jpg"> -http://255.255.255.255:42/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:42/test.jpg"> -http://255.255.255.255:42/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:42/test.jpg"> -http://255.255.255.255:43/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:43/test.jpg"> -http://255.255.255.255:43/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:43/test.jpg"> -http://255.255.255.255:53/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:53/test.jpg"> -http://255.255.255.255:53/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:53/test.jpg"> -http://255.255.255.255:77/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:77/test.jpg"> -http://255.255.255.255:77/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:77/test.jpg"> -http://255.255.255.255:79/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:79/test.jpg"> -http://255.255.255.255:79/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:79/test.jpg"> -http://255.255.255.255:87/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:87/test.jpg"> -http://255.255.255.255:87/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:87/test.jpg"> -http://255.255.255.255:95/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:95/test.jpg"> -http://255.255.255.255:95/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:95/test.jpg"> -http://255.255.255.255:101/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:101/test.jpg"> -http://255.255.255.255:101/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:101/test.jpg"> -http://255.255.255.255:102/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:102/test.jpg"> -http://255.255.255.255:102/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:102/test.jpg"> -http://255.255.255.255:103/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:103/test.jpg"> -http://255.255.255.255:103/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:103/test.jpg"> -http://255.255.255.255:104/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:104/test.jpg"> -http://255.255.255.255:104/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:104/test.jpg"> -http://255.255.255.255:109/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:109/test.jpg"> -http://255.255.255.255:109/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:109/test.jpg"> -http://255.255.255.255:110/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:110/test.jpg"> -http://255.255.255.255:110/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:110/test.jpg"> -http://255.255.255.255:111/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:111/test.jpg"> -http://255.255.255.255:111/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:111/test.jpg"> -http://255.255.255.255:113/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:113/test.jpg"> -http://255.255.255.255:113/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:113/test.jpg"> -http://255.255.255.255:115/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:115/test.jpg"> -http://255.255.255.255:115/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:115/test.jpg"> -http://255.255.255.255:117/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:117/test.jpg"> -http://255.255.255.255:117/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:117/test.jpg"> -http://255.255.255.255:119/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:119/test.jpg"> -http://255.255.255.255:119/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:119/test.jpg"> -http://255.255.255.255:123/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:123/test.jpg"> -http://255.255.255.255:123/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:123/test.jpg"> -http://255.255.255.255:135/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:135/test.jpg"> -http://255.255.255.255:135/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:135/test.jpg"> -http://255.255.255.255:139/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:139/test.jpg"> -http://255.255.255.255:139/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:139/test.jpg"> -http://255.255.255.255:143/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:143/test.jpg"> -http://255.255.255.255:143/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:143/test.jpg"> -http://255.255.255.255:179/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:179/test.jpg"> -http://255.255.255.255:179/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:179/test.jpg"> -http://255.255.255.255:389/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:389/test.jpg"> -http://255.255.255.255:389/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:389/test.jpg"> -http://255.255.255.255:465/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:465/test.jpg"> -http://255.255.255.255:465/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:465/test.jpg"> -http://255.255.255.255:512/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:512/test.jpg"> -http://255.255.255.255:512/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:512/test.jpg"> -http://255.255.255.255:513/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:513/test.jpg"> -http://255.255.255.255:513/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:513/test.jpg"> -http://255.255.255.255:514/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:514/test.jpg"> -http://255.255.255.255:514/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:514/test.jpg"> -http://255.255.255.255:515/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:515/test.jpg"> -http://255.255.255.255:515/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:515/test.jpg"> -http://255.255.255.255:526/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:526/test.jpg"> -http://255.255.255.255:526/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:526/test.jpg"> -http://255.255.255.255:530/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:530/test.jpg"> -http://255.255.255.255:530/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:530/test.jpg"> -http://255.255.255.255:531/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:531/test.jpg"> -http://255.255.255.255:531/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:531/test.jpg"> -http://255.255.255.255:532/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:532/test.jpg"> -http://255.255.255.255:532/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:532/test.jpg"> -http://255.255.255.255:540/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:540/test.jpg"> -http://255.255.255.255:540/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:540/test.jpg"> -http://255.255.255.255:556/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:556/test.jpg"> -http://255.255.255.255:556/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:556/test.jpg"> -http://255.255.255.255:563/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:563/test.jpg"> -http://255.255.255.255:563/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:563/test.jpg"> -http://255.255.255.255:587/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:587/test.jpg"> -http://255.255.255.255:587/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:587/test.jpg"> -http://255.255.255.255:601/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:601/test.jpg"> -http://255.255.255.255:601/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:601/test.jpg"> -http://255.255.255.255:636/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:636/test.jpg"> -http://255.255.255.255:636/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:636/test.jpg"> -http://255.255.255.255:993/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:993/test.jpg"> -http://255.255.255.255:993/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:993/test.jpg"> -http://255.255.255.255:995/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:995/test.jpg"> -http://255.255.255.255:995/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:995/test.jpg"> -http://255.255.255.255:2049/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:2049/test.jpg"> -http://255.255.255.255:2049/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:2049/test.jpg"> -http://255.255.255.255:3659/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:3659/test.jpg"> -http://255.255.255.255:3659/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:3659/test.jpg"> -http://255.255.255.255:4045/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:4045/test.jpg"> -http://255.255.255.255:4045/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:4045/test.jpg"> -http://255.255.255.255:6000/test.jpg - willSendRequest <WebRequest URL "http://255.255.255.255:6000/test.jpg"> -http://255.255.255.255:6000/test.jpg - didFailLoadingWithError <WebError code -312, failing URL "http://255.255.255.255:6000/test.jpg"> -ftp://255.255.255.255/test.jpg - willSendRequest <WebRequest URL "ftp://255.255.255.255/test.jpg"> -ftp://255.255.255.255/test.jpg - didFailLoadingWithError <WebError code -104, failing URL "ftp://255.255.255.255/test.jpg"> -ftp://255.255.255.255/test.jpg - willSendRequest <WebRequest URL "ftp://255.255.255.255/test.jpg"> -ftp://255.255.255.255/test.jpg - didFailLoadingWithError <WebError code -104, failing URL "ftp://255.255.255.255/test.jpg"> -ftp://255.255.255.255:22/test.jpg - willSendRequest <WebRequest URL "ftp://255.255.255.255:22/test.jpg"> -ftp://255.255.255.255:22/test.jpg - didFailLoadingWithError <WebError code -104, failing URL "ftp://255.255.255.255:22/test.jpg"> +http://255.255.255.255:7/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:7/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:1/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:1/test.jpg"> +http://255.255.255.255:7/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:7/test.jpg"> +http://255.255.255.255:9/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:9/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:9/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:9/test.jpg"> +http://255.255.255.255:11/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:11/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:11/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:11/test.jpg"> +http://255.255.255.255:13/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:13/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:13/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:13/test.jpg"> +http://255.255.255.255:15/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:15/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:15/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:15/test.jpg"> +http://255.255.255.255:17/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:17/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:17/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:17/test.jpg"> +http://255.255.255.255:19/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:19/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:19/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:19/test.jpg"> +http://255.255.255.255:20/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:20/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:20/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:20/test.jpg"> +http://255.255.255.255:21/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:21/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:21/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:21/test.jpg"> +http://255.255.255.255:22/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:22/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:22/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:22/test.jpg"> +http://255.255.255.255:23/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:23/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:23/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:23/test.jpg"> +http://255.255.255.255:25/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:25/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:25/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:25/test.jpg"> +http://255.255.255.255:37/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:37/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:37/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:37/test.jpg"> +http://255.255.255.255:42/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:42/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:42/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:42/test.jpg"> +http://255.255.255.255:43/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:43/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:43/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:43/test.jpg"> +http://255.255.255.255:53/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:53/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:53/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:53/test.jpg"> +http://255.255.255.255:77/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:77/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:77/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:77/test.jpg"> +http://255.255.255.255:79/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:79/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:79/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:79/test.jpg"> +http://255.255.255.255:87/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:87/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:87/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:87/test.jpg"> +http://255.255.255.255:95/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:95/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:95/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:95/test.jpg"> +http://255.255.255.255:101/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:101/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:101/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:101/test.jpg"> +http://255.255.255.255:102/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:102/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:102/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:102/test.jpg"> +http://255.255.255.255:103/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:103/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:103/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:103/test.jpg"> +http://255.255.255.255:104/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:104/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:104/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:104/test.jpg"> +http://255.255.255.255:109/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:109/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:109/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:109/test.jpg"> +http://255.255.255.255:110/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:110/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:110/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:110/test.jpg"> +http://255.255.255.255:111/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:111/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:111/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:111/test.jpg"> +http://255.255.255.255:113/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:113/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:113/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:113/test.jpg"> +http://255.255.255.255:115/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:115/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:115/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:115/test.jpg"> +http://255.255.255.255:117/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:117/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:117/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:117/test.jpg"> +http://255.255.255.255:119/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:119/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:119/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:119/test.jpg"> +http://255.255.255.255:123/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:123/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:123/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:123/test.jpg"> +http://255.255.255.255:135/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:135/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:135/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:135/test.jpg"> +http://255.255.255.255:139/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:139/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:139/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:139/test.jpg"> +http://255.255.255.255:143/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:143/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:143/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:143/test.jpg"> +http://255.255.255.255:179/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:179/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:179/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:179/test.jpg"> +http://255.255.255.255:389/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:389/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:389/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:389/test.jpg"> +http://255.255.255.255:465/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:465/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:465/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:465/test.jpg"> +http://255.255.255.255:512/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:512/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:512/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:512/test.jpg"> +http://255.255.255.255:513/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:513/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:513/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:513/test.jpg"> +http://255.255.255.255:514/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:514/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:514/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:514/test.jpg"> +http://255.255.255.255:515/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:515/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:515/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:515/test.jpg"> +http://255.255.255.255:526/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:526/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:526/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:526/test.jpg"> +http://255.255.255.255:530/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:530/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:530/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:530/test.jpg"> +http://255.255.255.255:531/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:531/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:531/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:531/test.jpg"> +http://255.255.255.255:532/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:532/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:532/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:532/test.jpg"> +http://255.255.255.255:540/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:540/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:540/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:540/test.jpg"> +http://255.255.255.255:556/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:556/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:556/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:556/test.jpg"> +http://255.255.255.255:563/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:563/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:563/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:563/test.jpg"> +http://255.255.255.255:587/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:587/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:587/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:587/test.jpg"> +http://255.255.255.255:601/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:601/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:601/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:601/test.jpg"> +http://255.255.255.255:636/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:636/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:636/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:636/test.jpg"> +http://255.255.255.255:993/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:993/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:993/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:993/test.jpg"> +http://255.255.255.255:995/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:995/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:995/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:995/test.jpg"> +http://255.255.255.255:2049/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:2049/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:2049/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:2049/test.jpg"> +http://255.255.255.255:3659/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:3659/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:3659/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:3659/test.jpg"> +http://255.255.255.255:4045/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:4045/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:4045/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:4045/test.jpg"> +http://255.255.255.255:6000/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:6000/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +http://255.255.255.255:6000/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:6000/test.jpg"> +ftp://255.255.255.255/test.jpg - willSendRequest <NSURLRequest URL ftp://255.255.255.255/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +ftp://255.255.255.255/test.jpg - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -1, failing URL "ftp://255.255.255.255/test.jpg"> +ftp://255.255.255.255/test.jpg - willSendRequest <NSURLRequest URL ftp://255.255.255.255/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +ftp://255.255.255.255/test.jpg - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -1, failing URL "ftp://255.255.255.255/test.jpg"> +ftp://255.255.255.255:22/test.jpg - willSendRequest <NSURLRequest URL ftp://255.255.255.255:22/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null) +ftp://255.255.255.255:22/test.jpg - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -1, failing URL "ftp://255.255.255.255:22/test.jpg"> This test attempts to change the src of an IMG tag to all black listed ports to confirm that WebKit returns the correct error for them - blocked instead of cannot find. It also tries the FTP ports for exemptions. Due to the nature of this test, the results can only be processed automatically via DumpRenderTree diff --git a/webkit/tools/layout_tests/test_expectations.txt b/webkit/tools/layout_tests/test_expectations.txt index 1acef14..aad1e4b 100644 --- a/webkit/tools/layout_tests/test_expectations.txt +++ b/webkit/tools/layout_tests/test_expectations.txt @@ -56,11 +56,6 @@ BUG_OJAN SLOW : LayoutTests/tables/mozilla/other/slashlogo.html = PASS // SKIPPED TESTS // ----------------------------------------------------------------- -// The action taken when trying to load the resource -// (http://255.255.255.255/test.jpg) depends on the network proxy settings -// of the machine running the test, so we don't worry about that case. -WONTFIX : LayoutTests/security/block-test-no-port.html = PASS FAIL - // Since V8 is more interruptible than other engines, they use the standard // long-running-script mechanism to handle very-long-running regexps too. // See http://code.google.com/p/v8/issues/detail?id=287 @@ -1857,9 +1852,6 @@ BUG10438 MAC : LayoutTests/plugins/destroy-stream-twice.html = TIMEOUT // Might be related to https://bugs.webkit.org/show_bug.cgi?id=22834 BUG10439 LINUX : LayoutTests/fast/canvas/set-colors.html = CRASH PASS -// Needs an FTP implementation to work completely. -BUG10440 MAC : LayoutTests/security/block-test.html = FAIL - // Flakey. Not clear when it started, but it was before 3/9/09. // This test also started failing with the merge of March 25th 2009 BUG10441 LINUX : LayoutTests/fast/clip/outline-overflowClip.html = CRASH FAIL PASS @@ -3052,9 +3044,6 @@ BUG18584 : LayoutTests/animations/change-one-anim.html = FAIL PASS BUG18584 WIN : LayoutTests/animations/play-state.html = FAIL PASS BUG18584 : LayoutTests/transitions/shorthand-transitions.html = FAIL PASS -// Baseline is out-of-date -BUG18610 WIN LINUX : LayoutTests/security/block-test.html = FAIL - // Flaky crashes BUG18206 LINUX MAC : LayoutTests/fast/xmlhttprequest/xmlhttprequest-open-after-iframe-onload-remove-self.html = CRASH PASS BUG18569 MAC DEBUG : LayoutTests/fast/repaint/overflow-scroll-delete.html = PASS CRASH @@ -3062,4 +3051,4 @@ BUG18656 LINUX : LayoutTests/fast/overflow/overflow-stacking.html = PASS CRASH BUG18656 MAC : LayoutTests/fast/dom/Window/window-lookup-precedence.html = FAIL CRASH // Flaky timeout -BUG18659 WIN : LayoutTests/http/tests/loading/redirect-methods.html = PASS TIMEOUT
\ No newline at end of file +BUG18659 WIN : LayoutTests/http/tests/loading/redirect-methods.html = PASS TIMEOUT diff --git a/webkit/tools/test_shell/test_webview_delegate.cc b/webkit/tools/test_shell/test_webview_delegate.cc index d01c39e..3bda3ef 100644 --- a/webkit/tools/test_shell/test_webview_delegate.cc +++ b/webkit/tools/test_shell/test_webview_delegate.cc @@ -121,6 +121,13 @@ const char* WebNavigationTypeToString(WebNavigationType type) { return kIllegalString; } +std::string GetURLDescription(const GURL& url) { + if (url.SchemeIs("file")) + return url.ExtractFileName(); + + return url.possibly_invalid_spec(); +} + std::string GetResponseDescription(const WebURLResponse& response) { if (response.isNull()) return "(null)"; @@ -130,15 +137,36 @@ std::string GetResponseDescription(const WebURLResponse& response) { response.httpStatusCode()); } -int ToNSErrorCode(const WebURLError& error) { - if (UTF16ToUTF8(error.domain) == net::kErrorDomain) { +std::string GetErrorDescription(const WebURLError& error) { + std::string domain; + int code; + + if (EqualsASCII(error.domain, net::kErrorDomain)) { + domain = "NSURLErrorDomain"; switch (error.reason) { case net::ERR_ABORTED: - return -999; + code = -999; + break; + case net::ERR_UNSAFE_PORT: + // Our unsafe port checking happens at the network stack level, but we + // make this translation here to match the behavior of stock WebKit. + domain = "WebKitErrorDomain"; + code = 103; + break; + case net::ERR_ADDRESS_INVALID: + code = -1004; + break; + default: + code = -1; } + } else { + DLOG(WARNING) << "Unknown error domain"; + domain = UTF16ToASCII(error.domain); + code = error.reason; } - DLOG(WARNING) << "Add an error code mapping!"; - return error.reason; + + return StringPrintf("<NSError domain %s, code %d, failing URL \"%s\">", + domain.c_str(), code, error.unreachableURL.spec().data()); } } // namespace @@ -216,15 +244,9 @@ WebNavigationPolicy TestWebViewDelegate::PolicyForNavigationAction( WebNavigationPolicy result; if (policy_delegate_enabled_) { std::wstring frame_name = frame->GetName(); - std::string url_description; - GURL request_url = request.url(); - if (request_url.SchemeIs("file")) { - url_description = request_url.ExtractFileName(); - } else { - url_description = request_url.spec(); - } printf("Policy delegate: attempt to load %s with navigation type '%s'\n", - url_description.c_str(), WebNavigationTypeToString(type)); + GetURLDescription(request.url()).c_str(), + WebNavigationTypeToString(type)); if (policy_delegate_is_permissive_) { result = WebKit::WebNavigationPolicyCurrentTab; } else { @@ -265,7 +287,7 @@ void TestWebViewDelegate::WillSendRequest( " http method %s> redirectResponse %s\n", GetResourceDescription(identifier).c_str(), request_url.c_str(), - main_document_url.possibly_invalid_spec().c_str(), + GetURLDescription(main_document_url).c_str(), UTF16ToUTF8(request->httpMethod()).c_str(), GetResponseDescription(redirect_response).c_str()); } @@ -323,11 +345,9 @@ void TestWebViewDelegate::DidFailLoadingWithError(WebFrame* webframe, uint32 identifier, const WebURLError& error) { if (shell_->ShouldDumpResourceLoadCallbacks()) { - printf("%s - didFailLoadingWithError: <NSError domain NSURLErrorDomain," - " code %d, failing URL \"%s\">\n", + printf("%s - didFailLoadingWithError: %s\n", GetResourceDescription(identifier).c_str(), - ToNSErrorCode(error), - error.unreachableURL.spec().data()); + GetErrorDescription(error).c_str()); } resource_identifier_map_.erase(identifier); |