RESOLVED FIXED Bug 184524
[WinCairo][TestWebKitAPI] Implement PlatformWebView for TestWebKit
https://bugs.webkit.org/show_bug.cgi?id=184524
Summary [WinCairo][TestWebKitAPI] Implement PlatformWebView for TestWebKit
Fujii Hironori
Reported 2018-04-11 19:14:09 PDT
[WinCairo][TestWebKitAPI] Implement PlatformWebView for TestWebKit It was removed in Bug 104607.
Attachments
Patch (18.41 KB, patch)
2018-04-11 19:17 PDT, Fujii Hironori
no flags
Patch to land (18.46 KB, patch)
2018-04-16 21:23 PDT, Fujii Hironori
no flags
Fujii Hironori
Comment 1 2018-04-11 19:17:47 PDT
Fujii Hironori
Comment 2 2018-04-13 21:17:06 PDT
Could anyone review?
Alex Christensen
Comment 3 2018-04-16 08:42:23 PDT
Comment on attachment 337769 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=337769&action=review > Tools/TestWebKitAPI/win/PlatformUtilitiesWin.cpp:38 > + constexpr size_t bufferLength = _MAX_PATH * 4; This seems excessive. > Tools/TestWebKitAPI/win/PlatformUtilitiesWin.cpp:53 > + String filename = String::format("..\\..\\..\\Tools\\TestWebKitAPI\\Tests\\WebKit\\%s.%s", resource, extension); This seems specific to a certain build configuration.
Fujii Hironori
Comment 4 2018-04-16 21:16:48 PDT
Comment on attachment 337769 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=337769&action=review Thank you for the review. >> Tools/TestWebKitAPI/win/PlatformUtilitiesWin.cpp:38 >> + constexpr size_t bufferLength = _MAX_PATH * 4; > > This seems excessive. Agreed. I'll use _MAX_PATH+1. >> Tools/TestWebKitAPI/win/PlatformUtilitiesWin.cpp:53 >> + String filename = String::format("..\\..\\..\\Tools\\TestWebKitAPI\\Tests\\WebKit\\%s.%s", resource, extension); > > This seems specific to a certain build configuration. Mac port is copying the resource file into the build directory. GTK and WPE ports are using a env var to specify the source directory. Old WebKit port was using the same approach with Mac port. I'm going to solve this problem in another bug.
Fujii Hironori
Comment 5 2018-04-16 21:23:05 PDT
Created attachment 338077 [details] Patch to land
Fujii Hironori
Comment 6 2018-04-17 18:01:37 PDT
Radar WebKit Bug Importer
Comment 7 2018-04-17 18:03:22 PDT
Fujii Hironori
Comment 8 2018-04-17 18:08:52 PDT
(In reply to Fujii Hironori from comment #4) > I'm going to solve this problem in another bug. Filed Bug 184722.
Note You need to log in before you can comment on or make changes to this bug.