Changeset 146829 in webkit


Ignore:
Timestamp:
Mar 25, 2013 5:14:45 PM (11 years ago)
Author:
mhahnenberg@apple.com
Message:

JSObject::enterDictionaryIndexingMode doesn't have a case for ALL_BLANK_INDEXING_TYPES
https://bugs.webkit.org/show_bug.cgi?id=113236

Reviewed by Geoffrey Garen.

Source/JavaScriptCore:

  • runtime/JSObject.cpp:

(JSC::JSObject::enterDictionaryIndexingMode): We forgot blank indexing types.

LayoutTests:

New test case that tests calling Object.freeze on Array.prototype.

  • fast/js/enter-dictionary-indexing-mode-with-blank-indexing-type-expected.txt: Added.
  • fast/js/enter-dictionary-indexing-mode-with-blank-indexing-type.html: Added.
  • fast/js/script-tests/enter-dictionary-indexing-mode-with-blank-indexing-type.js: Added.
Location:
trunk
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r146828 r146829  
     12013-03-25  Mark Hahnenberg  <mhahnenberg@apple.com>
     2
     3        JSObject::enterDictionaryIndexingMode doesn't have a case for ALL_BLANK_INDEXING_TYPES
     4        https://bugs.webkit.org/show_bug.cgi?id=113236
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        New test case that tests calling Object.freeze on Array.prototype.
     9
     10        * fast/js/enter-dictionary-indexing-mode-with-blank-indexing-type-expected.txt: Added.
     11        * fast/js/enter-dictionary-indexing-mode-with-blank-indexing-type.html: Added.
     12        * fast/js/script-tests/enter-dictionary-indexing-mode-with-blank-indexing-type.js: Added.
     13
    1142013-03-25  James Robinson  <jamesr@chromium.org>
    215
  • trunk/Source/JavaScriptCore/ChangeLog

    r146734 r146829  
     12013-03-25  Mark Hahnenberg  <mhahnenberg@apple.com>
     2
     3        JSObject::enterDictionaryIndexingMode doesn't have a case for ALL_BLANK_INDEXING_TYPES
     4        https://bugs.webkit.org/show_bug.cgi?id=113236
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        * runtime/JSObject.cpp:
     9        (JSC::JSObject::enterDictionaryIndexingMode): We forgot blank indexing types.
     10
    1112013-03-23  Mark Hahnenberg  <mhahnenberg@apple.com>
    212
  • trunk/Source/JavaScriptCore/runtime/JSObject.cpp

    r146089 r146829  
    573573{
    574574    switch (structure()->indexingType()) {
     575    case ALL_BLANK_INDEXING_TYPES:
    575576    case ALL_UNDECIDED_INDEXING_TYPES:
    576577    case ALL_INT32_INDEXING_TYPES:
Note: See TracChangeset for help on using the changeset viewer.