⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 243949 in webkit


Ignore:
Timestamp:
Apr 5, 2019, 3:08:22 PM (7 years ago)
Author:
Alan Coon
Message:

Revert r243839. rdar://problem/49654398

Location:
tags/Safari-608.1.15
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • tags/Safari-608.1.15/LayoutTests/ChangeLog

    r243859 r243949  
     12019-04-05  Kocsen Chung  <kocsen_chung@apple.com>
     2
     3        Revert r243839. rdar://problem/49654398
     4
    152019-04-03  Timothy Hatcher  <timothy@apple.com>
    26
  • tags/Safari-608.1.15/LayoutTests/js/regexp-unicode-expected.txt

    r243839 r243949  
    149149PASS "𐌑𐌐𐌑".match(/[𐌁𐌑]+a|[𐌐𐌑]+./iu)[0] is "𐌑𐌐𐌑"
    150150PASS "𐌑𐌐𐌑".match(/[𐌁𐌑]+?a|[𐌐𐌑]+?./iu)[0] is "𐌑𐌐"
    151 PASS "𐌑𐌐𐌑".match(/[𐌁𐌑]+?a$|[𐌐𐌑]+?.$/iu)[0] is "𐌑𐌐𐌑"
    152 PASS "𐌑𐌐𐌑".match(/[𐌁𐌑x]+a|[𐌐𐌑x]+./iu)[0] is "𐌑𐌐𐌑"
    153 PASS "𐌑𐌐𐌑".match(/[𐌁𐌑x]+?a|[𐌐𐌑x]+?./iu)[0] is "𐌑𐌐"
    154151PASS "C83|НАЧАТЬ".match(re8)[0] is "C83|НАЧАТЬ"
    155152PASS "This.Is.16.Chars|НАЧАТЬ".match(re8)[0] is "This.Is.16.Chars|НАЧАТЬ"
  • tags/Safari-608.1.15/LayoutTests/js/script-tests/regexp-unicode.js

    r243839 r243949  
    206206shouldBe('"\u{10311}\u{10310}\u{10311}".match(/[\u{10301}\u{10311}]+a|[\u{10310}\u{10311}]+./iu)[0]', '"\u{10311}\u{10310}\u{10311}"');
    207207shouldBe('"\u{10311}\u{10310}\u{10311}".match(/[\u{10301}\u{10311}]+?a|[\u{10310}\u{10311}]+?./iu)[0]', '"\u{10311}\u{10310}"');
    208 shouldBe('"\u{10311}\u{10310}\u{10311}".match(/[\u{10301}\u{10311}]+?a$|[\u{10310}\u{10311}]+?.$/iu)[0]', '"\u{10311}\u{10310}\u{10311}"');
    209 shouldBe('"\u{10311}\u{10310}\u{10311}".match(/[\u{10301}\u{10311}x]+a|[\u{10310}\u{10311}x]+./iu)[0]', '"\u{10311}\u{10310}\u{10311}"');
    210 shouldBe('"\u{10311}\u{10310}\u{10311}".match(/[\u{10301}\u{10311}x]+?a|[\u{10310}\u{10311}x]+?./iu)[0]', '"\u{10311}\u{10310}"');
    211208
    212209var re8 = new  RegExp("^([0-9a-z\.]{3,16})\\|\u{041d}\u{0410}\u{0427}\u{0410}\u{0422}\u{042c}", "ui");
  • tags/Safari-608.1.15/Source/JavaScriptCore/ChangeLog

    r243857 r243949  
     12019-04-05  Kocsen Chung  <kocsen_chung@apple.com>
     2
     3        Revert r243839. rdar://problem/49654398
     4
    152019-04-03  Yusuke Suzuki  <ysuzuki@apple.com>
    26
  • tags/Safari-608.1.15/Source/JavaScriptCore/yarr/YarrJIT.cpp

    r243839 r243949  
    18501850        JumpList failures;
    18511851        Label loop(this);
    1852 #ifdef JIT_UNICODE_EXPRESSIONS
    1853         if (term->characterClass->hasOneCharacterSize() && !term->invert() && term->characterClass->hasNonBMPCharacters()) {
    1854             move(TrustedImm32(1), character);
    1855             failures.append(checkNotEnoughInput(character));
    1856         } else
    1857 #endif
    1858             failures.append(atEndOfInput());
     1852        failures.append(atEndOfInput());
    18591853
    18601854        if (term->invert()) {
     
    19631957        m_backtrackingState.link(this);
    19641958
    1965 #ifdef JIT_UNICODE_EXPRESSIONS
    19661959        if (m_decodeSurrogatePairs) {
    19671960            if (!term->characterClass->hasOneCharacterSize() || term->invert())
     
    19691962            loadFromFrame(term->frameLocation + BackTrackInfoCharacterClass::matchAmountIndex(), countRegister);
    19701963        }
    1971 #endif
    19721964
    19731965        nonGreedyFailures.append(atEndOfInput());
Note: See TracChangeset for help on using the changeset viewer.