RESOLVED FIXED 57572
WebKitTestRunner needs layoutTestController.setAllowFileAccessFromFileURLs
https://bugs.webkit.org/show_bug.cgi?id=57572
Summary WebKitTestRunner needs layoutTestController.setAllowFileAccessFromFileURLs
Chang Shu
Reported 2011-03-31 13:40:10 PDT
Fails at least: fast/frames/location-change-no-file-access.html fast/xmlhttprequest/xmlhttprequest-no-file-access.html
Attachments
fix patch (11.15 KB, patch)
2011-04-04 08:00 PDT, Chang Shu
darin: review+
cshu: commit-queue-
fix patch 2: follow review (11.71 KB, patch)
2011-04-04 08:43 PDT, Chang Shu
no flags
fix patch: code refactory (10.66 KB, patch)
2011-04-20 10:49 PDT, Chang Shu
no flags
Chang Shu
Comment 1 2011-04-04 08:00:03 PDT
Created attachment 88059 [details] fix patch
Darin Adler
Comment 2 2011-04-04 08:34:13 PDT
Comment on attachment 88059 [details] fix patch View in context: https://bugs.webkit.org/attachment.cgi?id=88059&action=review > LayoutTests/platform/mac-wk2/Skipped:1443 > -# WebKitTestRunner needs layoutTestController.setAllowFileAccessFromFileURLs > -# <https://bugs.webkit.org/show_bug.cgi?id=57572> > -fast/frames/location-change-no-file-access.html > fast/xmlhttprequest/xmlhttprequest-no-file-access.html > - > fast/xmlhttprequest/xmlhttprequest-nonexistent-file.html This orphans these still-skipped tests in a section with no label. It’s better to move them to an appropriately-labeled section.
Chang Shu
Comment 3 2011-04-04 08:43:20 PDT
Created attachment 88064 [details] fix patch 2: follow review
Chang Shu
Comment 4 2011-04-04 09:06:03 PDT
Darin, can you r+ again? thx
WebKit Commit Bot
Comment 5 2011-04-04 10:18:40 PDT
The commit-queue encountered the following flaky tests while processing attachment 88059 [details]: http/tests/websocket/tests/multiple-connections.html bug 53825 (author: abarth@webkit.org) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 6 2011-04-04 11:27:24 PDT
The commit-queue encountered the following flaky tests while processing attachment 88064 [details]: java/lc3/JSBoolean/boolean-002-n.html bug 57769 (author: ap@webkit.org) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 7 2011-04-04 11:29:38 PDT
Comment on attachment 88064 [details] fix patch 2: follow review Clearing flags on attachment: 88064 Committed r82848: <http://trac.webkit.org/changeset/82848>
WebKit Commit Bot
Comment 8 2011-04-04 11:29:44 PDT
All reviewed patches have been landed. Closing bug.
Chang Shu
Comment 9 2011-04-20 10:44:14 PDT
It is not necessary to update Webkit2 preference while calling LayoutTestController.setAllowFileAccessFromFileURLs and LayoutTestController.setAllowUniveralAccessFromFileURLs. I am going to upload a patch for code refactory.
Chang Shu
Comment 10 2011-04-20 10:49:26 PDT
Created attachment 90360 [details] fix patch: code refactory
Laszlo Gombos
Comment 11 2011-04-26 16:04:35 PDT
Comment on attachment 90360 [details] fix patch: code refactory lgtm, r+.
WebKit Commit Bot
Comment 12 2011-04-26 16:43:14 PDT
Comment on attachment 90360 [details] fix patch: code refactory Clearing flags on attachment: 90360 Committed r84980: <http://trac.webkit.org/changeset/84980>
WebKit Commit Bot
Comment 13 2011-04-26 16:43:20 PDT
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.