Ignore:
Timestamp:
Jul 8, 2015, 11:04:42 PM (10 years ago)
Author:
[email protected]
Message:

Fix grammar issue in TypeError attempting to change an unconfigurable property
https://bugs.webkit.org/show_bug.cgi?id=146774

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2015-07-08
Reviewed by Brent Fulgham.

Source/JavaScriptCore:

  • runtime/JSFunction.cpp:

(JSC::JSFunction::defineOwnProperty):

  • runtime/JSObject.cpp:

(JSC::JSObject::defineOwnNonIndexProperty):

  • runtime/StringObject.cpp:

(JSC::StringObject::defineOwnProperty):

LayoutTests:

  • js/dom/Object-defineProperty-expected.txt:
File:
1 edited

Legend:

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

    r182406 r186584  
    9494        if (descriptor.configurablePresent() && descriptor.configurable()) {
    9595            if (throwException)
    96                 exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Attempting to configurable attribute of unconfigurable property.")));
     96                exec->vm().throwException(exec, createTypeError(exec, ASCIILiteral("Attempting to change configurable attribute of unconfigurable property.")));
    9797            return false;
    9898        }
Note: See TracChangeset for help on using the changeset viewer.