RESOLVED FIXED 173546
[WPE] Add initial implementation of glib API
https://bugs.webkit.org/show_bug.cgi?id=173546
Summary [WPE] Add initial implementation of glib API
Carlos Garcia Campos
Reported 2017-06-19 06:19:44 PDT
Make current API files under glib directories build in WPE, and add the minimum implementation to make it work.
Attachments
Patch (346.57 KB, patch)
2017-06-19 06:27 PDT, Carlos Garcia Campos
no flags
Patch (346.56 KB, patch)
2017-06-19 06:57 PDT, Carlos Garcia Campos
zan: review+
buildbot: commit-queue-
Archive of layout-test-results from ews100 for mac-elcapitan (1.08 MB, application/zip)
2017-06-19 07:35 PDT, Build Bot
no flags
Carlos Garcia Campos
Comment 1 2017-06-19 06:27:34 PDT
Zan Dobersek
Comment 2 2017-06-19 06:52:26 PDT
Comment on attachment 313287 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=313287&action=review > Source/WebKit2/UIProcess/API/glib/WebKitUIClient.cpp:167 > + // FIXME: I guess this is actually the view size in WPE. We need more refactoring here. > + return { 800, 600 }; This should return a (0,0)x(0,0) rect for now. Also, this would be strange if it compiled, since you only specify the size to initialize a FloatRect.
Carlos Garcia Campos
Comment 3 2017-06-19 06:55:47 PDT
(In reply to Zan Dobersek from comment #2) > Comment on attachment 313287 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=313287&action=review > > > Source/WebKit2/UIProcess/API/glib/WebKitUIClient.cpp:167 > > + // FIXME: I guess this is actually the view size in WPE. We need more refactoring here. > > + return { 800, 600 }; > > This should return a (0,0)x(0,0) rect for now. Also, this would be strange > if it compiled, since you only specify the size to initialize a FloatRect. I had { } and changed it right before submitting the patch to provide a useful value, but forgot it's not a size, but a rectangle :-P
Carlos Garcia Campos
Comment 4 2017-06-19 06:57:13 PDT
Created attachment 313288 [details] Patch This should build fine now
Build Bot
Comment 5 2017-06-19 07:35:34 PDT
Comment on attachment 313288 [details] Patch Attachment 313288 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/3957544 New failing tests: inspector/canvas/create-canvas-contexts.html
Build Bot
Comment 6 2017-06-19 07:35:36 PDT
Created attachment 313295 [details] Archive of layout-test-results from ews100 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Zan Dobersek
Comment 7 2017-06-19 23:06:53 PDT
Comment on attachment 313288 [details] Patch OK, let's try this.
Carlos Garcia Campos
Comment 8 2017-06-20 00:20:34 PDT
Note You need to log in before you can comment on or make changes to this bug.