Commit Graph

665372 Commits

Author SHA1 Message Date
Sylvestre Ledru
0dc8a7e274 Bug 1573769 - Update of the build-clang doc after the move to git r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D41910

--HG--
extra : moz-landing-system : lando
2019-08-14 07:40:58 +00:00
Marco Zehe
d30cbb2973 Bug 1573750 - If header or footer elements are descendants of the main element, do not expose them as landmarks, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D41893

--HG--
extra : moz-landing-system : lando
2019-08-14 06:10:24 +00:00
Olli Pettay
1373bb3701 Bug 1563587, Make history.back/forward/go asynchronous, r=farre
The main part of the change is the change to ChildSHistory - make it possible to have Go() to be called asynchronously
and also let one to cancel pending history navigations. History object (window.history) can then use either the sync or
async Go(), depending on the dom.window.history.async pref.

LoadDelegate, which is used by GeckoView, needs special handling, since
it spins event loop nestedly. With session history loads and same-document loads we can just
bypass it.
To deal with same-document case, MaybeHandleSameDocumentNavigation is split to IsSameDocumentNavigation,
which collects relevant information about the request and returns true if same-document navigation should happen,
and then later HandleSameDocumentNavigation uses that information to trigger the navigation.
SameDocumentNavigationState is used to pass the information around.

referrer-policy-test-case.sub.js is buggy causing tests to pass only on Firefox with sync history API.

nested-context-navigations-iframe.html.ini is added because of https://bugzilla.mozilla.org/show_bug.cgi?id=1572932

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

--HG--
extra : moz-landing-system : lando
2019-08-14 06:38:47 +00:00
Gabriel Luong
7e6632a422 Bug 1572460 - Refactor selection out of the InspectorFront. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D41314

--HG--
extra : moz-landing-system : lando
2019-08-14 05:07:38 +00:00
Gabriel Luong
daff679f83 Bug 1569023 - Expose a helper on protocol's Front class to help retrieve the parent front. r=ochameau,yulia
Differential Revision: https://phabricator.services.mozilla.com/D39610

--HG--
extra : moz-landing-system : lando
2019-08-14 04:51:20 +00:00
Aaron Klotz
6e2191877a Bug 1573274: Add mozglue-only SuppressStackWalking and DesuppressStackWalking functions to StackWalk on Windows; r=glandium
While mozglue continues to be the correct location for calling the affected
code in this patch, the calls requiring stackwalk suppression will soon be
originating from firefox.exe via the launcher process.

mozglue will be supplying the launcher process with an interface that consists
of what are effectively "OnBeginDllLoad" and "OnEndDllLoad" callback
notifications; obviously an RAII class is not going to be useful for that case.

We still want to keep the RAII stuff around, however, since we still need it
for cases where we need to fall back to using the legacy DLL blocklist.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 03:34:52 +00:00
Aaron Klotz
d55b1b38d0 Bug 1568634: Remove kernel32.lib from LIBS in old-configure.in; r=glandium
Since kernel32.lib is a defaultlib we do not need to explicitly include it
in the OS_LIBS list; the linker will implicitly add it to the end of the list.
In fact, its presence interferes with other explicitly added .lib files that
should take precedence.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 03:30:20 +00:00
Mike Hommey
9176c8beb4 Bug 1572048 - Remove toolkit/library/gtest/static. r=mshal
It was used as an intermediate static library to ensure an order in
libxul-gtest wrt StaticXULComponents*, but those were removed in bug
1541792.

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

--HG--
rename : toolkit/library/gtest/static/TestUCRTDepends.cpp => toolkit/library/gtest/TestUCRTDepends.cpp
extra : moz-landing-system : lando
2019-08-14 02:44:59 +00:00
Tim Nguyen
62bc42ce67 Bug 1573606 - Prompt for confirmation when exiting edit mode with unsaved changes via 'New login' button. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D41803

--HG--
extra : moz-landing-system : lando
2019-08-14 02:32:07 +00:00
Cosmin Sabou
bf94f57431 Backed out changeset 2bfb73091f21 (bug 1547140) for xpcshell failures on test_ext_webRequest_urlclassification. CLOSED TREE 2019-08-14 05:35:27 +03:00
Lina Cambridge
9a92aa1ff2 Bug 1573738 - Pass an already-aborted signal to avoid a race in test_abort_merging. a=testonly
Differential Revision: https://phabricator.services.mozilla.com/D41885

--HG--
extra : moz-landing-system : lando
2019-08-14 02:15:26 +00:00
Jeff Gilbert
9c8ea204ee Bug 1573700 - s/GLParseRegistryXML.py/GLConsts.py/ and port to python3+mypy. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D41873

--HG--
extra : moz-landing-system : lando
2019-08-14 02:07:40 +00:00
Shane Caraveo
80335e9e8d Bug 1547140 add classification data to webRequest API r=zombie,kmag,Fallen
Differential Revision: https://phabricator.services.mozilla.com/D35911

--HG--
extra : moz-landing-system : lando
2019-08-12 22:00:20 +00:00
Cameron McCormack
6c48b4239c Bug 1573365 - Rename txEXSLTType::DIFFERENCE to avoid conflicting with macro in winuser.h. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D41696

--HG--
extra : moz-landing-system : lando
2019-08-14 01:31:43 +00:00
Coroiu Cristina
b4e3ce3f87 Backed out changeset 42cdb2c4c768 (bug 1573700) for flake8 failure at builds/worker/checkouts/gecko/gfx/gl/GLConsts.py 2019-08-14 03:44:33 +03:00
Lina Cambridge
a17323e9d8 Bug 1573709 - Return an aborted watchdog for testing interrupted bookmark merges. a=testonly
Differential Revision: https://phabricator.services.mozilla.com/D41876

--HG--
extra : moz-landing-system : lando
2019-08-14 00:28:52 +00:00
Jeff Gilbert
ef22bd959b Bug 1573700 - s/GLParseRegistryXML.py/GLConsts.py/ and port to python3+mypy. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D41873

--HG--
extra : moz-landing-system : lando
2019-08-14 00:20:22 +00:00
Randall E. Barker
7da0095edf Bug 1573697 - Prevent GeckoSystemStateListener.nativeOnDeviceChanged() from asserting when called off of the UI thread. r=geckoview-reviewers,droeh
Differential Revision: https://phabricator.services.mozilla.com/D41871

--HG--
extra : moz-landing-system : lando
2019-08-14 00:06:37 +00:00
Randall E. Barker
5f55a3830a Bug 1573304 - Add GeckoRuntimeSettings.debugLogging() function to control logging r=geckoview-reviewers,agi,snorp
Differential Revision: https://phabricator.services.mozilla.com/D41647

--HG--
extra : moz-landing-system : lando
2019-08-14 00:19:45 +00:00
Nicholas Nethercote
dd9bd0a9f7 Bug 1572622 - Merge remote.js into all.js. r=ato
This makes prefs definition simpler, more consistent, and less error-prone.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 23:49:39 +00:00
Nicholas Nethercote
3aa9f46986 Bug 1572336 - Merge marionette.js into all.js. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D41151

--HG--
extra : moz-landing-system : lando
2019-08-13 23:49:39 +00:00
Ed Lee
bd33349692 Bug 1571624 - Switch awsy tests to measure common case non-triplets new tab page r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D41752

--HG--
extra : moz-landing-system : lando
2019-08-13 18:15:04 +00:00
Lina Cambridge
65dfa84ccd Bug 1573305 - Remove the check for unmerged synced bookmark changes. r=markh
When a local or remote item changed, we'd potentially scan three tables
(with an expensive `LEFT JOIN`!) to check if anything changed...then
scan the same tables again to build the local and remote trees. This
check was originally meant to avoid unnecessary merges. However, the
bottleneck isn't merging now; it's reading from the database.

Since the merger has been rewritten in Rust, is synchronous, doesn't
keep a transaction open for the entire merge (see the
`total_sync_changes` check), and only emits ops for items that actually
changed, it's more efficient to build and merge optimistically, and
bail before applying if nothing changed.

This commit also moves `validateLocalRoots` into Rust.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:58:16 +00:00
Nicholas Nethercote
13a7295574 Bug 1573080 - Supporting indenting of directives in preprocessor.py. r=glandium
Depends on D41494

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:18:55 +00:00
Nicholas Nethercote
4e52c0f072 Bug 1573080 - Fix some incorrect preprocessor.py docs. r=glandium
As shown by python/mozbuild/mozbuild/test/test_preprocessor.py, whitespace is
allowed within expressions, and chained #if/#elif/#else sequences work as you'd
expect.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:20:04 +00:00
Jim Blandy
9adcf8310b Bug 1567313: Give Debugger reflection objects a non-static trace method. r=jorendorff
Replace the loosely-typed 'trace' static member functions with well-typed
non-static trace methods. These can be used by
DebuggerWeakMap::traceCrossCompartmentEdges, called from
Debugger::traceCrossCompartmentEdges.

To produce the plain (JSTracer*, JSObject*) functions still needed for
js::ClassOps::trace values, define a CallTraceMethod function template that does
the downcast to the most derived type, and then defers to the well-typed method.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 23:06:11 +00:00
Jeff Muizelaar
bfd40a4c0c Bug 1573682. Add FEATURE_D3D11_ANGLE to vendor whitelist ignore. r=jgilbert
This is needed to let WebRender run on ANGLE/WARP because we end up with
the Microsoft vendor.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 23:19:46 +00:00
Hiroyuki Ikezoe
ba1ce0580a Bug 1508177 - Use expanded layout viewport height to tell whether we need to render the vertical overlay scrollbar. r=tnikkel
In the previous commit, we expanded layout viewport height but during reflow
the expanded layout viewport size hasn't reflected in
ScrollReflowInput::mContentsOverflowAreas.ScrollableOverflow(). We explicitly
need to use the expanded height to tell whether we need vertical vertical
scrollbars or not.

Note that the expanded layout viewport height should NOT be used for non-overlay
scrollbars cases since, for example, if the content width is specified by
`width: 100%`, the non-overlay vertical scrollbar narrows down the content's
used width a little bit because of the vertical scrollbar width, which in turn
the minimum scale gets bigger because the content's width became bit narrower,
thus the layout viewport size calculated with the minimum scale gets smaller,
then it results the vertical scrollbar no longer needs to be rendered, thus
the minimum scale gets back to the original value, then the vertical scroll
needs to be rendered again, thus this sequence of processes happens repreatedly.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:38:01 +00:00
Hiroyuki Ikezoe
a2a3c33989 Bug 1508177 - Expand the minimum scale height even if the expanded area doesn't contain any contents. r=botond
As a result of the expansion, position:fixed elements are attached to the
expanded layout viewport.

The expanded value is used behind a pref which is enabled by default on nightly
initially, and the pref will be fliped in bug 1571599 on other channels.

scrollbars-in-landscape-content.html still fails since the vertical overlay
scrollbar doesn't appear since we are not yet using the expanded value during
reflow to tell whether we need overlay scrollbars or not.  This will be fixed
by the next commit.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:37:57 +00:00
Hiroyuki Ikezoe
10f4aacd62 Bug 1508177 - Reftests that check scrollbars are properly appeared by the difference between visual and layout viewports. r=botond,tnikkel
scrollbars-in-landscape-content.html doesn't fail on environments where we don't
use overlay scrollbars because scrollbars for the visual viewport are not
rendered there.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:37:54 +00:00
Hiroyuki Ikezoe
ccb7fd1a3f Bug 1508177 - Add reftests to make sure that expanded layout viewport areas that are initially out of the visual viewport are rendered by setting resolution. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D40767

--HG--
extra : moz-landing-system : lando
2019-08-13 22:37:50 +00:00
Hiroyuki Ikezoe
cd3330b737 Bug 1508177 - Add reftests to make sure we can scroll to expaned layout viewport areas where no content exists. r=botond
There needs a position:fixed element at the right bottom to make the test
failure without proper fixes.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:37:48 +00:00
Hiroyuki Ikezoe
9de322f0cf Bug 1508177 - Add reftests to make sure position:fixed elements are attached to the layout viewport even if the layout viewport contains no visible contents area. r=botond
position-fixed-on-half-height-content.html is a test case that the document's
layout viewport contains no visible contents area without scaling.

position-fixed-on-landscape-content.html is a test case that the document's
layout viewport will contain no visible contents area if the document is scaled
down to fit the document to screen size.

position-fixed-on-square-content.html is a test case that the document's layout
viewport will contain no visible contents ares if the document is scaled up to
fit the document to screen size.

The latter two cases currently fail.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:36:39 +00:00
Hiroyuki Ikezoe
483b329892 Bug 1508177 - Tests for various web exposed metrics on the content that the content height is shorter than the layout viewport height. r=botond
The values other than window.innerHeight in this test, visualViewport.height,
documentElement.scrollHeight and documentElement.getBoundingClientRect().height
are same as values on Chrome.  window.innerHeight value will be changed in
bug 1514429.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:36:25 +00:00
Hiroyuki Ikezoe
55cf8ccaed Bug 1508177 - Add an explicit "initial-scale=1,minimum-scale=1" meta viewport tag to avoid expanding scrollable area. r=botond
So that the vertical scrollbar on the root element doesn't accidentally appear
because of the expanding the scrollable area.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:36:11 +00:00
Cosmin Sabou
62a26df9c6 Backed out changeset 55df21f1b7d6 (bug 1566342) for causing build bustages on FuzzyLayer.cpp. CLOSED TREE 2019-08-14 02:20:11 +03:00
Cosmin Sabou
89547a4af6 Backed out 2 changesets (bug 1564359) for linting opt failure on dom/docs/Fission.rst.
Backed out changeset f967c8e7e6dd (bug 1564359)
Backed out changeset f4bbcf1ddadb (bug 1564359)
2019-08-14 02:18:58 +03:00
Connor Brewster
b5f999f5ff Bug 1178765 - Part 5: Add optimization to render task depth assignment r=gw,nical
Fixes an issue when backdrop-filter is used many time on a page where we would
spend a large amount of time reevaluating render tasks when assigning task depths.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:03:16 +00:00
Connor Brewster
ec29ea959d Bug 1178765 - Part 4: Force a display list rebuild when backdrop-filter pref is toggled r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D40665

--HG--
extra : moz-landing-system : lando
2019-08-13 22:03:04 +00:00
Connor Brewster
04d4ece0af Bug 1178765 - Part 3: Add backdrop-filter display items to Gecko r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D39099

--HG--
extra : moz-landing-system : lando
2019-08-13 22:02:57 +00:00
Connor Brewster
dbce0f3810 Bug 1178765 - Part 2: Implement backdrop-filter in WebRender r=gw
Differential Revision: https://phabricator.services.mozilla.com/D39098

--HG--
extra : moz-landing-system : lando
2019-08-13 22:02:44 +00:00
Connor Brewster
afa1fcbaed Bug 1178765 - Part 1: Add backdrop-filter WebRender display items r=gw
Differential Revision: https://phabricator.services.mozilla.com/D39097

--HG--
extra : moz-landing-system : lando
2019-08-13 22:02:37 +00:00
Charlie Marlow
ec37be04da Bug 1573242: fixed scaling issue for line thickness padding r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D41616

--HG--
extra : moz-landing-system : lando
2019-08-13 22:40:45 +00:00
Karl Tomlinson
3cebe4550f Bug 1473463 remove unnecessary JSAutoRealm as realm is set by AutoEntryScript r=baku
Differential Revision: https://phabricator.services.mozilla.com/D41341

--HG--
extra : moz-landing-system : lando
2019-08-12 11:50:42 +00:00
Karl Tomlinson
7d40632022 Bug 1473463 evaluate worklet scripts as modules without support for nested import r=baku
The separation of parse and evaluate steps permits implementation of behavior
on unhandled exception during evaluation that is different from that on
parsing error.

Implementation of fetching a complete module script graph is tracked in
https://bugzilla.mozilla.org/show_bug.cgi?id=1572644

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

--HG--
extra : moz-landing-system : lando
2019-08-13 11:10:23 +00:00
Karl Tomlinson
859de11460 Bug 1473463 use globalThis in worklet tests because |this| is undefined in toplevel module script r=baku
Differential Revision: https://phabricator.services.mozilla.com/D41338

--HG--
extra : moz-landing-system : lando
2019-08-12 11:46:02 +00:00
Charlie Marlow
78dafd3e0c Bug 1573218: fix scaling for padding between decoration lines and descenders in skip-ink r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D41615

--HG--
extra : moz-landing-system : lando
2019-08-13 21:48:44 +00:00
Charlie Marlow
693746ef3d Bug 1558929: adding from-font support to text-underline-offset and text-decoration-thickness r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D41476

--HG--
extra : moz-landing-system : lando
2019-08-13 17:43:25 +00:00
Mike Conley
4bd32c6a06 Bug 1564359 - Add in-tree documentation on how to port from the message manager to JSWindowActor messaging to be Fission-compatible. r=jdai
Differential Revision: https://phabricator.services.mozilla.com/D40475

--HG--
extra : moz-landing-system : lando
2019-08-13 11:49:21 +00:00
Mike Conley
7c46cf3101 Bug 1564359 - Add additional detail to in-tree Fission documentation. r=jdai
Differential Revision: https://phabricator.services.mozilla.com/D40474

--HG--
extra : moz-landing-system : lando
2019-08-13 11:49:09 +00:00