WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
111448
[GTK][WK2] Implement WebInspector::localizedStringsURL() to return the file URL of localizedStrings.js
https://bugs.webkit.org/show_bug.cgi?id=111448
Summary
[GTK][WK2] Implement WebInspector::localizedStringsURL() to return the file U...
Sudarsana Nagineni (babu)
Reported
2013-03-05 09:07:25 PST
Implement WebInspector::localizedStringsURL() method, so that it will prevent printing warnings about "Localized string not found" in the console when the Web Inspector opened.
Attachments
Patch
(2.03 KB, patch)
2013-03-06 05:41 PST
,
Sudarsana Nagineni (babu)
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Sudarsana Nagineni (babu)
Comment 1
2013-03-06 05:41:37 PST
Created
attachment 191729
[details]
Patch
Martin Robinson
Comment 2
2013-03-06 07:35:48 PST
I wonder if this should be included in the GResources bundle. What do you think Carlos?
Carlos Garcia Campos
Comment 3
2013-03-06 07:54:58 PST
We don't have GResource bundle yet, no? my plan was to include all the inspector resources as a GResource in the library itself, to avoid the problems of resources not found when not installed and to avoid a lot of disk io.
Martin Robinson
Comment 4
2013-03-06 08:05:25 PST
(In reply to
comment #3
)
> We don't have GResource bundle yet, no? my plan was to include all the inspector resources as a GResource in the library itself, to avoid the problems of resources not found when not installed and to avoid a lot of disk io.
Sorry. I thought inspector resources were already stored as GResource data in the library itself. If not, this patch seems fine to me.
Carlos Garcia Campos
Comment 5
2013-03-06 08:11:42 PST
(In reply to
comment #4
)
> (In reply to
comment #3
) > > We don't have GResource bundle yet, no? my plan was to include all the inspector resources as a GResource in the library itself, to avoid the problems of resources not found when not installed and to avoid a lot of disk io. > > Sorry. I thought inspector resources were already stored as GResource data in the library itself. If not, this patch seems fine to me.
For now it's only a plan, the main problem is that we would need to bump glib (and probably libsoup) requirements, or do both, install the resources and compile them as a gresource, falling back to the installed files if the resources are not present in the library.
Martin Robinson
Comment 6
2013-03-06 08:17:33 PST
Maybe a WebKit2 owner could put the final stamp on this one?
Sudarsana Nagineni (babu)
Comment 7
2013-03-06 14:12:34 PST
Comment on
attachment 191729
[details]
Patch Thanks for reviewing.
WebKit Review Bot
Comment 8
2013-03-06 14:28:56 PST
Comment on
attachment 191729
[details]
Patch Clearing flags on attachment: 191729 Committed
r144982
: <
http://trac.webkit.org/changeset/144982
>
WebKit Review Bot
Comment 9
2013-03-06 14:28:59 PST
All reviewed patches have been landed. Closing bug.
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