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

605978 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner 15c57e5bee Bug 1478308 - Remove unnecessary ChromeUtils.imports in accessible/ r=surkov
MozReview-Commit-ID: 2l6rvxykrWB

--HG--
extra : rebase_source : c62d614acda9ed1a77c3893ee91c493f1fbbaeec
2018-07-25 11:07:07 +01:00
Mark Banner 29ebe3f3a8 Bug 1478308 - Remove unnecessary ChromeUtils.imports in toolkit/ r=mikedeboer
MozReview-Commit-ID: 45Tfs2ZZ06r

--HG--
extra : rebase_source : f76738612cb5f78787e9fae8f8c563d5ff5f33d1
2018-07-25 11:00:35 +01:00
Mark Banner 96b3386f5b Bug 1478308 - Remove unnecessary ChromeUtils.imports in services/ r=lina
MozReview-Commit-ID: 1oprv2tG0HG

--HG--
extra : rebase_source : 85c9b07892778dfec5ab4ccc70cc4fb7119ee4f3
2018-07-25 09:13:11 +01:00
Mark Banner 6feaa5a9c3 Bug 1478308 - Remove unnecessary ChromeUtils.imports in browser/ r=mikedeboer
MozReview-Commit-ID: BYTDdLU2HoM

--HG--
extra : rebase_source : 1e31ff288280d09ae226cdc698331263ba969205
2018-07-25 09:10:07 +01:00
Julian Descottes 6a52365e86 Bug 1471540 - Make DevTools code compatible with new eslint-plugin-react;r=standard8
MozReview-Commit-ID: 1flBkghZw9

--HG--
extra : rebase_source : 1ed58c60690e9f1b227b8de3c78b05ae98672230
2018-07-20 14:26:45 +02:00
Narcis Beleuzu 032970b913 Backed out changeset 55739a1e4de9 (bug 1474356) for mochitest bc failures on browser_ext_devtools_panel.js. CLOSED TREE 2018-07-26 14:06:18 +03:00
Narcis Beleuzu 91bcab3f74 Backed out 1 changesets (bug 1473595) for debug-mochitest-chrome failures on test_key_event_counts.xul and test_htmleditor_keyevent_handling.html. CLOSED TREE
Backed out changeset a3140755de69 (bug 1473595)
2018-07-26 13:58:57 +03:00
Mike Hommey d7cb7c77a3 Bug 1478293 - Mark RecordReplayInterceptObjCMessage as used. r=froydnj
So that LTO doesn't eliminate it, leaving the assembly from RR_objc_msgSend
unable to find it.

--HG--
extra : rebase_source : 457c2f4612fd3485d4e099b51e324a6e085016e6
2018-07-26 11:10:40 +09:00
Michael Ratcliffe c7935445d5 Bug 1474356 - Most other panel openings without panel_name r=nchevobbe
Changes:

Pretty much all files contain changes to the order of events and properties... these are to stop subtle issues with events not being logged because not all properties were sent and some events were sent in the wrong order.

-devtools/client/framework/test/browser_devtools_api.js
  - Renamed test-tool-1 and 2 because we need to include the panel names in Events.yaml and "-" is not allowed.
- devtools/client/framework/toolbox.js
  - Removed unneeded const REGEX_PANEL.
  - Generally shifted things around to ensure we send events from all codepaths.
- toolkit/components/telemetry/Events.yaml
  - Changed telemetry event `"devtools.main", "enter"` to include all built-in panel names including  "other."

MozReview-Commit-ID: 2G3Z9pzj1QC

--HG--
extra : rebase_source : bc691ae42b521e3a58c1a4aa9dbd455a3aa258a0
2018-07-16 14:50:00 +01:00
Makoto Kato efbf30c79f Bug 1477917 - Part 2. Use AString instead of wstring in spellchecker. r=masayuki
The language parameter of mozIPersonalDictionary is unused, so we should remove
this from parameter.  Then, no one uses mLanguage member of mozHunspell now.

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

--HG--
extra : moz-landing-system : lando
2018-07-26 03:13:51 +00:00
Makoto Kato 229108931f Bug 1477917 - Part 1. Remove unused methods for spellchecker. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D2348

--HG--
extra : moz-landing-system : lando
2018-07-26 03:09:14 +00:00
Delphine Lebédel c4a2d8c091 Bug 1478590 - Add 'lij' to Fennec maemo-locale for multi-locale builds, r=flod
MozReview-Commit-ID: 2uQ2bxaLlwV

--HG--
extra : rebase_source : acd178667ea16c94fd6cb2ee92c7f5e41256450e
2018-07-26 11:22:44 +02:00
Belén Albeza 9b62d62574 Bug 1473902 - Wrong node count in 'show all nodes' button. r=jdescottes
MozReview-Commit-ID: BwBqRVGli3b

--HG--
extra : rebase_source : 2eaa17883198ac7313440523f737e7d33480effa
2018-07-24 17:54:47 +02:00
Franziskus Kiefer 4b196d2f5b Bug 1472104 - autograph COSE test-case, r=keeler
This adds a test with an extension signed by autorgraph with cose and pk7.

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

--HG--
extra : moz-landing-system : lando
2018-07-26 09:18:38 +00:00
Marco Bonardo 096ba418b1 Bug 1477930 - Remove taggingService HasTags synchronous API. r=Standard8
The tagging API is moving to the bookmarking API, this is part of it.
This will break the tags root open glyph in the Library, for now we don't have
an alternative, we'll re-evaluate in the future in bug 1477934.

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

--HG--
extra : moz-landing-system : lando
2018-07-26 09:18:56 +00:00
Jim Chen f61f04949b Bug 1451891 - Fix race conditions in __wrap_dlerror; r=glandium
__wrap_dlerror uses a single pointer for all threads, which means one
thread could get the dlerror result from another thread. Normally this
wouldn't cause crashes. However, because dlerror results come from a
per-thread buffer, if a thread exits and our saved dlerror result came
from that thread, the saved pointer could then refer to invalid memory.

The proper way to fix this is to use TLS and have a per-thread pointer
for __wrap_dlerror. However, instead of using up a TLS slot, this patch
keeps the single pointer for custom messages, and fallback to per-thread
dlerror call for system messages. While the race condition still exists,
I think the risk is acceptable. Even when races occur, they should no
longer cause crashes.

MozReview-Commit-ID: 4hGksidjiVz

--HG--
extra : rebase_source : 373000686c426b81ffd7cee88264e89b7a733957
2018-07-25 13:59:30 -04:00
Dão Gottwald 844b19fbfe Bug 1473595 - Enable "Ctrl+Tab cycles through tabs in recently used order" feature by default in new profiles. r=jaws
MozReview-Commit-ID: 5lmOj3k4tFf

--HG--
extra : rebase_source : e7ea50f496827a1cdda1ebc9d3f602822bea5468
2018-07-26 11:13:34 +02:00
Daisuke Akatsuka 68d785adc8 Bug 1471795 - Part 4: Implement an action of when runtime was selected. r=jdescottes,ladybenko
MozReview-Commit-ID: JtYkAgjr3oT

--HG--
extra : rebase_source : 197d1faa989ed9c0065af5ec8c9f777e773004f5
2018-07-26 17:56:38 +09:00
Daisuke Akatsuka e31142cbcd Bug 1471795 - Part 3: Implement runtimes pane. r=jdescottes,ladybenko
MozReview-Commit-ID: 1X14YIYL27x

--HG--
extra : rebase_source : 0029ff4b0a7ce83142f04849c8e9a7f2f2eccd94
2018-07-26 17:53:11 +09:00
Daisuke Akatsuka e41d8f7704 Bug 1471795 - Part 2: Introduce Runtime class. r=jdescottes
MozReview-Commit-ID: EajaVnn9kR3

--HG--
extra : rebase_source : c682161aa226880bb17efe342f144a87458e55cf
2018-07-26 17:52:10 +09:00
Daisuke Akatsuka 6db8153aa8 Bug 1471795 - Part 1: Implement basis of 'This Firefox' page. r=jdescottes,ladybenko
In this patch, implement following basic things of 'ThisFirefox' page for new
about:debugging.

* Add a pref devtools.aboutdebbugging.enabled-new to enable new about:debbugging.
* Add a function which switches new/old about:debugging page by the pref.
* Add devtools/client/aboutdebugging-new directory for new about:debugging.
* Add basic html, css, JavaScript and React component.

MozReview-Commit-ID: 5DtV7rRcS0S

--HG--
extra : rebase_source : 26496ef8273c03b78a7b8d00f44beac5f18d09ef
2018-07-26 17:52:10 +09:00
Nicolas Chevobbe 54ad45abad Bug 1463095 - Instrument inspection of filter changes in the Web Console with event telemetry; r=jdescottes.
This introduces an event-telemetry middleware that we'll
be able to re-use for other events.
A test is added to make sure we do log those events as intended.
The telemetry mock for mocha test is modified to include
recordEvent so the test still run.

MozReview-Commit-ID: 1SHnVIRGdDz

--HG--
extra : rebase_source : 7a7d6c7ff3fdbe1da6a16bc47017dbf5d90582db
2018-07-24 09:55:36 +02:00
Narcis Beleuzu d47c829065 Backed out 4 changesets (bug 1478308) for ESlint failure on AttributionCode.jsm. CLOSED TREE
Backed out changeset a809b45ff49b (bug 1478308)
Backed out changeset c68131530742 (bug 1478308)
Backed out changeset 0e4ba7a6dc1a (bug 1478308)
Backed out changeset 32a27f317a77 (bug 1478308)
2018-07-26 11:13:28 +03:00
Mark Banner 58e5c3e98f Bug 1478308 - Remove unnecessary ChromeUtils.imports in accessible/ r=surkov
MozReview-Commit-ID: 2l6rvxykrWB

--HG--
extra : rebase_source : 9bfe49a329b0ef38e45b5886070e2c1af1edecbe
2018-07-25 11:07:07 +01:00
Mark Banner d95c1526b8 Bug 1478308 - Remove unnecessary ChromeUtils.imports in toolkit/ r=mikedeboer
MozReview-Commit-ID: 45Tfs2ZZ06r

--HG--
extra : rebase_source : 10f2f734c883a1ac85b5dee21df119a4c6ae2898
2018-07-25 11:00:35 +01:00
Mark Banner fba7b63903 Bug 1478308 - Remove unnecessary ChromeUtils.imports in services/ r=lina
MozReview-Commit-ID: 1oprv2tG0HG

--HG--
extra : rebase_source : 89471677bab059efe9d9cb8a48b2cd557bd41e33
2018-07-25 09:13:11 +01:00
Mark Banner 180233c593 Bug 1478308 - Remove unnecessary ChromeUtils.imports in browser/ r=mikedeboer
MozReview-Commit-ID: BYTDdLU2HoM

--HG--
extra : rebase_source : 67dc15c0cdff0234d3274f1a8978d1f2a5b3f411
2018-07-25 09:10:07 +01:00
Petru Lingurar 1f25f2a1cc Bug 1476900 - Can't update Nightly from about:firefox or notification bar; r=jchen
The problem was because on API >=26 the JobIntentServices used for the updater
functionality will be used by JobScheduler by binding to them.
But because they were set to run in a different process the binding was not
possible.

MozReview-Commit-ID: I8rbcoLyhyJ

--HG--
extra : rebase_source : 1bc423f6012aff6c9b0d960b046af04f32b8bd7b
2018-07-24 17:31:59 +03:00
Petru Lingurar 5b0c9ef91e Bug 1476710 - Use childFragmentmanager when dismissing TabHistoryFragment; r=jchen
MozReview-Commit-ID: 1DyoBj0wpRe

--HG--
extra : rebase_source : 11453e678371f926cecf130aafc01a0caf9ac972
2018-07-24 10:15:51 +03:00
Petru Lingurar 78919b5658 Bug 1474888 - Fix Prompt.java's AlertDialog; r=jchen
PromptService will be informed when the screen is rotated and in turn it will
ask every Prompt shown to reset it's current layout.
For this, every Prompt will
- save it's current input value in PromptInput's mValue or similar field
already used for storing the default PromptInput value.
- create a new widget to be used in the new AlertDialog, with a new appropriate
layout for portrait / landscape. This is when the mValue field will be used
to initialize the new widget with the previous input.

MozReview-Commit-ID: L6eHyGNDt3d

--HG--
extra : rebase_source : ada913a8e6ada99a7d49eb47d1c64831a8f698da
2018-07-26 09:37:26 +03:00
Mark Hammond 591860e3dd Bug 1478547 - exceptions processing sync logins now bubble up for better handling and recovery. r=tcsc
MozReview-Commit-ID: 3y8ryBxueFS

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

--HG--
extra : moz-landing-system : lando
2018-07-26 05:38:03 +00:00
Brian Birtles 53282fc266 Bug 1478266 - Don't reset pending tasks when setting the target effect to null r=boris
This updates our implementation and tests to match the following spec change:

  2e56cd7d77

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

--HG--
extra : moz-landing-system : lando
2018-07-26 05:20:41 +00:00
Nicolas Chevobbe 0829b5c574 Bug 1478366 - Add a recordTelemetryEvent function to serviceContainer; r=miker.
This then can be used directly in the console, or passed to reps
and ObjectInspector so it can be called from there.

MozReview-Commit-ID: uQOiGuYbJK

--HG--
extra : rebase_source : a8a84b558dea69b7c2793b9e2d67a44a0809eb43
2018-07-25 13:54:27 +02:00
prathiksha 5e20dc8929 Bug 1476571 - Auto-select selectedShippingAddress as billing address when it is not null. r=MattN
MozReview-Commit-ID: 8qPIbHn7cKk

--HG--
extra : rebase_source : 023450976a481767923700f8e2ec7deb3538f4f8
2018-07-24 15:50:54 -07:00
Cosmin Sabou fdafc33d90 Backed out 2 changesets (bug 1475197) for causing linux build bustages because of compile errors.
Backed out changeset 108e22d963cb (bug 1475197)
Backed out changeset 4bd5f8588422 (bug 1475197)
2018-07-26 07:38:47 +03:00
Cameron McCormack 103876749a Bug 1475197 - Part 2: Update Cargo.lock and re-vendor Rust dependencies. r=emilio
MozReview-Commit-ID: GHrD4b8xvcC

--HG--
extra : rebase_source : b5e0e3425e8cceabe4bdcd9722420182fd839035
2018-07-17 12:15:08 +10:00
Cameron McCormack b8598043f6 Bug 1475197 - Part 1: Shrink selectors::Component to 24 bytes. r=emilio
This saves about 37 KiB of memory across the UA style sheets.

MozReview-Commit-ID: EoZnlmyWwxX

--HG--
extra : rebase_source : 471fc63e521a4332bb92b4a73cd31a4bbe0b2dfe
2018-07-16 12:15:47 +10:00
Jim Chen 7a53328e93 Bug 1478445 - Adopt and detach child process FDs; r=rbarker
Use adoptFd and detachFd so we don't duplicate FDs unnecessarily. Also
fix a bug where we didn't close the pref FDs.

MozReview-Commit-ID: Gugcyi4cj7V

--HG--
extra : rebase_source : 035f62d8ba4d1ec964d5b7f7556bae7164ab78b3
2018-07-25 13:59:29 -04:00
Masayuki Nakano 5f1e6f2a03 Bug 1477898 - Make AutoRestoreEditorState not call EditorBase::SetFlags() since the virtual call cost appears in profile r=m_kato
Unfortunately, EditorBase::SetFlags() is virtual call even though
AutoRestoreEditorState always works only with TextEditor (the method is
overridden only by HTMLEditor).  And AutoRestoreEditorState is a hot path
when <input>.value or <textarea>.value is set a lot.

Fortunately, EditorBase::Flags() can be an inline method.  So, we can make
both constructor and destructor of the class check if it'll change flags
actually.

Additionally, this patch fixes nsTextEditorState::PrepareEditor() too.

MozReview-Commit-ID: 7S4hLRRrbfB

--HG--
extra : rebase_source : 3c3e7438cd7e6c9853e5cf876277d7459b86c343
2018-07-23 22:04:54 +09:00
Cosmin Sabou acd8ea2c75 Backed out changeset e354029775b8 (bug 1473732) for causing leaks at gfxFT2FontBase::GetGlyph, GetCharWidth. CLOSED TREE 2018-07-26 04:40:00 +03:00
Cosmin Sabou 80a830bce7 Backed out 5 changesets (bug 1476204) for browser chrome failures on browser_editCreditCardDialog. CLOSED TREE
Backed out changeset 10f3d1014592 (bug 1476204)
Backed out changeset a88879ea32e8 (bug 1476204)
Backed out changeset 001f13f2dd21 (bug 1476204)
Backed out changeset f0f464e3c27c (bug 1476204)
Backed out changeset ed92000eca20 (bug 1476204)
2018-07-26 04:12:56 +03:00
Matthew Noorenberghe 46813c4815 Bug 1476204 - Handle autofill record update state changes in the unpriv. PR forms. r=jaws
This is easier to understand as we don't have to round-trip the whole success and error states to the privileged wrapper which could potentially lead to stale state changes.
This is also much simpler for the basic-card-form as it doesn't need a lot of the complexity of the previous implementation.

* Move selectedStateKey from page to address-page since it doesn't apply to basic-card-page

MozReview-Commit-ID: B4kiZNWElGI

--HG--
extra : rebase_source : 183a3bd44ed33566fccdc024eabdccef83554d50
2018-07-25 12:37:51 -07:00
Matthew Noorenberghe ae5eb48179 Bug 1476204 - Implement the payment summary error bar. r=jaws
MozReview-Commit-ID: 3Rc9ljfMCW3

--HG--
extra : rebase_source : 0bb5a17967092d89f63f96c240ac78c0df671bce
2018-07-23 21:49:05 -07:00
Matthew Noorenberghe 6cad3245bb Bug 1476204 - Replace duplicate #error-text with .page-error. r=jaws
MozReview-Commit-ID: 2FOx9dpTpAs

--HG--
extra : rebase_source : 80eeed03264f000b97572fa03c1c322540cd554e
2018-07-23 20:34:40 -07:00
Matthew Noorenberghe f5f3467e63 Bug 1476204 - Check Luhn algorithm in the basic-card-form and in storage and disable save button when invalid. r=jaws
* Provide an cc-exp-year option to match cc-exp-month
* Make cc-number and cc-name required in the basic-card-form
* Disable the basic-card-page save button when the form is invalid.

MozReview-Commit-ID: LjzsnAKJp6R

--HG--
extra : rebase_source : 467fa09ea07c0234e1839b6dfd7e53375c118104
2018-07-25 16:38:25 -07:00
Matthew Noorenberghe 286bd79241 Bug 1476204 - Make the basic-card-option field order and alignment match the <option>. r=sfoster
MozReview-Commit-ID: 4YA8Ff7Irc3

--HG--
extra : rebase_source : 3131de1d4bffde60ea2c468a55e65c917d96584a
2018-07-20 14:59:56 -07:00
Cameron McCormack 435a9bb766 Bug 1477897 - Fix layout debugger styling. r=bgrins,Gijs
MozReview-Commit-ID: GTEPR04HQ49

--HG--
extra : rebase_source : 705f0ebbfae24dd3a414cff0cf3f751975041dca
2018-07-24 14:32:33 +10:00
Brian Birtles 05069d25b9 Bug 1472938 - Defer image pre-loading until idle; r=jdescottes
This should prevent introducing further delay when opening DevTools.

MozReview-Commit-ID: D9XDieFoU8a

--HG--
extra : rebase_source : f7a5309ed2f64ec358fee13068efd6da8acfbdd2
2018-07-25 13:09:01 +09:00
Brian Birtles c1308d9e27 Bug 1472938 - Preload images used on MenuItem labels; r=jdescottes
This is to avoid rendering for a frame or two without the menu item icons being
visible which causes flicker, particularly on lower-end machines.

MozReview-Commit-ID: Aq7AOkPwu9V

--HG--
extra : rebase_source : ee371cf848dcf39ec9f3cd9689268c3e9ef41c54
2018-07-23 13:17:24 +09:00
Brian Birtles 18d91510d9 Bug 1472938 - Convert MenuItem to a class; r=jdescottes
This is so that we can hook into the componentDidMount method.

MozReview-Commit-ID: 5NCDgvDPbe1

--HG--
extra : rebase_source : 3768f50b20d208f5d9bb5724194fcdc2927a873c
2018-07-23 13:12:40 +09:00