Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (232831 => 232832)
--- trunk/Source/_javascript_Core/ChangeLog 2018-06-14 06:09:13 UTC (rev 232831)
+++ trunk/Source/_javascript_Core/ChangeLog 2018-06-14 06:39:15 UTC (rev 232832)
@@ -1,3 +1,15 @@
+2018-06-13 Adrian Perez de Castro <[email protected]>
+
+ [WPE] Trying to access the remote inspector hits an assertion in the UIProcess
+ https://bugs.webkit.org/show_bug.cgi?id=186588
+
+ Reviewed by Carlos Garcia Campos.
+
+ Make both the WPE and GTK+ ports use /org/webkit/inspector as base prefix
+ for resource paths, which avoids needing a switcheroo depending on the port.
+
+ * inspector/remote/glib/RemoteInspectorUtils.cpp:
+
2018-06-13 Caitlin Potter <[email protected]>
[LLInt] use loadp consistently for get_from_scope/put_to_scope
Modified: trunk/Source/_javascript_Core/inspector/remote/glib/RemoteInspectorUtils.cpp (232831 => 232832)
--- trunk/Source/_javascript_Core/inspector/remote/glib/RemoteInspectorUtils.cpp 2018-06-14 06:09:13 UTC (rev 232831)
+++ trunk/Source/_javascript_Core/inspector/remote/glib/RemoteInspectorUtils.cpp 2018-06-14 06:39:15 UTC (rev 232832)
@@ -32,11 +32,7 @@
#include <mutex>
#include <wtf/SHA1.h>
-#if PLATFORM(GTK)
-#define INSPECTOR_BACKEND_COMMANDS_PATH "/org/webkitgtk/inspector/UserInterface/Protocol/InspectorBackendCommands.js"
-#elif PLATFORM(WPE)
-#define INSPECTOR_BACKEND_COMMANDS_PATH "/org/wpe/inspector/UserInterface/Protocol/InspectorBackendCommands.js"
-#endif
+#define INSPECTOR_BACKEND_COMMANDS_PATH "/org/webkit/inspector/UserInterface/Protocol/InspectorBackendCommands.js"
namespace Inspector {
Modified: trunk/Source/WebKit/ChangeLog (232831 => 232832)
--- trunk/Source/WebKit/ChangeLog 2018-06-14 06:09:13 UTC (rev 232831)
+++ trunk/Source/WebKit/ChangeLog 2018-06-14 06:39:15 UTC (rev 232832)
@@ -1,3 +1,26 @@
+2018-06-13 Adrian Perez de Castro <[email protected]>
+
+ [WPE] Trying to access the remote inspector hits an assertion in the UIProcess
+ https://bugs.webkit.org/show_bug.cgi?id=186588
+
+ Reviewed by Carlos Garcia Campos.
+
+ Make both the WPE and GTK+ ports use /org/webkit/inspector as base prefix
+ for resource paths, which avoids needing a switcheroo depending on the port.
+
+ * UIProcess/API/wpe/WebKit2InspectorGResourceBundle.xml:
+ * UIProcess/gtk/WebInspectorProxyGtk.cpp:
+ (WebKit::WebInspectorProxy::inspectorPageURL):
+ (WebKit::WebInspectorProxy::inspectorTestPageURL):
+ (WebKit::WebInspectorProxy::inspectorBaseURL):
+ * UIProcess/wpe/WebInspectorProxyWPE.cpp:
+ (WebKit::WebInspectorProxy::inspectorPageURL):
+ (WebKit::WebInspectorProxy::inspectorTestPageURL):
+ (WebKit::WebInspectorProxy::inspectorBaseURL):
+ * WebProcess/WebPage/gtk/WebInspectorUIGtk.cpp:
+ (WebKit::WebInspectorUI::localizedStringsURL):
+ (WebKit::RemoteWebInspectorUI::localizedStringsURL):
+
2018-06-13 Chris Dumez <[email protected]>
Crash under SWServer::unregisterConnection(Connection&)
Modified: trunk/Source/WebKit/UIProcess/API/wpe/WebKit2InspectorGResourceBundle.xml (232831 => 232832)
--- trunk/Source/WebKit/UIProcess/API/wpe/WebKit2InspectorGResourceBundle.xml 2018-06-14 06:09:13 UTC (rev 232831)
+++ trunk/Source/WebKit/UIProcess/API/wpe/WebKit2InspectorGResourceBundle.xml 2018-06-14 06:39:15 UTC (rev 232832)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
- <gresource prefix="/org/wpe/inspector/UserInterface">
+ <gresource prefix="/org/webkit/inspector/UserInterface">
<file>inspectorPageIndex.html</file>
</gresource>
</gresources>
Modified: trunk/Source/WebKit/UIProcess/gtk/WebInspectorProxyGtk.cpp (232831 => 232832)
--- trunk/Source/WebKit/UIProcess/gtk/WebInspectorProxyGtk.cpp 2018-06-14 06:09:13 UTC (rev 232831)
+++ trunk/Source/WebKit/UIProcess/gtk/WebInspectorProxyGtk.cpp 2018-06-14 06:39:15 UTC (rev 232832)
@@ -338,17 +338,17 @@
String WebInspectorProxy::inspectorPageURL()
{
- return String("resource:///org/webkitgtk/inspector/UserInterface/Main.html");
+ return String("resource:///org/webkit/inspector/UserInterface/Main.html");
}
String WebInspectorProxy::inspectorTestPageURL()
{
- return String("resource:///org/webkitgtk/inspector/UserInterface/Test.html");
+ return String("resource:///org/webkit/inspector/UserInterface/Test.html");
}
String WebInspectorProxy::inspectorBaseURL()
{
- return String("resource:///org/webkitgtk/inspector/UserInterface/");
+ return String("resource:///org/webkit/inspector/UserInterface/");
}
unsigned WebInspectorProxy::platformInspectedWindowHeight()
Modified: trunk/Source/WebKit/UIProcess/wpe/WebInspectorProxyWPE.cpp (232831 => 232832)
--- trunk/Source/WebKit/UIProcess/wpe/WebInspectorProxyWPE.cpp 2018-06-14 06:09:13 UTC (rev 232831)
+++ trunk/Source/WebKit/UIProcess/wpe/WebInspectorProxyWPE.cpp 2018-06-14 06:39:15 UTC (rev 232832)
@@ -83,17 +83,17 @@
String WebInspectorProxy::inspectorPageURL()
{
- return String("resource:///org/wpe/inspector/UserInterface/Main.html");
+ return String("resource:///org/webkit/inspector/UserInterface/Main.html");
}
String WebInspectorProxy::inspectorTestPageURL()
{
- return String("resource:///org/wpe/inspector/UserInterface/Test.html");
+ return String("resource:///org/webkit/inspector/UserInterface/Test.html");
}
String WebInspectorProxy::inspectorBaseURL()
{
- return String("resource:///org/wpe/inspector/UserInterface/");
+ return String("resource:///org/webkit/inspector/UserInterface/");
}
unsigned WebInspectorProxy::platformInspectedWindowHeight()
Modified: trunk/Source/WebKit/WebProcess/WebPage/gtk/WebInspectorUIGtk.cpp (232831 => 232832)
--- trunk/Source/WebKit/WebProcess/WebPage/gtk/WebInspectorUIGtk.cpp 2018-06-14 06:09:13 UTC (rev 232831)
+++ trunk/Source/WebKit/WebProcess/WebPage/gtk/WebInspectorUIGtk.cpp 2018-06-14 06:39:15 UTC (rev 232832)
@@ -41,12 +41,12 @@
String WebInspectorUI::localizedStringsURL()
{
- return String("resource:///org/webkitgtk/inspector/Localizations/en.lproj/localizedStrings.js");
+ return String("resource:///org/webkit/inspector/Localizations/en.lproj/localizedStrings.js");
}
String RemoteWebInspectorUI::localizedStringsURL()
{
- return String("resource:///org/webkitgtk/inspector/Localizations/en.lproj/localizedStrings.js");
+ return String("resource:///org/webkit/inspector/Localizations/en.lproj/localizedStrings.js");
}
} // namespace WebKit
Modified: trunk/Tools/ChangeLog (232831 => 232832)
--- trunk/Tools/ChangeLog 2018-06-14 06:09:13 UTC (rev 232831)
+++ trunk/Tools/ChangeLog 2018-06-14 06:39:15 UTC (rev 232832)
@@ -1,3 +1,17 @@
+2018-06-13 Adrian Perez de Castro <[email protected]>
+
+ [WPE] Trying to access the remote inspector hits an assertion in the UIProcess
+ https://bugs.webkit.org/show_bug.cgi?id=186588
+
+ Reviewed by Carlos Garcia Campos.
+
+ Make both the WPE and GTK+ ports use /org/webkit/inspector as base prefix
+ for resource paths, which avoids needing a switcheroo depending on the port.
+
+ * WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp:
+ (WTR::TestRunner::inspectorTestStubURL):
+ * glib/generate-inspector-gresource-manifest.py:
+
2018-06-11 Carlos Alberto Lopez Perez <[email protected]>
[GTK] Add a script to upload the data generated with run-benchmark to a browserperfdash server and use it on the gtk perf bot
Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp (232831 => 232832)
--- trunk/Tools/WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp 2018-06-14 06:09:13 UTC (rev 232831)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp 2018-06-14 06:39:15 UTC (rev 232832)
@@ -69,7 +69,7 @@
JSRetainPtr<JSStringRef> TestRunner::inspectorTestStubURL()
{
- return JSStringCreateWithUTF8CString("resource:///org/webkitgtk/inspector/UserInterface/TestStub.html");
+ return JSStringCreateWithUTF8CString("resource:///org/webkit/inspector/UserInterface/TestStub.html");
}
void TestRunner::installFakeHelvetica(JSStringRef configuration)
Modified: trunk/Tools/glib/generate-inspector-gresource-manifest.py (232831 => 232832)
--- trunk/Tools/glib/generate-inspector-gresource-manifest.py 2018-06-14 06:09:13 UTC (rev 232831)
+++ trunk/Tools/glib/generate-inspector-gresource-manifest.py 2018-06-14 06:39:15 UTC (rev 232832)
@@ -67,7 +67,7 @@
args.output.write(\
"""<?xml version=1.0 encoding=UTF-8?>
<gresources>
- <gresource prefix="/org/webkitgtk/inspector">
+ <gresource prefix="/org/webkit/inspector">
""")
for filename in get_filenames(args.input):