From 0926e5a986f8ede5fd52384a30cff623ea1d9ddd Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Wed, 2 Sep 2015 11:06:31 -0700 Subject: [PATCH] Fix test errors in IE9. --- test/index.html | 9 +++++---- test/test.js | 2 -- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/test/index.html b/test/index.html index f98240249..398949fc5 100644 --- a/test/index.html +++ b/test/index.html @@ -25,8 +25,6 @@ - -
@@ -107,12 +105,15 @@ if (window._Set) { Set = _Set; + } else { + setProperty(window, 'Set', undefined); } - setProperty(window, '_Set', undefined); - if (window._WeakMap) { WeakMap = _WeakMap; + } else { + setProperty(window, 'WeakMap', undefined); } + setProperty(window, '_Set', undefined); setProperty(window, '_WeakMap', undefined); setProperty(window, 'WinRTError', undefined); diff --git a/test/test.js b/test/test.js index c1e1c6ae3..771609285 100644 --- a/test/test.js +++ b/test/test.js @@ -215,8 +215,6 @@ /** Load QUnit Extras and ES6 Set/WeakMap shims. */ (function() { var paths = [ - './asset/set.js', - './asset/weakmap.js', '../node_modules/qunit-extras/qunit-extras.js' ];