RESOLVED DUPLICATE of bug 83281 83163
[EFL] [DRT] LayoutTestController needs implementation of setXSSAuditorEnabled
https://bugs.webkit.org/show_bug.cgi?id=83163
Summary [EFL] [DRT] LayoutTestController needs implementation of setXSSAuditorEnabled
Sudarsana Nagineni (babu)
Reported 2012-04-04 08:01:44 PDT
LayoutTestController needs implementation of setXSSAuditorEnabled in order to unskip tests in http/tests/security/xssAuditor.
Attachments
Patch (5.45 KB, patch)
2012-04-04 09:11 PDT, Sudarsana Nagineni (babu)
no flags
Patch (2.79 KB, patch)
2012-04-05 12:35 PDT, Sudarsana Nagineni (babu)
gyuyoung.kim: commit-queue-
Sudarsana Nagineni (babu)
Comment 1 2012-04-04 09:11:28 PDT
Created attachment 135607 [details] Patch DRT support for setXSSAuditorEnabled
Raphael Kubo da Costa (:rakuco)
Comment 2 2012-04-04 09:24:34 PDT
Comment on attachment 135607 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=135607&action=review > LayoutTests/platform/efl/Skipped:449 > +# EFL's LayoutTestController does not implement setCanOpenWindows and setCloseRemainingWindowsWhenComplete These methods are implemented in LTC itself, not in the port's subclass. > LayoutTests/platform/efl/Skipped:451 > +# EFL's LayoutTestController does not implement dumpFrameLoadCallbacks You might want to coordinate with Christoph here, as he's working on unskipping tests related to this.
Raphael Kubo da Costa (:rakuco)
Comment 3 2012-04-04 09:25:14 PDT
What does the XSS auditor do? Is it something that would be useful to expose publicly?
Sudarsana Nagineni (babu)
Comment 4 2012-04-05 03:42:01 PDT
(In reply to comment #2) Thanks for review. > > LayoutTests/platform/efl/Skipped:449 > > +# EFL's LayoutTestController does not implement setCanOpenWindows and setCloseRemainingWindowsWhenComplete > Okay. This test can be unskipped by enabling XSSAuditor by default when new window is opened. > These methods are implemented in LTC itself, not in the port's subclass. > > > LayoutTests/platform/efl/Skipped:451 > > +# EFL's LayoutTestController does not implement dumpFrameLoadCallbacks > > You might want to coordinate with Christoph here, as he's working on unskipping tests related to this. Chris patch doesn't fully fix this test. FrameLoaderClientEfl::didDetectXSS implementation also needed in order to unskip this test. I will update the description.
Sudarsana Nagineni (babu)
Comment 5 2012-04-05 03:54:58 PDT
(In reply to comment #3) > What does the XSS auditor do? It provides protection from reflected XSS attacks of malicious websites. > Is it something that would be useful to expose publicly? Yes, good to expose this pref to users. I will create a new bug and implement set/get APIs for this setting.
Sudarsana Nagineni (babu)
Comment 6 2012-04-05 12:35:15 PDT
Created attachment 135878 [details] Patch Use ewk API to enable the setting
Gyuyoung Kim
Comment 7 2012-04-05 12:47:08 PDT
Gyuyoung Kim
Comment 8 2012-04-05 20:37:58 PDT
Comment on attachment 135878 [details] Patch Clearing r? flag because you should submit this patch again after landing a patch of Bug 83281
Sudarsana Nagineni (babu)
Comment 9 2012-04-17 11:47:22 PDT
As mentioned in bug #83281 and discussed on #webkit-efl, implemented everything together in bug #83281. *** This bug has been marked as a duplicate of bug 83281 ***
Note You need to log in before you can comment on or make changes to this bug.