27db609ff5ea151d921696cc0d5f1525a7d0ac19: Merge mozilla-central to autoland. a=merge CLOSED TREE
Brindusan Cristian <cbrindusan@mozilla.com> - Tue, 15 Jan 2019 06:40:07 +0200 - rev 510999
Push 10547 by ffxbld-merge at Mon, 21 Jan 2019 13:03:58 +0000
Merge mozilla-central to autoland. a=merge CLOSED TREE
89bf8ea5967c52f2e9f1bcc174dfdd81d0062143: Backed out changeset e44a152c9f9f (bug 1519263) for spidermonkey bustages.
Narcis Beleuzu <nbeleuzu@mozilla.com> - Tue, 15 Jan 2019 05:48:04 +0200 - rev 510998
Push 10547 by ffxbld-merge at Mon, 21 Jan 2019 13:03:58 +0000
Backed out changeset e44a152c9f9f (bug 1519263) for spidermonkey bustages.
91624c065046140dd88b670829892f3c4e41dc2d: Bug 1423013 - Expand the layout viewport to the minimum scale size for overflow:hidden pages. r=botond,tnikkel
Hiroyuki Ikezoe <hikezoe@mozilla.com> - Tue, 15 Jan 2019 03:28:10 +0000 - rev 510997
Push 10547 by ffxbld-merge at Mon, 21 Jan 2019 13:03:58 +0000
Bug 1423013 - Expand the layout viewport to the minimum scale size for overflow:hidden pages. r=botond,tnikkel Depends on D15345 Differential Revision: https://phabricator.services.mozilla.com/D15347
050a2ef2393d0ed698e72ad1ae4452c2e8241596: Bug 1423013 - Set explicit minimum-scale=1 to avoid overflow:hidden area reachable and visible. r=botond
Hiroyuki Ikezoe <hikezoe@mozilla.com> - Tue, 15 Jan 2019 03:27:53 +0000 - rev 510996
Push 10547 by ffxbld-merge at Mon, 21 Jan 2019 13:03:58 +0000
Bug 1423013 - Set explicit minimum-scale=1 to avoid overflow:hidden area reachable and visible. r=botond Depends on D15344 Differential Revision: https://phabricator.services.mozilla.com/D15345
db57901030e954ada2c5ba75a3c6bd0160e6b7e2: Bug 1423013 - Add a web platform test checking documentElement clientWidth is `Initial Containing Block` size even if there is visible overlow:hidden region due to minimum-scale. r=botond
Hiroyuki Ikezoe <hikezoe@mozilla.com> - Tue, 15 Jan 2019 03:27:40 +0000 - rev 510995
Push 10547 by ffxbld-merge at Mon, 21 Jan 2019 13:03:58 +0000
Bug 1423013 - Add a web platform test checking documentElement clientWidth is `Initial Containing Block` size even if there is visible overlow:hidden region due to minimum-scale. r=botond Differential Revision: https://phabricator.services.mozilla.com/D15344
3420cf8f79a96c6c7647a0f8fc7f477590d3a488: Bug 1506290 - part2 : add test. r=cpearce
Alastor Wu <alwu@mozilla.com> - Mon, 14 Jan 2019 23:47:35 +0000 - rev 510994
Push 10547 by ffxbld-merge at Mon, 21 Jan 2019 13:03:58 +0000
Bug 1506290 - part2 : add test. r=cpearce Differential Revision: https://phabricator.services.mozilla.com/D15451
63c3828351f0ad793bd8e58426ea5dcc1990aa76: Bug 1506290 - part1 : implement 'document.autoplayPolicy'. r=baku,cpearce
alwu <alwu@mozilla.com> - Tue, 15 Jan 2019 00:13:34 +0000 - rev 510993
Push 10547 by ffxbld-merge at Mon, 21 Jan 2019 13:03:58 +0000
Bug 1506290 - part1 : implement 'document.autoplayPolicy'. r=baku,cpearce `document.autoplayPolicy` returns a enum string that can change overtime based on user session activity: - “allowed” if autoplay is currently allowed. - “allowed-muted” if muted video autoplay is currently allowed. - “disallowed” is autoplay is not current allowed. Differential Revision: https://phabricator.services.mozilla.com/D11543
ea8b794f04d8a8c6db65be508d2b76bad32fbfad: Bug 1516482 - part3 : reset user gesture activation flag when top level document changes. r=nika
Alastor Wu <alwu@mozilla.com> - Mon, 14 Jan 2019 23:21:05 +0000 - rev 510992
Push 10547 by ffxbld-merge at Mon, 21 Jan 2019 13:03:58 +0000
Bug 1516482 - part3 : reset user gesture activation flag when top level document changes. r=nika As the user gesture activation flag is a flag which is used to reflect whether the corresponding document of browsing context has been activated by user or not, we should reset the flag when the top level window changes its document. Differential Revision: https://phabricator.services.mozilla.com/D16094
da7cefd6569a863d4515b70616d0082e3debbfae: Bug 1516482 - part2 : update user gesture activation flag across IPC. r=nika
Alastor Wu <alwu@mozilla.com> - Mon, 14 Jan 2019 16:08:06 +0000 - rev 510991
Push 10547 by ffxbld-merge at Mon, 21 Jan 2019 13:03:58 +0000
Bug 1516482 - part2 : update user gesture activation flag across IPC. r=nika Everytime we set the flag on top level BrowsingContext, it would automatically be sync to its corresponding ChromeBrowsingContext. Differential Revision: https://phabricator.services.mozilla.com/D15436
8a59ebb819c260b4375863f5722d01bd2efd0815: Bug 1516482 - part1 : save user gesture activation flag in top level browsing context r=nika
Alastor Wu <alwu@mozilla.com> - Mon, 14 Jan 2019 23:09:42 +0000 - rev 510990
Push 10547 by ffxbld-merge at Mon, 21 Jan 2019 13:03:58 +0000
Bug 1516482 - part1 : save user gesture activation flag in top level browsing context r=nika This patch moves the user gesture activation flag from saving in document to saving in browsing context. The flag would be saved in the top level browsing context and then every time we need to check for that flag, we will request it from top level browsing context. Differential Revision: https://phabricator.services.mozilla.com/D15435
041f9c2bfce5c7dcb1eacd495be83252139f96a0: Bug 1509575 - Restore the visual viewport offset from the main thread during a first paint. r=kats
Botond Ballo <botond@mozilla.com> - Tue, 15 Jan 2019 01:30:53 +0000 - rev 510989
Push 10547 by ffxbld-merge at Mon, 21 Jan 2019 13:03:58 +0000
Bug 1509575 - Restore the visual viewport offset from the main thread during a first paint. r=kats During a "first paint" transaction, compositor-side state such as APZ's copy of the visual viewport offset is overwritten. However, the scroll frame may persist on the main thread, and in such a case we want to restore the visual viewport offset stored in the scroll frame. This comes into play during e.g. navigation back to a page. Differential Revision: https://phabricator.services.mozilla.com/D16238
eba0c068601df32e0f8c5ec19d871bcfc60c68fb: Bug 1509575 - Make nsIPresShell::mVisualViewportOffset a Maybe so we can tell if it's ever been set. r=kats
Botond Ballo <botond@mozilla.com> - Tue, 15 Jan 2019 01:30:55 +0000 - rev 510988
Push 10547 by ffxbld-merge at Mon, 21 Jan 2019 13:03:58 +0000
Bug 1509575 - Make nsIPresShell::mVisualViewportOffset a Maybe so we can tell if it's ever been set. r=kats This allows us to e.g. avoid sending a value that's (0,0) because it hasn't been set yet in a visual scroll update. Depends on D16346 Differential Revision: https://phabricator.services.mozilla.com/D16477
52501b57785575d3e894f9e1cb88f2d7a246e011: Bug 1509575 - Extend the internal visual scroll API to allow specifying "restore" vs. regular priority. r=kats
Botond Ballo <botond@mozilla.com> - Tue, 15 Jan 2019 01:30:43 +0000 - rev 510987
Push 10547 by ffxbld-merge at Mon, 21 Jan 2019 13:03:58 +0000
Bug 1509575 - Extend the internal visual scroll API to allow specifying "restore" vs. regular priority. r=kats The distinction is not exposed at the JS level which currently always uses "restore", but it could be if necessary. Differential Revision: https://phabricator.services.mozilla.com/D16346
ecba81cf5e7485ae6acd4974a3cbe7ee15dd093c: Bug 1509575 - Expose the isFirstPaint flag on LayerManager. r=kats
Botond Ballo <botond@mozilla.com> - Tue, 15 Jan 2019 01:29:38 +0000 - rev 510986
Push 10547 by ffxbld-merge at Mon, 21 Jan 2019 13:03:58 +0000
Bug 1509575 - Expose the isFirstPaint flag on LayerManager. r=kats So that it's easily available during painting. The flag is set based on nsIPresShell::mIsFirstPaint, but the pres shell flag is cleared at the beginning of the paint, so we can't query it from the pres shell during the paint. Differential Revision: https://phabricator.services.mozilla.com/D16237
1f5f38b7f143b0db9eff95d72e8605c31905c48e: Bug 1508936 - Fix conversion to wide characters in OSReauthenticator r=keeler,mhowell
Franziskus Kiefer <franziskuskiefer@gmail.com> - Tue, 15 Jan 2019 01:21:00 +0000 - rev 510985
Push 10547 by ffxbld-merge at Mon, 21 Jan 2019 13:03:58 +0000
Bug 1508936 - Fix conversion to wide characters in OSReauthenticator r=keeler,mhowell Fix conversion to wide characters in OSReauthenticator Differential Revision: https://phabricator.services.mozilla.com/D12727
972a66d8aab1cc6d01bb8acbe2741c47faee3d1a: Bug 1493980 - Don't pass indefinite screen orientations to Gecko. r=snorp
Matt Brubeck <mbrubeck@mozilla.com> - Thu, 10 Jan 2019 21:46:12 +0000 - rev 510984
Push 10547 by ffxbld-merge at Mon, 21 Jan 2019 13:03:58 +0000
Bug 1493980 - Don't pass indefinite screen orientations to Gecko. r=snorp This eliminates one potential source of crashes from passing bad orientation values to onOrientationChange. Differential Revision: https://phabricator.services.mozilla.com/D16207
749c9dcbbd7f7d8146a71d8cb2a1acb07db1b8c7: Bug 1504659 Part 5: Update Android reftest expectations. r=botond
Brad Werth <bwerth@mozilla.com> - Mon, 14 Jan 2019 20:09:06 +0000 - rev 510983
Push 10547 by ffxbld-merge at Mon, 21 Jan 2019 13:03:58 +0000
Bug 1504659 Part 5: Update Android reftest expectations. r=botond The tests for Bug 1133905 all compare the visibility of scrollbars with differently-sized css viewports. This patch has some affect on the viewport sizing that I don't understand, and it causes some of the tests to start passing and some to start failing. The test for Bug 1242172 has elements sized to height 100% and checking for the presence or absence of scrollbars. In this case the patch appears to increase the css viewport height and decrease the width -- again for reasons I don't understand -- and this affects the scrollbar sizes. Differential Revision: https://phabricator.services.mozilla.com/D16078
783f7ccbd7972fce5def1b7a416a9234fa8ef434: Bug 1504659 Part 4: Update tests to distinguish between layout and visual viewports. r=botond
Brad Werth <bwerth@mozilla.com> - Mon, 14 Jan 2019 20:08:43 +0000 - rev 510982
Push 10547 by ffxbld-merge at Mon, 21 Jan 2019 13:03:58 +0000
Bug 1504659 Part 4: Update tests to distinguish between layout and visual viewports. r=botond Testing the initial value of innerWidth and innerHeight is not really viable when the visual viewport has been set by the opener, but constrained by the device. The returned value differs between the desktop and mobile browsers because of the device constraints. The simplest thing to do is to test the CSS viewport and ensure that the innerWidth values can be set. Differential Revision: https://phabricator.services.mozilla.com/D15996
231b16b0091e96e1aa15cd34c2a9367df8f4d1b8: Bug 1504659 Part 3: Add tests of viewport RDM scroll behavior, with and without touch simulation. r=gl
Brad Werth <bwerth@mozilla.com> - Mon, 14 Jan 2019 20:08:13 +0000 - rev 510981
Push 10547 by ffxbld-merge at Mon, 21 Jan 2019 13:03:58 +0000
Bug 1504659 Part 3: Add tests of viewport RDM scroll behavior, with and without touch simulation. r=gl Differential Revision: https://phabricator.services.mozilla.com/D13174
a88ccc9308e0003edc0866f820fed9e671433ed8: Bug 1504659 Part 2: Update innerWidth/Height getters and setters to better handle overridden visual viewports. r=botond
Brad Werth <bwerth@mozilla.com> - Mon, 14 Jan 2019 21:00:33 +0000 - rev 510980
Push 10547 by ffxbld-merge at Mon, 21 Jan 2019 13:03:58 +0000
Bug 1504659 Part 2: Update innerWidth/Height getters and setters to better handle overridden visual viewports. r=botond This change also stylistically restructures the getters to make the logic match up cleanly with the new logic in the setters. Differential Revision: https://phabricator.services.mozilla.com/D15995
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 tip