chromium/chrome/test/data/extensions/api_test/isolated_world_csp/mv2/eval.js

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

chrome.test.runTests([function testEval() {
  window.foo = 2;
  eval('window.foo = 3;');
  chrome.test.assertEq(3, window.foo);
  chrome.test.succeed();
}]);