Ignore:
Timestamp:
Jan 19, 2011, 4:35:26 PM (14 years ago)
Author:
[email protected]
Message:

2011-01-19 Oliver Hunt <[email protected]>

Reviewed by Gavin Barraclough.

Remove non-spec support for callable RegExp
https://bugs.webkit.org/show_bug.cgi?id=28285

Update test results for new behaviour.

  • fast/js/sputnik/Conformance/11_Expressions/11.4_Unary_Operators/11.4.3_The_typeof_Operator/S11.4.3_A3.6-expected.txt:
  • fast/js/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.7/S15.10.7_A1_T1-expected.txt:
  • fast/js/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.7/S15.10.7_A1_T2-expected.txt:
  • fast/js/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.7/S15.10.7_A3_T1-expected.txt:
  • fast/js/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.7/S15.10.7_A3_T2-expected.txt:
  • fast/loader/stateobjects/pushstate-object-types-expected.txt:
  • fast/regex/cross-frame-callable-expected.txt:
  • fast/regex/script-tests/cross-frame-callable.js: (doTest):

2011-01-19 Oliver Hunt <[email protected]>

Reviewed by Gavin Barraclough.

Remove non-spec support for callable RegExp
https://bugs.webkit.org/show_bug.cgi?id=28285

Remove support for callable regexps. If it breaks sites we can
just roll this out.

  • runtime/RegExpObject.cpp:
  • runtime/RegExpObject.h:
  • tests/mozilla/expected.html: update results.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/RegExpObject.h

    r67855 r76180  
    5959        bool match(ExecState*);
    6060
    61         virtual CallType getCallData(CallData&);
    62 
    6361        struct RegExpObjectData : FastAllocBase {
    6462            RegExpObjectData(NonNullPassRefPtr<RegExp> regExp, double lastIndex)
Note: See TracChangeset for help on using the changeset viewer.