Commit Graph

640384 Commits

Author SHA1 Message Date
Boris Zbarsky
c4415bb7b7 Bug 1533103. Temporarily disable compartment-sharing for content windows. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D22362

--HG--
extra : moz-landing-system : lando
2019-03-06 19:12:47 +00:00
Andrew Halberstadt
6ee8586201 Bug 1531360 - [fuzzy] Add ability to intersect queries, r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D22028

--HG--
extra : moz-landing-system : lando
2019-03-06 16:14:00 +00:00
Andrew Halberstadt
029b7b915f Bug 1531886 - [tryselect] Stop allowing **kwargs in subcommand run functions, r=gbrown
This forces us to be more strict with what gets passed into the try selector.
This change means test_preset.py will error if someone makes a typo in an
in-tree preset.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 16:13:01 +00:00
Andrew Halberstadt
db5e67fdae Bug 1531886 - [tryselect] Delete template context from kwargs, r=gbrown
When we parse template arguments, we stuff them all in kwargs['templates'],
however we don't delete the old argument. This results in all kinds of unused
variables lying around in kwargs. E.g we would have both
kwargs['templates']['env'] and kwargs['env'] (the latter being unused). This is
the main reason why all the selector's run functions need to have a **kwargs at
the end of them.

Depends on D22022

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

--HG--
extra : moz-landing-system : lando
2019-03-05 23:49:22 +00:00
Andrew Halberstadt
5e06797460 Bug 1531886 - [tryselect] Handle templates in mach_commands.py, r=gbrown
This was previously only in the cli parser because that was the only shared
place that ran for all selectors. Now that we have the 'self.run' function in
mach_commands.py, we can move it there. This move is also needed to allow us to
remove 'templates' from kwargs (which happens in the next commit).

Depends on D22021

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

--HG--
extra : moz-landing-system : lando
2019-03-05 23:48:31 +00:00
Andrew Halberstadt
fae875eee3 Bug 1531886 - [tryselect] Use consistent 'run' method to kickstart all selectors, r=gbrown
This allows us to refactor mach_commands.py so we can call self.handle_presets
implicitly. This in turn gives us a future place to add shared code and makes
adding new selectors easier.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 17:34:44 +00:00
Brian Hackett
d7f53e1675 Bug 1532298 - Fix viewSourceInDebugger calls, r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D22336

--HG--
extra : moz-landing-system : lando
2019-03-06 18:55:37 +00:00
Eric Rahm
0ee2ffc6bc Bug 1527277 - Part 4: Add crashtest. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D20581

--HG--
extra : moz-landing-system : lando
2019-03-06 18:54:27 +00:00
Eric Rahm
e9f702a7e9 Bug 1527277 - Part 3: Validate usage of string iterator. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D20580

--HG--
extra : moz-landing-system : lando
2019-03-06 18:55:54 +00:00
Hiroyuki Ikezoe
af78a85968 Bug 1532443 - Drop clampScrollPoistion stuff. r=kats
This was introduced in bug 726817 for B2G stuff and there is no call site of
SetClampScrollPosition now and the only one entry point to call the function
was nsIFrameLoader.clampScrollPosition which was removed in
https://hg.mozilla.org/mozilla-central/rev/cd9aace7bb96 .

ScrollFrameHelper::ShouldClampScrollPosition() had always returned true in both
cases of root and non-root scrollable frames. (In the case of non-root
scrollable, nsFrameLoader.mClampScrollPosition is initially set to true and
nobody changes the value)

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

--HG--
extra : moz-landing-system : lando
2019-03-04 22:16:46 +00:00
Dorel Luca
f233fae32c Backed out changeset b52eb25bbe9c (bug 1529340) for Browser-Chrome failures in browser/base/content/test/static/browser_parsable_css.js 2019-03-07 04:43:59 +02:00
Makoto Kato
15f9c74d8d Bug 1532526 - Add ATOK Professional to workaround list. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D22071

--HG--
extra : moz-landing-system : lando
2019-03-07 02:07:06 +00:00
Matthew Gregan
d8e4a8a825 Bug 1512445 - Enable AudioIPC build on Windows (default off via pref). r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D22155

--HG--
extra : moz-landing-system : lando
2019-03-07 02:05:18 +00:00
Matthew Gregan
3bc23059fe Bug 1512445 - Re-vendor Rust dependencies for AudioIPC. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D22154

--HG--
extra : moz-landing-system : lando
2019-03-07 02:04:54 +00:00
Matthew Gregan
1ecd53f466 Bug 1512445 - Import latest AudioIPC from upstream, including Windows backend. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D22153

--HG--
extra : moz-landing-system : lando
2019-03-07 02:04:36 +00:00
Dorel Luca
62025568c8 Backed out 2 changesets (bug 1530029) for Mochitest failues in toolkit/components/passwordmgr/test/mochitest/test_autocomplete_https_upgrade.html
Backed out changeset ad613d1154eb (bug 1530029)
Backed out changeset 21d6040d2bd8 (bug 1530029)
2019-03-07 03:55:12 +02:00
Matthew Noorenberghe
cdedc6cb3a Bug 1532805 - Move UserAutoCompleteResult to its own file and rename to LoginAutoCompleteResult. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D22419

--HG--
rename : toolkit/components/passwordmgr/LoginManagerContent.jsm => toolkit/components/passwordmgr/LoginAutoCompleteResult.jsm
rename : toolkit/components/passwordmgr/test/unit/test_user_autocomplete_result.js => toolkit/components/passwordmgr/test/unit/test_login_autocomplete_result.js
extra : moz-landing-system : lando
2019-03-07 01:35:43 +00:00
ravefalcon92
1944262d43 Bug 1530423 - Ensure breakpoints are added to newly-cloned JSScripts for existing sources. r=loganfsmyth
Similar to bug 1528654, we currently bail out too early and don't process all of the correct scripts when adding breakpoints.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 01:01:05 +00:00
Sean Stangl
aad36dec25 Bug 1532996 - Disable test262 atomic tests if ARM64_SIMULATOR. r=jwalden
Atomic tests are invalid in the ARM64 Simulator, because it lacks proper atomics emulation.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 00:57:54 +00:00
Jason Orendorff
e726943dcf Bug 1531830 - Part 2: Update test262 to run matchAll tests unconditionally. r=jwalden
The previous patch makes both String.prototype.matchAll and Symbol.matchAll
unconditional features.

This patch was made by first making the changes to test262-update.py, then
re-running it against the test262 revision already indicated by
js/src/tests/test262/GIT-INFO: `python test262-update.py --revision
59b89a1c834faadc359aecc882587b513877b59b`.

Depends on D22370

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

--HG--
extra : moz-landing-system : lando
2019-03-07 00:01:49 +00:00
Jason Orendorff
eecd28a654 Bug 1531830 - Part 1: Ship String.prototype.matchAll and Symbol.matchAll. r=jwalden
No pref; the feature is not risky or complicated enough to warrant it. It's
easy enough to back this out if need be.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 00:50:39 +00:00
Ricky Rosario
7663d037e9 Bug 1529340 - CFR Pinned tabs popup animation r=k88hudson
MozReview-Commit-ID: FTr5Pi7ySbY

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

--HG--
extra : moz-landing-system : lando
2019-03-06 23:43:15 +00:00
Masayuki Nakano
6f89be791a Bug 1466208 - part 33: Create PresShell::EventHandler::RecordEventHandlingResponsePerformance() r=smaug
`PresShell::EventHandler::HandleEventInternal()` recodes event handling
response performance with telemetry after it dispatches the event.  We can move
it into new method simply.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 06:03:54 +00:00
Edwin Gao
7e4426091e Bug 1533141 - disable browser_appmenu.js for windows10-aarch64 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D22421

--HG--
extra : moz-landing-system : lando
2019-03-07 00:37:05 +00:00
Edwin Gao
7695d88b21 Bug 1533164 - disable browser_enable_DRM_prompt.js test r=jmaher
Changes:
- added skip-if clause for `windows10-aarch64`

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

--HG--
extra : moz-landing-system : lando
2019-03-07 00:37:07 +00:00
Dorel Luca
571984a7b6 Backed out changeset b57ec6985cd1 (bug 1531632) for Geckoview failures. CLOSED TREE
--HG--
extra : rebase_source : bf3f36df156ac78c02b027923af4a9615053fac2
2019-03-07 02:29:50 +02:00
Steve Fink
7c4355ade7 Bug 1524435 - Stop using JSRope::new_<NoGC> when allocating test ropes r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D22033

--HG--
extra : moz-landing-system : lando
2019-03-07 00:27:57 +00:00
prathiksha
882aee42b6 Bug 1530029 - Turn on the signon.showAutoCompleteFooter pref. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D22425

--HG--
extra : moz-landing-system : lando
2019-03-07 00:06:46 +00:00
prathiksha
6e3743ce12 Bug 1530029 - Pressing enter on the autocomplete footer should open the password manager dialog. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D21603

--HG--
extra : moz-landing-system : lando
2019-03-07 00:06:42 +00:00
Andrew Erickson
069c5d4850 Bug 1531313: reenable dom/base/test/test_progress_events_for_gzip_data.html for android r=gbrown,jkt
Differential Revision: https://phabricator.services.mozilla.com/D21590

--HG--
extra : moz-landing-system : lando
2019-03-06 20:57:04 +00:00
Daisuke Akatsuka
a66aaef5b2 Bug 1524610: Add a document for Reference Browser. r=jdescottes,agi,snorp
Depends on D19106

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

--HG--
extra : moz-landing-system : lando
2019-03-06 23:57:16 +00:00
Lars T Hansen
deeddf1721 Bug 1488205 - Repurpose the --wasm-gc switch for GC. r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D21692

--HG--
extra : rebase_source : 83d2b48fd76a03a8cf175e5f820b4b33f087e4d2
extra : histedit_source : e90289fdb70c787a90a338a2d64e902f4051b34c
2019-03-01 09:55:31 +01:00
Lars T Hansen
7170eb5895 Bug 1488205 - Remove gc_feature_opt_in from reftypes-only tests. r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D21691

--HG--
extra : rebase_source : 831b1b09efd1963b5f2bffbefe520c61034048e1
extra : histedit_source : 589898d3d56268d03491155ce938fd7d7c281d89
2019-03-01 14:17:18 +01:00
Daisuke Akatsuka
49ee8d1cb0 Bug 1524610: Add a document for building GeckoView Example. r=jdescottes,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D19106

--HG--
extra : moz-landing-system : lando
2019-02-22 04:00:29 +00:00
Dorel Luca
fc78eb74a3 Backed out 6 changesets (bug 1353956) for Linux Build bustage
Backed out changeset 71dafccc22ae (bug 1353956)
Backed out changeset f1f29fe519cf (bug 1353956)
Backed out changeset 4978556a66f6 (bug 1353956)
Backed out changeset bc0b91abce9b (bug 1353956)
Backed out changeset 6b8412db5a05 (bug 1353956)
Backed out changeset 3d326cfcd002 (bug 1353956)
2019-03-07 01:49:03 +02:00
hrdktg
91e094a66a Bug 1532570 - nsDOMCSSDeclaration::SetProperty should check for the "important" string in a case-insensitive way. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D22423

--HG--
extra : moz-landing-system : lando
2019-03-06 23:36:23 +00:00
Emilio Cobos Álvarez
cd9ccbbe42 Bug 1533142 - followup: Fix Windows MinGW bustage. r=me 2019-03-07 00:34:19 +01:00
Daniel Holbert
f5d7a9b940 Bug 1533088: Initialize member-var FlexItem::mAlignSelfFlags to zero, in the legacy-box and 'visibility:collapse' FlexItem scenarios. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D22350

--HG--
extra : moz-landing-system : lando
2019-03-06 23:11:19 +00:00
Emilio Cobos Álvarez
c6307e16b7 No bug - fix a typo.
DONTBUILD
2019-03-07 00:15:49 +01:00
Emilio Cobos Álvarez
be8ce9ba8a Bug 1532135 - followup: Add a comment as requested on Phabricator. 2019-03-07 00:15:47 +01:00
dlee
2170ff35ed Bug 1353956 - P6. Load the old prefixset(.pset) when there is no .vlpset. r=gcp
To avoid forcing a redownload of SafeBrowsing v4 list.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 09:41:34 +00:00
dlee
6d5752afae Bug 1353956 - P5. Remove old v4 prefix files after new files are stored. r=gcp
This patch is to cleanup old SafeBrowsing v4 prefix files.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 18:32:23 +00:00
dlee
7bc29f97cd Bug 1353956 - P4. Add header and CRC32 checksum to SafeBrowsing V4 prefix files. r=gcp
After this patch, we may have the following files in SafeBrowsing
directory:
- (v2) .sbstore  : Store V2 chunkdata, for update, MD5 integrity check
                   while load
- (v2) .pset     : Store V2 prefixset, for lookup, load upon startup, no
                  integrity check
- (v4) .metadata : Store V4 state, for update, no integrity check
- (v4) .vlpset   : Store V4 prefixset, for lookup, load upon startup,
                   CRC32 integrity check
- (v4) .pset     : V4 prefix set before this patch, should be removed

The magic string is also added to ".vlpset" header so we can add
a telemetry to see if sanity check is good enough for prefix set
integrity check (The telemetry is not yet added). If yes, we can remove
the CRC32 in the future for even better performance.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 22:57:12 +00:00
Dimi Lee
b8f59ed8b6 Bug 1353956 - P3. Separate file processing and prefix data processing for SafeBrowsing prefix set. r=gcp
SafeBrowsing prefix files LOAD/SAVE operations are handled in xxxPrefixSet.cpp.
It would be more clear if xxxPrefixSet.cpp only processes prefix data,
while LookupCacheV2/LookupCacheV4 which use prefix set process file.

This patch doesn't change any behavior, testcases need to update because
the LookupCache & xxxPrefixSet APIs are changed.

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

--HG--
extra : moz-landing-system : lando
2019-03-04 21:22:46 +00:00
dlee
d253a723f7 Bug 1353956 - P2. Do not use SHA-256 while loading the V4 prefix files. r=gcp
SHA256 is an expensive operation, we should avoid using them if
possible. SafeBrowsing prefix files are loaded during startup and
verify integrity with SHA256 which may affect the performance
especially on the low-end device.

This patch simply removes the SHA256 integrity check. CRC32 version
integrity check will be introduced in the other patch.

This patch also changes the behavior of recording
"Telemetry::URLCLASSIFIER_VLPS_LOAD_CORRUPT" a little bit.
It used to records only once per session(during startup, the first
time we load prefix set), now it records per update.

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

--HG--
extra : moz-landing-system : lando
2019-02-28 08:18:46 +00:00
Dimi Lee
1032932288 Bug 1353956 - P1. Rename checksum used in SafeBrowsing V4 to SHA256. r=gcp
SafeBrowsing V4 protocol use SHA-256 as the checksum to check integrity
of update data and also the integrity of prefix files.

SafeBrowsing V2 HashStore use MD5 as the checksum to check integrity of
.sbstore

Since we are going to use CRC32 as the integrity check of V4 prefix files,
I think rename V4 "checksum" to SHA256 can improve readability.

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

--HG--
extra : moz-landing-system : lando
2019-02-28 08:12:36 +00:00
Jason Orendorff
8fcb34f772 Bug 1525395 - Part 2: Rewrite a Scratchpad test to eliminate some race conditions. r=jimb
I don't understand how the test ever worked. I think the idea was that each
operation would result in changes to the prefs, because those prefs are the
source of truth for the recent-files list. However, I don't understand why some
tests would not trigger multiple observer callbacks, which should have been a
huge mess.

The new code doesn't observe the prefs at all. Where possible, it waits for an
appropriate promise; in other places it uses `setTimeout()` to wait for the
next tick, relying on the Scratchpad implementation to be done reacting by
then.

Since the original code was event-driven, most tests were split across two
functions. Each test function had the bottom half of one test and the top half
of the next test. The new code uses async/await and can therefore at least
group related functionality into single cohesive test functions. But those test
functions aren't as independent as they look -- most of them still depend on
previous tests to set up the expected starting state.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 23:04:01 +00:00
Jason Orendorff
d03888d5bf Bug 1525395 - Part 1: Make Scratchpad.openFile return a promise. r=jimb
Tests can use the promise to avoid racing on the text being available and the
UI ready for interaction.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 23:03:47 +00:00
berkay.barlas
b61741d079 Bug 1151732 disappear panels in sidebar after clicking the Pocket sidebar button r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D22198

--HG--
extra : moz-landing-system : lando
2019-03-06 23:03:33 +00:00
Mike Hommey
bccb685e03 Bug 1531632 - Initialize environment variables before loading libxul. r=snorp
There are at least two known side effects of initializing it after
loading libxul:
- We can't set LLVM_PROFILE_FILE for the instrumentation part of PGO to
  make the compiler-rt static initializer pick it.
- We can't set MOZ_DEBUG_LINKER to enable the linker debug log (which
  used to work when environment variables were set earlier).

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

--HG--
extra : moz-landing-system : lando
2019-03-06 15:36:19 +00:00