author Botond Ballo <botond@mozilla.com>
Sun, 24 Jan 2021 04:08:00 +0000
changeset 564393 e65982f456435928e5ed52db9a96d12836663e7a
parent 532038 5def2c28fc034faf30428e50975da53ab25f7693
permissions -rw-r--r--
Bug 1682919 - Avoid creating a new DisplayPortMargins object as a side effect of querying the displayport. r=tnikkel DisplayPortMargins objects are only meant to be created when setting display port margins, not when querying them, because the object's constructor records the visual and layout scroll offsets at the time of construction to use for adjusting the margins to be layout-relative. Differential Revision: https://phabricator.services.mozilla.com/D102075

  [factory = window.trustedTypes]
    expected: FAIL

  [factory construction fails]
    expected: FAIL