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

606090 Коммитов

Автор SHA1 Сообщение Дата
shindli f36ee2923a Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-26 14:21:26 +03:00
shindli c451675096 Backed out 2 changesets (bug 1462019) for org.mozilla.geckoview.test.AccessibilityTest.testMoveByCharacter failures on a CLOSED TREE
Backed out changeset 0b0036d13e81 (bug 1462019)
Backed out changeset 6fb8d7cb6c29 (bug 1462019)
2018-07-26 13:36:46 +03: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
Benjamin Bouvier c33c3f309f Bug 1416723: Remove SIMD.js support; r=luke, r=nbp
--HG--
extra : rebase_source : 486095f8e51318b104b7348330a7df6377a15302
extra : histedit_source : 5415a1ce4bd366464612bd4751093588d30aa562
2018-07-24 15:15:01 +02:00
Benjamin Bouvier 06e2cac5c8 Bug 1416723: Move SIMD code generation to masm methods; r=lth
--HG--
extra : rebase_source : de3832c54a670ff9f6f747a60fff577e54377a58
extra : histedit_source : 0ce3e99119939505e91b551d4255c44e377ef5ee
2018-07-24 19:34:06 +02:00
Makoto Kato 5986ed199f Bug 1462019 - Part 2. Use abstract socket address for USB remote debugging. r=jryans
--HG--
extra : rebase_source : 4eedeb0d058ddaa2b96e4fe0d69ec81ef9f16097
2018-07-25 14:47:49 +09:00
Makoto Kato ca2b74b983 Bug 1462019 - Part 1. Support abstract socket address on nsIServerSocket and nsISocketTransportService. r=mayhemer
--HG--
extra : rebase_source : e7f4e258ce746f21c5792b148fd5ac4b4370eea6
2018-07-26 18:06:42 +09:00
Jan de Mooij e67d9e1b9e Bug 1474540 part 0 - Don't try to use mCallback's global in NativeCallbackDelegateSupport::Call. r=jchen
The object could be a cross-compartment wrapper and we want to make it impossible to get a CCWs global.
2018-07-26 11:10:06 +02:00
Jan de Mooij bb3767cb60 Bug 1478275 part 3 - Rename GlobalHasExclusiveExpandos to CompartmentHasExclusiveExpandos and make it use IsInSandboxCompartment. r=bholley 2018-07-26 11:00:21 +02:00
Jan de Mooij ce81f1f7ef Bug 1478275 part 2 - Add a CompartmentPrivate::isSandboxCompartment flag and xpc::IsInSandboxCompartment(obj). r=bholley
Wrappers are per-compartment, not per-realm, so this will simplify the next patch. Also, considering the upcoming Realms proposal, it might eventually be possible to have multiple globals in a sandbox compartment.
2018-07-26 10:58:37 +02:00
Jan de Mooij 1f193575a4 Bug 1478275 part 1 - Remove unused CompartmentPrivate::isAddonCompartment. r=bholley 2018-07-26 10:57:15 +02:00
Jan de Mooij 2264882701 Bug 1477989 part 4 - Use JS::GetNonCCWObjectGlobal in xpc::GetXBLScopeOrGlobal. r=bz
GetOrCreateMapEntryForPrototype is the only caller where the object could be a CCW. However there cx and proto are same-compartment (GetOrCreateMapEntryForPrototype asserts this) so I changed that code to use JS::CurrentGlobalOrNull.
2018-07-26 10:53:21 +02:00
Jan de Mooij 3bfc3b953e Bug 1477989 part 3 - Use JS::GetNonCCWObjectGlobal in nsXBLProtoImpl::InstallImplementation. r=bz
It should not be a CCW; we already use JS::GetNonCCWObjectGlobal on this object in nsXBLProtoImplField::InstallAccessors.
2018-07-26 10:53:00 +02:00
Jan de Mooij 99c47ba5c5 Bug 1477989 part 2 - Use JS::GetNonCCWObjectGlobal in nsXBLBinding::DoInitJSClass. r=bz 2018-07-26 10:52:41 +02:00
Jan de Mooij b1f2f847f1 Bug 1477989 part 1 - Use JS::GetNonCCWObjectGlobal in nsXBLBinding::LookupMember. r=bz
mBoundElement is a dom::Element* and reflectors are not CCWs.
2018-07-26 10:52:27 +02:00
Jan de Mooij 0873f847dd Bug 1474542 - Use the unwrapped object's global in FetchUtil::StreamResponseToJS. r=luke 2018-07-26 10:52:01 +02:00
Brian Birtles b903929384 Bug 1478213 - Drop the workaround in DevTools for setting an animation's startTime to something non-null before setting it to null; r=daisuke
The optimization this code was working around has now been fixed.

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

--HG--
extra : rebase_source : 586f19d9254c4aab88f54bd7b4122b613e1b39e8
extra : histedit_source : 4555f3e34c9863ae9db41f437f2c9ce6a3fed006
2018-07-26 15:08:10 +09:00
Brian Birtles 0a7609ac13 Bug 1478213 - Don't ignore a redundant change to setting the animation start time if we are pending; r=hiro
As discussed here:

  https://github.com/w3c/csswg-drafts/issues/2691

We have a similar check in SetCurrentTime (with the exception that, according to
the spec, this behavior applies to either play OR pause pending, instead of just
pause-pending) so this patch tries to match the comment and format of that
check.

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

--HG--
extra : rebase_source : 519a976424b021203a369926344c2174662e6156
2018-07-26 15:07:52 +09:00
Brian Birtles f8376242e1 Bug 1478213 - Add test that fails if we ignore a seemingly redundant setting of startTime to null; r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D2409

--HG--
extra : rebase_source : c64fb613e3429e10fa6760f0a2abb3c416a2208f
2018-07-26 15:07:35 +09: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
Jeff Walden 718d570ceb Bug 1478170 - Instantiate TokenStreamChars for UTF-8. r=arai
--HG--
extra : rebase_source : 813a88a529f15fcbf4565c9a8d7406fc0a6ea0e3
2018-07-17 21:21:07 -07:00
Jeff Walden 85e8df4f2a Bug 1478170 - Make atomizeSourceChars take a Span<CharT>, and define a specialization for UTF-8. r=arai
--HG--
extra : rebase_source : 3eb308043bc5a6f93ce548c59c971a7add3a842c
2018-07-17 21:21:07 -07:00
Jeff Walden 705b8e96ed Bug 1478170 - Move TokenStreamChars::getCodePoint to a generalized TokenStreamSpecific::getCodePoint that works for any CharT. r=arai
--HG--
extra : rebase_source : 678d69901e73e6732a625ebfdf33cf42953d93b2
2018-07-17 21:13:06 -07: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
Dipen Patel 7641beb1f8 Bug 1475647 - Remove nsISSLStatusProvider interface. r=baku,Gijs,jchen,jryans,keeler,mcmanus
- Access nsISSLStatus directly as a member of nsITransportSecurityInfo
and nsISecureBrowserUI.  This is part of a larger effort to consolidate
nsISSLStatus and nsITransportSecurityInfo.
- The TabParent implementation of GetSecInfo will always return null.
- Removed unnecessary QueryInterface calls
- Style adherence updates

MozReview-Commit-ID: Dzy6t2zYljL

--HG--
extra : rebase_source : 9c400bed3c9d29a186fc987c9bd0ffceb37bfd94
2018-07-13 11:48:55 -07:00