context: Fix a test failure when SpiderMonkey is in debug mode