1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 var global = this; 5 function maybeRaiseException() { 6 if (global.throw_error) { 7 throw new Error('Throw ERROR'); 8 } 9 } 10