DescriptionMove some v8 objects from CJS back into FXJS
Create a new class to hold these, CFXJS_Engine (could have been
called Runtime, but there are too many "Runtimes" already). In a
subsequent patch, all the FXJS_*() functions that take an isolate
as the first argument can become methods on the engine.
CJS_ must still manage the isolates; this happens outside
the engine.
The IJS_Runtime abstraction moves up to fpdfsdk/javascript; it
remains to allow for either a real JS library or a stubb one to
be linked (for non-js builds).
Committed: https://pdfium.googlesource.com/pdfium/+/a4941914bb4411dc4e9053cb344e0349db388007
Patch Set 1 #Patch Set 2 : Chromium style rules #
Total comments: 4
Patch Set 3 : rebase, include map #Patch Set 4 : Move m_isolateManaged to CJS_ layer #Patch Set 5 : Rename to GetCurrentEngineFromIsolate() since engines not 1:1 with isolates #
Dependent Patchsets: Messages
Total messages: 33 (24 generated)
|