WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
164752
Make test sandbox-should-not-persist-on-navigation.html more representative of real-world scenario
https://bugs.webkit.org/show_bug.cgi?id=164752
Summary
Make test sandbox-should-not-persist-on-navigation.html more representative o...
Daniel Bates
Reported
2016-11-14 17:10:51 PST
Prior to
r208549
(
bug #164387
the HTTP 0.9 sandbox was applied to a document if either the document loaded on a default port using HTTP 0.9 or one of its subresources loaded on a non-default port. Following
r208549
we only apply the sandbox in the former case because the latter case provided little to no additional security. The test LayoutTests/http/tests/security/http-0.9/sandbox-should-not-persist-on-navigation.html makes use the former case. We should write it to test the latter case, which is more representative of a real-world scenario where we would want to apply a sandbox.
Attachments
Layout test
(4.44 KB, patch)
2016-11-14 17:12 PST
,
Daniel Bates
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews101 for mac-yosemite
(1.04 MB, application/zip)
2016-11-14 18:10 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from ews104 for mac-yosemite-wk2
(1.05 MB, application/zip)
2016-11-14 18:15 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from ews115 for mac-yosemite
(1.64 MB, application/zip)
2016-11-14 18:21 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from ews125 for ios-simulator-wk2
(9.40 MB, application/zip)
2016-11-14 18:27 PST
,
Build Bot
no flags
Details
Layout test
(5.36 KB, patch)
2016-11-15 08:54 PST
,
Daniel Bates
no flags
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Daniel Bates
Comment 1
2016-11-14 17:12:33 PST
Created
attachment 294779
[details]
Layout test
Build Bot
Comment 2
2016-11-14 18:10:35 PST
Comment on
attachment 294779
[details]
Layout test
Attachment 294779
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.webkit.org/results/2516996
New failing tests: http/tests/security/http-0.9/sandbox-should-not-persist-on-navigation.html
Build Bot
Comment 3
2016-11-14 18:10:38 PST
Created
attachment 294790
[details]
Archive of layout-test-results from ews101 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 4
2016-11-14 18:15:36 PST
Comment on
attachment 294779
[details]
Layout test
Attachment 294779
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.webkit.org/results/2517009
New failing tests: http/tests/security/http-0.9/sandbox-should-not-persist-on-navigation.html
Build Bot
Comment 5
2016-11-14 18:15:39 PST
Created
attachment 294792
[details]
Archive of layout-test-results from ews104 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Build Bot
Comment 6
2016-11-14 18:21:48 PST
Comment on
attachment 294779
[details]
Layout test
Attachment 294779
[details]
did not pass mac-debug-ews (mac): Output:
http://webkit-queues.webkit.org/results/2517017
New failing tests: http/tests/security/http-0.9/sandbox-should-not-persist-on-navigation.html
Build Bot
Comment 7
2016-11-14 18:21:51 PST
Created
attachment 294793
[details]
Archive of layout-test-results from ews115 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews115 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 8
2016-11-14 18:27:16 PST
Comment on
attachment 294779
[details]
Layout test
Attachment 294779
[details]
did not pass ios-sim-ews (ios-simulator-wk2): Output:
http://webkit-queues.webkit.org/results/2517022
New failing tests: http/tests/security/http-0.9/sandbox-should-not-persist-on-navigation.html
Build Bot
Comment 9
2016-11-14 18:27:19 PST
Created
attachment 294795
[details]
Archive of layout-test-results from ews125 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews125 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.6
Daniel Bates
Comment 10
2016-11-15 08:54:13 PST
Created
attachment 294840
[details]
Layout test
Brent Fulgham
Comment 11
2016-11-16 09:52:44 PST
Comment on
attachment 294840
[details]
Layout test View in context:
https://bugs.webkit.org/attachment.cgi?id=294840&action=review
> LayoutTests/platform/wk2/TestExpectations:559 > +http/tests/security/http-0.9/sandbox-should-not-persist-on-navigation.html
Why do we skip this on WK2?
Brent Fulgham
Comment 12
2016-11-16 10:03:54 PST
(In reply to
comment #11
)
> Comment on
attachment 294840
[details]
> Layout test > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=294840&action=review
> > > LayoutTests/platform/wk2/TestExpectations:559 > > +http/tests/security/http-0.9/sandbox-should-not-persist-on-navigation.html > > Why do we skip this on WK2?
Dan explained to me that the internals flag we use to register a default port for testing purposes is not exposed to WK2, so we don't test under WK2 for this specific feature.
Brent Fulgham
Comment 13
2016-11-16 10:04:09 PST
Comment on
attachment 294840
[details]
Layout test r=me.
Daniel Bates
Comment 14
2016-11-16 10:07:31 PST
Comment on
attachment 294840
[details]
Layout test Clearing flags on attachment: 294840 Committed
r208796
: <
http://trac.webkit.org/changeset/208796
>
Daniel Bates
Comment 15
2016-11-16 10:07:36 PST
All reviewed patches have been landed. Closing bug.
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