| Index: net/data/proxy_resolver_v8_tracing_unittest/error_on_load.js
|
| diff --git a/extensions/renderer/injection_host.cc b/net/data/proxy_resolver_v8_tracing_unittest/error_on_load.js
|
| similarity index 50%
|
| copy from extensions/renderer/injection_host.cc
|
| copy to net/data/proxy_resolver_v8_tracing_unittest/error_on_load.js
|
| index 30e8679de88b42f75d0f92a7cd9cc6fe165750e2..2379bbfe102fc180f40c8b5800c67c66e56c59ae 100644
|
| --- a/extensions/renderer/injection_host.cc
|
| +++ b/net/data/proxy_resolver_v8_tracing_unittest/error_on_load.js
|
| @@ -2,11 +2,10 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "extensions/renderer/injection_host.h"
|
| +alert('Prepare to DIE!');
|
| +var x = null;
|
| +return x.split('-'); // Throws exception.
|
|
|
| -InjectionHost::InjectionHost(const HostID& host_id) :
|
| - id_(host_id) {
|
| -}
|
| -
|
| -InjectionHost::~InjectionHost() {
|
| +function FindProxyForURL(url, host) {
|
| + return "PROXY i-approve-this-message:42";
|
| }
|
|
|