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

609164 Коммитов

Автор SHA1 Сообщение Дата
Brian Hackett ed1cb3c6c3 Bug 1481009 Part 6 - Cleanly shutdown middleman processes after a recording/replaying child crashes, r=froydnj.
--HG--
extra : rebase_source : bbdd58e8db173030c25fd2905be3b24d8d71f599
2018-08-13 20:47:49 +00:00
Brian Hackett 71986ca9f7 Bug 1481009 Part 5 - Generate a minidump when reporting a fatal record/replay error, r=froydnj.
--HG--
extra : rebase_source : e9f64d2fe625dbb6eb01c9868e8aab6ebc11b8f4
2018-08-13 20:47:35 +00:00
Brian Hackett a4c6ff4a58 Bug 1481009 Part 4 - Add redirection for crash reporter code, r=froydnj.
--HG--
extra : rebase_source : 1797bf07028601f9a0521a28d24d0bd89eb07012
2018-08-13 20:47:05 +00:00
Brian Hackett 9e357f95bd Bug 1481009 Part 3 - Report recording/replaying processes crashes as if they happened in the middleman, r=gsvelto.
--HG--
extra : rebase_source : 9abe5c418d156d2e0d88d4a398d02dbd67cb1074
2018-08-13 20:46:42 +00:00
Brian Hackett 00693255ec Bug 1481009 Part 2 - Avoid changing exception ports when installing the exception handler in replaying processes, r=gsvelto.
--HG--
extra : rebase_source : dafa94bd88c41729b3ff06db40ecf653112afa33
2018-08-13 20:46:18 +00:00
Brian Hackett ecd9c2fa25 Bug 1481009 Part 1 - Enable the crash reporter exception handler in recording, replaying, and middleman processes, r=gsvelto.
--HG--
extra : rebase_source : bf51ed95a0e06b6e5710700785e2c37c0636bc03
2018-08-13 20:45:59 +00:00
Mike Hommey 288e82c02c Bug 1480006 - Enable LTO on Android CI builds. r=froydnj 2018-08-14 08:26:47 +09:00
Nicholas Nethercote ce73ba39cf Bug 1482011 - Make Bench_Cpp_MozHashSet more idiomatic. r=froydnj
I discovered there are some shortcut methods for some common operations.

--HG--
extra : rebase_source : b22ca592af24857e093308d4b6351621062b8cea
2018-08-14 08:52:38 +10:00
Ehsan Akhgari 6f0db984fe Bug 1478539 - Part 4: Update the test to use the new pref after the landing of bug 1480780 2018-08-13 18:25:58 -04:00
Mike Hommey f6560362a9 Bug 1480004 - Normalize optimization level passed to the linker when doing LTO with clang. r=froydnj 2018-08-14 07:25:09 +09:00
Mike Hommey 370eb66bdb Bug 1479055 - Upgrade valgrind to current git trunk. r=froydnj 2018-08-14 07:25:08 +09:00
Mike Hommey 6e62bce406 Bug 1481861 - Move the eh_frame sections when they are before the first executable section. r=froydnj
In some rare cases, it is possible for one of the eh_frame sections'
original address to be larger than the address of the injected code
section, which is added before the first executable section. Namely,
this happens in the rare case where that eh_frame section is smaller
than the injected code section, and is adjacent to the first executable
section. We obviously want to move the eh_frame sections in that case,
since one of them is in the way.
2018-08-14 07:25:07 +09:00
Ehsan Akhgari c64a283779 Bug 1482999 - Use the final channel URI for top-level document loads when determining the unique cache storage space identifier; r=valentin
In some cases, such as for channels which have been opened from the parent
process, the top window URI isn't available.  For such channels, the code
before this change would fail to compute the top window origin.
2018-08-13 18:22:13 -04:00
Daniel Varga 9355025fd5 Merge mozilla-central to mozilla-inbound 2018-08-14 01:09:48 +03:00
Brendan Dahl 143db4e31d Bug 1482256 - Support switching to browser.xul to browser.xhtml. r=mossop
Adds a new environment variable MOZ_BROWSER_XHTML to change Firefox to load
a modified version of browser.xul as browser.xhtml. Adds the xhtml
namespace to the script tags to make them work.

MozReview-Commit-ID: 2adtOVzXHKd
2018-08-13 14:39:47 -07:00
Ehsan Akhgari 87edbe15d3 Bug 1480899 follow-up - address the review comments properly, DONTBUILD 2018-08-13 17:34:58 -04:00
Ting-Yu Lin a1ed764131 Bug 1482665 Part 5 - Remove nsDeviceContext::AppUnitsPerCSSInch() and replace it with mozilla::AppUnitsPerCSSInch(). r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D3158
2018-08-13 14:29:30 -07:00
Ting-Yu Lin 316a8e0c1d Bug 1482665 Part 4 - Remove nsDeviceContext::AppUnitsPerCSSPixel() and replace it with mozilla::AppUnitsPerCSSPixel(). r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D3157
2018-08-13 14:29:30 -07:00
Ting-Yu Lin 74992134e1 Bug 1482665 Part 3 - Remove nsPresContext::AppUnitsPerCSSInch() and replace it with mozilla::AppUnitsPerCSSInch(). r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D3156
2018-08-13 14:29:29 -07:00
Ting-Yu Lin 48d02834a5 Bug 1482665 Part 2 - Remove nsPresContext::AppUnitsPerCSSPixel() and replace it with mozilla::AppUnitsPerCSSPixel(). r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D3155
2018-08-13 14:29:28 -07:00
Ting-Yu Lin 16aeb5581f Bug 1482665 Part 1 - Add constexpr to mozilla::AppUnitsPerCSSPixel() and mozilla::AppUnitsPerCSSInch(). r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D3154
2018-08-13 14:29:28 -07:00
Ehsan Akhgari 4f8fa911eb Bug 1480899 - Do not activate the window.open() heuristic for allowing storage access if opener access hasn't been granted; r=englehardt 2018-08-13 17:14:54 -04:00
Jeff Walden 65fc1cbcdc Make DecodeOneUtf8CodePoint* take |const EndIter& aEnd| to enforce immutability of the end iterator. No bug, r=me as trivial
--HG--
extra : rebase_source : 203441e69e49bcedcf9810a1e9504f72de1f3820
2018-08-09 21:04:23 -07:00
Jeff Walden 0885260ab1 Bug 1478892 - Instantiate Parser for UTF-8 source text. r=arai
--HG--
extra : rebase_source : a9d318c40f9524583406d21b8b75c19f7848220f
2018-08-09 21:04:22 -07:00
Jeff Walden 74305f6c2c Bug 1478892 - Instantiate GeneralParser for UTF-8 source text. r=arai
--HG--
extra : rebase_source : 467d3e2bf6835586c6eb8a2c6ce8f69bd23827b9
2018-07-30 15:35:35 -07:00
Ehsan Akhgari 9ab3b9fea9 Bug 1478539 - Part 3: Remove some dead code; r=nwgh 2018-08-13 17:05:31 -04:00
Ehsan Akhgari 5d2113d30d Bug 1478539 - Part 2: Add a test case to ensure that we don't send existing cookies in restricted third-party storage contexts; r=baku 2018-08-13 17:05:23 -04:00
Ehsan Akhgari 8f79c3cc07 Bug 1478539 - Part 1: Add the Cookie header to HTTP requests only after a potential classification has been completed on the channel to ensure the tracking state is up to date; r=nwgh
Besides this, we also need to do two extra things here:

  * Call the http-on-modify-request observers after the Cookie header is set,
    to ensure the Cookie header will be visible to them.
  * Move the call to SetLoadGroupUserAgentOverride() to happen after that, in
    order to preserve the existing respective ordering of that with regards to
    when the http-on-modify-request observers run.

Please note that as things are right now, the http-on-modify-request observers
are unable to see the User-Agent header overrides through the loadgroup, which
seems suboptimal, but this patch aims to preserve the existing behavior of
these observers.
2018-08-13 17:04:44 -04:00
Ehsan Akhgari 33b6600023 Bug 1480780 follow-up: Fix the build bustage on a CLOSED TREE 2018-08-13 16:54:30 -04:00
Ehsan Akhgari e01dca1048 Bug 1482988 - Handle null arguments in nsContentUtils::StorageDisabledByAntiTracking correctly; r=smaug 2018-08-13 16:27:44 -04:00
Andrea Marchesini d1e5833a37 Bug 1480780 - Merge the privacy.3rdpartystorage.enabled pref with the network.cookie.cookieBehavior pref; r=ehsan
This patch introduces a new cookie behavior policy called
BEHAVIOR_REJECT_TRACKER.  It also makes it possible to override that
behavior with cookie permissions similar to other cookie behaviors.
2018-08-13 16:01:16 -04:00
Oriol Brufau dea5810226 Bug 1474440 - Implement support for the 'onHighlighted' API for multiselect tabs r=mixedpuppy
MozReview-Commit-ID: 8aOmdj0AB3e

--HG--
extra : rebase_source : 5eec0163341b6621103ac4a5e43f8439a19a9c5a
2018-07-28 13:15:55 +02:00
Oriol Brufau f76978b8ec Bug 1474440 - Rename browser_ext_tabs_onHighlighted.js to browser_ext_tabs_events_order.js r=mixedpuppy
Basically it tests in which order various tab events are dispatched, so the old name
didn't make sense, and it will be more suited for a new test specific to onHighlighted.

MozReview-Commit-ID: Kj8GZfHA0Ap

--HG--
rename : browser/components/extensions/test/browser/browser_ext_tabs_onHighlighted.js => browser/components/extensions/test/browser/browser_ext_tabs_events_order.js
extra : rebase_source : 243155e897d08bd70091c6a7ee11b4671a098ef2
2018-08-05 22:08:34 +02:00
Emilio Cobos Álvarez 818db7603f Bug 1478813 - Add cbindgen toolchain job and install via bootstrap. r=ted
And require it for taskcluster build already, because it doesn't harm and lets
me put all the yml changes in the same commit.

I gave up cross-compiling for OSX after a few tries and after realizing it
wasn't enough with cctools and such, but that I also needed the Mac SDK, for
which I don't have permission...

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

--HG--
extra : moz-landing-system : lando
2018-08-13 10:58:22 +00:00
Alex Gaynor 95e22ca165 Bug 1481304 - shutdown connections to the windowserver in content processes; r=haik
They'll be reopened, so there's no security benefit, but this causes Activity
Monitor to not report the processes as 'not responding'.

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

--HG--
extra : moz-landing-system : lando
2018-08-13 14:43:45 +00:00
Paul Bone bb08d12025 Bug 1473213 (Part 5) - Only record allocation counts on Nightly builds r=jonco
--HG--
extra : rebase_source : 72a87eec0d4006aa8d6e37a43c0d27d50c7c41b1
extra : source : 29f9f3ab9b416448db79f5ec5beb0c092ba8f6be
2018-07-26 00:35:25 +10:00
Paul Bone 9a888e6cc5 Bug 1473213 (Part 4) - Add cells allocated statistics r=sfink
--HG--
extra : rebase_source : 4a74f930e66b65a3302f15ec28f79179bdabc2e1
extra : source : 129c9ab66f595bf72afebfdeba87a587578173a2
2018-08-08 12:54:50 +10:00
Paul Bone ce08d1bebc Bug 1473213 (Part 3) - Refactor JSContext code for changing zones r=sfink
* Introduce a setZone method that changes the zone and the freelist.
 * leaveAtomsZone() private

--HG--
extra : rebase_source : 7bb624c9091aaa585211577c486288a548926a71
extra : source : 96e57dd562b890bac534d88ff265653d5a00f61c
2018-08-08 12:05:59 +10:00
Paul Bone 271f7a7664 Bug 1473213 (Part 2) - add a comment about an invariant required by the JIT r=sfink
--HG--
extra : rebase_source : b5fc8c7e4099fe57f4d5ed5d21af9d88b8a35316
extra : intermediate-source : e40d822d886b47350c28c1c4cb6c45d335fc5b1b
extra : source : 4e59349dd9776f329c9545aa994c6f490f11d105
2018-07-16 11:36:49 +10:00
Paul Bone 6e12af80d7 Bug 1473213 (Part 1) - Track the number of tenured cells r=jonco
--HG--
extra : rebase_source : 96739a13fe0d44bcb00819cf7422ef97bc97f812
extra : intermediate-source : 8a10fc261acb99c7e8bb4fcb4ee0975c5166990d
extra : source : 445b672aa024fdfca38a2e819f54bcbf28e922dd
2018-07-20 15:09:01 +10:00
Sahil Bhosale d0196f98ff Bug 1479605 - Remove ENSURE_TRUE in nsFrame.h, and replace it with NS_ENSURE_TRUE_VOID. r=TYLin 2018-08-13 12:42:00 +03:00
Eden Chuang d532620f01 Bug 1408234 - mochitest for PaymentRequest cleanup after document closed. r=baku
1. add a set new mochitests to test cleanup function.
       By redirecting to another page.
       By redirecting to another page, when PaymentRequest.show() is called.
       By reloading
       By removing/closing the page.
    2. remove unnecessary PaymentRequestService.cleanup() call in the test suite.
2018-08-13 11:25:13 +02:00
Eden Chuang b4cd2e70aa Bug 1408234 - Cleanup the PaymentRequests when document close. r=baku
Let PaymentRequest inherit from nsIDocumentActivity interface.
    Calling RegisterActivityObserver() and UnregisterActivityObserver() in
    constructor and destructor to get activity notifications from document.
    When receiving the notification, NotifyOwnerDocumentActivityChanged() will
    check the owner document's activity status. If the status is disabled, calling
    PaymentRequestManager::CleanupPayment() to cleanup the PaymentRequest in
    content process and aslo sending the cleanup information to chrome process.
2018-08-13 11:24:54 +02:00
André Bargull 4b9f21c0dd Bug 1482846 - Part 4: Remove unused code from BytecodeUtil. r=tcampbell
--HG--
extra : histedit_source : 1b0d6e60f3151801b23cc6f007bd31c554c3bab7
2018-08-13 04:37:21 -07:00
André Bargull 6a9925782f Bug 1482846 - Part 3: Avoid allocating empty arrays and parsing byte code when result is not used. r=tcampbell
--HG--
extra : histedit_source : a81e48ffeeb0aecaa949208d398ceead2c670bfb
2018-08-13 04:38:47 -07:00
André Bargull bad79778b3 Bug 1482846 - Part 2: Parse byte code only once when decompiling an expression. r=tcampbell
--HG--
extra : histedit_source : 3074d73faaa91961fc87d237241e366379fbc005
2018-08-13 04:40:24 -07:00
André Bargull fba1c5de25 Bug 1482846 - Part 1: Mark BytecodeParser methods as const. r=tcampbell
--HG--
extra : histedit_source : 9d1f905b655c02839a29b902f2f500f64c5e3c7a
2018-08-13 04:41:01 -07:00
André Bargull 0250ea3e9f Bug 1482359: Use more JSOP_STRICTEQ optimizations for Object.is(). r=jandem 2018-08-13 08:21:03 -07:00
Suriyaa Sundararuban 7f994bbad2 Bug 1481532 - Use HTTPS protocol for Searchfox link in InstallerBuild.rst file r=mossop
Summary: Change protocol of the Searchfox URL in InstallerBuild.rst from HTTP to HTTPS.

Reviewers: mossop

Reviewed By: mossop

Subscribers: suriyaa

Bug #: 1481532

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

--HG--
extra : histedit_source : 08ee2f4eb2aeb48e05e92a4a7c88476eb9e7851b
2018-08-14 08:31:18 +03:00
Suriyaa Sundararuban 4f3d223b18 Bug 1482419 - Update links to mozilla.org in LICENSE file r=mossop
Reviewers: mossop

Reviewed By: mossop

Subscribers: suriyaa

Bug #: 1482419

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

--HG--
extra : histedit_source : 34a454837906d3557b2d7dfb2a607aec99d79abd
2018-08-14 08:27:48 +03:00