Bug 84576

Summary: [EFL] [DRT] LayoutTestController needs implementation of setJavaScriptProfilingEnabled
Product: WebKit Reporter: Sudarsana Nagineni (babu) <naginenis>
Component: WebKit EFLAssignee: Sudarsana Nagineni (babu) <naginenis>
Status: RESOLVED FIXED    
Severity: Normal CC: gyuyoung.kim, lucas.de.marchi, mrobinson, rakuco, tonikitoo, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
patch
none
patch
tonikitoo: review+, rakuco: commit-queue-
Patch none

Sudarsana Nagineni (babu)
Reported 2012-04-23 01:42:56 PDT
LayoutTestController needs implementation of setJavaScriptProfilingEnabled in order to unskip tests under fast/profiler.
Attachments
Patch (6.60 KB, patch)
2012-04-23 06:13 PDT, Sudarsana Nagineni (babu)
no flags
patch (6.64 KB, patch)
2012-04-25 06:11 PDT, Sudarsana Nagineni (babu)
no flags
patch (6.64 KB, patch)
2012-04-25 06:57 PDT, Sudarsana Nagineni (babu)
tonikitoo: review+
rakuco: commit-queue-
Patch (6.69 KB, patch)
2012-04-26 09:28 PDT, Sudarsana Nagineni (babu)
no flags
Sudarsana Nagineni (babu)
Comment 1 2012-04-23 06:13:39 PDT
Created attachment 138329 [details] Patch Implement setJavaScriptProfilingEnabled
Raphael Kubo da Costa (:rakuco)
Comment 2 2012-04-23 07:18:00 PDT
Comment on attachment 138329 [details] Patch Looks good, thanks.
Sudarsana Nagineni (babu)
Comment 3 2012-04-25 06:11:46 PDT
Created attachment 138799 [details] patch rebased
Sudarsana Nagineni (babu)
Comment 4 2012-04-25 06:57:54 PDT
Martin Robinson
Comment 5 2012-04-25 08:44:05 PDT
Comment on attachment 138803 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=138803&action=review > Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp:451 > + setDeveloperExtrasEnabled(flag); Should disabling JavaScript profiling disable all developer extras? That seems a bit odd. What if there another developer extra that's enabled and profiling is turned off?
Martin Robinson
Comment 6 2012-04-25 09:20:05 PDT
(In reply to comment #5) > (From update of attachment 138803 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=138803&action=review > > > Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp:451 > > + setDeveloperExtrasEnabled(flag); > > Should disabling JavaScript profiling disable all developer extras? That seems a bit odd. What if there another developer extra that's enabled and profiling is turned off? I guess this isn't an issue?
Raphael Kubo da Costa (:rakuco)
Comment 7 2012-04-25 09:36:20 PDT
Comment on attachment 138803 [details] patch cq-'ing while mrobinson's question isn't answered.
Sudarsana Nagineni (babu)
Comment 8 2012-04-25 15:27:33 PDT
(In reply to comment #5) > (From update of attachment 138803 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=138803&action=review > > > Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp:451 > > + setDeveloperExtrasEnabled(flag); > > Should disabling JavaScript profiling disable all developer extras? That seems a bit odd. What if there another developer extra that's enabled and profiling is turned off? setDeveloperExtrasEnabled() controls only whether the Web Inspector should be enabled or not, and this setting is enabled by default on the test startup. So, changing JS profiling setting changes only the Web Inspector behaviour for the test.
Martin Robinson
Comment 9 2012-04-26 08:25:09 PDT
(In reply to comment #8) > setDeveloperExtrasEnabled() controls only whether the Web Inspector should be enabled or not, and this setting is enabled by default on the test startup. So, changing JS profiling setting changes only the Web Inspector behaviour for the test. It's probably safer to turn it off if you are enabling the profiler, but not turn it off if you are disabling it.
Sudarsana Nagineni (babu)
Comment 10 2012-04-26 09:28:50 PDT
Created attachment 139016 [details] Patch taken feedback into consideration and updated patch.
WebKit Review Bot
Comment 11 2012-04-26 11:08:15 PDT
Comment on attachment 139016 [details] Patch Clearing flags on attachment: 139016 Committed r115332: <http://trac.webkit.org/changeset/115332>
WebKit Review Bot
Comment 12 2012-04-26 11:08:20 PDT
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.