Update pdfium to Chrome 114.0.5735.130 pdfium

pdfium last commit id: 9505810f6

Bug: 279055389
Test: Build the code and flash the device and check Print functionality
Test: atest FrameworksCoreTests
Test: atest CtsPrintTestCases
Test: atest CtsPdfTestCases
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3e2fb7d98efb4ba7b51fd84e9a0ae04f8c0f7805)
Merged-In: I2efabeec0d0fa3925bcbeebf36031cee6f7f9fc4
Change-Id: I2efabeec0d0fa3925bcbeebf36031cee6f7f9fc4
diff --git a/testing/external_engine_embedder_test.cpp b/testing/external_engine_embedder_test.cpp
new file mode 100644
index 0000000..031981d
--- /dev/null
+++ b/testing/external_engine_embedder_test.cpp
@@ -0,0 +1,37 @@
+// Copyright 2020 The PDFium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "testing/external_engine_embedder_test.h"
+
+#include <memory>
+
+#include "fxjs/cfxjs_engine.h"
+#include "testing/v8_test_environment.h"
+#include "v8/include/v8-context.h"
+#include "v8/include/v8-isolate.h"
+#include "v8/include/v8-local-handle.h"
+
+ExternalEngineEmbedderTest::ExternalEngineEmbedderTest() = default;
+
+ExternalEngineEmbedderTest::~ExternalEngineEmbedderTest() = default;
+
+void ExternalEngineEmbedderTest::SetUp() {
+  EmbedderTest::SetUp();
+
+  v8::Isolate::Scope isolate_scope(isolate());
+  v8::HandleScope handle_scope(isolate());
+  FXJS_PerIsolateData::SetUp(isolate());
+  m_Engine = std::make_unique<CFXJS_Engine>(isolate());
+  m_Engine->InitializeEngine();
+}
+
+void ExternalEngineEmbedderTest::TearDown() {
+  m_Engine->ReleaseEngine();
+  m_Engine.reset();
+  JSEmbedderTest::TearDown();
+}
+
+v8::Local<v8::Context> ExternalEngineEmbedderTest::GetV8Context() {
+  return m_Engine->GetV8Context();
+}