<?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>270339</bug_id>
          
          <creation_ts>2024-03-01 04:39:33 -0800</creation_ts>
          <short_desc>REGRESSION(275267@main): [WPE][GTK][Debug] SHOULD NEVER BE REACHED in JSC::JSValue WebCore::toJSNewlyCreated()</short_desc>
          <delta_ts>2024-03-01 10:23:21 -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>DOM</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="Vitaly Dyackhov">vitaly</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2017958</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Dyackhov">vitaly</who>
    <bug_when>2024-03-01 04:39:33 -0800</bug_when>
    <thetext>Test:
imported/w3c/web-platform-tests/dom/nodes/Document-createEvent.https.html

Stack trace:
#0  WTFCrash() () at /app/webkit/Source/WTF/wtf/Assertions.cpp:351
#1  0x00007f9afbf50710 in WTFCrashWithInfo(int, char const*, char const*, int) () at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Assertions.h:780
#2  0x00007f9b00293c71 in WebCore::toJSNewlyCreated(JSC::JSGlobalObject*, WebCore::JSDOMGlobalObject*, WTF::Ref&lt;WebCore::Event, WTF::RawPtrTraits&lt;WebCore::Event&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::Event&gt; &gt;&amp;&amp;) (globalObject=0x7f98375f56c0, impl=...) at /app/webkit/WebKitBuild/WPE/Debug/WebCore/DerivedSources/EventFactory.cpp:40
#3  0x00007f9b0083ab64 in WebCore::JSConverter&lt;WebCore::IDLInterface&lt;WebCore::Event&gt; &gt;::convertNewlyCreated&lt;WTF::Ref&lt;WebCore::Event, WTF::RawPtrTraits&lt;WebCore::Event&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::Event&gt; &gt; &gt;(JSC::JSGlobalObject&amp;, WebCore::JSDOMGlobalObject&amp;, WTF::Ref&lt;WebCore::Event, WTF::RawPtrTraits&lt;WebCore::Event&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::Event&gt; &gt;&amp;&amp;) (lexicalGlobalObject=..., globalObject=..., value=...) at /app/webkit/Source/WebCore/bindings/js/JSDOMConvertInterface.h:88
#4  0x00007f9b00836127 in WebCore::toJSNewlyCreated&lt;WebCore::IDLInterface&lt;WebCore::Event&gt;, WTF::Ref&lt;WebCore::Event, WTF::RawPtrTraits&lt;WebCore::Event&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::Event&gt; &gt; &gt;(JSC::JSGlobalObject&amp;, WebCore::JSDOMGlobalObject&amp;, WTF::Ref&lt;WebCore::Event, WTF::RawPtrTraits&lt;WebCore::Event&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::Event&gt; &gt;&amp;&amp;) (lexicalGlobalObject=..., globalObject=..., value=...) at /app/webkit/Source/WebCore/bindings/js/JSDOMConvertBase.h:156
#5  0x00007f9b00830ef4 in WebCore::toJSNewlyCreated&lt;WebCore::IDLInterface&lt;WebCore::Event&gt;, WebCore::ExceptionOr&lt;WTF::Ref&lt;WebCore::Event, WTF::RawPtrTraits&lt;WebCore::Event&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::Event&gt; &gt; &gt; &gt;(JSC::JSGlobalObject&amp;, WebCore::JSDOMGlobalObject&amp;, JSC::ThrowScope&amp;, WebCore::ExceptionOr&lt;WTF::Ref&lt;WebCore::Event, WTF::RawPtrTraits&lt;WebCore::Event&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::Event&gt; &gt; &gt;&amp;&amp;) (lexicalGlobalObject=..., globalObject=..., throwScope=..., valueOrFunctor=...) at /app/webkit/Source/WebCore/bindings/js/JSDOMConvertBase.h:244
#6  0x00007f9b007f9c7f in WebCore::jsDocumentPrototypeFunction_createEventBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::IDLOperation&lt;WebCore::JSDocument&gt;::ClassParameter) (lexicalGlobalObject=0x7f98375f56c0, callFrame=0x7ffd2e957e90, castedThis=0x7f9a8e9f0190) at /app/webkit/WebKitBuild/WPE/Debug/WebCore/DerivedSources/JSDocument.cpp:6067
#7  0x00007f9b0082322f in WebCore::IDLOperation&lt;WebCore::JSDocument&gt;::call&lt;WebCore::jsDocumentPrototypeFunction_createEventBody&gt;(JSC::JSGlobalObject&amp;, JSC::CallFrame&amp;, char const*) (lexicalGlobalObject=..., callFrame=..., operationName=0x7f9af41c696c &quot;createEvent&quot;) at /app/webkit/Source/WebCore/bindings/js/JSDOMOperation.h:63
#8  0x00007f9b007f9d07 in WebCore::jsDocumentPrototypeFunction_createEvent(JSC::JSGlobalObject*, JSC::CallFrame*) (lexicalGlobalObject=0x7f98375f56c0, callFrame=0x7ffd2e957e90) at /app/webkit/WebKitBuild/WPE/Debug/WebCore/DerivedSources/JSDocument.cpp:6072
#9  0x00007f9a9e9d8038 in  ()
#10 0x00007ffd2e957f00 in  ()
#11 0x00007f9b05edf712 in op_call_ignore_result_return_location () at /app/webkit/Source/JavaScriptCore/llint/LowLevelInterpreter.asm:1172
#12 0x0000000000000000 in  ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2017959</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Dyackhov">vitaly</who>
    <bug_when>2024-03-01 04:50:28 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/25345</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2018042</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-03-01 10:22:22 -0800</bug_when>
    <thetext>Committed 275561@main (872748a67495): &lt;https://commits.webkit.org/275561@main&gt;

Reviewed commits have been landed. Closing PR #25345 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2018043</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-03-01 10:23:21 -0800</bug_when>
    <thetext>&lt;rdar://problem/123907120&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>