Removed spec guards for versions of Safari we no longer support

This commit is contained in:
Steve Gravrock
2017-11-07 21:07:09 -08:00
committed by Steve Gravrock
parent 419470e9df
commit aaf226b9e3
2 changed files with 0 additions and 6 deletions

View File

@@ -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; }

View File

@@ -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);
});