WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
132044
[GTK] Test TestWebKitAPI/WebKit2Gtk/TestInspectorServer fails
https://bugs.webkit.org/show_bug.cgi?id=132044
Summary
[GTK] Test TestWebKitAPI/WebKit2Gtk/TestInspectorServer fails
Carlos Garcia Campos
Reported
2014-04-23 00:55:52 PDT
TEST: WebKitBuild/Release/bin/TestWebKitAPI/WebKit2Gtk/TestInspectorServer... (pid=30953) ** ERROR:../../Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestInspectorServer.cpp:241:void openRemoteDebuggingSession(InspectorServerTest*, gconstpointer): assertion failed: (javascriptResult) GTester: last random seed: R02S76a375c7b7e9a9fb04f17fded1d0cf78 (pid=31125) FAIL: WebKitBuild/Release/bin/TestWebKitAPI/WebKit2Gtk/TestInspectorServer Tests failed (1): WebKitBuild/Release/bin/TestWebKitAPI/WebKit2Gtk/TestInspectorServer
Attachments
Patch
(3.30 KB, patch)
2014-10-14 02:13 PDT
,
Carlos Garcia Campos
burg
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Philippe Normand
Comment 1
2014-05-27 06:22:26 PDT
I'm starting a patch.
Carlos Garcia Campos
Comment 2
2014-10-02 06:35:36 PDT
I think one of the problems is that in
r164543
the order of the scripts in Main.html changed. One of the problems I see in the console is: ReferenceError: Can't find variable: InspectorFrontendHost That happens in Platform.js, because InspectorFrontendHostStub.js hasn't been loaded yet. With the local inspector doesn't happen because the InspectorFrontendHost is injected directly from the code on window object cleared. There might be more errors like this, I also see 'IndexedDB' domain was not found, not sure that was if fatal, though.
Carlos Garcia Campos
Comment 3
2014-10-14 02:13:14 PDT
Created
attachment 239787
[details]
Patch The inspector still doesn't work because of
bug #137340
, but reverting
r174025
and applying this patch makes the remote inspector work again and the test to pass.
Brian Burg
Comment 4
2014-10-20 10:45:07 PDT
(In reply to
comment #2
)
> I think one of the problems is that in
r164543
the order of the scripts in > Main.html changed. One of the problems I see in the console is: > > ReferenceError: Can't find variable: InspectorFrontendHost > > That happens in Platform.js, because InspectorFrontendHostStub.js hasn't > been loaded yet. With the local inspector doesn't happen because the > InspectorFrontendHost is injected directly from the code on window object > cleared. There might be more errors like this, I also see 'IndexedDB' domain > was not found, not sure that was if fatal, though.
It should be able to fail cleanly with no IndexedDB domain, since it's an optional feature. If the inspector or tests break with !ENABLE(INDEXED_DATABASE) please file a bug.
Carlos Garcia Campos
Comment 5
2014-10-21 00:32:34 PDT
Committed
r174926
: <
http://trac.webkit.org/changeset/174926
>
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