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

86519 Коммитов

Автор SHA1 Сообщение Дата
Mirko Brodesser 3cae23189b Bug 1578149: part 5) Bundle resetting `mIndentation.mHeader` and `mCurrentLineContent`. r=hsivonen
Depends on D44349

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

--HG--
extra : moz-landing-system : lando
2019-09-02 15:25:15 +00:00
Mirko Brodesser 00a969bc92 Bug 1578149: part 4) Move truncating `mIndentation.mHeader` out of `CreateQuotesAndIndent`. r=hsivonen
Makes the method name more accurate.

Depends on D44348

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

--HG--
extra : moz-landing-system : lando
2019-09-02 15:24:37 +00:00
Mirko Brodesser a6377b2ed5 Bug 1578149: part 3) Move whitespace triming out of `OutputQuotesAndIndent`. r=hsivonen
Whitespace triming was used by only one caller, so it deserves to live
outside. Additionally, this defines the method name more precisely.

Depends on D44347

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

--HG--
extra : moz-landing-system : lando
2019-09-02 15:23:18 +00:00
Mirko Brodesser 8287d02b7c Bug 1578149: part 2) Simplify code in `nsPlainTextSerializer::Write`. r=hsivonen
Depends on D44346

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

--HG--
extra : moz-landing-system : lando
2019-09-02 15:15:24 +00:00
Mirko Brodesser 17ad1235da Bug 1578149: part 1) Add `nsPlainTextSerializer::Indentation`. r=hsivonen
In order to encapsulate the indentation related members.

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

--HG--
extra : moz-landing-system : lando
2019-09-02 15:13:20 +00:00
Gerald Squelart 95f77c2409 Bug 1576819 - Use PROFILER_ADD_MARKER{,_WITH_PAYLOAD} everywhere - r=gregtatum
All calls to `profiler_add_marker()` (outside of the profilers code) are
now replaced by either:
- `PROFILER_ADD_MARKER(name, categoryPair)`
- `PROFILER_ADD_MARKER_WITH_PAYLOAD(name, categoryPair, TypeOfMarkerPayload,
                                    (payload, ..., arguments))`

This makes all calls consistent, and they won't need to prefix the category pair
with `JS::ProfilingCategoryPair::`.

Also it will make it easier to add (and later remove) internal-profiling
instrumentation (bug 1576550), and to replace heap-allocated payloads with
stack-allocated ones (bug 1576555).

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

--HG--
extra : moz-landing-system : lando
2019-09-04 07:56:51 +00:00
Emilio Cobos Álvarez 6d31222f7c Bug 1577743 - Remove dead argument from nsStyledElement::ReparseStyleAttribute. r=heycam
And remove the NodeInfoChanged override that used to call it.

This is dead since we removed the old style system. Was used to force a reparse
on cross-style-back-end adoption.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 00:16:28 +00:00
Cosmin Sabou e5327b05c8 Bug 1578333 - Disable test because of frequent failures. r=egao
Differential Revision: https://phabricator.services.mozilla.com/D44593

--HG--
extra : moz-landing-system : lando
2019-09-04 04:23:42 +00:00
Tom Ritter d922064696 Bug 1547519 - Rename NS_STRINGIFY to MOZ_STRINGIFY, move to mfbt, and unify stragglers r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D39961

--HG--
extra : moz-landing-system : lando
2019-09-04 02:40:32 +00:00
Andrew McCreight 137785f6b7 Bug 1578039 - Re-disable test_postMessage_onOther.html with Fission. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D44490

--HG--
extra : moz-landing-system : lando
2019-09-03 22:53:34 +00:00
Noemi Erli d738ac5bf2 Backed out 5 changesets (bug 1570337) for breaking Android builds in AndroidEncoderModule.cpp CLOSED TREE
Backed out changeset 36f045ffd19f (bug 1570337)
Backed out changeset 1c7be21d77b9 (bug 1570337)
Backed out changeset ca5a747f59d9 (bug 1570337)
Backed out changeset 1d0871b5c1d6 (bug 1570337)
Backed out changeset 9ee134756e92 (bug 1570337)
2019-09-04 00:48:54 +03:00
John Lin 28b4c73d92 Bug 1570337 - p5: repeat calling Drain() until no more output. r=jya
Existing tests will fail when there are more than 1 pending frames when Drain()
is called. Repeatly calling it to ensure all frames will be collected.

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

--HG--
extra : moz-landing-system : lando
2019-08-31 00:20:47 +00:00
John Lin 6550375203 Bug 1570337 - p4: test initializing encoder both w/ and w/o specific parameters. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D43688

--HG--
extra : moz-landing-system : lando
2019-08-31 00:20:33 +00:00
John Lin 2a315b6575 Bug 1570337 - p3: implement Android encoder. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D43687

--HG--
extra : moz-landing-system : lando
2019-08-31 00:24:47 +00:00
John Lin c0c0d0e714 Bug 1570337 - p2: extend and expose H.264 utility functions. r=jya
Some existing functions that manipulates H.264 bitstream already cover
most of the efforts for converting Android encoder output. With some minor
changes, they can be called by the encoder to avoid code duplications.

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

--HG--
extra : moz-landing-system : lando
2019-08-31 00:21:07 +00:00
John Lin 04a8aad2d9 Bug 1570337 - p1: singletonize sPEMLog. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D43685

--HG--
extra : moz-landing-system : lando
2019-08-31 00:20:04 +00:00
Cosmin Sabou d6435fae32 Backed out 4 changesets (bug 1456995) for OSX mochitest failures on test_serviceworkerinfo.xul. CLOSED TREE
Backed out changeset e4deba1aa285 (bug 1456995)
Backed out changeset 03db4932e3ca (bug 1456995)
Backed out changeset 962b6affd688 (bug 1456995)
Backed out changeset 5fbed7d37ac0 (bug 1456995)
2019-09-03 22:27:03 +03:00
Bryce Seager van Dyk 2428076a35 Bug 1577021: Add test coverage for non-ascii characters in MimeType codecs. r=dminor
Provides coverage for an issue fixed in 1573381. Note that while that bug
discusses big endian machines, the tests added will cover both the big and
little endian case of the bug. This is because we have test cases that make sure
both octets of 16 wide char are being correctly compared.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 19:02:14 +00:00
Noemi Erli 598b5fe3ec Backed out changeset 81bb1eaa1c0b (bug 1577021) for causing build bustages in TestMediaMIMETypes.cpp CLOSED TREE 2019-09-03 21:53:14 +03:00
Eric Rahm 1fc1deae7d Bug 1577936 - Remove using namespace std from dom/plugins r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D44292

--HG--
extra : moz-landing-system : lando
2019-09-03 16:31:23 +00:00
Bryce Seager van Dyk 068643968c Bug 1577021: Add test coverage for non-ascii characters in MimeType codecs. r=dminor
Provides coverage for an issue fixed in 1573381. Note that while that bug
discusses big endian machines, the tests added will cover both the big and
little endian case of the bug. This is because we have test cases that make sure
both octets of 16 wide char are being correctly compared.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 17:41:48 +00:00
Alastor Wu 4ec8d0a594 Bug 1539182 - check slice type to decide frame type. r=jya
Sometime we would encouter a file putting all its samples on the type1 NAL, so we have to check its slice type in order to know if it's a keyframe or not.

The slice type is defined in the ITU-T Rec H.264 table 7.3, and it could be found in the slice_header in table 7.3.3.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 01:08:09 +00:00
Perry Jiang b3c3679dc5 Bug 1456995 - check parent-intercept pref within test_observer_remoting.js to conditionally run r=asuth
Depends on D44514

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

--HG--
extra : moz-landing-system : lando
2019-09-03 18:08:47 +00:00
Perry Jiang 1c638a076c Bug 1456995 - give InternalRequest::mMozErrors a default initializer r=asuth
Depends on D44513

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

--HG--
extra : moz-landing-system : lando
2019-09-03 17:45:20 +00:00
Perry Jiang a1ec5b43d3 Bug 1456995 - make browser_devtools_serviceworker_interception.js compatible with parent-intercept r=asuth
- Listen for observer topics in the parent-process when in parent intercept mode
- Remove an extra postMessage call (and the corresponding message handler)

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

--HG--
extra : moz-landing-system : lando
2019-09-03 17:44:22 +00:00
arthur.iakab 4ea120b5cb Backed out changeset e3f06f11de62 (bug 1237782) for causing browser-chrome failure on automation.py CLOSED TREE 2019-09-03 21:04:49 +03:00
Ehsan Akhgari 86c74f0485 Bug 1576641 - Add two new content blocking event flags to indicate a tracking/social-tracking cookie has been loaded in a tab; r=baku,droeh
Differential Revision: https://phabricator.services.mozilla.com/D44216

--HG--
extra : moz-landing-system : lando
2019-09-03 17:37:43 +00:00
Jonathan Kingston dbfd29b586 Bug 1237782 - Remove http override and add appcache pref r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44472

--HG--
extra : moz-landing-system : lando
2019-09-03 16:44:13 +00:00
Andreea Pavel 340bdf15cf Bug 1533759 - disabled test_window_open_close.html on linux64 qr r=intermittent-reviewers,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D44305

--HG--
extra : moz-landing-system : lando
2019-09-03 15:34:45 +00:00
Andrew McCreight ecc32fc896 Bug 1576288 - Fix dom/tests/mochitest/storageevent/ tests to work with Fission. r=asuth
These tests compute the origin of their parent, in order to pass in as
the target origin argument to postMessage. They do this with
SpecialPowers.wrap(parent.window.location); which does not work with
Fission enabled, because the parent is often in another process. Every
web page in this directory is only ever has a single origin as a
parent, so we can hard code it as an argument to the first call to the
postMsg() helper method.

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

--HG--
extra : moz-landing-system : lando
2019-08-31 01:52:35 +00:00
Tom Tung 2ac78b7c79 Bug 1348682 - Check if it's shutting down at the beginning of the State::FinishOpen; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D44314

--HG--
extra : moz-landing-system : lando
2019-09-02 21:17:14 +00:00
Jon Coppeard 335ff4bf5d Bug 1518138 - Make RunNextCollectorTimer trigger full GCs to address out of memory errors running JS reftests r=smaug
This doesn't fix the underlying problem but makes RunNextCollectorTimer more aggressive in what it does. Testing shows this substantially reduces the max GC heap size while running these tests as well as vsize and RSS. Hopefully this will fix the problem with the tests failing while we work out a good solution for the underlying issue.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 12:21:45 +00:00
Gijs Kruitbosch 2ccd76354d Bug 1576343 - fix l10n.setAttributes use from inside DOMContentLoaded listeners when the proto is cached, r=smaug,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D43818

--HG--
extra : moz-landing-system : lando
2019-09-03 05:40:02 +00:00
Mirko Brodesser 92df4c2ad8 Bug 1577425: add `nsPlainTextSerializer::OutputManager`. r=hsivonen
In order to encapsulate the output together with `mAtFirstColumn`.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 09:03:17 +00:00
Simon Giesecke eea9483c1b Bug 1578146 - Moved test case to test_validOrigins.js after fixes to rust-url. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D44354

--HG--
extra : moz-landing-system : lando
2019-09-02 21:18:02 +00:00
Dorel Luca f8f63b82ff Merge mozilla-central to autoland 2019-09-03 07:07:09 +03:00
Dorel Luca 15fefbe415 Merge mozilla-inbound to mozilla-central. a=merge 2019-09-03 07:03:04 +03:00
Jean-Yves Avenard 5749840f21 Bug 1556489 - P23 - Only create new ClientSource objects in the content, but use the recreated info from redirects in the parent. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D42260
2019-09-03 10:19:53 +10:00
Matt Woodrow 20e71d4c8a Bug 1556489 - P16. Add AddClientChannelHelperInParent helper method. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D40973
2019-09-03 10:19:37 +10:00
Matt Woodrow b1aa62197e Bug 1556489 - P10. Pass PostData and Headers at DocShell creation time. r=nika,farre
Differential Revision: https://phabricator.services.mozilla.com/D40967
2019-09-03 10:19:27 +10:00
Matt Woodrow e579f452c1 Bug 1556489 - P8. Add CSPService::ConsultCSPForRedirect. r=mayhemer,ckerschb
We extract the code from CSPService::AsyncOnChannelRedirect so that we can use it in a follow-up change.

Differential Revision: https://phabricator.services.mozilla.com/D40965
2019-09-03 10:19:12 +10:00
Jean-Yves Avenard de650bb217 Bug 1556489 - P2. Use ReplacementChannelConfig across HttpChannelParent and ContentChild. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D40960
2019-09-03 09:49:46 +10:00
Jean-Yves Avenard cc07990908 Bug 1556489 - P1. Introduce ReplacementChannelConfig. r=mayhemer
This class allows to encapsulate all the information required in order to create a new HttpChannel object following a redirect.

Differential Revision: https://phabricator.services.mozilla.com/D40959
2019-09-03 09:47:17 +10:00
Dorel Luca 0350d05627 Merge mozilla-inbound to mozilla-central. a=merge 2019-09-03 00:38:02 +03:00
Martin Stransky 85351067cf Bug 1548475 - [Wayland] Disable Flash on Wayland backend, r=glandium
Reviewers: jmathies

Reviewed By: jmathies

Bug #: 1548475

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

--HG--
extra : rebase_source : 8ad63589add41a921bec2834aa82bdabb039fcda
2019-09-02 19:05:45 +03:00
Edgar Chen d9f0623861 Bug 1577175 - Part 2: Add tests; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D44360

--HG--
extra : moz-landing-system : lando
2019-09-02 22:45:11 +00:00
Edgar Chen 463e0e6d20 Bug 1577175 - Part 1: Set UserGestureActivation in all ancestor of the BrowsingContext that user has interacted with; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D44358

--HG--
extra : moz-landing-system : lando
2019-09-02 22:25:57 +00:00
Eric Rahm b42b1702fc Bug 1577934 - Remove using namespace std from dom/media audio tests r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D44290

--HG--
extra : moz-landing-system : lando
2019-09-01 06:47:26 +00:00
Eric Rahm 74b57d4f28 Bug 1577932 - Remove using namespace std from dom/media r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D44289

--HG--
extra : moz-landing-system : lando
2019-09-02 12:40:00 +00:00
Sebastian Streich 6a4c76882f Bug 1505412 - Skip CSP-Nonce check for CSP-Ro+Redirected Channels r=ckerschb
***
- Another test setup

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

--HG--
extra : moz-landing-system : lando
2019-09-02 14:49:27 +00:00