Граф коммитов

631396 Коммитов

Автор SHA1 Сообщение Дата
Alastor Wu 71c03664cd 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

--HG--
extra : moz-landing-system : lando
2019-01-14 23:09:42 +00:00
Botond Ballo 869afb0d73 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

--HG--
extra : moz-landing-system : lando
2019-01-15 01:30:53 +00:00
Botond Ballo 1df8d17b47 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

--HG--
extra : moz-landing-system : lando
2019-01-15 01:30:55 +00:00
Botond Ballo e99815f1f0 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

--HG--
extra : moz-landing-system : lando
2019-01-15 01:30:43 +00:00
Botond Ballo d5f06efae5 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

--HG--
extra : moz-landing-system : lando
2019-01-15 01:29:38 +00:00
Franziskus Kiefer 81355de44a 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

--HG--
extra : moz-landing-system : lando
2019-01-15 01:21:00 +00:00
Matt Brubeck feb9a636ad 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

--HG--
extra : moz-landing-system : lando
2019-01-10 21:46:12 +00:00
Brad Werth 01cd7d5f12 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

--HG--
extra : moz-landing-system : lando
2019-01-14 20:09:06 +00:00
Brad Werth 542b305116 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

--HG--
extra : moz-landing-system : lando
2019-01-14 20:08:43 +00:00
Brad Werth 5ade16ea5b 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

--HG--
extra : moz-landing-system : lando
2019-01-14 20:08:13 +00:00
Brad Werth 8c85994beb 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

--HG--
extra : moz-landing-system : lando
2019-01-14 21:00:33 +00:00
Brad Werth d2660a3462 Bug 1504659 Part 1: Make RefreshVisualViewportSize allow non-APZ zooming, and call it during RefreshViewportSize. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D13173

--HG--
extra : moz-landing-system : lando
2019-01-14 20:07:22 +00:00
Tooru Fujisawa 503d23d3fd Bug 1519612 - Handle exception while reporting unhandled rejections. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D16386

--HG--
extra : moz-landing-system : lando
2019-01-14 23:56:13 +00:00
Gijs Kruitbosch 0cbb627a62 Bug 1518722 - default pocket context menus to hidden to fix behavior when setting pocket pref to false, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D16037

--HG--
extra : moz-landing-system : lando
2019-01-14 23:24:39 +00:00
Ed Lee da497294eb Bug 1519303 - Add hand-off triggers, add-on icons and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D16394

--HG--
extra : moz-landing-system : lando
2019-01-14 23:27:45 +00:00
Mike Hommey eb75a7a831 Bug 1519603 - Remove the File class in subconfigure.py. r=nalexander
The File class is now used only in one place, only for its mtime
property, which can be replaced with os.path.getmtime.

Depends on D16402

Differential Revision: https://phabricator.services.mozilla.com/D16403

--HG--
extra : moz-landing-system : lando
2019-01-14 18:41:07 +00:00
Mike Hommey 09ed4d67e7 Bug 1519603 - Hardcode js/src into subconfigure.py. r=nalexander
Because subconfigure.py is only used for js/src and we're not going to
add any more subconfigures, we can hardcode js/src into the script, and
remove the branches that aren't taken as a consequence.

Depends on D16382

Differential Revision: https://phabricator.services.mozilla.com/D16402

--HG--
extra : moz-landing-system : lando
2019-01-14 18:40:41 +00:00
Mike Hommey 4a50a75dd9 Bug 1519603 - Run build/subconfigure.py in one pass. r=nalexander
It was useful to run the prepare phase and the actual subconfigure
separately, but it's not anymore after all the recent simplications.

Depends on D16381

Differential Revision: https://phabricator.services.mozilla.com/D16382

--HG--
extra : moz-landing-system : lando
2019-01-14 18:39:12 +00:00
Mike Hommey 95bcdbeaaa Bug 1519603 - Manually inline AC_OUTPUT_SUBDIRS and MOZ_RUN_ALL_SUBCONFIGURES. r=nalexander
Because we only ever run one subconfigure, the machinery to execute
several is not useful anymore. Inlining it allows to simplify the code
too, because it doesn't need to be generic anymore. This also removes
the last remaining bits of acwinpaths.m4.

Also remove now unused support for --list in build/subconfigure.py.

Depends on D16380

Differential Revision: https://phabricator.services.mozilla.com/D16381

--HG--
extra : moz-landing-system : lando
2019-01-14 18:37:06 +00:00
Mike Hommey 236f9da6bb Bug 1519603 - Don't run subconfigure from js/src. r=nalexander
There aren't any anymore.

Depends on D16379

Differential Revision: https://phabricator.services.mozilla.com/D16380

--HG--
extra : moz-landing-system : lando
2019-01-14 18:35:03 +00:00
Mike Hommey 6c7b4555f5 Bug 1519603 - Remove dead code in build/subconfigure.py. r=nalexander
We only run it for js/src now, so get_config_files always returns empty lists.

Depends on D16378

Differential Revision: https://phabricator.services.mozilla.com/D16379

--HG--
extra : moz-landing-system : lando
2019-01-14 18:33:33 +00:00
Mike Hommey b90adcbaef Bug 1519603 - Remove unused autoconf macros. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D16378

--HG--
extra : moz-landing-system : lando
2019-01-14 13:59:23 +00:00
Steve Fink 7d6707ef30 Bug 1519263 - Run tests with 2 concurrent processes instead of 8, r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D16513

--HG--
extra : moz-landing-system : lando
2019-01-14 23:46:24 +00:00
Mike Hommey 106cde5e98 Bug 1519744 - Remove MOZ_GLUE_WRAP_LDFLAGS. r=dmajor
It's been unused since NUWA was removed in bug 1284674.

Differential Revision: https://phabricator.services.mozilla.com/D16426

--HG--
extra : moz-landing-system : lando
2019-01-14 16:58:34 +00:00
Eitan Isaacson 7c31734192 Bug 1519922 - Call ProxyEvent for scrolling events on non-Android. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D16484

--HG--
extra : moz-landing-system : lando
2019-01-14 23:46:57 +00:00
Felipe Gomes 6d74998c5d Bug 1520012 - Test which delayedLoad frame scripts are loaded during content process startup. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D16502

--HG--
extra : moz-landing-system : lando
2019-01-14 22:31:59 +00:00
Narcis Beleuzu 8b80c64ea5 Backed out 2 changesets (bug 1514051) for hazard-linux64-haz bustages at Stream.cpp . CLOSED TREE
Backed out changeset 4b9bf0633280 (bug 1514051)
Backed out changeset bd071dbcecad (bug 1514051)
2019-01-15 01:19:36 +02:00
Narcis Beleuzu e781289927 Backed out changeset 627f1def8aeb (bug 1480390) for spidermonkey bustages on /bug1480390.js . CLOSED TREE
--HG--
extra : histedit_source : bc8c728973377dd6abe6209767ad6b95c9c69ba5
2019-01-15 00:14:27 +02:00
Daosheng Mu 9c5723acc2 Bug 1516554 - Part 7: Resolve MessageLoop destroy before VR IPC channels close issue. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D16262

--HG--
extra : moz-landing-system : lando
2019-01-11 22:51:48 +00:00
Daosheng Mu 61804cecaf Bug 1516554 - Part 6: Remove BackgroundHangMonitor in VRProcessChild because we will init it by XPCOM. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D16260

--HG--
extra : moz-landing-system : lando
2019-01-11 22:50:33 +00:00
Daosheng Mu 7cd30b6720 Bug 1516554 - Part 5: Allow VR using the existing shmem. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D16259

--HG--
extra : moz-landing-system : lando
2019-01-11 22:50:03 +00:00
Daosheng Mu f5d35b145f Bug 1516554 - Part 4: Fix Win 7 try fails when VR process enable but no GPU process. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D16258

--HG--
extra : moz-landing-system : lando
2019-01-11 22:49:20 +00:00
Daosheng Mu 2d64883f5c Bug 1516554 - Part 3: Fix VRGPUParent memory leak in the destructor. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D16257

--HG--
extra : moz-landing-system : lando
2019-01-14 21:58:51 +00:00
Daosheng Mu 17dec4ca9f Bug 1516554 - Part 2: Fix nsTSubstring assertion when looking for Oculus VR lib. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D16483

--HG--
extra : moz-landing-system : lando
2019-01-14 21:27:40 +00:00
Daosheng Mu d6ce4d5c42 Bug 1516554 - Enable VR process in Nightly Windows. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D15434

--HG--
extra : moz-landing-system : lando
2019-01-14 17:51:41 +00:00
Mark Banner 34b072b8e1 Bug 1519812 - toolkit/content/tests/browser/browser_autoplay* tests should be marked as the 'Audio/Video: Playback' component. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D16451

--HG--
extra : moz-landing-system : lando
2019-01-14 19:00:38 +00:00
Brindusan Cristian ba661244da Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-14 23:53:38 +02:00
Brindusan Cristian 2e2984f826 Merge inbound to mozilla-central. a=merge 2019-01-14 23:51:26 +02:00
Justin Wood 45c5a30a7f No Bug - Log update data for fennec (when not using Google Play). r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D15869

--HG--
extra : moz-landing-system : lando
2019-01-14 21:44:29 +00:00
Iain Ireland f8135ec3c3 Bug 1519700: Fix incorrect logic in TryNoteIter::settle r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D16494

--HG--
extra : moz-landing-system : lando
2019-01-14 19:41:05 +00:00
Jon Coppeard 05f6ff93cf Bug 1519794 - Reset incremental GC on allocation triggers that happen late in an incremental collection r=sfink 2019-01-14 18:59:27 +00:00
Dave Townsend 41c1ffde91 Bug 1518938: Make it possible to hide items from the application menu. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D16107

--HG--
extra : moz-landing-system : lando
2019-01-14 18:57:49 +00:00
Andrew McCreight 4f8e71a1ca Bug 1519224 - Fix stack frame printing in block_analyzer.py. r=erahm
Also, add a new allocator function.

Differential Revision: https://phabricator.services.mozilla.com/D16241

--HG--
extra : moz-landing-system : lando
2019-01-14 18:41:35 +00:00
Kaio Augusto de Camargo 18f2aa68a5 Bug 1513496 - Stop logging failure warnings if the scalar is expired. r=chutten
Currently, when operating with scalars, if a call to internal_GetScalarByEnum (or its keyed variant) return an error, then a warning will be logged. If one of the requested scalars is expired, this could lead to an unwated flood of logs. With this change, the return of the function is checked, and if it is NS_ERROR_NOT_AVAILABLE (i.e. expired scalar), then no warning is issued.

Differential Revision: https://phabricator.services.mozilla.com/D16392

--HG--
extra : moz-landing-system : lando
2019-01-14 18:33:13 +00:00
Mats Palmgren 9a48b50d31 Bug 1519847 - [css-logical] Implement the padding-block/inline shorthands. r=emilio 2019-01-14 19:22:03 +01:00
Andrew Osmond 98da085964 Bug 1516011 - Part 2. Deny recycling for frames used in blob recordings. r=tnikkel
Given the crash resolved in part 1, it is possible for the blob
rasterizer in the compositor process to still be using surfaces after
the animation has advanced to the next frame. With recycling this can be
problematic as the recycled surface will be reused for a future frame.
In an ideal world, the blob recording would use the animation's image
key instead, but the rasterizer doesn't have easy access to the mapping
table. As such, for any frames used in a blob recording, we now
explicitly mark them as non-recyclable and we will be forced to allocate
a new frame instead.

Differential Revision: https://phabricator.services.mozilla.com/D16192
2019-01-14 13:21:57 -05:00
Andrew Osmond 271a497cab Bug 1516011 - Part 1. Ensure wrapped shared surfaces are retained for blob rasterization. r=jrmuizel
References to shared surfaces are already kept alive for the blob in the
content process, and it also ensures an image key is created to ensure
any release of the surface is delayed until the next epoch. Wrapped
shared surfaces (when used in an animation which is recycling its
surfaces) did not get an image key created which this patch corrects.

Differential Revision: https://phabricator.services.mozilla.com/D16191
2019-01-14 13:21:57 -05:00
Jefry Lagrange 829c881fc2 Bug 644412 - Export all data from Web Console to clipboard. r=nchevobbe 2019-01-14 11:02:51 +01:00
Csoregi Natalia 0d05e60603 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-01-14 19:20:55 +02:00
Gabriel Luong 09a37fa024 Bug 1519716 - Add pseudoElement state to the Rule state. r=rcaliman 2019-01-14 12:18:53 -05:00