Commit Graph

711043 Commits

Author SHA1 Message Date
Ricky Stewart
7ed5e2165a Bug 1642418 - Fix mach completion unit test by updating bad conditional r=froydnj
I misinterpreted one of the conditionals when working on bug 1641991 (the "not X or Y" formulation confused me :( ). The correct fix here is to remove this conditional which isn't relevant any more after we removed all the old pre-`mochitest` mach commands.

Differential Revision: https://phabricator.services.mozilla.com/D77692
2020-06-01 18:59:46 +00:00
Razvan Maries
9b7eb56aa8 Backed out changeset 8f1051f12365 (bug 1637085) for build bustages on selftest.py. CLOSED TREE 2020-06-01 21:52:34 +03:00
Razvan Maries
c5a8f831d4 Backed out changeset 30c061da89d8 (bug 1580766) for perma failures on BrowsingContext.cpp. CLOSED TREE 2020-06-01 21:50:12 +03:00
Ting-Yu Lin
72644413c0 Bug 1641739 - Reduce the support child list types for flex / grid container's frame list manipulation methods. r=mats
These flex / grid's methods are implemented by delegating to
nsContainerFrame's methods. We shouldn't assume they can support more
child list types than the ones supported in nsContainerFrame's methods.

- NoteNewChildren is a helper for flex and grid's AppendFrame and
InsertFrames, and nsContainerFrame::{AppendFrame,InsertFrames} supports
only kPrincipalList and kNoReflowPrincipalList.

- nsContainerFrame::RemoveFrame supports only kPrincipalList and
kNoReflowPrincipalList.

- nsContainerFrame::SetInitialChildList supports only kPrincipalList and
kBackdropList.

Differential Revision: https://phabricator.services.mozilla.com/D77391
2020-06-01 18:22:03 +00:00
Harry Twyford
4aca780939 Bug 1642082 - Restore the ability to collapse the NTP Top Sites section. r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D77667
2020-06-01 17:44:49 +00:00
Andrea Marchesini
3b653684fe Bug 1638358 - Cookie Schemeful Same-Site - part 6 - console messages, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D75800
2020-06-01 16:49:01 +00:00
Andrea Marchesini
97f0db059a Bug 1638358 - Cookie Schemeful Same-Site - part 5 - schemeful comparison, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D75629
2020-06-01 16:49:03 +00:00
Andrea Marchesini
8170437e2e Bug 1638358 - Cookie Schemeful Same-Site - part 4 - tests for cookie scheme merging, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D75628
2020-06-01 16:49:05 +00:00
Andrea Marchesini
848f1f0043 Bug 1638358 - Cookie Schemeful Same-Site - part 3 - update add/addNative methods, r=mayhemer,remote-protocol-reviewers,marionette-reviewers,maja_zf,MattN,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D75627
2020-06-01 17:59:13 +00:00
Andrea Marchesini
897b86e015 Bug 1638358 - Cookie Schemeful Same-Site - part 2 - schemeMap in the cookie DB, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D75626
2020-06-01 16:48:51 +00:00
Andrea Marchesini
1bb5a79565 Bug 1638358 - Cookie Schemeful Same-Site - part 1 - scheme map in nsICookie, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D75624
2020-06-01 16:48:53 +00:00
Kris Maglione
dd56054fcb Bug 1637085: Use AsyncShutdown for ContentParent shutdown. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D74746
2020-06-01 18:01:13 +00:00
Kris Maglione
b3fcd970ec Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp
Differential Revision: https://phabricator.services.mozilla.com/D75429
2020-06-01 17:59:01 +00:00
Kris Maglione
c121cf77fc Bug 1638153: Part 1 - Add topChromeWindow getter to CanonicalBrowsingContext. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D75431
2020-05-28 19:34:33 +00:00
Kris Maglione
8805ff3be0 Bug 1638153: Part 0 - Add Window.browsingContext getter. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D75430
2020-05-28 19:34:33 +00:00
Kashav Madan
2b8ca16f35 Bug 1557407 - Replace DispatchTrustedEvent with DispatchEventOnlyToChrome for various chrome-only events, r=smaug
Adds an |aChromeOnlyDispatch| flag to DispatchCustomEvent to decide whether
to call DispatchTrustEvent or DispatchEventOnlyToChrome.

The following chrome-only events are dispatched with DispatchCustomEvent and now
make use of the flag:

- DOMWindowClose
- fullscreen / willenterfullscreen / willexitfullscreen
- occlusionstatechange
- resolutionchange
- XULAlertClose

and the following were previously dispatched with DispatchTrustedEvent and now
use DispatchEventOnlyToChrome:

- MozBeforeInitialXULLayout
- MozMouseScrollFailed / MozMouseScrollTransactionTimeout
- MozPaintWait / MozPaintWaitFinished
- MozPerformDelayedBlur
- all events fired by APZCCallbackHelper::NotifyMozMouseScrollEvent

Differential Revision: https://phabricator.services.mozilla.com/D76723
2020-06-01 17:11:48 +00:00
Kashav Madan
517b55f90b Bug 1620714 - Remove fission fail expectation, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D77110
2020-06-01 17:13:54 +00:00
Kashav Madan
f05209e3a5 Bug 1620714 - Set BrowsingContext::Closed as early as possible, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D77109
2020-06-01 17:13:47 +00:00
Alex Chronopoulos
cd9cc473f5 Bug 1637235 - Implement the audio drift correction. r=padenot
Implement the drift correction logic that counts the frames between a source and a target (the master clock) and adjust the source buffer in order to compensate for the drift between source and target.

Differential Revision: https://phabricator.services.mozilla.com/D74884
2020-06-01 15:53:43 +00:00
Alex Chronopoulos
a9a18f56ea Bug 1637235 - Implement a dynamic resampler with preallocated input and output memory. r=padenot
Create a dynamic resampler that will be able to preallocate its internal buffers and provide the exact requested amount of data in the output. The resampler makes use of the AudioSegment data structure to convey the audio frames to make it easier to be used from MTG.

Differential Revision: https://phabricator.services.mozilla.com/D74883
2020-06-01 15:53:30 +00:00
Alex Chronopoulos
c267d99198 Bug 1637235 - Implement a ring buffer for audio data. r=padenot,jya
Implement a ring buffer that is not thread-safe and preallocate its internal buffers. The intention is that the internal data is preallocate to any thread and then read/write operations will take place in a single thread using the memory in a ring manner.

Differential Revision: https://phabricator.services.mozilla.com/D74882
2020-06-01 15:53:18 +00:00
David Major
8b971e28fc No bug - Fix the code block formatting in mercurial_bundles.rst. DONTBUILD r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D77682
2020-06-01 16:49:34 +00:00
Jamie Nicol
57d87985be Bug 1642079 - Only snap animated transforms for zoom reference frames? r=aosmond
Bug 1635406 made it so that webrender snaps the offsets of animated
transforms before accumulating them in to the reference frame
transform. Unfortunately, however, this causes jittery animations. The
original intention was just to snap the visual viewport offset when
scrolling, to avoid excessive picture cache invalidation.

To avoid this, make it so that we only snap for reference frames of
kind ReferenceFrameKind::Zoom. This will mean that most animations are
unaffected. There may however still be some jitter when zooming, but
this is outweighed by the benefit of not invalidating picture cache
tiles every frame when scrolling.

Differential Revision: https://phabricator.services.mozilla.com/D77679
2020-06-01 16:49:10 +00:00
Ricky Stewart
c3ad21f99d Bug 1642015 - Don't dump a raw bytestring to the terminal in RunCbindgen.py r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D77556
2020-06-01 15:50:29 +00:00
Kristen Wright
ac9db55968 Bug 1637708 - Convert alerts.useSystemBackend to a static pref r=njn
Converts `alerts.useSystemBackend`. Also adds the `alerts` pref file for the new category.

Differential Revision: https://phabricator.services.mozilla.com/D76377
2020-05-24 18:27:35 +00:00
Kristen Wright
3420ea8aed Bug 1637708 - Convert toolkit.content-background-hang-monitor.disabled to a static pref r=njn
Converts `toolkit.content-background-hang-monitor.disabled` to a static pref. Lets us remove the IsDisabled() call in the BHM.

Differential Revision: https://phabricator.services.mozilla.com/D76376
2020-05-24 18:27:35 +00:00
Kristen Wright
51439289c1 Bug 1637708 - Convert urlclassifier.gethashnoise to a static pref. r=njn
Converts `urlclassifier.gethashnoise` to a static pref.

Differential Revision: https://phabricator.services.mozilla.com/D76374
2020-05-31 23:59:03 +00:00
Kristen Wright
ce15cc25b4 Bug 1637708 - Convert the prefs in nsClassifierStreamUpdater to static prefs r=njn
Converts `urlclassifier.update.timeout_ms` and `urlclassifier.update.response_timeout_ms` to static prefs and adds the `urlclassifier` header file.

Differential Revision: https://phabricator.services.mozilla.com/D76373
2020-06-01 16:57:27 +00:00
Micah Tigley
2dd990d320 Bug 1621781 - Have APZ ignore mouse events when RDM is active. r=botond
Depends on D77395

Differential Revision: https://phabricator.services.mozilla.com/D77396
2020-06-01 16:10:08 +00:00
Micah Tigley
81f5f0e8d0 Bug 1621781 - Add an "IsRDMTouchSimulationActive" field to ScrollMetadata. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D77395
2020-05-30 03:15:22 +00:00
Ricky Stewart
7bee84802f Bug 1641992 - Add argument to mach busted file to specify which component the bug should be filed against r=froydnj
With the addition of this change, a lone `mach busted file` will throw an error (since this should only ever be used by actual humans, and not in automation or anything, the backwards-compatibility breakage isn't a huge deal). Now it's expected to pass in `mach busted file $COMMAND`, where $COMMAND is the mach command that you were running when the error occurred, and we'll figure out which bugzilla component to file the bug against for you instead of directing it to `Firefox Build System :: General` regardless of whether the issue has *anything* to do with the build system. We preserve `mach busted file general` as a backup command that doesn't do any of this heavy logic.

Differential Revision: https://phabricator.services.mozilla.com/D77538
2020-06-01 16:23:48 +00:00
Ricky Stewart
7f3fa0551b Bug 1641991 - Remove deprecated mochitest mach commands r=ahal
These commands were removed 5 years ago (with the exception of robocop, which was removed about a year ago). We're way past the point where anyone would glean useful info from keeping the stubs here with an error message.

Differential Revision: https://phabricator.services.mozilla.com/D77536
2020-05-29 20:43:05 +00:00
Dana Keeler
6461b8a32b Bug 1638920 - use a background task queue in cert_storage rather than a dedicated thread r=lina
Differential Revision: https://phabricator.services.mozilla.com/D77370
2020-06-01 16:26:55 +00:00
Dave Townsend
38ef8fecd1 Bug 1580766: Add a unique ID for the BrowsingContext tree inside a browser element. r=kmag
Adds a `browserId` property to all browsing contexts which the same for the
entire tree of contexts inside a frame element. If a new top-level context is
created for the frame then it is assigned the same value.

This allows identifying the frame element for a given browsing context.

Currently this is only done for XUL frame elements (browser/iframe). Not sure
if we want this for others.

Differential Revision: https://phabricator.services.mozilla.com/D56245
2020-06-01 16:52:31 +00:00
Sebastian Hengst
790588b844 Bug 1642094 - Update wpt expectations for html/semantics/scripting-1/the-script-element/moving-between-documents/ on Linux opt non-asan. CLOSED TREE 2020-06-01 19:49:46 +02:00
Dorel Luca
61e47c120c Merge mozilla-cental to autoland. CLOSED TREE 2020-06-01 19:35:58 +03:00
Noemi Erli
e40be0aa72 Backed out 6 changesets (bug 1638358) for causing failures in test_Chrome_cookies.js CLOSED TREE
Backed out changeset 4e8fbe01aa38 (bug 1638358)
Backed out changeset 532731e94bb2 (bug 1638358)
Backed out changeset fad2ba760157 (bug 1638358)
Backed out changeset 932a3fdbd07c (bug 1638358)
Backed out changeset 05a62901a3f5 (bug 1638358)
Backed out changeset cddeada5c4a6 (bug 1638358)
2020-06-01 19:45:46 +03:00
Noemi Erli
f08b043cf6 Backed out 5 changesets (bug 1639833) for causing sessionstorage related failures CLOSED TREE
Backed out changeset b36af8d9db34 (bug 1639833)
Backed out changeset 712c11904dbe (bug 1639833)
Backed out changeset 14f1e4783582 (bug 1639833)
Backed out changeset b7f14c4cfe5d (bug 1639833)
Backed out changeset b4b25034dd83 (bug 1639833)
2020-06-01 19:31:50 +03:00
Dorel Luca
d6cb4941f9 Merge autoland to mozilla-central. a=merge 2020-06-01 19:20:20 +03:00
Dorel Luca
1413b0ea0d Backed out 4 changesets (bug 1636823) for build bustages in workspace/obj-build/dist/include/gtest/gtest.h. CLOSED TREE
Backed out changeset 52322ad2515e (bug 1636823)
Backed out changeset 2329c5e53493 (bug 1636823)
Backed out changeset a388fd40baeb (bug 1636823)
Backed out changeset 3019a2171aed (bug 1636823)
2020-06-01 14:39:31 +03:00
Dorel Luca
9574e25c80 Backed out 6 changesets (bug 1638358) for XPCShell failures in netwerk/cookie/test/unit/test_schemeMap.js. CLOSED TREE
Backed out changeset 745eab35e851 (bug 1638358)
Backed out changeset a45df1876e37 (bug 1638358)
Backed out changeset 1a85cc92d2fb (bug 1638358)
Backed out changeset 2156294cb158 (bug 1638358)
Backed out changeset 31101054c52c (bug 1638358)
Backed out changeset d284b50551ab (bug 1638358)
2020-06-01 14:38:22 +03:00
Mozilla Releng Treescript
a56e4bfdd7 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2020-06-01 10:15:55 +00:00
Mozilla Releng Treescript
1221b4d144 No bug - tagging 702ad0fa15860f6ea37effdcb45973cc63d3125b with FIREFOX_NIGHTLY_78_END a=release DONTBUILD CLOSED TREE 2020-06-01 10:15:48 +00:00
Mozilla Releng Treescript
8ccea36c4f No bug - tagging e4b11f027efc1f8c2710ae3f52487a8f10a8fb39 with FIREFOX_BETA_78_BASE a=release DONTBUILD CLOSED TREE 2020-06-01 09:37:36 +00:00
Emilio Cobos Álvarez
2f5607b8d0 Bug 1642221 - Rename SheetLoadData::mLoaderPrincipal to mTriggeringPrincipal. r=jwatt
I'm about to introduce the concept of "Loader principal" (as in "the
principal of the CSS loader"), and SheetLoadData already has an
mLoaderPrincipal.

However SheetLoadData's principal is just the triggering principal (the
principal that initiated the load). So name it that with consistency
with SheetInfo::mTriggeringPrincipal etc.

Differential Revision: https://phabricator.services.mozilla.com/D77613
2020-05-31 17:11:57 +00:00
Jonathan Watt
1ba1fb1c93 Bug 1642167. Remove nsPrintData->mIsIFrameSelected. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D77602
2020-05-31 07:47:20 +00:00
Jonathan Watt
78ab5353da Bug 1642167. Further simplify nsPrintJob::EnablePOsForPrinting. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D77601
2020-05-31 15:51:53 +00:00
Jonathan Watt
a26f4f2486 Bug 1642167. Group kRangeAllPages and kRangeSpecifiedPageRange code in nsPrintJob::EnablePOsForPrinting. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D77600
2020-05-31 15:28:22 +00:00
Mark Banner
cc617abea2 Bug 1641261 - Handle the case when an app provided engine is hidden/removed, and a WebExtension wants to select as default. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D77429
2020-05-31 12:19:18 +00:00
Nicolas Silva
380426b6a1 Bug 1641224 - Add webrender-perf try preset. r=kats
./mach try --preset webrender-perf runs the following tasks:

- test-linux64-shippable-qr/opt-raptor-motionmark-animometer-firefox-e10s
- test-linux64-shippable-qr/opt-talos-g1-e10s
- test-linux64-shippable-qr/opt-talos-g4-e10s
- test-linux64-shippable-qr/opt-talos-svgr-e10s
- test-linux64-shippable-qr/opt-talos-tp5o-e10s
- test-linux64-shippable-qr/opt-talos-webgl-e10s
- test-windows10-64-shippable-qr/opt-raptor-motionmark-animometer-firefox-e10s
- test-windows10-64-shippable-qr/opt-talos-g1-e10s
- test-windows10-64-shippable-qr/opt-talos-g4-e10s
- test-windows10-64-shippable-qr/opt-talos-svgr-e10s
- test-windows10-64-shippable-qr/opt-talos-tp5o-e10s
- test-windows10-64-shippable-qr/opt-talos-webgl-e10s

Differential Revision: https://phabricator.services.mozilla.com/D77265
2020-05-28 15:13:26 +00:00