blob: d7de8637e88fe04f9df9b4a0ea735846c9678fd3 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module blink.mojom;
// A return value when asked to commit a same-document navigation.
enum CommitResult {
// The commit proceeded as expected.
// The commit could not proceed. This happens when the frame cannot navigate.
// The commit could not proceed, and the navigation should be restarted as a
// cross-document navigation. This happens when there is a race with a
// cross-document navigation commit, which ends up committing first. In that
// case, the same-document navigation cannot be committed as a same-document
// navigation, since the document changed.