summaryrefslogtreecommitdiffstats
path: root/dom/base/test/viewport_helpers.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/test/viewport_helpers.js')
-rw-r--r--dom/base/test/viewport_helpers.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/dom/base/test/viewport_helpers.js b/dom/base/test/viewport_helpers.js
new file mode 100644
index 000000000..8ad9d2b39
--- /dev/null
+++ b/dom/base/test/viewport_helpers.js
@@ -0,0 +1,3 @@
+function scaleRatio(scale) {
+ return {"set": [["layout.css.devPixelsPerPx", "" + scale]]};
+}