<?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>265167</bug_id>
          
          <creation_ts>2023-11-20 17:50:49 -0800</creation_ts>
          <short_desc>[view-transitions] Implement parsing &amp; checking for pseudo-elements</short_desc>
          <delta_ts>2023-11-23 13:33:49 -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>CSS</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://github.com/web-platform-tests/wpt/pull/43301</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>265283</dependson>
          <blocked>259055</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Nguyen (:ntim)">ntim</reporter>
          <assigned_to name="Tim Nguyen (:ntim)">ntim</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>philn</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1994022</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-11-20 17:50:49 -0800</bug_when>
    <thetext>...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1994023</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-11-20 17:51:07 -0800</bug_when>
    <thetext>&lt;rdar://problem/118666802&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1994107</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-11-21 01:10:51 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/20775</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1994263</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-11-21 16:57:09 -0800</bug_when>
    <thetext>Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/43301</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1994307</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-11-21 23:42:03 -0800</bug_when>
    <thetext>Committed 271040@main (331b2c1ac240): &lt;https://commits.webkit.org/271040@main&gt;

Reviewed commits have been landed. Closing PR #20775 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1994513</commentid>
    <comment_count>5</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2023-11-23 04:15:09 -0800</bug_when>
    <thetext>Looks like this patch broke Debug test bots:

https://build.webkit.org/results/GTK-Linux-64-bit-Debug-Tests/271069@main%20(11794)/results.html

STDERR: SHOULD NEVER BE REACHED
STDERR: /app/webkit/Source/WebCore/inspector/agents/InspectorCSSAgent.cpp(433) : static std::optional&lt;Inspector::Protocol::CSS::PseudoId&gt; WebCore::InspectorCSSAgent::protocolValueForPseudoId(WebCore::PseudoId)

Thread 1 (Thread 0x7ff0a5859a40 (LWP 715647)):
#0  WTFCrash() () at /app/webkit/Source/WTF/wtf/Assertions.cpp:333
#1  0x00007ff0bb481541 in WTFCrashWithInfo(int, char const*, char const*, int) () at /app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Assertions.h:778
#2  0x00007ff0c0b03835 in WebCore::InspectorCSSAgent::protocolValueForPseudoId(WebCore::PseudoId) (pseudoId=WebCore::PseudoId::ViewTransition) at /app/webkit/Source/WebCore/inspector/agents/InspectorCSSAgent.cpp:433
#3  0x00007ff0c0b03ba8 in WebCore::InspectorCSSAgent::getMatchedStylesForNode(int, std::optional&lt;bool&gt;&amp;&amp;, std::optional&lt;bool&gt;&amp;&amp;) (this=0x7ff09c031380, nodeId=7, includePseudo=..., includeInherited=...) at /app/webkit/Source/WebCore/inspector/agents/InspectorCSSAgent.cpp:475
#4  0x00007ff0aff4ac2f in Inspector::CSSBackendDispatcher::getMatchedStylesForNode(long, WTF::RefPtr&lt;WTF::JSONImpl::Object, WTF::RawPtrTraits&lt;WTF::JSONImpl::Object&gt;, WTF::DefaultRefDerefTraits&lt;WTF::JSONImpl::Object&gt; &gt;&amp;&amp;) (this=0x7ff09c2421a0, protocol_requestId=7, protocol_parameters=...) at /app/webkit/WebKitBuild/GTK/Debug/JavaScriptCore/DerivedSources/inspector/InspectorBackendDispatchers.cpp:777
#5  0x00007ff0aff4a643 in Inspector::CSSBackendDispatcher::dispatch(long, WTF::String const&amp;, WTF::Ref&lt;WTF::JSONImpl::Object, WTF::RawPtrTraits&lt;WTF::JSONImpl::Object&gt; &gt;&amp;&amp;) (this=0x7ff09c2421a0, protocol_requestId=7, protocol_method=..., protocol_message=...) at /app/webkit/WebKitBuild/GTK/Debug/JavaScriptCore/DerivedSources/inspector/InspectorBackendDispatchers.cpp:717
#6  0x00007ff0aff445c4 in Inspector::BackendDispatcher::dispatch(WTF::String const&amp;) (this=0x7ff09c038a40, message=...) at /app/webkit/Source/JavaScriptCore/inspector/InspectorBackendDispatcher.cpp:183
#7  0x00007ff0c0a73ea4 in WebCore::InspectorController::dispatchMessageFromFrontend(WTF::String const&amp;) (this=0x7ff09c0eae80, message=...) at /app/webkit/Source/WebCore/inspector/InspectorController.cpp:417
#8  0x00007ff0c0a82c72 in WebCore::InspectorBackendDispatchTask::dispatchOneMessage() (this=0x7ff09c250480) at /app/webkit/Source/WebCore/inspector/InspectorFrontendClientLocal.cpp:125
#9  0x00007ff0c0a82ac2 in WebCore::InspectorBackendDispatchTask::scheduleOneShot()::{lambda()#1}::operator()() const (__closure=0x7ff09c31c408) at /app/webkit/Source/WebCore/inspector/InspectorFrontendClientLocal.cpp:112
#10 0x00007ff0c0a9eade in WTF::Detail::CallableWrapper&lt;WebCore::InspectorBackendDispatchTask::scheduleOneShot()::{lambda()#1}, void&gt;::call() (this=0x7ff09c31c400) at /app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:53
#11 0x00007ff0af95c68f in WTF::Function&lt;void ()&gt;::operator()() const (this=0x7ffcb635b520) at /app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:82
#12 0x00007ff0b0ff7259 in WTF::RunLoop::performWork() (this=0x7ff09c0180c0) at /app/webkit/Source/WTF/wtf/RunLoop.cpp:147
#13 0x00007ff0b10ab80a in operator()(gpointer) const (__closure=0x0, userData=0x7ff09c0180c0) at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:80
#14 0x00007ff0b10ab82e in _FUN(gpointer) () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:82
#15 0x00007ff0b10ab79d in operator()(GSource*, GSourceFunc, gpointer) const (__closure=0x0, source=0x55da3fe38810, callback=0x7ff0b10ab811 &lt;_FUN(gpointer)&gt;, userData=0x7ff09c0180c0) at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:53
#16 0x00007ff0b10ab7eb in _FUN(GSource*, GSourceFunc, gpointer) () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:56
#17 0x00007ff0aa2e3d36 in g_main_dispatch (context=0x55da3fe0ea00) at ../glib/gmain.c:3460
#18 g_main_context_dispatch (context=0x55da3fe0ea00) at ../glib/gmain.c:4200
#19 0x00007ff0aa3412b8 in g_main_context_iterate.isra.0 (context=0x55da3fe0ea00, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at ../glib/gmain.c:4276
#20 0x00007ff0aa2e33ff in g_main_loop_run (loop=0x55da3fe387f0) at ../glib/gmain.c:4479
#21 0x00007ff0b10abe5e in WTF::RunLoop::run() () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:108
#22 0x00007ff0bcfd2bc7 in WebKit::AuxiliaryProcessMainBase&lt;WebKit::WebProcess, true&gt;::run(int, char**) (this=0x7ffcb635b7f0, argc=4, argv=0x7ffcb635b9b8) at /app/webkit/Source/WebKit/Shared/AuxiliaryProcessMain.h:72
#23 0x00007ff0bcfcf6c6 in WebKit::AuxiliaryProcessMain&lt;WebKit::WebProcessMainGtk&gt;(int, char**) (argc=4, argv=0x7ffcb635b9b8) at /app/webkit/Source/WebKit/Shared/AuxiliaryProcessMain.h:98
#24 0x00007ff0bcfc7912 in WebKit::WebProcessMain(int, char**) (argc=4, argv=0x7ffcb635b9b8) at /app/webkit/Source/WebKit/WebProcess/gtk/WebProcessMainGtk.cpp:98
#25 0x000055da3fbe8989 in main(int, char**) (argc=4, argv=0x7ffcb635b9b8) at /app/webkit/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp:31</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1994515</commentid>
    <comment_count>6</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2023-11-23 04:17:58 -0800</bug_when>
    <thetext>Also happening on mac btw :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1994524</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2023-11-23 04:56:00 -0800</bug_when>
    <thetext>Re-opened since this is blocked by bug 265283</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1994539</commentid>
    <comment_count>8</comment_count>
    <who name="Vitaly Dyackhov">vitaly</who>
    <bug_when>2023-11-23 06:39:17 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/20849</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1994585</commentid>
    <comment_count>9</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-11-23 13:33:47 -0800</bug_when>
    <thetext>Committed 271089@main (e2c3f84bd18e): &lt;https://commits.webkit.org/271089@main&gt;

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

    </bug>

</bugzilla>