Skip to content

Commit

Permalink
test: createHTMLDocument needs mandatory title when invoked in IE (#1442
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jeeyyy authored Mar 18, 2019
1 parent c4b86e9 commit 8542773
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/checks/mobile/css-orientation-lock.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ describe('css-orientation-lock tests', function() {

var checkContext = axe.testUtils.MockCheckContext();
var origCheck = checks['css-orientation-lock'];
var dynamicDoc = document.implementation.createHTMLDocument();
var dynamicDoc = document.implementation.createHTMLDocument(
'Dynamic document for CSS Orientation Lock tests'
);

afterEach(function() {
checks['css-orientation-lock'] = origCheck;
Expand Down

0 comments on commit 8542773

Please sign in to comment.