chromium/third_party/blink/renderer/bindings/core/v8/activity_logger_test.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "base/memory/ptr_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/platform/web_cache.h"
#include "third_party/blink/renderer/bindings/core/v8/script_evaluation_result.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_gc_controller.h"
#include "third_party/blink/renderer/core/frame/frame_test_helpers.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/web_local_frame_impl.h"
#include "third_party/blink/renderer/core/script/classic_script.h"
#include "third_party/blink/renderer/platform/bindings/v8_dom_activity_logger.h"
#include "third_party/blink/renderer/platform/heap/thread_state.h"
#include "third_party/blink/renderer/platform/testing/runtime_enabled_features_test_helpers.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/blink/renderer/platform/wtf/forward.h"
#include "third_party/blink/renderer/platform/wtf/text/base64.h"
#include "v8/include/v8.h"

namespace blink {

WebViewHelper;
PumpPendingRequestsForFrameToLoad;

class TestActivityLogger : public V8DOMActivityLogger {};

class ActivityLoggerTest : public testing::Test {};

TEST_F(ActivityLoggerTest, EventHandler) {}

TEST_F(ActivityLoggerTest, ScriptElement) {}

TEST_F(ActivityLoggerTest, IFrameElement) {}

TEST_F(ActivityLoggerTest, AnchorElement) {}

TEST_F(ActivityLoggerTest, LinkElement) {}

TEST_F(ActivityLoggerTest, InputElement) {}

TEST_F(ActivityLoggerTest, ButtonElement) {}

TEST_F(ActivityLoggerTest, FormElement) {}

TEST_F(ActivityLoggerTest, ScriptSrcAttribute) {}

TEST_F(ActivityLoggerTest, IFrameSrcAttribute) {}

TEST_F(ActivityLoggerTest, AnchorHrefAttribute) {}

TEST_F(ActivityLoggerTest, LinkHrefAttribute) {}

TEST_F(ActivityLoggerTest, InputFormActionAttribute) {}

TEST_F(ActivityLoggerTest, ButtonFormActionAttribute) {}

TEST_F(ActivityLoggerTest, FormActionAttribute) {}

TEST_F(ActivityLoggerTest, LocalDOMWindowAttribute) {}

TEST_F(ActivityLoggerTest, RequestResource) {}

}  // namespace blink