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

649859 Коммитов

Автор SHA1 Сообщение Дата
Byron Campen [:bwc] d25f704ddf Bug 1546981: Remove duplicate test-case, and remove an error suppression it caused. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D29667

--HG--
extra : moz-landing-system : lando
2019-05-02 19:11:07 +00:00
Byron Campen [:bwc] b008fb80d2 Bug 1546406: Disable this test because we don't support RTCSctpTransport. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D29666

--HG--
extra : moz-landing-system : lando
2019-05-02 19:10:59 +00:00
alwu 6e61f3513b Bug 1540748 - part2 : add warning for negative adjusted time. r=jolin
As the purpose of adjusting time is to make the start of the playback to align to zero, so the result should not be negative.

However, we can't always ensure the demuxed start time is correct, the decoded first frame sample time might be different with the time demuxer provides.

Even if we try to update the start time when we get the first decoded sample, there is still a problem because a decoder might return samples with different order, which means the first frame the decoder returns is probably not a real first frame.

Therefore, using warning to help us knows how many this situaion would be.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 21:44:06 +00:00
Alastor Wu 7d5891752c Bug 1540748 - part1 : Android decoder should throw an error when the decoded sample's time is smaller than the time of first demuxed sample. r=jolin,jya
Considering that the audio sample's time is always increased, the decoded sample's time decoder returns should always be equal or larger than its demuxed time.

When the decoded sample's time is smaller than the time of first demuxed sample, that time would probably cause a problem so we should  throw an error for that.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 17:58:05 +00:00
Alastor Wu 01946df64d Bug 1540748 - part0 : mark functions const. r=jya
There functions won't change any internal variables, so they should be marked as const.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 00:51:54 +00:00
Shane Caraveo 5f24a04aa2 Bug 1548177 support incognito flag in request filtering r=kmag,robwu
Differential Revision: https://phabricator.services.mozilla.com/D29446

--HG--
extra : moz-landing-system : lando
2019-05-02 16:23:03 +00:00
Chris Martin 973f7ba7af Bug 1052579 - Remove arenaId member that was introduced in D25705 r=sfink
In D25705, I added a new arenaId member to the js::BaseAllocPolicy. This
increased the size of everything that uses a JS AllocPolicy, which is a
lot.

This change follows suit from earlier work, which is to make everything
allocation-related have an "arena" version and a "default" version that
uses the arena version with the implied default arena.

StringBuffer is then changed to use this new functionity to define its
own alloc policy that uses the new StringBufferArena.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 16:31:53 +00:00
Jim Porter c62f65e325 Bug 1548565 - Fix crash in XPCJSContext::InterruptCallback from bug 1493225; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D29710

--HG--
extra : moz-landing-system : lando
2019-05-02 19:35:08 +00:00
Shane Caraveo 6feaabc3c9 Bug 1547050 support builtin extensions in safemode r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D29091

--HG--
extra : moz-landing-system : lando
2019-05-02 18:21:21 +00:00
Mike Conley b6719b756f Bug 1545296 - Suppress mouse button events firing in content when clicking on the Picture-in-Picture toggle. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D29422

--HG--
extra : moz-landing-system : lando
2019-05-02 17:51:30 +00:00
Emilio Cobos Álvarez efbea69114 Bug 1548449 - Don't render stuff in plaintext documents without a viewport. r=bzbarsky
I'm still wondering why is bing.com doing this but oh well. This should address
the regression and probably even improve it.

I don't think these documents are observable from content (at least I haven't
found how) so this should be safe. Let me know if you want me to just wrap the
whole stylesheet in an `@media (width > 0) and (height > 0)` rule or such.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 19:55:41 +00:00
Robin Templeton fe9c5481dd Bug 1531647 - Implement atomic operations on BigInt TypedArrays r=lth
Differential Revision: https://phabricator.services.mozilla.com/D21648

--HG--
extra : moz-landing-system : lando
2019-04-29 23:20:17 +00:00
Robin Templeton fa340ddad3 Bug 1527902 - Enable javascript.options.bigint by default r=jandem,kmag
Differential Revision: https://phabricator.services.mozilla.com/D29182

--HG--
extra : moz-landing-system : lando
2019-05-02 19:19:00 +00:00
Brian Grinstead 787d9413a8 Bug 1500626 - Convert <menuitem> bindings to a Custom Element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D9322

--HG--
extra : moz-landing-system : lando
2019-05-02 19:28:18 +00:00
Jason Laster 8f13b0d82f Bug 1537779 - Improve column breakpoint UI performance. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D28868

--HG--
extra : moz-landing-system : lando
2019-05-02 19:21:21 +00:00
Matthew Noorenberghe 8aad4d375a Bug 1334012 - Move Login AutoComplete to its own interface. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D29694

--HG--
rename : toolkit/components/passwordmgr/nsILoginManager.idl => toolkit/components/passwordmgr/nsILoginAutoCompleteSearch.idl
extra : moz-landing-system : lando
2019-05-02 18:46:57 +00:00
Geoff Brown a918978a29 Bug 1548597 - Relax requirements for fennec in android xpcshell harness; r=jmaher
The android harness had accumulated some unnecessary and contradictory option handling.
Today, libraries must be extracted from an apk: options.localAPK is required, and
options.localLibs is unused. Cleaning up this code also removes some fennec-isms.
Additionally, this patch relaxes the requirement to find package-name.txt in the apk,
clearing the way for running against a geckoview apk (I may generalize that further
in a follow-up, but not sure what is needed yet).

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

--HG--
extra : moz-landing-system : lando
2019-05-02 17:38:07 +00:00
Bogdan Tara 86cbef62d0 Backed out 2 changesets (bug 1510569) for crashtests/1419902.html failures CLOSED TREE
Backed out changeset 13c5249d66a7 (bug 1510569)
Backed out changeset a6ad4039d785 (bug 1510569)
2019-05-02 21:30:20 +03:00
Lina Cambridge ea48c5e7eb Bug 1546035 - Remove local and remote livemarks when syncing. r=mak,tcsc
This commit exports livemarks before syncing for the first time, to
avoid losing livemarks that Sync may have resurrected. As of v0.2.4,
Dogear treats livemarks as non-syncable, and deletes them on both
sides.

This also bumps the mirror schema version, to trigger a first sync.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 08:03:36 +00:00
Nazım Can Altınova 003577d631 Bug 1542918 - Disable the assertion in profiler page registration until we fix it r=jesup
Differential Revision: https://phabricator.services.mozilla.com/D29637

--HG--
extra : moz-landing-system : lando
2019-05-02 17:02:01 +00:00
Alastor Wu b0343f16e5 Bug 1546655 - Skip 'flac-s24.flac' and 'opus-mapping2.webm' in test_streams_element_capture.html r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D29594

--HG--
extra : moz-landing-system : lando
2019-05-02 17:48:33 +00:00
Markus Stange 69c87a12c5 Bug 1548371 - Fix --enable-task-tracer build. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D29559

--HG--
extra : moz-landing-system : lando
2019-05-02 11:09:11 +00:00
Edouard Oger ac739078cc Bug 1547398 - Allow fxa_status when isPairing is sent. r=vladikoff
Differential Revision: https://phabricator.services.mozilla.com/D29082

--HG--
extra : moz-landing-system : lando
2019-05-02 17:33:50 +00:00
Nika Layzell 7798ff2db3 Bug 1540733 - Create a new IPCBlobInputStreamChild actor when migrating, r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27970

--HG--
extra : moz-landing-system : lando
2019-05-02 16:18:51 +00:00
Barret Rennie 6994c63945 Bug 1547369 - Support composition recording on CompositorD3D11 r=mstange
CompositorD3D11's implementation of `GetWindowRenderTarget` would return a
`nullptr` if we were not presently recording a profile with screenshots. Now,
CompositorD3D11 correctly will return a window render target when it has been
asked to by the `LayerManagerComposite` via `Compositor::RequestRecordFrames`.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 17:33:38 +00:00
Barret Rennie 4dfb93e03a Bug 1547369 - Rename Compositor::RequestRecordFrames to Compositor::RequestAllowFrameRecording r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D29708

--HG--
extra : moz-landing-system : lando
2019-05-02 17:33:38 +00:00
Josh Matthews c2627621c9 Bug 1457669 - Support Android system headers for standalone SpiderMonkey builds. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D29698

--HG--
extra : moz-landing-system : lando
2019-05-02 17:07:52 +00:00
Barret Rennie b32c02517c Bug 1510569 - Port onStateChange notifications inside WebProgressChild.jsm to C++ r=baku,kmag
We now also only access the document when the state is
nsIWebProgress::STATE_STOP. The comments in the previous code indicated that
touching the document inside the event handler when the state is not STATE_STOP
would result in the content creating a new about:blank document to retrieve the
values from. However, it then went on to do this in another location, causing a
document to be created whenever we received an onStateChange event. This should
no longer occur.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 16:20:34 +00:00
Barret Rennie 5474c1f3df Bug 1510569 - Keep track of whether we are navigating to a new URI in nsDocShell r=mconley,kmag,qdot
Previously the `WebNavigationChild` would keep track of when triggering its
`nsIWebNavigation`, `goForward`, `goBack`, `gotoIndex`, and `loadURI` methods.
It's `nsIWebNavigation` instance is always an `nsIDocShell` and as part of
porting `OnStateChange` and `OnLocationChange` events from
`WebProgressChild`/`RemoteWebProgress` to `BrowserChild`/`BrowserParent`, this
informations needs to be available from the `BrowserChild`. As it stands, it is
currently an expando property on the `WebProgressChild`.

Instead of introducing yet another XPCOM interface for the WebProgressChild, we
now store this information directly on the `nsDocShell`. Furthermore, instead
of having the `WebNavigationChild` manage this part of the `nsDocShell`'s
state, we can have the `nsDocShell` manage this state itself so it is always
consistent.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 17:00:51 +00:00
Botond Ballo adcf0c5f2d Bug 1547435 - Ensure NotifyApzTransaction is only called once a transaction is actually sent. r=kats,rhunt
Differential Revision: https://phabricator.services.mozilla.com/D29283

--HG--
extra : moz-landing-system : lando
2019-05-02 16:42:09 +00:00
Harald Kirschner ef4cfc237c Bug 1538404 - Adding button hover to jump-to-definition on event handlers r=nchevobbe
The button (using a div) did not have any hover state before this patch.
While the CSS tried to control the stroke color, the SVG was not set up
for this – also fixed in this bug to correctly use the theme colors.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 16:35:15 +00:00
Andrea Marchesini 4d844a27d0 Bug 1548580 - Remove a startup warning in PermissionManager, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29682

--HG--
extra : moz-landing-system : lando
2019-05-02 16:28:14 +00:00
Mathieu Leplatre 358c626f9f Bug 1513854 - Read Normandy recipes from Remote Settings on Nightly r=mythmon
Read Normandy recipes from Remote Settings on Nightly

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

--HG--
extra : moz-landing-system : lando
2019-05-02 13:19:40 +00:00
Aaron Klotz 0684e256c4 Bug 1548324: Improve implementation of force-launcher in the launcher process; r=mhowell
This patch replaces the quick-n-dirty implementation of -force-launcher with
one that makes LauncherRegistryInfo aware of that state, thus correctly setting
the affected registry values.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 20:56:43 +00:00
Aaron Klotz 338dde4754 Bug 1543807 - Part 2: Update the installer to reflect new launcher process registry settings; r=mhowell
* New installs should always have launcher process telemetry enabled by default
  (since it is opt-out telemetry).
* Upgrades do a reset of the force-disabled launcher state, as that state might
  have been set by SHIELD but is no longer desired in 68.
* We add the `|Telemetry` registry value to the list of values to be removed at
  uninstall.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 21:08:49 +00:00
Aaron Klotz 0e9bf00f2f Bug 1543807 - Part 1: Modify launcher process telemetry to be gated on datareporting.healthreport.uploadEnabled; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D29543

--HG--
extra : moz-landing-system : lando
2019-05-01 20:58:55 +00:00
Nathan Froyd 482490a2df Bug 1548562 - require `nsThread::Init` to take a name; r=baku
There's no good reason why we should let unnamed threads through this interface.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 16:05:50 +00:00
Nika Layzell b5feffc5b9 Bug 1539959 - Ensure origin process is subscribed when attaching remote BC, r=farre
We were incorrectly not performing an EnsureSubscribed for the origin
process which a BrowsingContext came from. Normally this would mean that
the BrowsingContext could die in the parent process before the
WindowGlobalParent listener arrived, but that didn't generally happen
due to the low likelihood of a CC occuring between the two messages.

It's likely that this crash was caused by people on lower-end hardware
triggering a print. This would be a longer-running operation in the
content process between the first and second message than usual. On
systems with memory pressure, there would be a higher chance of a CC
occuring between the messages, which would then cause this crash.

This patch correctly connects the origin ContentParent to the
BrowsingContextGroup, which will prevent the CC from destroying our
objects.

In the future, it may be desirable to ensure that this doesn't happen
more reliably by using a ContentParent-local table for looking up
BrowsingContext IDs sent over IPC. This would prevent our current
dependency on the weak pointer behaviour of the current global ID cache.

Unfortunately, this patch adds no tests, and I'm not aware of a good way
to test this edge case to confirm it has been fixed. I believe that this
patch should fix the issue I mention, however.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 08:50:12 +00:00
Robert Strong c5cbb90922 Bug 1548422 - disable activity stream during the app update tests since it periodically errors in getScreenshot. r=bytesized
The failures when running the app update tests during TV runs print an activity stream error to the console and this will at the least eliminate it as a cause for the failure and possibly will prevent these tests from failing during TV runs.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 15:35:00 +00:00
yulia 77f46589d6 Bug 1494796 - Use promise pattern rather than callback pattern for threadClient methods; r=ochameau
This is preparation for moving the threadClient to a front. Fronts do not support the
callback style that clients have, they only support promises. As such, this patch migrates all
instances of the threadClient using callback style methods to promises. I have cc'd the debugger
team so that they are aware of this change and it doesn't take them by surprise.

try run : https://treeherder.mozilla.org/#/jobs?repo=try&selectedJob=242251058&revision=dbd6cca9619ca0880e920d5b86fc6d6e0c728113

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

--HG--
extra : moz-landing-system : lando
2019-05-02 15:39:20 +00:00
Michael Kaply 4b61694b5e Bug 1548080 - Add a policy to control Firefox Home r=Mardak,flod
Differential Revision: https://phabricator.services.mozilla.com/D29396

--HG--
extra : moz-landing-system : lando
2019-05-02 15:40:41 +00:00
Bastien Abadie fd94f413de Bug 1548502 - Export clang-format diff in source-test-clang-format, r=marco
Differential Revision: https://phabricator.services.mozilla.com/D29662

--HG--
extra : moz-landing-system : lando
2019-05-02 15:19:13 +00:00
Emily Toop 3fd2272331 Bug 1546851 - Ensure that the context menu is closed when performing a paste. r=geckoview-reviewers,droeh
This issue was caused by the updating of the caret position after the paste occurs firing an `updateposition` event resulting in an `GeckoView:ShowSelectionAction` message to reposition context menu without any attempt to close the context menu. The solution is to hide the context menu before the repositioning of the caret occurs such that the `updateposition` event doesn't trigger a redisplay.

I tried several versions of this trying to trigger the menu close from inside `GeckoViewSelectionActionDelegate`, including making the call to `docShell.doCommand("cmd_paste");` asynchronous and firing `ACTION_HIDE` before firing `ACTION_PASTE`, but the result is always the same - one of the events is processed before the other and so the second event is rejected as a stale response.

Therefore we are firing the `pagehide` from inside the code that performs the paste. This has to be done before the paste occurs otherwise the `updateposition` event is fired before the page hide event and the context menu redisplays before being hidden.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 15:06:58 +00:00
Gian-Carlo Pascutto 3c771d5a8b Bug 1537781 - Test for trailing guard pages for normal allocations. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D27913

--HG--
extra : moz-landing-system : lando
2019-05-02 14:19:19 +00:00
Gian-Carlo Pascutto 3b43637e56 Bug 1537781 - Trailing guard pages for normal allocations. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D27912

--HG--
extra : moz-landing-system : lando
2019-05-02 14:19:17 +00:00
Ehsan Akhgari 27938631aa Bug 1548349 - Make sure the image cache for third-party tracking subresources is keyed to the top-level document's eTLD+1; r=baku,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D29546

--HG--
extra : moz-landing-system : lando
2019-05-02 12:27:07 +00:00
Valentin Gosu 50b2b648b6 Bug 1525640 - Add nsIHttpChannelInternal.isResolvedByTRR r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26884

--HG--
extra : moz-landing-system : lando
2019-05-02 12:53:45 +00:00
Valentin Gosu f96dbbf019 Bug 1525640 - Rename nsIHttpChannelInternal.trr to .isHttpServiceChannel to avoid confusion r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26883

--HG--
extra : moz-landing-system : lando
2019-05-02 12:53:38 +00:00
Valentin Gosu e649e93aa1 Bug 1525640 - Pass TRR status from sockettransport to channel r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26882

--HG--
extra : moz-landing-system : lando
2019-05-02 12:53:36 +00:00
Emilio Cobos Álvarez b3d6b2d368 Bug 1547851 - Ensure we have a pres shell to send events to by the time load ends. r=mconley
See the regressing bug for similar fixes that were needed in other tests.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 13:54:03 +00:00