/[chrome]
Chromium logo

Revision 279232


Jump to revision: Previous Next
Author: japhet@chromium.org
Date: Mon Jun 23 23:52:23 2014 UTC (8 years, 10 months ago)
Changed paths: 7
Log Message:
Simplify AreURLsInPageNavigation

The first case guarantees we trust the renderer's definition of an in-page navigation if the urls before and after navigation are on the same origin. An in-page navigation is impossible cross-origin, so this single check is sufficient.

BUG=

Review URL: https://codereview.chromium.org/317703004

Changed paths

Path Details
Directorytrunk/src/content/browser/frame_host/navigation_controller_impl.cc modified , text changed
Directorytrunk/src/content/browser/frame_host/navigation_controller_impl.h modified , text changed
Directorytrunk/src/content/browser/frame_host/navigation_controller_impl_unittest.cc modified , text changed
Directorytrunk/src/content/browser/frame_host/navigator_delegate.h modified , text changed
Directorytrunk/src/content/browser/frame_host/navigator_impl.cc modified , text changed
Directorytrunk/src/content/browser/web_contents/web_contents_impl.cc modified , text changed
Directorytrunk/src/content/browser/web_contents/web_contents_impl.h modified , text changed

Properties

Name Value
commit-bot commit-bot@chromium.org

Powered by ViewVC 1.1.26 ViewVC Help