RESOLVED FIXED Bug 36610
[Web Inspector] Allow running tests with enabled developer extras and closed Web Inspector
https://bugs.webkit.org/show_bug.cgi?id=36610
Summary [Web Inspector] Allow running tests with enabled developer extras and closed ...
Yury Semikhatsky
Reported 2010-03-25 10:13:53 PDT
All current inspector layout tests have Web Inspector opened before the test page starts loading. Also "developer extras" feature state is tightly coupled with Web Inspector window state and it's impossible to have InspectorController enabled but Web Inspector closed. However, there is number of cases where inspector behavior depends on whether Web Inspector is open after the inspected page has done something or it is already open by the time the page starts to load. Would be nice to have tests where developer exrtas are on but Web Inspector could be open by the test when it's appropriate.
Attachments
patch (15.88 KB, patch)
2010-03-25 11:06 PDT, Yury Semikhatsky
pfeldman: review+
patch (16.48 KB, patch)
2010-03-25 12:27 PDT, Yury Semikhatsky
no flags
Yury Semikhatsky
Comment 1 2010-03-25 10:43:04 PDT
(In reply to comment #0) > All current inspector layout tests have Web Inspector opened before the test > page starts loading. Also "developer extras" feature state is tightly coupled > with Web Inspector window state and it's impossible to have InspectorController > enabled but Web Inspector closed. However, there is number of cases where > inspector behavior depends on whether Web Inspector is open after the inspected > page has done something or it is already open by the time the page starts to > load. Would be nice to have tests where developer exrtas are on but Web > Inspector could be open by the test when it's appropriate.
Yury Semikhatsky
Comment 2 2010-03-25 11:06:46 PDT
Csaba Osztrogonác
Comment 3 2010-03-25 11:12:56 PDT
Pavel Feldman
Comment 4 2010-03-25 11:17:51 PDT
Comment on attachment 51660 [details] patch > - g_object_set(webSettings, "enable-developer-extras", TRUE, NULL); There is a tear down for other functions even though there is a reset before the subsequent test.
Yury Semikhatsky
Comment 5 2010-03-25 12:27:25 PDT
Created attachment 51670 [details] patch Fixed Qt build.
Yury Semikhatsky
Comment 6 2010-03-25 13:21:27 PDT
Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebKitTools/ChangeLog M WebKitTools/DumpRenderTree/LayoutTestController.h M WebKitTools/DumpRenderTree/gtk/DumpRenderTree.cpp M WebKitTools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp M WebKitTools/DumpRenderTree/mac/DumpRenderTree.mm M WebKitTools/DumpRenderTree/mac/LayoutTestControllerMac.mm M WebKitTools/DumpRenderTree/qt/DumpRenderTreeQt.cpp M WebKitTools/DumpRenderTree/qt/LayoutTestControllerQt.cpp M WebKitTools/DumpRenderTree/qt/LayoutTestControllerQt.h M WebKitTools/DumpRenderTree/win/DumpRenderTree.cpp M WebKitTools/DumpRenderTree/win/LayoutTestControllerWin.cpp Committed r56566
Note You need to log in before you can comment on or make changes to this bug.