.flake8
author Jan Henning <jh+bugzilla@buttercookie.de>
Fri, 11 Jan 2019 21:21:41 +0000
changeset 453568 0355f47af6ceab050018e9c27fc9d9c4bb944662
parent 447502 a615ca514a068ad4f4340b167358dcdeffbb26f1
child 453570 daf50f25895db073e44d50fecf2e4f6fe873865d
permissions -rw-r--r--
Bug 1517976 - Test that resetting WindowUtils.isFirstPaint doesn't clobber APZ scroll position. r=botond We need to setup a case where the visual viewport is smaller than the layout viewport. Faking a pinch zoom through touch events is imprecise, whereas calling windowUtils.setResolutionAndScaleTo(value > 1) to simulate the equivalent effect of a pinch-zoom on the page led to the subsequent scroll attempt failing quite often even after calling waitForApzFlushedRepaints(). So instead, we set up a very wide layout viewport through the meta viewport tag, which on Desktop means additionally enabling the dom.meta-viewport.enabled pref. Differential Revision: https://phabricator.services.mozilla.com/D15791

[flake8]
# See http://pep8.readthedocs.io/en/latest/intro.html#configuration
ignore = E121, E123, E126, E129, E133, E226, E241, E242, E704, W503, E402, E741
max-line-length = 99
exclude =
    browser/extensions/mortar/ppapi/,
    browser/moz.configure,
    build/moz.configure/*.configure,
    build/pymake/,
    dom/canvas/test/webgl-conf/checkout/closure-library/,
    editor/libeditor/tests/browserscope/,
    intl/icu/,
    ipc/chromium/src/third_party/,
    gfx/angle/,
    gfx/harfbuzz,
    glx/skia/,
    js/*.configure,
    memory/moz.configure,
    mobile/android/*.configure,
    node_modules,
    security/nss/,
    testing/mochitest/pywebsocket,
    tools/lint/test/files,
    build/build-infer/build-infer.py,
    tools/infer/test/*.configure,    tools/infer/test/*.configure,