From f09421a6fca35c89a0b8bbfad1fb67cef98f5ac7 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Mon, 18 Jun 2018 13:05:22 -0700 Subject: [PATCH] [Fix] avoid accessing `window.applicationCache`, to avoid issues with latest Chrome on HTTP Fixes #46. --- index.js | 1 + test/shim.js | 1 + 2 files changed, 2 insertions(+) diff --git a/index.js b/index.js index a0e08b3..3f2463e 100644 --- a/index.js +++ b/index.js @@ -22,6 +22,7 @@ var equalsConstructorPrototype = function (o) { return ctor && ctor.prototype === o; }; var excludedKeys = { + $applicationCache: true, $console: true, $external: true, $frame: true, diff --git a/test/shim.js b/test/shim.js index 4ca6e70..938d6b5 100644 --- a/test/shim.js +++ b/test/shim.js @@ -206,6 +206,7 @@ test('shadowed properties', function (t) { test('host objects on `window` constructor.prototype equal to themselves', { skip: typeof window === 'undefined' }, function (t) { var keys, exception; var excludedKeys = { + $applicationCache: true, $console: true, $external: true, $frame: true,