Bug 1254385 - Apply dPR from selected device; r=jryans

- dPR and media queries are now reflecting the selected device's dppx
- added unit test

MozReview-Commit-ID: 9634mleTwkS
This commit is contained in:
Matteo Ferretti
2016-08-31 09:58:26 +02:00
parent 3f0f32ace5
commit 23614cda77
13 changed files with 205 additions and 54 deletions

View File

@@ -102,6 +102,7 @@ module.exports = createClass({
stopFrameScript: Task.async(function* () {
let { onContentResize } = this;
let browser = this.refs.browserContainer.querySelector("iframe.browser");
let mm = browser.frameLoader.messageManager;
e10s.off(mm, "OnContentResize", onContentResize);