Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-113485

Navigation asserts when LocalContentCanAccessRemoteUrls is false

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.6
    • 6.5.0
    • WebEngine
    • None
    • 2b9f7fe3e (dev)

    Description

      1. Modify simplebrowser by setting LocalContentCanAccessRemoteUrls to false
      2. Create a simple HTML which contains a link to a remote location
      3. Click on the link and reload the page

      Only PAGE_TRANSITION_LINK and PAGE_TRANSITION_TYPED navigation types are handled in InterceptedRequest::Restart(), so we are interrupting the navigation and it seems this interrupt causes an assertion fail.

       

      Trace:

      [953607:953607:0509/132856.495465:FATAL:render_frame_host_manager.cc(2246)] Check failed: !dest_instance->IsRelatedS
      iteInstance( render_frame_host_->GetSiteInstance()).  
      #0 0x7f456bd24fd5 base::debug::CollectStackTrace() 
      #1 0x7f456bc611f6 base::debug::StackTrace::StackTrace() 
      #2 0x7f456bc50e13 logging::LogMessage::~LogMessage() 
      #3 0x7f456bc526c1 logging::LogMessage::~LogMessage() 
      #4 0x7f456ac6c531 content::RenderFrameHostManager::DetermineSiteInstanceForURL() 
      #5 0x7f456ac6c92d content::RenderFrameHostManager::GetSiteInstanceForNavigation() 
      #6 0x7f456ac6d425 content::RenderFrameHostManager::GetSiteInstanceForNavigationRequest() 
      #7 0x7f456ac6f75d content::RenderFrameHostManager::GetFrameHostForNavigation() 
      #8 0x7f456abf50d3 content::NavigationRequest::OnRequestFailedInternal() 
      #9 0x7f456abfb0a2 content::NavigationRequest::OnRequestFailed() 
      #10 0x7f456bcd4eaa base::TaskAnnotator::RunTaskImpl() 
      #11 0x7f456bcf40c0 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() 
      #12 0x7f456bcf4c76 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() 
      #13 0x7f456836449e QtWebEngineCore::MessagePumpForUIQt::handleScheduledWork() 
      #14 0x7f4564d9c39d QObject::event() 
      #15 0x7f4565f968c1 QApplicationPrivate::notify_helper() 
      #16 0x7f4564d4bd48 QCoreApplication::notifyInternal2() 
      #17 0x7f4564d4f118 QCoreApplicationPrivate::sendPostedEvents() 
      #18 0x7f4565002133 postEventSourceDispatch() 
      #19 0x7f4563be987b g_main_context_dispatch 
      #20 0x7f4563c40c89 (/usr/lib/libglib-2.0.so.0.7400.4+0xacc88) 
      #21 0x7f4563be8132 g_main_context_iteration 
      #22 0x7f4565001b1c QEventDispatcherGlib::processEvents() 
      #23 0x7f4564d57b33 QEventLoop::exec() 
      #24 0x7f4564d54028 QCoreApplication::exec() 
      #25 0x55e6b5d206a9 main 
      #26 0x7f456523c290 (/usr/lib/libc.so.6+0x2328f) 
      #27 0x7f456523c34a __libc_start_main 
      #28 0x55e6b5d207b5 _start 
      Task trace: 
      #0 0x7f456a9c8a97 content::NavigationURLLoaderImpl::OnComplete() 
      #1 0x7f456c735485 mojo::SimpleWatcher::Context::CallNotify() 
      #2 0x7f456c735485 mojo::SimpleWatcher::Context::CallNotify() 
      #3 0x7f456c94b9a0 IPC::(anonymous namespace)::ChannelAssociatedGroupController::Accept() 
      #4 0x7f456c735485 mojo::SimpleWatcher::Context::CallNotify()

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davidsz Szabolcs David
            davidsz Szabolcs David
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes