JavaScriptCore:
2009-03-03 Kevin McCullough <kmccullough@apple.com>
Reviewed by Oliver Hunt.
<rdar://problem/6639110> console.profile() doesn't work without a title
* profiler/Profiler.cpp:
(JSC::Profiler::startProfiling): assert if there is not title to ensure
we don't start profiling without one.
WebCore:
2009-03-03 Kevin McCullough <kmccullough@apple.com>
Reviewed by Oliver Hunt.
<rdar://problem/6639110> console.profile() doesn't work without a title
* page/Console.cpp:
(WebCore::Console::profile): If there is no title assume this is a user
initiated profile and give it the next incremented title name.
LayoutTests:
2009-03-03 Kevin McCullough <kmccullough@apple.com>
Reviewed by Oliver Hunt.
<rdar://problem/6639110> console.profile() doesn't work without a title
* fast/profiler/profile-with-no-title-expected.txt: Added.
* fast/profiler/profile-with-no-title.html: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41407 268f45cc-cd09-0410-ab3c-d52691b4dbfc
7 files changed