Ignore:
Timestamp:
May 3, 2018, 9:58:48 AM (7 years ago)
Author:
Ryan Haddad
Message:

Unreviewed, rolling out r231197.

The test added with this change crashes on the 32-bit JSC bot.

Reverted changeset:

"Correctly detect string overflow when using the 'Function'
constructor"
https://bugs.webkit.org/show_bug.cgi?id=184883
https://trac.webkit.org/changeset/231197

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/JSONObject.cpp

    r231197 r231310  
    358358        const String& string = asString(value)->value(m_exec);
    359359        RETURN_IF_EXCEPTION(scope, StringifyFailed);
    360         if (builder.tryAppendQuotedJSONString(string))
     360        if (builder.appendQuotedJSONString(string))
    361361            return StringifySucceeded;
    362362        throwOutOfMemoryError(m_exec, scope);
Note: See TracChangeset for help on using the changeset viewer.