RESOLVED FIXED 147646
[Win] Layout Test http/tests/security/contentSecurityPolicy/source-list-parsing-10.html is failing
https://bugs.webkit.org/show_bug.cgi?id=147646
Summary [Win] Layout Test http/tests/security/contentSecurityPolicy/source-list-parsi...
Brent Fulgham
Reported 2015-08-04 12:32:54 PDT
The following layout test is failing on Windows: http/tests/security/contentSecurityPolicy/source-list-parsing-10.html Probable cause: Possibly related to my CSP_NEXT changes. I'm reviewing now.
Attachments
Patch (4.02 KB, patch)
2016-07-05 00:04 PDT, Per Arne Vollan
bfulgham: review+
Brent Fulgham
Comment 1 2015-08-04 13:35:32 PDT
Radar WebKit Bug Importer
Comment 2 2016-05-27 12:33:43 PDT
Per Arne Vollan
Comment 3 2016-07-05 00:04:42 PDT
Per Arne Vollan
Comment 4 2016-07-05 00:26:17 PDT
(In reply to comment #3) > Created attachment 282751 [details] > Patch Another option is to add Windows specific test results, since Windows has enabled CSP_NEXT.
Brent Fulgham
Comment 5 2016-07-05 08:39:19 PDT
Comment on attachment 282751 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=282751&action=review Could you please generate a Windows result with CSP_NEXT active instead of turning off the feature? > ChangeLog:8 > + Disable CSP_NEXT. We can then use the common expected test results for this test. We should leave it activated, and provide a test result. We want CSP_NEXT available on Windows, just like it is on Mac/iOS. > Source/cmake/OptionsWin.cmake:13 > +WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSP_NEXT PUBLIC OFF) I don't like this change. We should keep CSP_NEXT activated and just provide a test result so we can confirm it functions properly.
Per Arne Vollan
Comment 6 2016-07-05 08:52:32 PDT
(In reply to comment #5) > Comment on attachment 282751 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=282751&action=review > > Could you please generate a Windows result with CSP_NEXT active instead of > turning off the feature? > > > ChangeLog:8 > > + Disable CSP_NEXT. We can then use the common expected test results for this test. > > We should leave it activated, and provide a test result. We want CSP_NEXT > available on Windows, just like it is on Mac/iOS. > > > Source/cmake/OptionsWin.cmake:13 > > +WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSP_NEXT PUBLIC OFF) > > I don't like this change. We should keep CSP_NEXT activated and just provide > a test result so we can confirm it functions properly. Thanks for reviewing! I'll add Windows test results instead :) I have probably got this all wrong, but it seems to me that CSP_NEXT is disabled on Mac? The Mac test expectations also seem to indicate this.
Brent Fulgham
Comment 7 2016-07-05 15:22:12 PDT
(In reply to comment #6) > (In reply to comment #5) > > Comment on attachment 282751 [details] > > Patch > > > > View in context: > > https://bugs.webkit.org/attachment.cgi?id=282751&action=review > > > > Could you please generate a Windows result with CSP_NEXT active instead of > > turning off the feature? > > > > > ChangeLog:8 > > > + Disable CSP_NEXT. We can then use the common expected test results for this test. > > > > We should leave it activated, and provide a test result. We want CSP_NEXT > > available on Windows, just like it is on Mac/iOS. > > > > > Source/cmake/OptionsWin.cmake:13 > > > +WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSP_NEXT PUBLIC OFF) > > > > I don't like this change. We should keep CSP_NEXT activated and just provide > > a test result so we can confirm it functions properly. > > Thanks for reviewing! > > I'll add Windows test results instead :) > > I have probably got this all wrong, but it seems to me that CSP_NEXT is > disabled on Mac? The Mac test expectations also seem to indicate this. No! I'm wrong. I just looked at the Mac build configuration and CSP_NEXT is definitely turned off. I was confused because Dan has been moving things out of CSP_NEXT as we've been adding support for CSP 2.0, and I thought for some reason that CSP_NEXT was turned on as well. Go ahead and deactivate CSP_NEXT on Windows.
Per Arne Vollan
Comment 8 2016-07-05 22:55:38 PDT
Thanks, Brent!
Per Arne Vollan
Comment 9 2016-07-05 22:56:39 PDT
Note You need to log in before you can comment on or make changes to this bug.