RESOLVED FIXED 186546
http/tests/security/xss-DENIED-script-inject-into-inactive-window2.html times out with PSON enabled
https://bugs.webkit.org/show_bug.cgi?id=186546
Summary http/tests/security/xss-DENIED-script-inject-into-inactive-window2.html times...
Chris Dumez
Reported 2018-06-11 15:47:18 PDT
http/tests/security/xss-DENIED-script-inject-into-inactive-window2.html & http/tests/security/xss-DENIED-script-inject-into-inactive-window3.html time out with PSON enabled.
Attachments
Patch (14.86 KB, patch)
2018-06-11 16:19 PDT, Chris Dumez
no flags
Archive of layout-test-results from ews113 for mac-sierra (3.10 MB, application/zip)
2018-06-11 17:53 PDT, EWS Watchlist
no flags
Chris Dumez
Comment 1 2018-06-11 15:52:23 PDT
I believe the issue is that we process swap when navigated a frame that has opened a window. This is not OK at the moment because the new window can have a WindowProxy to its opener (which those tests rely on). We currently prevent PSON if we have an opener, we should also prevent PSON if FrameLoader::m_openedFrames is not empty.
Chris Dumez
Comment 2 2018-06-11 16:19:45 PDT
Brady Eidson
Comment 3 2018-06-11 17:10:34 PDT
Comment on attachment 342476 [details] Patch Hate having a second copy of the test just for the PSON version... =(
EWS Watchlist
Comment 4 2018-06-11 17:53:02 PDT
Comment on attachment 342476 [details] Patch Attachment 342476 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/8138653 New failing tests: fast/css/counters/element-removal-crash.xhtml
EWS Watchlist
Comment 5 2018-06-11 17:53:03 PDT
Created attachment 342493 [details] Archive of layout-test-results from ews113 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews113 Port: mac-sierra Platform: Mac OS X 10.12.6
Chris Dumez
Comment 6 2018-06-11 18:00:08 PDT
(In reply to Brady Eidson from comment #3) > Comment on attachment 342476 [details] > Patch > > Hate having a second copy of the test just for the PSON version... =( We can drop them once PSON is enabled by default.
WebKit Commit Bot
Comment 7 2018-06-11 18:28:06 PDT
Comment on attachment 342476 [details] Patch Clearing flags on attachment: 342476 Committed r232737: <https://trac.webkit.org/changeset/232737>
WebKit Commit Bot
Comment 8 2018-06-11 18:28:07 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 9 2018-06-11 18:29:25 PDT
Note You need to log in before you can comment on or make changes to this bug.