aboutsummaryrefslogtreecommitdiff
path: root/fxjs/cjs_event_context_stub.cpp
blob: b8d0518083413cbf1ccc323d8936b86497ad2b45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2017 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#include "fxjs/cjs_event_context_stub.h"

CJS_EventContextStub::CJS_EventContextStub() = default;

CJS_EventContextStub::~CJS_EventContextStub() = default;

absl::optional<IJS_Runtime::JS_Error> CJS_EventContextStub::RunScript(
    const WideString& script) {
  return IJS_Runtime::JS_Error(1, 1, L"JavaScript support not present");
}