summaryrefslogtreecommitdiff
path: root/fxjs/cjs_event_context_stub.cpp
blob: 82530e4c7bc414552a2cf98716e1aa2b8cad3fb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2017 PDFium Authors. All rights reserved.
// 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"

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