Skip to content

Commit

Permalink
Revert "Add another assertion"
Browse files Browse the repository at this point in the history
This reverts commit f4e5675.
  • Loading branch information
gkatsev committed Oct 19, 2015
1 parent eb32719 commit ca5d28a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/unit/utils/url.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ test('isCrossOrigin can identify cross origin urls', function() {
'global/window': win
});

ok(Url.isCrossOrigin, 'we export a isCrossOrigin function');

win.location.protocol = window.location.protocol;
win.location.host = window.location.host;
ok(!Url.isCrossOrigin(`http://${win.location.host}/example.vtt`), 'http://google.com from http://google.com is not cross origin');
Expand Down

0 comments on commit ca5d28a

Please sign in to comment.