Bug 1569626 Part 2: Add a test that sets resolution before RDM, and checks it afterwa...
commit859f9f63a54e038b177e96dcdce8b4e044a72bc5
authorBrad Werth <bwerth@mozilla.com>
Wed, 15 Jan 2020 23:34:46 +0000 (15 23:34 +0000)
committerBrad Werth <bwerth@mozilla.com>
Wed, 15 Jan 2020 23:34:46 +0000 (15 23:34 +0000)
tree237caa226b5ebf090f56d23217efc04b8393a376
parent465b225500f4d9cda6918f52feb50e037a605ef3
Bug 1569626 Part 2: Add a test that sets resolution before RDM, and checks it afterwards. r=mtigley

This also updates the addRDMTask testing function to take two new optional
promises for actions to take before and after invoking RDM mode. This test
uses that feature to set and check the resolution before and after RDM.

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

--HG--
extra : moz-landing-system : lando
devtools/client/responsive/test/browser/browser.ini
devtools/client/responsive/test/browser/browser_viewport_resolution_restore.js [new file with mode: 0644]
devtools/client/responsive/test/browser/head.js