<?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>178342</bug_id>
          
          <creation_ts>2017-10-16 09:14:50 -0700</creation_ts>
          <short_desc>REGRESSION(223307): ASSERTION FAILED: document.page() in WebCore::ResourceLoadObserver::logUserInteractionWithReducedTimeResolution(WebCore::Document const&amp;)</short_desc>
          <delta_ts>2017-10-16 11:06:01 -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>New Bugs</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="Brent Fulgham">bfulgham</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>jlewis3</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1360776</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-10-16 09:14:50 -0700</bug_when>
    <thetext>The following two API tests are timing out due to an assertion failure:
  WebKit2_CommandBackForwardTestWKWebView.LTR
  WebKit2_CommandBackForwardTestWKWebView.RTL

ASSERTION FAILED: document.page()
/Volumes/Data/slave/elcapitan-debug/build/Source/WebCore/loader/ResourceLoadObserver.cpp(277) : void WebCore::ResourceLoadObserver::logUserInteractionWithReducedTimeResolution(const WebCore::Document &amp;)
1   0x11bf10ec0 WTFCrash
2   0x10fa8ff77 WebCore::ResourceLoadObserver::logUserInteractionWithReducedTimeResolution(WebCore::Document const&amp;)
3   0x10dce5c0f WebCore::EventHandler::keyEvent(WebCore::PlatformKeyboardEvent const&amp;)
4   0x11015860b WebCore::UserInputBridge::handleKeyEvent(WebCore::PlatformKeyboardEvent const&amp;, WebCore::InputSource)
5   0x109776edd WebKit::handleKeyEvent(WebKit::WebKeyboardEvent const&amp;, WebCore::Page*)
6   0x109776d84 WebKit::WebPage::keyEvent(WebKit::WebKeyboardEvent const&amp;)
7   0x1098072df void IPC::callMemberFunctionImpl&lt;WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebKeyboardEvent const&amp;), std::__1::tuple&lt;WebKit::WebKeyboardEvent&gt;, 0ul&gt;(WebKit::WebPage*, void (WebKit::WebPage::*)(WebKit::WebKeyboardEvent const&amp;), std::__1::tuple&lt;WebKit::WebKeyboardEvent&gt;&amp;&amp;, std::__1::integer_sequence&lt;unsigned long, 0ul&gt;)
8   0x109807238 void IPC::callMemberFunction&lt;WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebKeyboardEvent const&amp;), std::__1::tuple&lt;WebKit::WebKeyboardEvent&gt;, std::__1::integer_sequence&lt;unsigned long, 0ul&gt; &gt;(std::__1::tuple&lt;WebKit::WebKeyboardEvent&gt;&amp;&amp;, WebKit::WebPage*, void (WebKit::WebPage::*)(WebKit::WebKeyboardEvent const&amp;))
9   0x1097f7612 void IPC::handleMessage&lt;Messages::WebPage::KeyEvent, WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebKeyboardEvent const&amp;)&gt;(IPC::Decoder&amp;, WebKit::WebPage*, void (WebKit::WebPage::*)(WebKit::WebKeyboardEvent const&amp;))
10  0x1097f0660 WebKit::WebPage::didReceiveWebPageMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
11  0x10977bd67 WebKit::WebPage::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
12  0x10977bda7 non-virtual thunk to WebKit::WebPage::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
13  0x1090c1624 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
14  0x10997cc6d WebKit::WebProcess::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
15  0x108fb5513 IPC::Connection::dispatchMessage(IPC::Decoder&amp;)
16  0x108fac7d1 IPC::Connection::dispatchMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)
17  0x108fb5b1f IPC::Connection::dispatchOneMessage()
18  0x108fbcb4d IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_14::operator()()
19  0x108fbca9c WTF::Function&lt;void ()&gt;::CallableWrapper&lt;IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_14&gt;::call()
20  0x11bf4f0fe WTF::Function&lt;void ()&gt;::operator()() const
21  0x11bf6f67b WTF::RunLoop::performWork()
22  0x11bf6ff64 WTF::RunLoop::performWork(void*)
23  0x7fff9e9497e1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
24  0x7fff9e928f0c __CFRunLoopDoSources0
25  0x7fff9e92842f __CFRunLoopRun
26  0x7fff9e927e28 CFRunLoopRunSpecific
27  0x7fff9f4cf935 RunCurrentEventLoopInMode
28  0x7fff9f4cf76f ReceiveNextEventCommon
29  0x7fff9f4cf5af _BlockUntilNextEventMatchingListInModeWithFilter
30  0x7fff96047df6 _DPSNextEvent
31  0x7fff96047226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:]

https://build.webkit.org/builders/Apple%20Sierra%20Debug%20WK2%20%28Tests%29/builds/3521</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1360777</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-10-16 09:15:26 -0700</bug_when>
    <thetext>This started with https://trac.webkit.org/changeset/223307/webkit.

Brent, do the tests need to be updated?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1360803</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2017-10-16 10:01:00 -0700</bug_when>
    <thetext>(In reply to Ryan Haddad from comment #1)
&gt; This started with https://trac.webkit.org/changeset/223307/webkit.
&gt; 
&gt; Brent, do the tests need to be updated?

No, but I think this assertion isn&apos;t quite right. I&apos;ll fix this to get the bots green.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1360805</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2017-10-16 10:04:42 -0700</bug_when>
    <thetext>In Bug 178183 I made a mistake in the topDocument to use for logging user interaction. I was using &apos;topDocument-&gt;topDocument()&apos;, which I should have been using &apos;m_frame.document()-&gt;topDocument()&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1360806</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-10-16 10:07:45 -0700</bug_when>
    <thetext>&lt;rdar://problem/35008505&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1360807</commentid>
    <comment_count>5</comment_count>
      <attachid>323904</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2017-10-16 10:07:59 -0700</bug_when>
    <thetext>Created attachment 323904
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1360808</commentid>
    <comment_count>6</comment_count>
      <attachid>323904</attachid>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2017-10-16 10:10:26 -0700</bug_when>
    <thetext>Comment on attachment 323904
Patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1360812</commentid>
    <comment_count>7</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2017-10-16 10:18:02 -0700</bug_when>
    <thetext>(In reply to Chris Dumez from comment #6)
&gt; Comment on attachment 323904 [details]
&gt; Patch
&gt; 
&gt; r=me

I&apos;ll obviously fix my lack of an &quot;address-of&quot; operator before landing. :-\</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1360835</commentid>
    <comment_count>8</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2017-10-16 11:06:01 -0700</bug_when>
    <thetext>Committed r223418: &lt;https://trac.webkit.org/changeset/223418&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>323904</attachid>
            <date>2017-10-16 10:07:59 -0700</date>
            <delta_ts>2017-10-16 10:10:26 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-178342-20171016100759.patch</filename>
            <type>text/plain</type>
            <size>1628</size>
            <attacher name="Brent Fulgham">bfulgham</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDIyMzQxMykKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE4IEBACisyMDE3LTEwLTE2ICBCcmVudCBG
dWxnaGFtICA8YmZ1bGdoYW1AYXBwbGUuY29tPgorCisgICAgICAgIFJFR1JFU1NJT04oMjIzMzA3
KTogQVNTRVJUSU9OIGluIFdlYkNvcmU6OlJlc291cmNlTG9hZE9ic2VydmVyOjpsb2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cmUvcGFnZS9FdmVudEhhbmRsZXIuY3BwCSh3b3JraW5nIGNvcHkpCkBAIC0zMTMw
LDcgKzMxMzAsNyBAQCBib29sIEV2ZW50SGFuZGxlcjo6a2V5RXZlbnQoY29uc3QgUGxhdGZvCiAg
ICAgICAgIGlmICghd2FzSGFuZGxlZCkKICAgICAgICAgICAgIHRvcERvY3VtZW50LT5zZXRVc2Vy
RGlkSW50ZXJhY3RXaXRoUGFnZShzYXZlZFVzZXJEaWRJbnRlcmFjdFdpdGhQYWdlKTsKICAgICAg
ICAgZWxzZQotICAgICAgICAgICAgUmVzb3VyY2VMb2FkT2JzZXJ2ZXI6OnNoYXJlZCgpLmxvZ1Vz
ZXJJbnRlcmFjdGlvbldpdGhSZWR1Y2VkVGltZVJlc29sdXRpb24odG9wRG9jdW1lbnQtPnRvcERv
Y3VtZW50KCkpOworICAgICAgICAgICAgUmVzb3VyY2VMb2FkT2JzZXJ2ZXI6OnNoYXJlZCgpLmxv
Z1VzZXJJbnRlcmFjdGlvbldpdGhSZWR1Y2VkVGltZVJlc29sdXRpb24odG9wRG9jdW1lbnQpOwog
ICAgIH0KIAogICAgIHJldHVybiB3YXNIYW5kbGVkOwo=
</data>
<flag name="review"
          id="343559"
          type_id="1"
          status="+"
          setter="cdumez"
    />
          </attachment>
      

    </bug>

</bugzilla>