Description
- Modify simplebrowser by setting LocalContentCanAccessRemoteUrls to false
- Create a simple HTML which contains a link to a remote location
- 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
For Gerrit Dashboard: QTBUG-113485 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
478219,3 | Improve LocalContentCanAccess(File/Remote)Urls settings | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |