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

665394 Коммитов

Автор SHA1 Сообщение Дата
Jon Coppeard 74f39034b7 Bug 1573508 - Remove js::ClassOps in favour of JSClassOps now these are the same r=tcampbell
This removes the original js::ClassOps but leaves it aliased to JSClassOps so everything compiles for now.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 23:36:55 +00:00
Ciure Andrei b454daea7a Backed out 3 changesets (bug 1531303) for causing close_window/close.py and browser_permissions_dialog.js to perma fail CLOSED TREE
Backed out changeset 87305e83174e (bug 1531303)
Backed out changeset 0c75c3bac00b (bug 1531303)
Backed out changeset 865c2a5d40da (bug 1531303)
2019-08-14 13:07:55 +03:00
Jan de Mooij f26100717f Bug 1568397 part 1 - Fix definite properties analysis to use the correct group for constraints. r=iain,tcampbell
We now add information about the constraints to a new class (DPAConstraintInfo)
so we can then finish all constraints at the end. This is also nice to avoid
adding unnecessary constraints when the analysis fails.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 09:04:43 +00:00
Paul Zuehlcke 065ae1e01e Bug 1531303 - Refactored tests using SitePermissions URI methods for PermissionTestUtils and principals. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41490

--HG--
extra : moz-landing-system : lando
2019-08-14 08:31:39 +00:00
Paul Zuehlcke 93bacc1004 Bug 1531303 - Refactored tests using PermissionManager URI methods to use PermissionTestUtils. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41029

--HG--
extra : moz-landing-system : lando
2019-08-14 08:31:23 +00:00
Paul Zuehlcke 160cf2c1df Bug 1531303 - Implemented a PermissionTestUtils module. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41028

--HG--
extra : moz-landing-system : lando
2019-08-14 08:36:41 +00:00
Belén Albeza c3ef8e6fdf Bug 1565973 - Part 2: Add browser tests for the manifest actor r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D40980

--HG--
extra : moz-landing-system : lando
2019-08-14 08:36:43 +00:00
Belén Albeza b554a01c44 Bug 1565973 - Part 1: Implement manifest actor in the server r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D40979

--HG--
extra : moz-landing-system : lando
2019-08-13 14:43:24 +00:00
Nicholas Nethercote 20510486a5 Bug 1572590 - Indent conditionally-defined prefs in firefox-branding.js. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D41318

--HG--
extra : moz-landing-system : lando
2019-08-14 08:19:41 +00:00
Nicholas Nethercote 951ae08e7e Bug 1572590 - Indent conditionally-defined prefs in geckoview-prefs.js. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D41317

--HG--
extra : moz-landing-system : lando
2019-08-14 08:19:29 +00:00
Nicholas Nethercote 7e78f0a44b Bug 1572590 - Indent conditionally-defined prefs in mobile.js. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D41316

--HG--
extra : moz-landing-system : lando
2019-08-14 08:19:17 +00:00
Nicholas Nethercote aed750ddf9 Bug 1572590 - Indent conditionally-defined prefs in firefox.js. r=KrisWright
The patch also removes several comments from the top of the file, every single
one of which is incorrect.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 08:19:04 +00:00
Nicholas Nethercote 38472db4fd Bug 1572590 - Indent conditionally-defined prefs in all.js. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D41304

--HG--
extra : moz-landing-system : lando
2019-08-14 08:18:52 +00:00
Nicholas Nethercote 4d30f455e5 Bug 1572590 - Indent conditionally-defined prefs in StaticPrefList.yaml. r=KrisWright
The patch also indents some comments within conditional blocks, which improves
readability.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 08:18:43 +00:00
Nupur Baghel cfe42eddfb Bug 1569100 - Marionette: Add ElementSendKeys command. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D41600

--HG--
extra : moz-landing-system : lando
2019-08-13 16:35:57 +00:00
Nupur Baghel ed1254cc27 Bug 1569100 - Add TakeElementScreenshot, TakeScreenshot and TakeFullScreenshot commands. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D41530

--HG--
extra : moz-landing-system : lando
2019-08-13 16:35:54 +00:00
Nupur Baghel fb71de57cf Bug 1569100 - Marionette: Add SwitchToWindow command and SwitchToWindow type. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D41518

--HG--
extra : moz-landing-system : lando
2019-08-13 16:34:18 +00:00
Nupur Baghel 179a357a94 Bug 1569100 - Marionette: Add SwitchToFrame command and SwitchToFrame, Frame types. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D41514

--HG--
extra : moz-landing-system : lando
2019-08-13 16:33:30 +00:00
Nupur Baghel 61fb051606 Bug 1569100 - Marionette: Add Refresh, ReleaseActions and SwitchToParentFrame commands. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D41505

--HG--
extra : moz-landing-system : lando
2019-08-13 16:32:33 +00:00
Nupur Baghel 70c402520d Bug 1569100 - Marionette: Add GetCSSValue command. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D41500

--HG--
extra : moz-landing-system : lando
2019-08-13 16:32:03 +00:00
Nupur Baghel 88422ff093 Bug 1569100 - Marionette: Add Get(i.e. Navigate), GetCurrentUrl, GetPageSource and GetTitle commands. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D41499

--HG--
extra : moz-landing-system : lando
2019-08-13 16:29:56 +00:00
Henri Sivonen c562792b2e Bug 1490593 - Move FFI for encoding_rs::mem to a vendored crate. r=froydnj
Also remove most C++-side optimizations for avoiding calls to Rust
for short strings now that we have LTO between C++ and Rust. Since
LTO still leaves the overhead of one function call layer, inlined
function call avoidance optimization is left in place in the
IsUTF8 and in the 8-bit IsASCII cases for which perfherder flags
the difference as significant for the length 15.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 07:53:34 +00:00
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