Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Side by Side Diff: content/browser/security_exploit_browsertest.cc

Issue 1816563002: PlzNavigate: fix SecurityExploitBrowserTest.MismatchedOriginOnCommit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | testing/buildbot/filters/browser-side-navigation.linux.content_browsertests.filter » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stdint.h> 5 #include <stdint.h>
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/containers/hash_tables.h" 8 #include "base/containers/hash_tables.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 root->current_frame_host()->GetProcess()->GetChannel(), msg); 547 root->current_frame_host()->GetProcess()->GetChannel(), msg);
548 548
549 // When the IPC message is received and validation fails, the process is 549 // When the IPC message is received and validation fails, the process is
550 // terminated. However, the notification for that should be processed in a 550 // terminated. However, the notification for that should be processed in a
551 // separate task of the message loop, so ensure that the process is still 551 // separate task of the message loop, so ensure that the process is still
552 // considered alive. 552 // considered alive.
553 EXPECT_TRUE(root->current_frame_host()->GetProcess()->HasConnection()); 553 EXPECT_TRUE(root->current_frame_host()->GetProcess()->HasConnection());
554 554
555 exit_observer.Wait(); 555 exit_observer.Wait();
556 EXPECT_FALSE(exit_observer.did_exit_normally()); 556 EXPECT_FALSE(exit_observer.did_exit_normally());
557 ResourceDispatcherHost::Get()->SetDelegate(nullptr);
557 } 558 }
558 559
559 } // namespace content 560 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | testing/buildbot/filters/browser-side-navigation.linux.content_browsertests.filter » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698