Skip to content

Commit 3d5e704

Browse files
Jake ChampionJakeChampion
authored andcommitted
debug-fix: in debug builds allow includeBytes to be called without a this context
this feature is alreasdy supported in release builds
1 parent e0836e4 commit 3d5e704

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

runtime/js-compute-runtime/builtins/fastly.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ bool Fastly::getLogger(JSContext *cx, unsigned argc, JS::Value *vp) {
9292
bool Fastly::includeBytes(JSContext *cx, unsigned argc, JS::Value *vp) {
9393
JS::CallArgs args = CallArgsFromVp(argc, vp);
9494
INIT_ONLY("fastly.includeBytes");
95-
JS::RootedObject self(cx, &args.thisv().toObject());
9695
if (!args.requireAtLeast(cx, "fastly.includeBytes", 1))
9796
return false;
9897

0 commit comments

Comments
 (0)