Bug 1585121 Part 2: Define getter for responsive/ui.js viewportElement and use it...
commit9535ce9e39c73f1e4d3cb7313a38a12e64522752
authorBrad Werth <bwerth@mozilla.com>
Mon, 2 Mar 2020 22:18:11 +0000 (2 22:18 +0000)
committerBrad Werth <bwerth@mozilla.com>
Mon, 2 Mar 2020 22:18:11 +0000 (2 22:18 +0000)
tree385a8366c98b49d9379abedc4b216847e44a1fa5
parent98d5f98844323e2af6ea546550f6a6fc08881c5d
Bug 1585121 Part 2: Define getter for responsive/ui.js viewportElement and use it in test functions. r=mtigley

Tests need to check properties of the viewport element (to check size,
typically). This getter provides a way to do that that works with the new
browser UI.

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

--HG--
extra : moz-landing-system : lando
devtools/client/responsive/test/browser/head.js
devtools/client/responsive/ui.js