<?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>177307</bug_id>
          
          <creation_ts>2017-09-21 09:47:04 -0700</creation_ts>
          <short_desc>test262: test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js ASSERTs</short_desc>
          <delta_ts>2017-09-27 12:22:30 -0700</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>
          
          
          <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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>buildbot</cc>
    
    <cc>commit-queue</cc>
    
    <cc>jlewis3</cc>
    
    <cc>joepeck</cc>
    
    <cc>keith_miller</cc>
    
    <cc>mark.lam</cc>
    
    <cc>msaboff</cc>
    
    <cc>saam</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1351228</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-09-21 09:47:04 -0700</bug_when>
    <thetext>Exit code 0 (I guess we need to update the expectations?)
FAIL: test262.yaml/test262/test/language/statements/for-await-of/async-gen-decl-dstr-obj-prop-put-unresolvable-no-strict.js.default
FAIL: test262.yaml/test262/test/language/statements/for-await-of/async-func-decl-dstr-obj-id-put-unresolvable-no-strict.js.default
FAIL: test262.yaml/test262/test/language/statements/for-await-of/async-func-decl-dstr-obj-prop-put-unresolvable-no-strict.js.default
FAIL: test262.yaml/test262/test/language/statements/for-await-of/async-gen-decl-dstr-array-elem-iter-rtrn-close-null.js.default
FAIL: test262.yaml/test262/test/language/statements/for-await-of/async-gen-decl-dstr-array-elem-iter-rtrn-close-null.js.default-strict
FAIL: test262.yaml/test262/test/language/statements/for-await-of/async-gen-decl-dstr-obj-id-put-unresolvable-no-strict.js.default

Assertion failures:
FAIL: test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default-strict
FAIL: test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: ASSERTION FAILED: index &lt; string.size()
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: ./runtime/RegExpPrototype.cpp(229) : FlagsString JSC::flagsString(JSC::ExecState *, JSC::JSObject *)
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: 1   0x103276ae0 WTFCrash
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: 2   0x10228010a JSC::flagsString(JSC::ExecState*, JSC::JSObject*)
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: 3   0x10227d565 JSC::regExpProtoGetterFlags(JSC::ExecState*)
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: 4   0x101f878b1 vmEntryToNative
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: 5   0x102f668f5 JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: 6   0x1031da2e0 JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: 7   0x10326a9b1 JSC::callGetter(JSC::ExecState*, JSC::JSValue, JSC::JSValue)
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: 8   0x10225b000 JSC::PropertySlot::functionGetter(JSC::ExecState*) const
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: 9   0x101f4a622 JSC::PropertySlot::getValue(JSC::ExecState*, JSC::PropertyName) const
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: 10  0x1020674c1 JSC::JSValue::get(JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&amp;) const
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: 11  0x10303b1b4 llint_slow_path_get_by_id
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: 12  0x101f8ab37 llint_entry
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: 13  0x101f8770c vmEntryToJavaScript
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: 14  0x102fd69e1 JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*)
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: 15  0x102f661a7 JSC::Interpreter::executeProgram(JSC::SourceCode const&amp;, JSC::ExecState*, JSC::JSObject*)
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: 16  0x1031fb1a7 JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&amp;, JSC::JSValue, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: 17  0x101db77af runWithOptions(GlobalObject*, CommandLine&amp;)
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: 18  0x101d9f324 jscmain(int, char**)::$_6::operator()(JSC::VM&amp;, GlobalObject*) const
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: 19  0x101d9c753 int runJSC&lt;jscmain(int, char**)::$_6&gt;(CommandLine, bool, jscmain(int, char**)::$_6 const&amp;)
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: 20  0x101d9b49f jscmain(int, char**)
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: 21  0x101d9b3fe main
test262.yaml/test262/test/annexB/built-ins/RegExp/prototype/flags/order-after-compile.js.default: 22  0x7fff9adc15ad start

FAIL: test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default
FAIL: test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: ASSERTION FAILED: index &lt; string.size()
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: ./runtime/RegExpPrototype.cpp(229) : FlagsString JSC::flagsString(JSC::ExecState *, JSC::JSObject *)
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: 1   0x101e15ae0 WTFCrash
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: 2   0x100e1f10a JSC::flagsString(JSC::ExecState*, JSC::JSObject*)
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: 3   0x100e1c565 JSC::regExpProtoGetterFlags(JSC::ExecState*)
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: 4   0x100b268b1 vmEntryToNative
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: 5   0x101b058f5 JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: 6   0x101d792e0 JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: 7   0x101e099b1 JSC::callGetter(JSC::ExecState*, JSC::JSValue, JSC::JSValue)
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: 8   0x100dfa000 JSC::PropertySlot::functionGetter(JSC::ExecState*) const
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: 9   0x100ae9622 JSC::PropertySlot::getValue(JSC::ExecState*, JSC::PropertyName) const
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: 10  0x100c064c1 JSC::JSValue::get(JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&amp;) const
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: 11  0x101bda1b4 llint_slow_path_get_by_id
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: 12  0x100b29b37 llint_entry
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: 13  0x100b2670c vmEntryToJavaScript
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: 14  0x101b759e1 JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*)
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: 15  0x101b051a7 JSC::Interpreter::executeProgram(JSC::SourceCode const&amp;, JSC::ExecState*, JSC::JSObject*)
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: 16  0x101d9a1a7 JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&amp;, JSC::JSValue, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: 17  0x1009587af runWithOptions(GlobalObject*, CommandLine&amp;)
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: 18  0x100940324 jscmain(int, char**)::$_6::operator()(JSC::VM&amp;, GlobalObject*) const
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: 19  0x10093d753 int runJSC&lt;jscmain(int, char**)::$_6&gt;(CommandLine, bool, jscmain(int, char**)::$_6 const&amp;)
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: 20  0x10093c49f jscmain(int, char**)
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: 21  0x10093c3fe main
test262.yaml/test262/test/built-ins/RegExp/prototype/flags/return-order.js.default-strict: 22  0x7fff9adc15ad start</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1351230</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-09-21 09:47:41 -0700</bug_when>
    <thetext>Forgot the link:
https://build.webkit.org/builders/Apple%20El%20Capitan%20Debug%20Test262%20%28Tests%29/builds/3192</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1351278</commentid>
    <comment_count>2</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2017-09-21 11:23:15 -0700</bug_when>
    <thetext>I&apos;ll start looking into these.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1351279</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-09-21 11:25:45 -0700</bug_when>
    <thetext>I updated the expectation for the passing ones in http://trac.webkit.org/projects/webkit/changeset/222333</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1351287</commentid>
    <comment_count>4</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2017-09-21 11:33:52 -0700</bug_when>
    <thetext>The RegExp ASSERTs look pretty straightforward. We assume there can only be 5 regex flags but a 6th was just added. Building a patch for those.

The other expectations probably just need to rebaseline, I&apos;ll test them individually.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1351289</commentid>
    <comment_count>5</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2017-09-21 11:34:27 -0700</bug_when>
    <thetext>(In reply to Ryan Haddad from comment #3)
&gt; I updated the expectation for the passing ones in
&gt; http://trac.webkit.org/projects/webkit/changeset/222333

Excellent! I&apos;ll just fix our assertion!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1351294</commentid>
    <comment_count>6</comment_count>
      <attachid>321456</attachid>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2017-09-21 11:39:25 -0700</bug_when>
    <thetext>Created attachment 321456
[PATCH] Proposed Fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1351295</commentid>
    <comment_count>7</comment_count>
      <attachid>321456</attachid>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2017-09-21 11:41:03 -0700</bug_when>
    <thetext>Comment on attachment 321456
[PATCH] Proposed Fix

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1351299</commentid>
    <comment_count>8</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2017-09-21 11:44:08 -0700</bug_when>
    <thetext>&lt;https://trac.webkit.org/changeset/222336/webkit&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1353336</commentid>
    <comment_count>9</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-09-27 12:22:30 -0700</bug_when>
    <thetext>&lt;rdar://problem/34693152&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>321456</attachid>
            <date>2017-09-21 11:39:25 -0700</date>
            <delta_ts>2017-09-21 11:41:38 -0700</delta_ts>
            <desc>[PATCH] Proposed Fix</desc>
            <filename>flags-2.patch</filename>
            <type>text/plain</type>
            <size>1432</size>
            <attacher name="Joseph Pecoraro">joepeck</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cgYi9Tb3VyY2UvSmF2
YVNjcmlwdENvcmUvQ2hhbmdlTG9nCmluZGV4IDcxMTM2NmIxMmQ0Li43OTBkZDlhZGZmNiAxMDA2
NDQKLS0tIGEvU291cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZworKysgYi9Tb3VyY2UvSmF2
YVNjcmlwdENvcmUvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTQgQEAKKzIwMTctMDktMjEgIEpvc2Vw
aCBQZWNvcmFybyAgPHBlY29yYXJvQGFwcGxlLmNvbT4KKworICAgICAgICB0ZXN0MjYyOiB0ZXN0
MjYyL3Rlc3QvYW5uZXhCL2J1aWx0LWlucy9SZWdFeHAvcHJvdG90eXBlL2ZsYWdzL29yZGVyLWFm
dGVyLWNvbXBpbGUuanMgQVNTRVJUcworICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9z
aG93X2J1Zy5jZ2k/aWQ9MTc3MzA3CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BT
ISkuCisKKyAgICAgICAgKiBydW50aW1lL1JlZ0V4cFByb3RvdHlwZS5jcHA6CisgICAgICAgIElu
IHIyMjExNjAgd2UgYWRkZWQgc3VwcG9ydCBmb3IgdGhlIG5ldyBSZWdFeHAgZmxhZyAoZG90QWxs
KS4KKyAgICAgICAgV2UgbmVlZGVkIHRvIG1ha2Ugc3BhY2UgZm9yIGl0IGluIEZsYWdzU3RyaW5n
LgorCiAyMDE3LTA5LTIwICBLZWl0aCBNaWxsZXIgIDxrZWl0aF9taWxsZXJAYXBwbGUuY29tPgog
CiAgICAgICAgIEpTQyBzaG91bGQgdXNlIHVuaWZpZWQgc291cmNlcyBmb3IgcGxhdGZvcm0gc3Bl
Y2lmaWMgZmlsZXMuCmRpZmYgLS1naXQgYS9Tb3VyY2UvSmF2YVNjcmlwdENvcmUvcnVudGltZS9S
ZWdFeHBQcm90b3R5cGUuY3BwIGIvU291cmNlL0phdmFTY3JpcHRDb3JlL3J1bnRpbWUvUmVnRXhw
UHJvdG90eXBlLmNwcAppbmRleCA0MzA1NDgyN2VhZS4uMjUxOTFlYjgwZGYgMTAwNjQ0Ci0tLSBh
L1NvdXJjZS9KYXZhU2NyaXB0Q29yZS9ydW50aW1lL1JlZ0V4cFByb3RvdHlwZS5jcHAKKysrIGIv
U291cmNlL0phdmFTY3JpcHRDb3JlL3J1bnRpbWUvUmVnRXhwUHJvdG90eXBlLmNwcApAQCAtMTkw
LDcgKzE5MCw3IEBAIEVuY29kZWRKU1ZhbHVlIEpTQ19IT1NUX0NBTEwgcmVnRXhwUHJvdG9GdW5j
Q29tcGlsZShFeGVjU3RhdGUqIGV4ZWMpCiAgICAgcmV0dXJuIEpTVmFsdWU6OmVuY29kZSh0aGlz
VmFsdWUpOwogfQogCi10eXBlZGVmIHN0ZDo6YXJyYXk8Y2hhciwgNSArIDE+IEZsYWdzU3RyaW5n
OyAvLyA1IGRpZmZlcmVudCBmbGFncyBhbmQgYSBudWxsIGNoYXJhY3RlciB0ZXJtaW5hdG9yLgor
dHlwZWRlZiBzdGQ6OmFycmF5PGNoYXIsIDYgKyAxPiBGbGFnc1N0cmluZzsgLy8gNiBkaWZmZXJl
bnQgZmxhZ3MgYW5kIGEgbnVsbCBjaGFyYWN0ZXIgdGVybWluYXRvci4KIAogc3RhdGljIGlubGlu
ZSBGbGFnc1N0cmluZyBmbGFnc1N0cmluZyhFeGVjU3RhdGUqIGV4ZWMsIEpTT2JqZWN0KiByZWdl
eHApCiB7Cg==
</data>
<flag name="review"
          id="341437"
          type_id="1"
          status="+"
          setter="msaboff"
    />
          </attachment>
      

    </bug>

</bugzilla>