{"action":"opened","issue":{"url":"https://api.github.com/repos/brave/brave-browser/issues/203","repository_url":"https://api.github.com/repos/brave/brave-browser","labels_url":"https://api.github.com/repos/brave/brave-browser/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/brave/brave-browser/issues/203/comments","events_url":"https://api.github.com/repos/brave/brave-browser/issues/203/events","html_url":"https://github.com/brave/brave-browser/issues/203","id":323407274,"number":203,"title":"CheckSchemeForReferrerPolicy crashes renderer","user":{"login":"darkdh","id":11330831,"avatar_url":"https://avatars0.githubusercontent.com/u/11330831?v=4","gravatar_id":"","url":"https://api.github.com/users/darkdh","html_url":"https://github.com/darkdh","followers_url":"https://api.github.com/users/darkdh/followers","following_url":"https://api.github.com/users/darkdh/following{/other_user}","gists_url":"https://api.github.com/users/darkdh/gists{/gist_id}","starred_url":"https://api.github.com/users/darkdh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkdh/subscriptions","organizations_url":"https://api.github.com/users/darkdh/orgs","repos_url":"https://api.github.com/users/darkdh/repos","events_url":"https://api.github.com/users/darkdh/events{/privacy}","received_events_url":"https://api.github.com/users/darkdh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"bbondy","id":831718,"avatar_url":"https://avatars2.githubusercontent.com/u/831718?v=4","gravatar_id":"","url":"https://api.github.com/users/bbondy","html_url":"https://github.com/bbondy","followers_url":"https://api.github.com/users/bbondy/followers","following_url":"https://api.github.com/users/bbondy/following{/other_user}","gists_url":"https://api.github.com/users/bbondy/gists{/gist_id}","starred_url":"https://api.github.com/users/bbondy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbondy/subscriptions","organizations_url":"https://api.github.com/users/bbondy/orgs","repos_url":"https://api.github.com/users/bbondy/repos","events_url":"https://api.github.com/users/bbondy/events{/privacy}","received_events_url":"https://api.github.com/users/bbondy/received_events","type":"User","site_admin":false},"assignees":[{"login":"bbondy","id":831718,"avatar_url":"https://avatars2.githubusercontent.com/u/831718?v=4","gravatar_id":"","url":"https://api.github.com/users/bbondy","html_url":"https://github.com/bbondy","followers_url":"https://api.github.com/users/bbondy/followers","following_url":"https://api.github.com/users/bbondy/following{/other_user}","gists_url":"https://api.github.com/users/bbondy/gists{/gist_id}","starred_url":"https://api.github.com/users/bbondy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbondy/subscriptions","organizations_url":"https://api.github.com/users/bbondy/orgs","repos_url":"https://api.github.com/users/bbondy/repos","events_url":"https://api.github.com/users/bbondy/events{/privacy}","received_events_url":"https://api.github.com/users/bbondy/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-05-15T22:35:00Z","updated_at":"2018-05-15T22:35:00Z","closed_at":null,"author_association":"MEMBER","body":"<!-- Have you searched for similar issues? Before submitting this issue, please check the open issues and add a note before logging a new issue. \r\n\r\nPLEASE USE THE TEMPLATE BELOW TO PROVIDE INFORMATION ABOUT THE ISSUE. \r\nINSUFFICIENT INFO WILL GET THE ISSUE CLOSED. IT WILL ONLY BE REOPENED AFTER SUFFICIENT INFO IS PROVIDED-->\r\n\r\n## Description \r\n<!--Proivde a brief description of the issue-->\r\n\r\n## Steps to Reproduce\r\n<!-- Please add a series of steps to reproduce the issue-->\r\n   1.  Go to http://www.syntaxxx.com/html5-audio-autoplay-automatically-play-audio-on-your-website/\r\n   2.  Renderer crashed\r\n\r\n ## Actual result:\r\n<!-- Please add screenshots if needed -->\r\n```\r\n[80913:775:0515/152653.280935:FATAL:resource_dispatcher.cc(66)] Trying to send secure referrer for insecure request without an appropriate referrer policy.\r\nURL = http://staticxx.facebook.com/connect/xd_arbiter/r/RQ7NiRXMcYA.js?version=42#channel=f1988fc815d836c&origin=http%3A%2F%2Fwww.syntaxxx.com\r\nReferrer = https://staticxx.facebook.com/\r\n0   Brave Framework                     0x0000000125baaa8c base::debug::StackTrace::StackTrace(unsigned long) + 28\r\n1   Brave Framework                     0x0000000125bc7f00 logging::LogMessage::~LogMessage() + 224\r\n2   Brave Framework                     0x000000013231b430 content::(anonymous namespace)::CheckSchemeForReferrerPolicy(network::ResourceRequest const&) + 352\r\n3   Brave Framework                     0x000000013231b706 content::ResourceDispatcher::StartAsync(std::__1::unique_ptr<network::ResourceRequest, std::__1::default_delete<network::ResourceRequest> >, int, scoped_refptr<base::SingleThreadTaskRunner>, url::Origin const&, net::NetworkTrafficAnnotationTag const&, bool, std::__1::unique_ptr<content::RequestPeer, std::__1::default_delete<content::RequestPeer> >, scoped_refptr<content::SharedURLLoaderFactory>, std::__1::vector<std::__1::unique_ptr<content::URLLoaderThrottle, std::__1::default_delete<content::URLLoaderThrottle> >, std::__1::allocator<std::__1::unique_ptr<content::URLLoaderThrottle, std::__1::default_delete<content::URLLoaderThrottle> > > >, mojo::StructPtr<network::mojom::URLLoaderClientEndpoints>, base::OnceCallback<void ()>*) + 198\r\n4   Brave Framework                     0x00000001323487ac content::WebURLLoaderImpl::Context::Start(blink::WebURLRequest const&, content::SyncLoadResponse*) + 11836\r\n5   Brave Framework                     0x000000013235178b content::WebURLLoaderImpl::LoadAsynchronously(blink::WebURLRequest const&, blink::WebURLLoaderClient*) + 395\r\n6   Brave Framework                     0x000000012428bda4 blink::ResourceLoader::StartWith(blink::ResourceRequest const&) + 596\r\n7   Brave Framework                     0x000000012428bb47 blink::ResourceLoader::Run() + 55\r\n8   Brave Framework                     0x0000000124281366 blink::ResourceLoadScheduler::Run(unsigned long long, blink::ResourceLoadSchedulerClient*, bool) + 166\r\n9   Brave Framework                     0x0000000124280c0f blink::ResourceLoadScheduler::MaybeRun() + 1807\r\n10  Brave Framework                     0x0000000124281153 blink::ResourceLoadScheduler::Request(blink::ResourceLoadSchedulerClient*, blink::ResourceLoadScheduler::ThrottleOption, blink::WebURLRequest::Priority, int, unsigned long long*) + 803\r\n11  Brave Framework                     0x000000012428ba0a blink::ResourceLoader::Start() + 1082\r\n12  Brave Framework                     0x0000000124261fb4 blink::ResourceFetcher::StartLoad(blink::Resource*) + 1220\r\n13  Brave Framework                     0x00000001242609ba blink::ResourceFetcher::RequestResourceInternal(blink::FetchParameters&, blink::ResourceFactory const&, blink::SubstituteData const&) + 2602\r\n14  Brave Framework                     0x000000012425ff13 blink::ResourceFetcher::RequestResource(blink::FetchParameters&, blink::ResourceFactory const&, blink::ResourceClient*, blink::SubstituteData const&) + 67\r\n15  Brave Framework                     0x000000012423fd66 blink::RawResource::FetchMainResource(blink::FetchParameters&, blink::ResourceFetcher*, blink::RawResourceClient*, blink::SubstituteData const&) + 86\r\n16  Brave Framework                     0x0000000130cdc194 blink::DocumentLoader::StartLoading() + 276\r\n17  Brave Framework                     0x0000000130cfe7aa blink::FrameLoader::StartLoad(blink::FrameLoadRequest&, blink::FrameLoadType, blink::NavigationPolicy, blink::HistoryItem*) + 1034\r\n18  Brave Framework                     0x0000000130cfdc93 blink::FrameLoader::Load(blink::FrameLoadRequest const&, blink::FrameLoadType, blink::HistoryItem*, blink::HistoryLoadType) + 1827\r\n19  Brave Framework                     0x00000001304decae blink::WebLocalFrameImpl::Load(blink::WebURLRequest const&, blink::WebFrameLoadType, blink::WebHistoryItem const&, blink::WebHistoryLoadType, bool, base::UnguessableToken const&) + 334\r\n20  Brave Framework                     0x0000000132444280 content::RenderFrameImpl::CommitNavigation(network::ResourceResponseHead const&, GURL const&, content::CommonNavigationParams const&, content::RequestNavigationParams const&, mojo::StructPtr<network::mojom::URLLoaderClientEndpoints>, std::__1::unique_ptr<content::URLLoaderFactoryBundleInfo, std::__1::default_delete<content::URLLoaderFactoryBundleInfo> >, mojo::StructPtr<content::mojom::ControllerServiceWorkerInfo>, base::UnguessableToken const&) + 2720\r\n21  Brave Framework                     0x0000000132446769 non-virtual thunk to content::RenderFrameImpl::CommitNavigation(network::ResourceResponseHead const&, GURL const&, content::CommonNavigationParams const&, content::RequestNavigationParams const&, mojo::StructPtr<network::mojom::URLLoaderClientEndpoints>, std::__1::unique_ptr<content::URLLoaderFactoryBundleInfo, std::__1::default_delete<content::URLLoaderFactoryBundleInfo> >, mojo::StructPtr<content::mojom::ControllerServiceWorkerInfo>, base::UnguessableToken const&) + 105\r\n22  Brave Framework                     0x000000011ebd304e content::mojom::FrameNavigationControlStubDispatch::Accept(content::mojom::FrameNavigationControl*, mojo::Message*) + 1790\r\n23  Brave Framework                     0x0000000132476ce3 content::mojom::FrameNavigationControlStub<mojo::RawPtrImplRefTraits<content::mojom::FrameNavigationControl> >::Accept(mojo::Message*) + 83\r\n24  Brave Framework                     0x00000001267bc6a8 mojo::InterfaceEndpointClient::HandleValidatedMessage(mojo::Message*) + 5656\r\n25  Brave Framework                     0x00000001267bb081 mojo::InterfaceEndpointClient::HandleIncomingMessageThunk::Accept(mojo::Message*) + 33\r\n26  Brave Framework                     0x00000001267b9523 mojo::FilterChain::Accept(mojo::Message*) + 547\r\n27  Brave Framework                     0x00000001267beb9c mojo::InterfaceEndpointClient::HandleIncomingMessage(mojo::Message*) + 44\r\n28  Brave Framework                     0x00000001266251c9 IPC::(anonymous namespace)::ChannelAssociatedGroupController::AcceptOnProxyThread(mojo::Message) + 169\r\n29  Brave Framework                     0x000000012661cf3e void base::internal::FunctorTraits<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::*)(mojo::Message), void>::Invoke<scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController> const&, mojo::Message>(void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::*)(mojo::Message), scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController> const&&&, mojo::Message&&) + 206\r\n30  Brave Framework                     0x000000012661ce2f void base::internal::InvokeHelper<false, void>::MakeItSo<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::* const&)(mojo::Message), scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController> const&, mojo::Message>(void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::* const&&&)(mojo::Message), scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController> const&&&, mojo::Message&&) + 95\r\n31  Brave Framework                     0x000000012661cdb7 void base::internal::Invoker<base::internal::BindState<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::*)(mojo::Message), scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController>, base::internal::PassedWrapper<mojo::Message> >, void ()>::RunImpl<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::* const&)(mojo::Message), std::__1::tuple<scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController>, base::internal::PassedWrapper<mojo::Message> > const&, 0ul, 1ul>(void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::* const&&&)(mojo::Message), std::__1::tuple<scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController>, base::internal::PassedWrapper<mojo::Message> > const&&&, std::__1::integer_sequence<unsigned long, 0ul, 1ul>) + 151\r\n32  Brave Framework                     0x000000012661ccac base::internal::Invoker<base::internal::BindState<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::*)(mojo::Message), scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController>, base::internal::PassedWrapper<mojo::Message> >, void ()>::Run(base::internal::BindStateBase*) + 44\r\n33  Brave Framework                     0x0000000125bab3b8 base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) + 184\r\n34  Brave Framework                     0x00000001242fd3b9 blink::scheduler::internal::ThreadControllerImpl::DoWork(blink::scheduler::internal::Sequence::WorkType) + 793\r\n35  Brave Framework                     0x00000001242ff321 void base::internal::FunctorTraits<void (blink::scheduler::internal::ThreadControllerImpl::*)(blink::scheduler::internal::Sequence::WorkType), void>::Invoke<base::WeakPtr<blink::scheduler::internal::ThreadControllerImpl> const&, blink::scheduler::internal::Sequence::WorkType const&>(void (blink::scheduler::internal::ThreadControllerImpl::*)(blink::scheduler::internal::Sequence::WorkType), base::WeakPtr<blink::scheduler::internal::ThreadControllerImpl> const&&&, blink::scheduler::internal::Sequence::WorkType const&&&) + 145\r\n36  Brave Framework                     0x00000001242ff225 void base::internal::InvokeHelper<true, void>::MakeItSo<void (blink::scheduler::internal::ThreadControllerImpl::* const&)(blink::scheduler::internal::Sequence::WorkType), base::WeakPtr<blink::scheduler::internal::ThreadControllerImpl> const&, blink::scheduler::internal::Sequence::WorkType const&>(void (blink::scheduler::internal::ThreadControllerImpl::* const&&&)(blink::scheduler::internal::Sequence::WorkType), base::WeakPtr<blink::scheduler::internal::ThreadControllerImpl> const&&&, blink::scheduler::internal::Sequence::WorkType const&&&) + 117\r\n37  Brave Framework                     0x00000001242ff19d void base::internal::Invoker<base::internal::BindState<void (blink::scheduler::internal::ThreadControllerImpl::*)(blink::scheduler::internal::Sequence::WorkType), base::WeakPtr<blink::scheduler::internal::ThreadControllerImpl>, blink::scheduler::internal::Sequence::WorkType>, void ()>::RunImpl<void (blink::scheduler::internal::ThreadControllerImpl::* const&)(blink::scheduler::internal::Sequence::WorkType), std::__1::tuple<base::WeakPtr<blink::scheduler::internal::ThreadControllerImpl>, blink::scheduler::internal::Sequence::WorkType> const&, 0ul, 1ul>(void (blink::scheduler::internal::ThreadControllerImpl::* const&&&)(blink::scheduler::internal::Sequence::WorkType), std::__1::tuple<base::WeakPtr<blink::scheduler::internal::ThreadControllerImpl>, blink::scheduler::internal::Sequence::WorkType> const&&&, std::__1::integer_sequence<unsigned long, 0ul, 1ul>) + 125\r\n38  Brave Framework                     0x00000001242ff0ac base::internal::Invoker<base::internal::BindState<void (blink::scheduler::internal::ThreadControllerImpl::*)(blink::scheduler::internal::Sequence::WorkType), base::WeakPtr<blink::scheduler::internal::ThreadControllerImpl>, blink::scheduler::internal::Sequence::WorkType>, void ()>::Run(base::internal::BindStateBase*) + 44\r\n39  Brave Framework                     0x0000000125bab3b8 base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) + 184\r\n40  Brave Framework                     0x0000000125bd7fd4 base::MessageLoop::RunTask(base::PendingTask*) + 468\r\n41  Brave Framework                     0x0000000125bd8528 base::MessageLoop::DoWork() + 424\r\n42  Brave Framework                     0x0000000125bda96a base::MessagePumpCFRunLoopBase::RunWork() + 42\r\n43  Brave Framework                     0x0000000125bc9b4a base::mac::CallWithEHFrame(void () block_pointer) + 10\r\n44  Brave Framework                     0x0000000125bda24f base::MessagePumpCFRunLoopBase::RunWorkSource(void*) + 63\r\n45  CoreFoundation                      0x00007fff55c8fa61 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17\r\n46  CoreFoundation                      0x00007fff55d4947c __CFRunLoopDoSource0 + 108\r\n47  CoreFoundation                      0x00007fff55c724c0 __CFRunLoopDoSources0 + 208\r\n48  CoreFoundation                      0x00007fff55c7193d __CFRunLoopRun + 1293\r\n49  CoreFoundation                      0x00007fff55c711a3 CFRunLoopRunSpecific + 483\r\n50  Foundation                          0x00007fff57d60f26 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 277\r\n51  Brave Framework                     0x0000000125bdb1ce base::MessagePumpNSRunLoop::DoRun(base::MessagePump::Delegate*) + 142\r\n52  Brave Framework                     0x0000000125bd9c9e base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 110\r\n53  Brave Framework                     0x0000000125c086b5 base::RunLoop::Run() + 53\r\n54  Brave Framework                     0x0000000132588767 content::RendererMain(content::MainFunctionParams const&) + 4503\r\n55  Brave Framework                     0x0000000124a7673e content::RunNamedProcessTypeMain(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, content::MainFunctionParams const&, content::ContentMainDelegate*) + 478\r\n56  Brave Framework                     0x0000000124a77ca1 content::ContentMainRunnerImpl::Run() + 929\r\n57  Brave Framework                     0x0000000124a6f2c5 content::ContentServiceManagerMainDelegate::RunEmbedderProcess() + 53\r\n58  Brave Framework                     0x0000000128fff046 service_manager::Main(service_manager::MainParams const&) + 1894\r\n59  Brave Framework                     0x0000000124a7653b content::ContentMain(content::ContentMainParams const&) + 75\r\n60  Brave Framework                     0x000000011e2fea78 ChromeMain + 264\r\n61  Brave Helper                        0x000000010fd8b95d main + 1597\r\n\r\n```\r\n\r\n## Expected result:\r\n\r\n## Reproduces how often: \r\n<!-- [Easily reproduced/Intermittent issue/No steps to reproduce] -->\r\n\r\n\r\n## Brave version (about:brave info)\r\n<!--Please use the clipboard button in about:brave and paste the complete information here-->\r\nhttps://github.com/brave/brave-core/commit/88525afa69469e9de991bbb6f3c6a8d0e10ef761\r\nchromium 66.0.3359.170\r\n\r\n### Reproducible on current release:\r\n<!-- Is this a problem with the live build? It matters for triage reasons. -->\r\n\r\n\r\n### Website problems only:  \r\n- Does the issue gets fixed with Brave Shields disabled? \r\n- Does the issue reproduces on Chrome? \r\n\r\n### Additional Information\r\n<!-- Any additional information, related issues, extra QA steps, configuration or data that might be necessary to reproduce the issue. -->\r\n"}}
{"actor":{"display_login":"darkdh"}}