REGRESSION: Web Inspector: Start Timeline Recording in Develop menu broken
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Apr 2015 18:02:30 +0000 (18:02 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Apr 2015 18:02:30 +0000 (18:02 +0000)
commit751f584b836c632720d82b17d437ebd4121f9ce3
tree852c6f31aaac92c203dbaacab875dde9d79e7c1b
parent783204e172a42c3cb13ee0a2f4a4cbb1cf043fe5
REGRESSION: Web Inspector: Start Timeline Recording in Develop menu broken
https://bugs.webkit.org/show_bug.cgi?id=144150

Reviewed by Brian Burg.

Source/WebInspectorUI:

* UserInterface/Protocol/InspectorFrontendAPI.js:
(InspectorFrontendAPI.setTimelineProfilingEnabled): Change !== to === when
checking enabled to isCapturing().

Source/WebKit2:

* WebProcess/WebPage/WebInspectorUI.cpp:
(WebKit::WebInspectorUI::evaluateCommandOnLoad): Properly treat bools as literals
instead of strings by not using the string version of evaluateCommandOnLoad.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@183268 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Protocol/InspectorFrontendAPI.js
Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/WebPage/WebInspectorUI.cpp