Move CFXA_MapModule to CFXJSE_MapModule and add tests

Change-Id: Ib1bf4c0394d435658e11a2237442b2e13c46280f
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/74832
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
diff --git a/fxjs/BUILD.gn b/fxjs/BUILD.gn
index 0526f21..1c7c3e3 100644
--- a/fxjs/BUILD.gn
+++ b/fxjs/BUILD.gn
@@ -124,6 +124,8 @@
         "xfa/cfxjse_formcalc_context.h",
         "xfa/cfxjse_isolatetracker.cpp",
         "xfa/cfxjse_isolatetracker.h",
+        "xfa/cfxjse_mapmodule.cpp",
+        "xfa/cfxjse_mapmodule.h",
         "xfa/cfxjse_nodehelper.cpp",
         "xfa/cfxjse_nodehelper.h",
         "xfa/cfxjse_resolveprocessor.cpp",
@@ -253,8 +255,12 @@
         "gc/gced_tree_node_unittest.cpp",
         "gc/heap_unittest.cpp",
         "gc/move_unittest.cpp",
+        "xfa/cfxjse_mapmodule_unittest.cpp",
       ]
-      deps += [ ":gc" ]
+      deps += [
+        ":gc",
+        "../xfa/fxfa/parser",
+      ]
     }
   }