Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
Remove unused user agent checks from unit tests
Browse files Browse the repository at this point in the history
RELNOTES: n/a

PiperOrigin-RevId: 386268900
Change-Id: Id3e0bf2e6feb990d8f5bb01cae023eaf13015196
  • Loading branch information
concavelenz authored and copybara-github committed Jul 22, 2021
1 parent 317f6d1 commit ee9687c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions closure/goog/base_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1195,11 +1195,6 @@ testSuite({
* namespace.
*/
testModuleExportSealed() {
if (userAgent.IE && !userAgent.isVersionOrHigher('9')) {
// IE before 9 don't support sealing objects
return;
}

goog.loadModule('goog.module("a.b.supplied"); exports.foo = {};');
const exports0 = goog.module.get('a.b.supplied');
assertTrue(Object.isSealed(exports0));
Expand Down

0 comments on commit ee9687c

Please sign in to comment.