Skip to content

Commit

Permalink
Bug 1588142 - Fix test failure of browser_canvasframe_helper_02.js r=…
Browse files Browse the repository at this point in the history
…bgrins

Depends on D52289

Differential Revision: https://phabricator.services.mozilla.com/D52937

--HG--
extra : moz-landing-system : lando
  • Loading branch information
Kirk Steuber committed Nov 14, 2019
1 parent 835dd19 commit a844cac
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions devtools/server/tests/browser/browser.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ support-files =
storage-secured-iframe.html
stylesheets-nested-iframes.html
test-spawn-actor-in-parent.js
test-window.xhtml
inspector-helpers.js
storage-helpers.js
!/devtools/client/shared/test/shared-head.js
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
// XUL windows.

add_task(async function() {
const browser = await addTab("about:preferences");
const browser = await addTab(
"chrome://mochitests/content/browser/devtools/server/tests/browser/test-window.xhtml"
);

await ContentTask.spawn(browser, null, async function() {
const { require } = ChromeUtils.import(
Expand Down
5 changes: 5 additions & 0 deletions devtools/server/tests/browser/test-window.xhtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<xul:window xmlns="http://www.w3.org/1999/xhtml"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="Test page">
</xul:window>

0 comments on commit a844cac

Please sign in to comment.