diff --git a/spec/core/ExceptionFormatterSpec.js b/spec/core/ExceptionFormatterSpec.js index 6796ff62..cdea7c8c 100644 --- a/spec/core/ExceptionFormatterSpec.js +++ b/spec/core/ExceptionFormatterSpec.js @@ -48,8 +48,6 @@ describe("ExceptionFormatter", function() { describe("#stack", function() { it("formats stack traces", function() { - if (jasmine.getEnv().safariVersion < 6) { return; } - var error; try { throw new Error("an error") } catch(e) { error = e; } diff --git a/spec/helpers/BrowserFlags.js b/spec/helpers/BrowserFlags.js index 128d133e..db3689e4 100644 --- a/spec/helpers/BrowserFlags.js +++ b/spec/helpers/BrowserFlags.js @@ -8,10 +8,6 @@ return match ? parseFloat(match[1]) : void 0; } - env.safariVersion = browserVersion(function(userAgent) { - return /Safari/.exec(userAgent) && /Version\/([0-9]{0,})/.exec(userAgent); - }); - env.firefoxVersion = browserVersion(function(userAgent) { return /Firefox\/([0-9]{0,})/.exec(userAgent); });