Permalink
Browse files

test suite fixup for Opera 12 that leaks a URL global lazily.

  • Loading branch information...
1 parent 857e0fa commit ac7b9f5a2674f97e732e901671b1e8d79f763d40 @paulirish paulirish committed Jul 19, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/js/unit.js
View
@@ -36,6 +36,7 @@ test("globals set up", function() {
var leakedGlobArr = [''].concat(globArr).concat([''])
.join(',')
.replace(',Modernizr','').replace(',html5','')
+ .replace('URL','') // lazily added in Opera it seems.
.replace(/,script\w+/,'') // placed by jQuery
.split(',');

0 comments on commit ac7b9f5

Please sign in to comment.