WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
119743
[GTK] Expose WebKitFrame in WebKit2GTK+ web extensions API
https://bugs.webkit.org/show_bug.cgi?id=119743
Summary
[GTK] Expose WebKitFrame in WebKit2GTK+ web extensions API
Carlos Garcia Campos
Reported
2013-08-13 06:30:31 PDT
This is required for the javascript injection and isolated worlds API. See
https://lists.webkit.org/pipermail/webkit-gtk/2013-August/001535.html
.
Attachments
Patch
(18.46 KB, patch)
2013-08-13 06:44 PDT
,
Carlos Garcia Campos
gtk-ews
: commit-queue-
Details
Formatted Diff
Diff
Updated patch
(25.88 KB, patch)
2013-08-13 08:06 PDT
,
Carlos Garcia Campos
no flags
Details
Formatted Diff
Diff
Another update
(32.83 KB, patch)
2013-08-13 09:05 PDT
,
Carlos Garcia Campos
andersca
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2013-08-13 06:44:27 PDT
Created
attachment 208624
[details]
Patch
WebKit Commit Bot
Comment 2
2013-08-13 06:46:20 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See
http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
kov's GTK+ EWS bot
Comment 3
2013-08-13 07:44:15 PDT
Comment on
attachment 208624
[details]
Patch
Attachment 208624
[details]
did not pass gtk-ews (gtk): Output:
http://webkit-queues.appspot.com/results/1452440
Carlos Garcia Campos
Comment 4
2013-08-13 08:06:40 PDT
Created
attachment 208634
[details]
Updated patch I forgot to git add some new files
Carlos Garcia Campos
Comment 5
2013-08-13 09:05:39 PDT
Created
attachment 208638
[details]
Another update Sorry, I forgot to git add two more files.
Sergio Villar Senin
Comment 6
2013-08-13 09:14:51 PDT
Comment on
attachment 208638
[details]
Another update View in context:
https://bugs.webkit.org/attachment.cgi?id=208638&action=review
Changes (informally) look awesome to me
> Source/WebKit2/UIProcess/API/gtk/docs/webkit2gtk-sections.txt:1064 > +webkit_frame_get_javascript_global_context
nit: should we have these properly sorted?
> Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp:305 > + kWKBundlePageLoaderClientCurrentVersion,
wow this probably deserved a separate fix :), good catch
Gustavo Noronha (kov)
Comment 7
2013-08-14 16:07:07 PDT
Comment on
attachment 208638
[details]
Another update View in context:
https://bugs.webkit.org/attachment.cgi?id=208638&action=review
LGTM, r=me, just need to get a wk2 owner to approve, I guess.
>> Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp:305 >> + kWKBundlePageLoaderClientCurrentVersion, > > wow this probably deserved a separate fix :), good catch
Indeed, r=me for landing this separately!
Carlos Garcia Campos
Comment 8
2013-08-22 23:29:09 PDT
(In reply to
comment #7
)
> (From update of
attachment 208638
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=208638&action=review
> > LGTM, r=me, just need to get a wk2 owner to approve, I guess. > > >> Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp:305 > >> + kWKBundlePageLoaderClientCurrentVersion, > > > > wow this probably deserved a separate fix :), good catch > > Indeed, r=me for landing this separately!
Fixed in
http://trac.webkit.org/changeset/154474
Anders Carlsson
Comment 9
2013-08-23 05:51:04 PDT
Comment on
attachment 208638
[details]
Another update View in context:
https://bugs.webkit.org/attachment.cgi?id=208638&action=review
> Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp:74 > + DEFINE_STATIC_LOCAL(WebFrameMap, map, ());
Can use NeverDestroyed here!
Carlos Garcia Campos
Comment 10
2013-08-24 01:43:46 PDT
Committed
r154540
: <
http://trac.webkit.org/changeset/154540
>
Simon Fraser (smfr)
Comment 11
2013-08-25 10:50:49 PDT
This has caused 6 unit tests to fail:
http://build.webkit.org/builders/Apple%20MountainLion%20Debug%20WK2%20%28Tests%29/builds/11911/steps/run-api-tests/logs/stdio
Zan Dobersek
Comment 12
2013-08-25 12:09:38 PDT
(In reply to
comment #11
)
> This has caused 6 unit tests to fail: >
http://build.webkit.org/builders/Apple%20MountainLion%20Debug%20WK2%20%28Tests%29/builds/11911/steps/run-api-tests/logs/stdio
Fix is up for review in
bug #120268
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug