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

669411 Коммитов

Автор SHA1 Сообщение Дата
Razvan Maries ca42d69aa9 Backed out changeset 109f0deb14a4 (bug 1545038) for build bustages. CLOSED TREE 2019-09-03 12:40:38 +03:00
Jan de Mooij 53cb098bd7 Bug 1545038 - Add an ignore-flag directive to jsreftest harness to allow running tests that pass without --more-compartments. r=jorendorff
The cross-compartment case is still buggy but this at least ensures we don't
regress the correct same-compartment behavior.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 09:27:47 +00:00
Jan de Mooij a1ab6fde12 Bug 1577224 - Fix assertion in assertNoPoolAndNoNops to account for OOM. r=nbp
Most of the pool-related methods return early on OOM.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 09:25:07 +00:00
Paul Bone b7f3787af1 Bug 1568410 - (part 10) Clarify an edge case in a comment r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D43006

--HG--
extra : moz-landing-system : lando
2019-09-03 06:32:09 +00:00
Paul Bone 17f1493fce Bug 1568410 - (part 9) Verify ownedByCurrentThread() using owningThread_ r=jandem
We can add an extra assertion here.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 06:31:56 +00:00
Paul Bone 8d8305ccf5 Bug 1568410 - (part 8) Add assertions to help catch problems Mutex behaviour r=jandem
While I worked on this patch series these assertions where helpful to detect
problems.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 06:40:30 +00:00
Paul Bone 01bfd1e454 Bug 1568410 - (part 7) Remove references to Thread::Id r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D44432

--HG--
extra : moz-landing-system : lando
2019-09-05 03:35:42 +00:00
Paul Bone 55a6204611 Bug 1568410 - (part 6) Move ThisThread::GetId() to ThreadId::ThisThread() r=jandem
Depends on D44430

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

--HG--
extra : moz-landing-system : lando
2019-09-04 09:26:00 +00:00
Paul Bone 4ecd21c76c Bug 1568410 - (part 5) Move Thread::Id to ThreadId and its own header r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D44430

--HG--
extra : moz-landing-system : lando
2019-09-05 01:48:01 +00:00
Paul Bone 46e226d3b7 Bug 1568410 - (part 4) Remove Mutex::ShutDown() r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D40986

--HG--
extra : moz-landing-system : lando
2019-09-03 06:30:26 +00:00
Paul Bone 6256620c77 Bug 1568410 - (part 3) Implement the mutex stack as a linked list r=jandem
Implement this as a linked list so that it cannot leak memory (unless it
also leaks locks) and the Mutex::ShutDown() function can be removed.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 06:39:08 +00:00
Paul Bone 6845195a95 Bug 1568410 - (part 2) Call the pre/post lock code from ConditionVariable r=jandem
Condition variables lock and unlock mutexes. The code in the next patch
would find assertion failures because this case wasn't handled.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 06:38:40 +00:00
Paul Bone ae588ec74d Bug 1568410 - (part 1) Refactor Mutex.h r=jandem
Factor the common parts of the DEBUG and non-DEBUG Mutex class together to
make it easier to see what the common and different parts of this class are.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 06:50:03 +00:00
Bogdan Tara db8f140884 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-09-05 06:50:11 +03:00
Andrew Halberstadt 7945602d9f Bug 1577826 - [eslint] Ensure setup runs subprocess with byte strings in env r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D44482

--HG--
extra : moz-landing-system : lando
2019-09-04 23:50:26 +00:00
Andrew Halberstadt 07e4b56faa Bug 1577826 - [mozbuild] Create an 'ensure_subprocess_env' utility function, r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D44667

--HG--
extra : moz-landing-system : lando
2019-09-04 23:49:33 +00:00
Itiel 9bb55ae4d8 Bug 1578092 - Fix about:addons "Contribute" button background icon position for RTL r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D44317

--HG--
extra : moz-landing-system : lando
2019-09-03 04:29:13 +00:00
Emilio Cobos Álvarez d5bc03b6f0 Bug 1578295 - Use cbindgen for counters. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D44403

--HG--
extra : moz-landing-system : lando
2019-09-02 23:11:26 +00:00
Andreea Pavel 9f378c9fc1 Backed out changeset fee72f003ea2 (bug 1577767) win build bustages on a CLOSED TREE 2019-09-03 11:47:31 +03:00
Masayuki Nakano 5941cef758 Bug 1574852 - part 48: Move `HTMLEditRules::ReturnInHeader()` to `HTMLEditor` r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D44185

--HG--
extra : moz-landing-system : lando
2019-09-02 09:14:23 +00:00
David Walsh 7f20101b2a Bug 1573859 - Allow users to get to inspector from Dom Mutation Breakpoints panel r=jlast,flod
Differential Revision: https://phabricator.services.mozilla.com/D43682

--HG--
extra : moz-landing-system : lando
2019-09-03 19:08:39 +00:00
sviho 6f5339e7b8 Bug 1562984 - browser_trackingUI_animation_2 now tests privacy.trackingprotection.pbmode.enabled r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D44268

--HG--
extra : moz-landing-system : lando
2019-09-02 09:05:08 +00:00
Julian Descottes 4eb51d8fe8 Bug 1578361 - removed unused localTransport getter on debugger-client r=ladybenko
This was initially added in Bug 907755 for old telemetry probes.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 11:15:40 +00:00
hb f05c8469c7 Bug 1575217, r=michal,dragana
Differential Revision: https://phabricator.services.mozilla.com/D43761

--HG--
extra : moz-landing-system : lando
2019-09-02 18:06:09 +00:00
Vlad Baicu a82ae76cdd Bug 1577868 - Updated Sign up buttons. r=delphine
Differential Revision: https://phabricator.services.mozilla.com/D44388

--HG--
extra : moz-landing-system : lando
2019-09-03 21:52:37 +00:00
Timothy Nikkel e0a79ba9f2 Bug 1578164. Use async notifications when requesting decode of an image in most places. r=aosmond
Most of things will likely be no real change because they ask for the exact frame they want immediately before.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 15:36:23 +00:00
Nicolas Chevobbe d0413845a9 Bug 1577780 - Add test for invoking getter in content object from Browser Console. r=Honza.
We're re-using the test we already have for invoking getters
in the webconsole as it is checking a lot of different cases.

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

--HG--
rename : devtools/client/webconsole/test/browser/browser_webconsole_object_inspector_getters.js => devtools/client/webconsole/test/browser/browser_console_content_getters.js
extra : moz-landing-system : lando
2019-09-04 09:03:44 +00:00
Tom Schuster b75a8e0686 Bug 1405971 - Test that Webextension UUID doesn't leak via XHR/Fetch requests. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D40854

--HG--
extra : moz-landing-system : lando
2019-09-03 18:53:48 +00:00
Tom Schuster 68ebc30ae5 Bug 1405971 - Strip existing disallowed schemes in Origin header. r=JuniorHsu,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D39781

--HG--
extra : moz-landing-system : lando
2019-09-03 18:58:18 +00:00
Masayuki Nakano 447a15d680 Bug 1574852 - part 55: Move `HTMLEditRules::MakeList()` to `HTMLEditor` r=m_kato
Additionally, this patch makes it use early-return style with `continue` as
far as making number of changing line minimized.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 07:24:41 +00:00
Paul Zuehlcke 188941cdef Bug 1577767 - Call maybeForwardScriptError independently of parent process listeners state. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44152

--HG--
extra : moz-landing-system : lando
2019-09-04 09:44:50 +00:00
Dão Gottwald 59361a4cea Bug 1567384 - Set oneOffSearchButtons.textbox to UrlbarInput::inputField since there's no real textbox anymore. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D38677

--HG--
extra : moz-landing-system : lando
2019-09-04 09:32:51 +00:00
Nicolas Chevobbe 01653665f2 Bug 1578660 - Add missing key on EditorToolbar in App.js .r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D44630

--HG--
extra : moz-landing-system : lando
2019-09-04 09:09:24 +00:00
Nicolas Chevobbe 010f6b2666 Bug 1578283 - Don't scroll jsterm viewport when inserting a tab character. r=Honza.
When we wanted to insert a string in the webconsole input,
we were setting the input value, and setting the cursor
manually. But since the editor setCursor function is calling
alignLine, there could be cases where the editor scroll position
would jump, feeling awkward for the user.
It turns out we can simplify this code a lot since codeMirror
provides a replaceRange function, which is a perfect replacement
for what we were using, without having to manage the cursor position.

The only downside to that is that inserting characters this
way *does* fire a `changes` event, that we are listening to
in the JsTerm to request autocompletion (which we don't need
as we only insert characters when accepting a completion or
adding a tab).
To mitigate that, we pass a specific jsterm origin string to
replaceRange, which let's us discriminate in the changes event
listener if those changes originate from jsterm only actions.

A test is added to ensure this works as expected (the test was
failing without the fix).

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

--HG--
extra : moz-landing-system : lando
2019-09-04 09:02:09 +00:00
Masayuki Nakano d4fab048af Bug 1574852 - part 54: Move `HTMLEditRules::ConvertListType()` to `HTMLEditor` r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D44193

--HG--
extra : moz-landing-system : lando
2019-09-03 05:13:35 +00:00
Masayuki Nakano 2fc50edf06 Bug 1574852 - part 53: Move `HTMLEditRuies::InDifferentTableElements()` to `HTMLEditor` r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D44191

--HG--
extra : moz-landing-system : lando
2019-09-03 04:18:02 +00:00
Masayuki Nakano f92de6dd34 Bug 1574852 - part 52: Make `HTMLEditRules::WillInsertParagraph()` merged with `HTMLEditor::InsertParagraphSeparatorAsSubAction()` r=m_kato
Meaningful job of `HTMLEditor::InsertParagraphSeparatorAsSubAction()` is only
calling `HTMLEditRules::WillInsertParagraph()` via
`HTMLEditRules::WillDoAction()`.  Therefore, we can move all jobs in them
into `HTMLEditRules::WillInsertParagraph()` and rename it to
`HTMLEditor::InsertParagraphSeparatorAsSubAction()`.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 03:59:11 +00:00
lloan 9a09073dc7 Bug 1572144 - Support search result navigation. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D43555

--HG--
extra : moz-landing-system : lando
2019-09-04 08:31:45 +00:00
Andreas Pehrson 12adbb075f Bug 1577184 - Guard against a shutting down AudioContext in MediaElementAudioSourceNode. r=karlt
Depends on D44486

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

--HG--
extra : moz-landing-system : lando
2019-09-03 23:33:54 +00:00
Andreas Pehrson 158ba576f9 Bug 1577184 - Add crashtest. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D44486

--HG--
extra : moz-landing-system : lando
2019-09-03 23:31:25 +00:00
Emilio Cobos Álvarez a2e997b40b Bug 1578652 - Add a comment pointing to a gross gtk resize workaround. r=stransky
This was fixed upstream, so we can eventually remove this.

Having the issue number makes it much nicer to figure out when is the right time
to remove it.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 08:18:12 +00:00
Johann Hofmann afa00a60dc Bug 1567440 - Don't use lower fill-opacity for the shield icon. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D44528

--HG--
extra : moz-landing-system : lando
2019-09-04 08:14:54 +00:00
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 e1481bf4bb Bug 1576550 - AUTO_PROFILER_STATS(add_marker...) - r=gregtatum
Gather stats for most calls to `profiler_add_marker()`, including the time to
allocate payloads if any.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 07:58:21 +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
Julian Descottes fdea67edb5 Bug 1273656 - Add wait before trying to click in browser_html_tooltip-02.js r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D44356

--HG--
extra : moz-landing-system : lando
2019-09-04 07:52:21 +00:00