JavaScriptCore:
authorkmccullough@apple.com <kmccullough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Mar 2009 22:47:49 +0000 (22:47 +0000)
committerkmccullough@apple.com <kmccullough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Mar 2009 22:47:49 +0000 (22:47 +0000)
commit140baee6a2af6f783e3842cebfc1cb25d30dd533
treeabb06a510ceea6eda5ace131a624dd9ee8e67920
parent57e8e6e25dc1fc43ad2dbd6084da3906a10dc1a9
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: https://svn.webkit.org/repository/webkit/trunk@41407 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/profiler/Profiler.cpp
LayoutTests/ChangeLog
LayoutTests/fast/profiler/profile-with-no-title-expected.txt [new file with mode: 0644]
LayoutTests/fast/profiler/profile-with-no-title.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/page/Console.cpp