RESOLVED FIXED 207211
[PlayStation] Enable TestWebKit
https://bugs.webkit.org/show_bug.cgi?id=207211
Summary [PlayStation] Enable TestWebKit
Don Olmstead
Reported 2020-02-04 10:44:10 PST
Enable TestWebKit on PlayStation
Attachments
Patch (8.93 KB, patch)
2020-02-04 11:33 PST, Don Olmstead
no flags
Patch (9.13 KB, patch)
2020-02-04 14:42 PST, Don Olmstead
no flags
Don Olmstead
Comment 1 2020-02-04 11:33:46 PST
Ross Kirsling
Comment 2 2020-02-04 13:08:07 PST
Comment on attachment 389684 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=389684&action=review > Tools/TestWebKitAPI/playstation/PlatformUtilitiesPlayStation.cpp:54 > + // FIXME nit: probably best to leave off the FIXME if we're not gonna link a bug? Up to you for this case though. > Tools/TestWebKitAPI/playstation/PlatformWebViewPlayStation.cpp:31 > +#include <WebKit/WKPageConfigurationRef.h> > +#include <WebKit/WKRetainPtr.h> > +#include <WebKit/WebKit2_C.h> So long as these are stubs, we shouldn't need these includes or any of the param names below. > Tools/TestWebKitAPI/playstation/PlatformWebViewPlayStation.cpp:33 > +namespace TestWebKitAPI { Hmm, looking at the header, I'm surprised that we don't need to implement focus() or simulateAltKeyPress()...but if it works, it works.
Don Olmstead
Comment 3 2020-02-04 14:19:22 PST
Comment on attachment 389684 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=389684&action=review >> Tools/TestWebKitAPI/playstation/PlatformUtilitiesPlayStation.cpp:54 >> + // FIXME > > nit: probably best to leave off the FIXME if we're not gonna link a bug? Up to you for this case though. Since there is a return value I think adding some sort of FIXME is prudent so it doesn't get overlooked as the implementation lands. There's precedence in other port implementations. >> Tools/TestWebKitAPI/playstation/PlatformWebViewPlayStation.cpp:31 >> +#include <WebKit/WebKit2_C.h> > > So long as these are stubs, we shouldn't need these includes or any of the param names below. Removing >> Tools/TestWebKitAPI/playstation/PlatformWebViewPlayStation.cpp:33 >> +namespace TestWebKitAPI { > > Hmm, looking at the header, I'm surprised that we don't need to implement focus() or simulateAltKeyPress()...but if it works, it works. Looks like mac doesnt implement simulateAltKeyPress and only mac implements focus. I'll just add them for consistency.
Don Olmstead
Comment 4 2020-02-04 14:42:12 PST
Created attachment 389711 [details] Patch Make Ross happy
WebKit Commit Bot
Comment 5 2020-02-04 15:33:31 PST
Comment on attachment 389711 [details] Patch Clearing flags on attachment: 389711 Committed r255708: <https://trac.webkit.org/changeset/255708>
WebKit Commit Bot
Comment 6 2020-02-04 15:33:33 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 7 2020-02-04 15:34:13 PST
Note You need to log in before you can comment on or make changes to this bug.