blob: c1fbee32df009b2087187215ac51779a58d941e1 [file] [log] [blame]
Daniel Cheng284c38942022-09-22 23:30:341// Copyright 2022 The Chromium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5module content.mojom;
6
7import "third_party/blink/public/mojom/tokens/tokens.mojom";
8
9// Helper to facilitate testing of renderer-side state in content_browsertests.
10interface RenderFrameTestHelper {
11 // Get the DocumentToken for the RenderFrame's active document. A RenderFrame
12 // can be reused for a cross-document navigation; after the navigation, the
13 // newly-committed document is considered the active document.
14 GetDocumentToken() => (blink.mojom.DocumentToken token);
15};