<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>249330</bug_id>
          
          <creation_ts>2022-12-14 12:35:19 -0800</creation_ts>
          <short_desc>REGRESSION(257823@main): named-groups/lookbehind.js Test262-test is failing</short_desc>
          <delta_ts>2023-01-04 12:13:00 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=249624</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>249855</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Jenner">jenner</reporter>
          <assigned_to name="Michael Saboff">msaboff</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>fujii</cc>
    
    <cc>mark.lam</cc>
    
    <cc>msaboff</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1919257</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2022-12-14 12:35:19 -0800</bug_when>
    <thetext>The following 10 Test262 tests are constant failures on Monterey:

test/built-ins/RegExp/named-groups/lookbehind.js 
test/built-ins/RegExp/named-groups/lookbehind.js 
test/language/literals/regexp/invalid-optional-lookbehind.js 
test/language/literals/regexp/invalid-optional-lookbehind.js 
test/language/literals/regexp/invalid-optional-negative-lookbehind.js 
test/language/literals/regexp/invalid-optional-negative-lookbehind.js 
test/language/literals/regexp/invalid-range-lookbehind.js 
test/language/literals/regexp/invalid-range-lookbehind.js 
test/language/literals/regexp/invalid-range-negative-lookbehind.js 
test/language/literals/regexp/invalid-range-negative-lookbehind.js 


Observed here:
https://build.webkit.org/#/builders/364/builds/10429


FAILURE TEXT:

FAIL test/built-ins/RegExp/named-groups/lookbehind.js (default)
Full Output:
Exception: Test262Error: Expected [f, undefined] and [f, c] to have the same contents. 
FAIL test/built-ins/RegExp/named-groups/lookbehind.js (strict mode)
Full Output:
Exception: Test262Error: Expected [f, undefined] and [f, c] to have the same contents. 
FAIL test/language/literals/regexp/invalid-optional-lookbehind.js (default)
Full Output:
Expected uncaught exception with name &apos;SyntaxError&apos; but exception value is not instance of this exception class
Exception: Test262: This statement should not be evaluated.
FAIL test/language/literals/regexp/invalid-optional-lookbehind.js (strict mode)
Full Output:
Expected uncaught exception with name &apos;SyntaxError&apos; but exception value is not instance of this exception class
Exception: Test262: This statement should not be evaluated.
FAIL test/language/literals/regexp/invalid-optional-negative-lookbehind.js (default)
Full Output:
Expected uncaught exception with name &apos;SyntaxError&apos; but exception value is not instance of this exception class
Exception: Test262: This statement should not be evaluated.
FAIL test/language/literals/regexp/invalid-optional-negative-lookbehind.js (strict mode)
Full Output:
Expected uncaught exception with name &apos;SyntaxError&apos; but exception value is not instance of this exception class
Exception: Test262: This statement should not be evaluated.
FAIL test/language/literals/regexp/invalid-range-lookbehind.js (default)
Full Output:
Expected uncaught exception with name &apos;SyntaxError&apos; but exception value is not instance of this exception class
Exception: Test262: This statement should not be evaluated.
FAIL test/language/literals/regexp/invalid-range-lookbehind.js (strict mode)
Full Output:
Expected uncaught exception with name &apos;SyntaxError&apos; but exception value is not instance of this exception class
Exception: Test262: This statement should not be evaluated.
FAIL test/language/literals/regexp/invalid-range-negative-lookbehind.js (default)
Full Output:
Expected uncaught exception with name &apos;SyntaxError&apos; but exception value is not instance of this exception class
Exception: Test262: This statement should not be evaluated.
FAIL test/language/literals/regexp/invalid-range-negative-lookbehind.js (strict mode)
Full Output:
Expected uncaught exception with name &apos;SyntaxError&apos; but exception value is not instance of this exception class
Exception: Test262: This statement should not be evaluated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1919258</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-12-14 12:36:27 -0800</bug_when>
    <thetext>&lt;rdar://problem/103367993&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1919269</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2022-12-14 12:54:46 -0800</bug_when>
    <thetext>Actually it turns out there are only 5 tests, they just run twice. Once in default the other in strict. The 5 tests are:

test/built-ins/RegExp/named-groups/lookbehind.js 
test/language/literals/regexp/invalid-optional-lookbehind.js 
test/language/literals/regexp/invalid-optional-negative-lookbehind.js 
test/language/literals/regexp/invalid-range-lookbehind.js 
test/language/literals/regexp/invalid-range-negative-lookbehind.js</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1919270</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2022-12-14 13:01:27 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/7632</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1919274</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-12-14 13:10:08 -0800</bug_when>
    <thetext>Test gardening commit 257874@main (2b71676e9148): &lt;https://commits.webkit.org/257874@main&gt;

Reviewed commits have been landed. Closing PR #7632 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1920914</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2022-12-20 14:56:43 -0800</bug_when>
    <thetext>he failure in this test has nothing to do with named capture groups.  The issue is that we don&apos;t clear out a capture nested within a failed lookbehind.  This actually is a long standing issue as we don&apos;t clear out nested captures within a failed lookahead.  There is a long standing FIXME comment in the JIT code.

I have a fix that I&apos;ll post soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1920931</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2022-12-20 15:57:41 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/7940</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1921102</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-12-21 09:19:18 -0800</bug_when>
    <thetext>Committed 258195@main (6204c47b8556): &lt;https://commits.webkit.org/258195@main&gt;

Reviewed commits have been landed. Closing PR #7940 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1921619</commentid>
    <comment_count>8</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2022-12-22 23:26:43 -0800</bug_when>
    <thetext>Bug 249812 – REGRESSION(258195@main) [Win] ASSERTION FAILED: subpattern in JSC::Yarr::YarrGenerator&lt;JSC::Yarr::YarrJITDefaultRegisters&gt;::clearSubpatternStart</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1921736</commentid>
    <comment_count>9</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2022-12-23 15:36:29 -0800</bug_when>
    <thetext>Re-opened since this is blocked by bug 249855</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1922741</commentid>
    <comment_count>10</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2023-01-03 16:24:35 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/8170</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1922927</commentid>
    <comment_count>11</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-01-04 12:12:57 -0800</bug_when>
    <thetext>Committed 258441@main (cbde560aa655): &lt;https://commits.webkit.org/258441@main&gt;

Reviewed commits have been landed. Closing PR #8170 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>