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

620103 Коммитов

Автор SHA1 Сообщение Дата
Jan de Mooij 68af3a46d9 Bug 1493627 part 3 - Use AutoEnterOOMUnsafeRegion in js::RemapWrapper. r=jonco
Depends on D9254

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

--HG--
extra : moz-landing-system : lando
2018-10-22 15:26:32 +00:00
Jan de Mooij 1dbada33f5 Bug 1493627 part 2 - Unify OOM testing state variables for different kinds to make AutoEnterOOMUnsafeRegion work for stack checks. r=jonco
Depends on D9253

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

--HG--
extra : moz-landing-system : lando
2018-10-23 01:18:22 +00:00
Jan de Mooij d411ccda35 Bug 1493627 part 1 - Change JSObject::swap return type from bool to void (it always returned true). r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D9253

--HG--
extra : moz-landing-system : lando
2018-10-22 15:25:08 +00:00
Masayuki Nakano 871e853d74 Bug 1499996 - Wait to run tests until new window gets focus r=smaug
test_expanding_selection_per_page.html creates another window and requires
focus event on each case which creates editing host because
EditorEventListener::Focus() sets ancestor limit of Selection as the editing
host.  Therefore, if the window itself does not have focus, focus event won't
be fired on editing hosts.  So, the reason why the orange occurs almost all
with opt build is, debug build is enough slow to wait focus of new window
before running test.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:34:55 +00:00
Julian Descottes 305dfd1207 Bug 1499096 - Update tests using ok() to is(), with minor fixes;r=Standard8
Depends on D8741
This changeset updates some calls to ok() that should actually be calls to is()
and that needed tiny fixes to match the expected value.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:21:18 +00:00
Julian Descottes 73e3a16c0d Bug 1499096 - Use ok() with 2 arguments instead of 3 when possible;r=Standard8
Depends on D8740.
This changeset replaces calls to ok with 3 arguments to calls with 2 arguments
in situations where the switch does not have a significant impact on the assert.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:13:35 +00:00
Julian Descottes 52b85a20e2 Bug 1499096 - Update wrong usage of ok() with todo_is();r=Standard8
Depends on D8739.
This changeset updates calls to ok() that were most likely intended
for is(), but are not working as is.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:13:02 +00:00
Julian Descottes 2fcd6cb020 Bug 1499096 - Update tests using ok() to is();r=Standard8
This changeset updates all the test that were wrongly using ok() and wanted to
use is() AND for which the assert is still passing without any modification
required.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:12:23 +00:00
Julian Descottes eac312a589 Bug 1500936 - Run eslint --fix on devtools/client/inspector for comma-dangle;r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D9409

--HG--
extra : moz-landing-system : lando
2018-10-23 07:08:24 +00:00
Julian Descottes 078990ad01 Bug 1500936 - Remove comma-dangle override from devtools/client/inspector;r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D9408

--HG--
extra : moz-landing-system : lando
2018-10-23 07:08:22 +00:00
Xidorn Quan 9de832b381 Bug 1448317 - Don't include absolutely-positioned and float children in element outline. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D9349

--HG--
extra : moz-landing-system : lando
2018-10-23 06:37:16 +00:00
Timothy Guan-tin Chien cb5015982e Bug 1486954 - Part V, Prevent credit card record from being accessed if not initialize r=MattN
This patch changed the initialization of records so that we don't call into credit card
AutofillRecords class if it is pref-off.

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

--HG--
extra : rebase_source : ee9802af34d8ce63dc3569c10e310762e2271301
extra : histedit_source : 443fb496f872d61b68dcae3bba691c4e1089bf3e
2018-10-18 22:10:25 +00:00
Matthew Noorenberghe fc94384b79 Bug 1486954 - Part IV, Recover from decryption errors in some places. r=MattN
In case of loss of OS key store key, we should still allow users to go into the manage credit cards dialog and fill the numbers back in.

This is not the migration strategy, see Part III.

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

--HG--
extra : rebase_source : dc710a2512b0d9b20e0fa74e641867525098eba2
extra : histedit_source : 4983a480565380ce4da6a0f099a5e4ae0e65797d
2018-10-22 22:57:29 -07:00
Matthew Noorenberghe 566350c6ac Bug 1486954 - Part III, Upgrade existing Nightly credit card records to OSKeyStore. r=MattN
For Nightly users who already have credit cards saved in their profile, we will do a one-off upgrade of their encrypted credit card number.
This only applies to users who have NO master password set, to avoid showing them the master password prompt when we migrate.
For those who did, we would quietly delete their credit card record from the store.

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

--HG--
extra : rebase_source : 2b06e3fc418d5883276850def18966203c16e240
extra : histedit_source : 9fae8d61b747113e8b3f38c2886cf7d1a7c3007f
2018-10-22 22:57:29 -07:00
Matthew Noorenberghe 001567e898 Bug 1486954 - Part II, Remove OSKeyStore.isEnabled. r=MattN
Given that the new store is always considered enabled, the not-enabled code
is now dead code. This patch removes them.

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

--HG--
extra : rebase_source : d2940f77e26ba9f5c808eada5083df293d314214
extra : histedit_source : 29741eb6014489fcd179e90ee18ff876227baaf5
2018-10-22 22:57:28 -07:00
Timothy Guan-tin Chien b2023e958b Bug 1486954 - Part I, Encrypt credit card numbers with OS key store. r=MattN
This patch morphs MasterPassword.jsm to OSKeyStore.jsm while keeping the same
API, as an adaptor between the API and the native API exposed as nsIOSKeyStore.idl.

Noted that OS Key Store has the concept of "recovery phrase" that we won't
be adopting here. The recovery phrase, together with our label, allow
the user to re-create the same key in OS key store.

Test case changes are needed because we have started asking for login in
places where we'll only do previously when "master password is enabled".
This also made some "when master password is enabled" tests invalid because
it is always considered enabled.

Some more test changes are needed simply because they previously rely on the
stable order of microtask resolutions (and the stable # of promises for a
specific operation). That has certainly changed with OSKeyStore.

The credit card form autofill is only enabled on Nightly.

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

--HG--
rename : browser/extensions/formautofill/MasterPassword.jsm => browser/extensions/formautofill/OSKeyStore.jsm
rename : browser/extensions/formautofill/test/browser/browser_creditCard_fill_master_password.js => browser/extensions/formautofill/test/browser/browser_creditCard_fill_cancel_login.js
extra : rebase_source : cabbd8cdec86e5b3965cf1c8b6e635b73b6c2095
extra : histedit_source : 65e71057104465553fefa1d0b293580efed53075
2018-10-17 02:31:04 +00:00
Sean Stangl 04f43bdaab Bug 1498371 - Implement visitCompareBitwise. Fixes basic/testScriptCloning.js. a=nbp 2018-10-11 14:01:00 +03:00
Sean Stangl a1e70818c8 Bug 1498047 - Fix generateInvalidator(). r=nbp 2018-10-10 15:41:00 -04:00
Sean Stangl e7903c1595 Bug 1498371 - Implement visitCompareBitwise. r=nbp
Fixes basic/testScriptCloning.js.
2018-10-11 14:01:00 -04:00
Iain Ireland d5fe62a279 Bug 1499010: Add testcase for AutoUnsafeCallWithABI recovery fuzz bugs r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D9381

--HG--
extra : moz-landing-system : lando
2018-10-22 20:42:49 +00:00
Dorel Luca 74839ec1cd Backed out 2 changesets (bug 1500822) for build bustage. CLOSED TREE
Backed out changeset cb7ced1eb7ed (bug 1500822)
Backed out changeset 2eda4a5dffcc (bug 1500822)
2018-10-22 23:41:44 +03:00
Panos Astithas 6edc5a8fce Bug 1085391 - Support Yosemite Handoff 'web browsing' activity type. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D8665

--HG--
extra : moz-landing-system : lando
2018-10-20 04:47:38 +00:00
James Lee 3faf6a185f Bug 1423839 - Part 2: Enable ESLint for NetUtil.jsm and netwerk/cookie/test/unit/ (manual changes) r=Standard8,jdm
Depends on D9293.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 19:41:58 +00:00
James Lee d001a272ab Bug 1423839 - Part 1: Enable ESLint for NetUtil.jsm and netwerk/cookie/test/unit/ (automatic changes) r=Standard8,jdm
Ran ESLint's automatic '--fix' option on the above files.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 19:41:33 +00:00
Ted Campbell f5b084ac24 Bug 1500822 - Fix a try-note range check in the debugger r=jorendorff
This should symptomless since the extra op should always be a JSOP_GOTO
which will be skipped over anyways. Fix for our sanity.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 18:39:24 +00:00
fvsch 53b58056e8 Bug 1490491 - Part 4: replace 2 png icons, remove 2 unused; r=pbro
Depends on D5954

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

--HG--
extra : moz-landing-system : lando
2018-10-22 14:47:28 +00:00
fvsch fb77dea633 Bug 1490491 - Part 3: replace controls.png with SVG icons; r=pbro
Depends on D5953

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

--HG--
extra : moz-landing-system : lando
2018-10-22 14:47:08 +00:00
fvsch cff9a1c615 Bug 1490491 - Part 2: update globe and folder icons to use Photon assets; r=pbro,ntim
Depends on D5952

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

--HG--
extra : moz-landing-system : lando
2018-10-22 14:46:55 +00:00
fvsch d75783b6f0 Bug 1490491 - Part 1: replace alerticon-warning.png with console alert icon; r=pbro,ntim
Differential Revision: https://phabricator.services.mozilla.com/D5952

--HG--
rename : devtools/client/themes/images/webconsole/alert.svg => devtools/client/themes/images/alert.svg
extra : moz-landing-system : lando
2018-10-22 14:46:42 +00:00
Simon Fraser 63aebb585f Bug 1459891 Routinely update in-tree TLD list r=RyanVM,jlorenzo
Differential Revision: https://phabricator.services.mozilla.com/D9385

--HG--
extra : moz-landing-system : lando
2018-10-22 19:45:43 +00:00
Patrick Brosset bb2e382570 Bug 1114932 - Break after commas in CSS selectors r=tromey
Differential Revision: https://phabricator.services.mozilla.com/D9232

--HG--
extra : moz-landing-system : lando
2018-10-22 14:17:27 +00:00
Brad Werth b190f11a57 Bug 1468754 Part 5: Make ChangesView respond to change events. r=rcaliman
Depends on D9176

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

--HG--
extra : moz-landing-system : lando
2018-10-22 19:18:15 +00:00
Brad Werth 4b33d8b6f4 Bug 1468754 Part 4: Make ChangesActor fire events. r=pbro
Depends on D9050

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

--HG--
extra : moz-landing-system : lando
2018-10-22 19:17:57 +00:00
Brad Werth 726ef5afd3 Bug 1468754 Part 3: Add a TrackChangesEmitter helper object, and make ChangesActor listen to it. r=pbro
Depends on D9049

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

--HG--
extra : moz-landing-system : lando
2018-10-22 19:17:49 +00:00
Brad Werth 8957567558 Bug 1468754 Part 2: Make client-side Inspector, on open, ensure the existence of the ChangesActor. r=pbro
Depends on D4399

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

--HG--
extra : moz-landing-system : lando
2018-10-22 19:17:47 +00:00
Brad Werth 799f7cc52b Bug 1468754 Part 1: Add a ChangesActor to devtools. r=pbro
MozReview-Commit-ID: 1Y8esljnLk9

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

--HG--
extra : moz-landing-system : lando
2018-10-22 19:17:45 +00:00
Ted Campbell cd0e8cd66d Bug 1500822 - Make TryNote::start relative to JSScript::code() r=jorendorff
Currently it is relative to JSScript::main(), but it is the only part of
the engine that uses this definition to describe a "pcOffset". This is
unnecessarily confusing, and fixing it is easy.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 18:33:54 +00:00
Xidorn Quan d4af807d62 Bug 1498216 - Properly support alpha channel on custom scrollbars. r=spohl
This also includes implementation of nsNativeThemeCocoa::GetWidgetAutoColor
which should have been done in bug 1464722 actually.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 16:05:05 +00:00
Collin Wing 6e51b257b4 Bug 1491677 Migrate localization of a subset of extensions.dtd to Fluent r=flod,Gijs,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D6203

--HG--
extra : moz-landing-system : lando
2018-10-22 18:21:56 +00:00
Dorel Luca d58b21f026 Backed out 5 changesets (bug 1468754) for xpcshell and eslint failures. CLOSED TREE
Backed out changeset 67f969f5bdba (bug 1468754)
Backed out changeset 55ba74fa5c95 (bug 1468754)
Backed out changeset 0d44a0523525 (bug 1468754)
Backed out changeset da447a45603e (bug 1468754)
Backed out changeset 71f45c79522e (bug 1468754)
2018-10-22 22:00:49 +03:00
Eitan Isaacson 0716f068cd Bug 1499209 - Send abbreviated source bundles with accessibility events. r=Jamie
Depends on D8778

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

--HG--
extra : moz-landing-system : lando
2018-10-22 18:15:34 +00:00
Eitan Isaacson 41167ad214 Bug 1499209 - Refactor AccessibleWrap::ToBundle 1/2. r=Jamie
This refactor does a few things:
1. Unifies the composition of the GeckoBundle, so that some tricky edge
cases don't need to be implemented twice.
2. Allows us to be more frugal with round trip sync ipc calls. Instead
of retrieving everything from the start, only progressivley retrieve
what we need.
3. Sets the groundwork for the next patch that will return from this
function earlier with a smaller bundle.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 18:15:27 +00:00
Brad Werth e1efc1d301 Bug 1468754 Part 5: Make ChangesView respond to change events. r=rcaliman
Depends on D9176

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

--HG--
extra : moz-landing-system : lando
2018-10-22 18:01:41 +00:00
Brad Werth 75b4548fcd Bug 1468754 Part 4: Make ChangesActor fire events. r=pbro
Depends on D9050

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

--HG--
extra : moz-landing-system : lando
2018-10-22 18:01:18 +00:00
Brad Werth 7972326743 Bug 1468754 Part 3: Add a TrackChangesEmitter helper object, and make ChangesActor listen to it. r=pbro
Depends on D9049

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

--HG--
extra : moz-landing-system : lando
2018-10-22 18:00:55 +00:00
Brad Werth 6927652361 Bug 1468754 Part 2: Make client-side Inspector, on open, ensure the existence of the ChangesActor. r=pbro
Depends on D4399

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

--HG--
extra : moz-landing-system : lando
2018-10-22 18:00:42 +00:00
Brad Werth 82209b1112 Bug 1468754 Part 1: Add a ChangesActor to devtools. r=pbro
MozReview-Commit-ID: 1Y8esljnLk9

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

--HG--
extra : moz-landing-system : lando
2018-10-22 18:00:40 +00:00
Dorel Luca 0d2a0012ec Backed out changeset 2d0174d68cec (bug 1497087) for mochitest failure on caps/tests/mochitest/test_bug292789.html 2018-10-22 20:57:41 +03:00
Sebastian Hengst 1ad50182a7 merge mozilla-central to autoland
--HG--
rename : third_party/rust/nom/.cargo-checksum.json => third_party/rust/nom-3.2.1/.cargo-checksum.json
rename : third_party/rust/nom/CHANGELOG.md => third_party/rust/nom-3.2.1/CHANGELOG.md
rename : third_party/rust/nom/Cargo.toml => third_party/rust/nom-3.2.1/Cargo.toml
rename : third_party/rust/nom/src/bits.rs => third_party/rust/nom-3.2.1/src/bits.rs
rename : third_party/rust/nom/src/branch.rs => third_party/rust/nom-3.2.1/src/branch.rs
rename : third_party/rust/nom/src/bytes.rs => third_party/rust/nom-3.2.1/src/bytes.rs
rename : third_party/rust/nom/src/character.rs => third_party/rust/nom-3.2.1/src/character.rs
rename : third_party/rust/nom/src/internal.rs => third_party/rust/nom-3.2.1/src/internal.rs
rename : third_party/rust/nom/src/lib.rs => third_party/rust/nom-3.2.1/src/lib.rs
rename : third_party/rust/nom/src/macros.rs => third_party/rust/nom-3.2.1/src/macros.rs
rename : third_party/rust/nom/src/methods.rs => third_party/rust/nom-3.2.1/src/methods.rs
rename : third_party/rust/nom/src/multi.rs => third_party/rust/nom-3.2.1/src/multi.rs
rename : third_party/rust/nom/src/nom.rs => third_party/rust/nom-3.2.1/src/nom.rs
rename : third_party/rust/nom/src/regexp.rs => third_party/rust/nom-3.2.1/src/regexp.rs
rename : third_party/rust/nom/src/sequence.rs => third_party/rust/nom-3.2.1/src/sequence.rs
rename : third_party/rust/nom/src/simple_errors.rs => third_party/rust/nom-3.2.1/src/simple_errors.rs
rename : third_party/rust/nom/src/str.rs => third_party/rust/nom-3.2.1/src/str.rs
rename : third_party/rust/nom/src/stream.rs => third_party/rust/nom-3.2.1/src/stream.rs
rename : third_party/rust/nom/src/traits.rs => third_party/rust/nom-3.2.1/src/traits.rs
rename : third_party/rust/nom/src/util.rs => third_party/rust/nom-3.2.1/src/util.rs
rename : third_party/rust/nom/src/verbose_errors.rs => third_party/rust/nom-3.2.1/src/verbose_errors.rs
rename : third_party/rust/nom/src/whitespace.rs => third_party/rust/nom-3.2.1/src/whitespace.rs
rename : third_party/rust/nom/tests/arithmetic.rs => third_party/rust/nom-3.2.1/tests/arithmetic.rs
rename : third_party/rust/nom/tests/arithmetic_ast.rs => third_party/rust/nom-3.2.1/tests/arithmetic_ast.rs
rename : third_party/rust/nom/tests/blockbuf-arithmetic.rs => third_party/rust/nom-3.2.1/tests/blockbuf-arithmetic.rs
rename : third_party/rust/nom/tests/cross_function_backtracking.rs => third_party/rust/nom-3.2.1/tests/cross_function_backtracking.rs
rename : third_party/rust/nom/tests/float.rs => third_party/rust/nom-3.2.1/tests/float.rs
rename : third_party/rust/nom/tests/ini.rs => third_party/rust/nom-3.2.1/tests/ini.rs
rename : third_party/rust/nom/tests/ini_str.rs => third_party/rust/nom-3.2.1/tests/ini_str.rs
rename : third_party/rust/nom/tests/issues.rs => third_party/rust/nom-3.2.1/tests/issues.rs
rename : third_party/rust/nom/tests/json.rs => third_party/rust/nom-3.2.1/tests/json.rs
rename : third_party/rust/nom/tests/mp4.rs => third_party/rust/nom-3.2.1/tests/mp4.rs
rename : third_party/rust/nom/tests/multiline.rs => third_party/rust/nom-3.2.1/tests/multiline.rs
rename : third_party/rust/nom/tests/named_args.rs => third_party/rust/nom-3.2.1/tests/named_args.rs
rename : third_party/rust/nom/tests/omnom.rs => third_party/rust/nom-3.2.1/tests/omnom.rs
rename : third_party/rust/nom/tests/overflow.rs => third_party/rust/nom-3.2.1/tests/overflow.rs
rename : third_party/rust/nom/tests/reborrow_fold.rs => third_party/rust/nom-3.2.1/tests/reborrow_fold.rs
rename : third_party/rust/nom/tests/test1.rs => third_party/rust/nom-3.2.1/tests/test1.rs
extra : rebase_source : 6c5b45c092fd51bf1b3ce15960416fb59311d152
2018-10-22 20:34:24 +03:00
Sebastian Hengst 602fbb8422 merge mozilla-inbound to mozilla-central. a=merge 2018-10-22 20:26:16 +03:00