Bug 1493627 - Mark the recomputeWrappers shell function as fuzzing-unsafe on beta. r=jonco a=NPOTB
authorJan de Mooij <jdemooij@mozilla.com>
Mon, 29 Oct 2018 16:57:18 +0100
changeset 498199 74b78f02330749197bbd4009fe20705490b6a86f
parent 498198 bcac44d541c3660d20dc6b489e7b470b5fb27d72
child 498200 f3acb96d0b4f3271077c944a603dd65991058513
push id10065
push userjandemooij@gmail.com
push dateTue, 30 Oct 2018 09:00:18 +0000
treeherdermozilla-beta@74b78f023307 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjonco, NPOTB
bugs1493627
milestone64.0
Bug 1493627 - Mark the recomputeWrappers shell function as fuzzing-unsafe on beta. r=jonco a=NPOTB
js/src/shell/js.cpp
--- a/js/src/shell/js.cpp
+++ b/js/src/shell/js.cpp
@@ -8244,22 +8244,16 @@ JS_FN_HELP("parseBin", BinParse, 1, 0,
     JS_FN_HELP("nukeCCW", NukeCCW, 1, 0,
 "nukeCCW(wrapper)",
 "  Nuke a CrossCompartmentWrapper, which turns it into a DeadProxyObject."),
 
     JS_FN_HELP("nukeAllCCWs", NukeAllCCWs, 0, 0,
 "nukeAllCCWs()",
 "  Like nukeCCW, but for all CrossCompartmentWrappers targeting the current compartment."),
 
-    JS_FN_HELP("recomputeWrappers", RecomputeWrappers, 2, 0,
-"recomputeWrappers([src, [target]])",
-"  Recompute all cross-compartment wrappers. src and target are both optional\n"
-"  and can be used to filter source or target compartments: the unwrapped\n"
-"  object's compartment is used as CompartmentFilter.\n"),
-
     JS_FN_HELP("wrapWithProto", WrapWithProto, 2, 0,
 "wrapWithProto(obj)",
 "  Wrap an object into a noop wrapper with prototype semantics."),
 
     JS_FN_HELP("createMappedArrayBuffer", CreateMappedArrayBuffer, 1, 0,
 "createMappedArrayBuffer(filename, [offset, [size]])",
 "  Create an array buffer that mmaps the given file."),
 
@@ -8528,16 +8522,22 @@ TestAssertRecoveredOnBailout,
 "  Performs an AFL-style persistent loop reading data from the given file and passing it\n"
 "  to the 'wasmEval' function together with the specified imports object."),
 
     JS_FN_HELP("setBufferStreamParams", SetBufferStreamParams, 2, 0,
 "setBufferStreamParams(delayMillis, chunkByteSize)",
 "  Set the delay time (between calls to StreamConsumer::consumeChunk) and chunk\n"
 "  size (in bytes)."),
 
+    JS_FN_HELP("recomputeWrappers", RecomputeWrappers, 2, 0,
+"recomputeWrappers([src, [target]])",
+"  Recompute all cross-compartment wrappers. src and target are both optional\n"
+"  and can be used to filter source or target compartments: the unwrapped\n"
+"  object's compartment is used as CompartmentFilter.\n"),
+
     JS_FS_HELP_END
 };
 
 static const JSFunctionSpecWithHelp performance_functions[] = {
     JS_FN_HELP("now", Now, 0, 0,
 "now()",
 "  Return the current time with sub-ms precision.\n"
 "  This function is an alias of the dateNow() function."),