Ignore:
Timestamp:
Jun 30, 2016, 10:31:23 AM (9 years ago)
Author:
Ryan Haddad
Message:

Unreviewed, rolling out r202659.
https://bugs.webkit.org/show_bug.cgi?id=159305

The test for this change times out on mac-wk2 debug and caused
an existing test to crash. (Requested by ryanhaddad on
#webkit).

Reverted changeset:

"Web Inspector: Wrong function name next to scope"
https://bugs.webkit.org/show_bug.cgi?id=158210
http://trac.webkit.org/changeset/202659

Patch by Commit Queue <[email protected]> on 2016-06-30

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/debugger/DebuggerScope.cpp

    r202659 r202684  
    211211}
    212212
    213 String DebuggerScope::name() const
    214 {
    215     SymbolTable* symbolTable = m_scope->symbolTable();
    216     if (!symbolTable)
    217         return String();
    218 
    219     CodeBlock* codeBlock = symbolTable->rareDataCodeBlock();
    220     if (!codeBlock)
    221         return String();
    222 
    223     return String::fromUTF8(codeBlock->inferredName());
    224 }
    225 
    226 DebuggerLocation DebuggerScope::location() const
    227 {
    228     SymbolTable* symbolTable = m_scope->symbolTable();
    229     if (!symbolTable)
    230         return DebuggerLocation();
    231 
    232     CodeBlock* codeBlock = symbolTable->rareDataCodeBlock();
    233     if (!codeBlock)
    234         return DebuggerLocation();
    235 
    236     ScriptExecutable* executable = codeBlock->ownerScriptExecutable();
    237     return DebuggerLocation(executable);
    238 }
    239 
    240213JSValue DebuggerScope::caughtValue(ExecState* exec) const
    241214{
Note: See TracChangeset for help on using the changeset viewer.