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

717117 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta aa7d787c6e Bug 1651050 - Change how the zoomable flag is used in scrollframes. r=tnikkel
If the root scrollframe has the zoomable flag set, it automatically returns
true from WantAsyncScroll which makes it the "primary" scrollframe, and
automatically gets a displayport. However, this can be undesirable in cases
where the root scrollframe is not actually scrollable (i.e. document content
doesn't overflow) because we don't actually need that displayport on the root
scrollframe and instead want it on a scrollframe that is actually scrollable.

This patch removes the behaviour of WantAsyncScroll returning true for such
scrollframes, but maintains the layerization changes needed to support zooming.
This reduces the set of differences between running with apz.allow_zooming on
and off, which in turn eliminates a bunch of test failures when that pref is
enabled.

Depends on D82777

Differential Revision: https://phabricator.services.mozilla.com/D82778
2020-07-09 10:39:59 +00:00
Kartikaya Gupta 77fbcf18c0 Bug 1651050 - Make sure the iframe is actually outside the "nearly visible" displayport. r=tnikkel
If the scrollable div ends up as the first-encountered scrollframe, it gets a
big displayport that is just over 5000px CSS pixels tall (on GeckoView). When we
check for images being "nearly visible" we expand that displayport further by a
pref-controlled multiplier, which ends up doubling the displayport height to
over 10000 CSS pixels. So for the image to actually get detected as outside the
"nearly visible rect" it needs to be positioned further down in the iframe.
This test was previously passing on GeckoView because the scrollable div was
not getting detected as the first-encountered scrollframe; the root scrollframe
for the top-level document was the one getting the displayport even though it
didn't really need it. A later patch in this bug changes the first-encountered
scrollframe, causing this test to fail without this patch.

Differential Revision: https://phabricator.services.mozilla.com/D82777
2020-07-08 23:50:16 +00:00
ffxbld 70e23b89d1 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D82904
2020-07-09 14:21:42 +00:00
Matthew Gaudet 26823dfdfa Bug 1647786 - Enable non-proxy test262 tests for private fields r=jorendorff
This patch was created in two stages:

1. Running the update script
2. Editing jstests.list to add the shell option to all tests added, and
   skipping Proxy tests.

Differential Revision: https://phabricator.services.mozilla.com/D82608
2020-07-08 22:08:10 +00:00
emcminn 1821e6d193 Bug 1649303 - Removed unwanted scrollbars on multistage about:welcome r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D82430
2020-07-09 00:29:11 +00:00
Lennart Grahl c1c91eceec Bug 1646715 - Bump usrsctp version to ea345b6d0c8a0f8701cf49445dba5ec8d34e2305 r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D81713
2020-07-09 13:24:23 +00:00
Lennart Grahl 6fd4323032 Bug 1646715 - Simplify usrsctp build file and remove unused Android patch r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D81712
2020-07-09 13:24:23 +00:00
Andrew Halberstadt 2e0601326b Bug 1650067 - [taskgraph] Fix some Python 3 compatibility issues in the 'optimize' directory, r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D81577
2020-07-08 18:19:24 +00:00
Chris H-C b9f9344d05 Bug 1651210 - uint variant values should convert over as uints, not ints r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D82891
2020-07-09 13:02:29 +00:00
David Major 35dd2fb2b2 Bug 1646168 - Allow optional arrows in TestCanRunScript.cpp errors r=andi
These started appearing in clang 11.

Differential Revision: https://phabricator.services.mozilla.com/D82799
2020-07-09 04:59:58 +00:00
Nicolas Chevobbe d7fdb5bb73 Bug 1644186 - Add server support for Error messages resources. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D81356
2020-07-09 12:39:22 +00:00
Andrea Marchesini c69f56d7dd Bug 1650656 - Call CookieCommons::SchemeToSchemeType only when the scheme is supported, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D82491
2020-07-09 11:05:58 +00:00
Andi-Bogdan Postelnicu 222c13b10b Bug 1648710 - reduce `max-run-time` for coverity full tree analysis. r=marco
Differential Revision: https://phabricator.services.mozilla.com/D82871
2020-07-09 12:40:43 +00:00
Razvan Maries cb161b6b55 Backed out 2 changesets (bug 1447935) for perma failures on test_headless.js. CLOSED TREE
Backed out changeset 0332d1b01f63 (bug 1447935)
Backed out changeset bcf6ab4e4f50 (bug 1447935)
2020-07-09 15:53:12 +03:00
Razvan Maries ab9f3eb05b Backed out 3 changesets (bug 1647759) for GTest perma failures. CLOSED TREE
Backed out changeset 94c175860a86 (bug 1647759)
Backed out changeset e7d8a7d2bdf1 (bug 1647759)
Backed out changeset 2972984413b8 (bug 1647759)
2020-07-09 15:41:22 +03:00
Andrew Halberstadt 6774848e15 Bug 1591678 - [mozlog] Ensure missing leak totals count as a failure in the StatusHandler, r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D82794
2020-07-09 03:59:26 +00:00
Itiel bd28d23ce6 Bug 1651443 - Always align the codemirror lines to the left r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D82774
2020-07-09 12:04:32 +00:00
Razvan Maries b34b73644f Bug 1650930 - Disabled test_bug1027864.html. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D82880
2020-07-09 11:49:32 +00:00
Razvan Maries 3ed03d134b Backed out changeset 162bc74a2c75 (bug 1644186) for perma failures on browser_webconsole_stubs_page_error.js. CLOSED TREE 2020-07-09 15:20:24 +03:00
Razvan Maries e23631e029 Backed out 2 changesets (bug 1650794) for perma failures on browser_masterpassword.js .CLOSED TREE
Backed out changeset 5ffeb4bf7fa5 (bug 1650794)
Backed out changeset 45b3d9917fb3 (bug 1650794)
2020-07-09 15:04:47 +03:00
Henrik Skupin 74a6bd97cd Bug 1644349 - [remote] Remove usage of windowIdToFrameIdMap in the Network observer. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D82691
2020-07-08 19:55:45 +00:00
Dimi Lee 84e027594f Bug 1447935 - P2. Use fission-compatible third-party checks r=baku
Differential Revision: https://phabricator.services.mozilla.com/D80187
2020-07-09 11:32:45 +00:00
Dimi Lee 3f4421f020 Bug 1447935 - P1. CreatePairwiseEntitylist uses loading principal when a channel doesn't have an associated top-level window r=baku
loads in appcache doesn't have a top-level window, use loading principal
instead.

Differential Revision: https://phabricator.services.mozilla.com/D80186
2020-07-09 11:32:37 +00:00
Kershaw Chang 9c8f0c8d00 Bug 1647759 - P3: Send init attributes to socket process r=dragana
Depends on D82352

Differential Revision: https://phabricator.services.mozilla.com/D82353
2020-07-07 11:51:17 +00:00
Kershaw Chang 6cb09fb6f3 Bug 1647759 - P2: Send connectivity status to socket process r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D82352
2020-07-06 18:26:49 +00:00
Kershaw Chang 18ea12a27d Bug 1647759 - P1: Make nsIOService::mOffline and nsIOService::mConnectivity atomic r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D82351
2020-07-06 18:26:16 +00:00
Dan Minor a86224d9f7 Bug 1621500 - Use serial queue for video decoding on OS X; r=ng
The DISPATCH_QUEUE_PRIORITY_DEFAULT queue currently in use starts tasks as they
arrive rather than running tasks sequentially. By using a dedicated serial queue,
frames will be encoded and delivered in the order in which they are added to the
queue. It also makes it possible to post a task to the queue when video capture
is stopped, which can guarantee that all frames have been delivered before stop
completes. This should fix a crash we're seeing in DeliverCapturedFrame which
appears to be caused by racing between the main thread in Stop() and the capture
thread in captureOutput. The new queue is set to target the
DISPATCH_QUEUE_PRIORITY_DEFAULT, so tasks will still run there. This should give
us serial execution without the overhead of starting a new thread to manage our
queue.

The new upstream implementation creates a serial queue rather than using
DISPATCH_QUEUE_PRIORITY_DEFAULT. It also raises the priority of the queue above
default, but I think that should wait for a separate bug.

Differential Revision: https://phabricator.services.mozilla.com/D82721
2020-07-08 17:27:09 +00:00
Dão Gottwald c39cc46923 Bug 1651310 - Increase Ctrl-Tab preview limit from 6 to 7. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D82665
2020-07-08 23:10:56 +00:00
Tom Schuster f493f6213b Bug 1651445 - Stop using CallNonGenericMethod for Number methods. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D82785
2020-07-09 10:59:50 +00:00
Masayuki Nakano dd8f12dbc3 Bug 1647556 - part 9-2: Make `WSRunObject::InsertBreak()` stop using `FindNearestFragment()` r=m_kato
It removes some invisible leading and/or trailing white-spaces when it inserts
`<br>` element into the invisible white-space sequence.  It currently checks
whether the insertion point is in invisible leading and trailing white-spaces
or not with `FindNearestFragment()`, but we can do same thing with
comparing the insertion point with the result of
`TextFragmentData::GetInvisibleLeadingWhiteSpaceRange()` and
`TextFragmentData::GetInvisibleLeadingWhiteSpaceRange()`.  However, current
implementation does not make sense because:
- It checks trailing white-spaces with `!IsEndOfHardLine()` and
  `IsStartOfHardLine()`, but this means that it does ignores invisible
   white-spaces which are the only content in a line.
- It checks leading white-spaces with `!IsStartOfHardLine()` and
  `IsEndOfHardLine()`, so, this also ignores invisible white-spaces which
  are the only content in a line.
- The important thing of the logic is prevent that invisible leading and
  trailing white-spaces become visible with new `<br>` element, but this
  is done only for trailing white-spaces.

Differential Revision: https://phabricator.services.mozilla.com/D82283
2020-07-09 09:44:41 +00:00
Sebastian Streich d806bac0e0 Bug 1646768 - Add Telemetry for MCB-Download Blocking r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D80215
2020-07-09 09:58:52 +00:00
André Bargull 4d1d96c31a Bug 1534160 - Part 2: Cherry-pick patch for Android time zone detection. r=jwalden
Cherry-pick the commit from <https://github.com/unicode-org/icu/pull/605>.

Depends on D82545

Differential Revision: https://phabricator.services.mozilla.com/D82546
2020-07-09 09:52:26 +00:00
André Bargull dc07d1aa1e Bug 1534160 - Part 1: Re-run ICU updater to pick up latest changes to ICU 67 maintenance branch. r=jwalden
The change itself isn't important for us, because we don't use ICU's make-files,
but avoids confusion why additional changes were applied when running the update
script.

Differential Revision: https://phabricator.services.mozilla.com/D82545
2020-07-07 21:05:03 +00:00
pbz 82e43c13e5 Bug 1650794 - Extended SubDialogManager to support queuing dialogs. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D82406
2020-07-09 10:10:26 +00:00
pbz 650149a70d Bug 1650794 - Refactor subdialogs.js to reusable SubDialog.jsm. r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D82405
2020-07-09 10:10:18 +00:00
Mark Banner 7665b32b2b Bug 1650756 - When upgrading app-provided search engines, ensure the modern configuration is properly re-applied. r=daleharvey
Depends on D82583

Differential Revision: https://phabricator.services.mozilla.com/D82584
2020-07-09 10:19:03 +00:00
Mark Banner f92e442128 Bug 1650756 - Avoid translating any params from the search engine configuration to and from URLSearchParams an additional time. r=daleharvey
Currently we're converting the configuration url parameters to strings in makeEngineFromConfig via URLSearchParams. We then pass them through URLSearchParams again in _initEngineURLFromMetaData.

Depends on D82525

Differential Revision: https://phabricator.services.mozilla.com/D82583
2020-07-09 10:14:22 +00:00
Mark Banner e70637b6d9 Bug 1632448 - Remove now unused confirm and extensionID parameters for nsISearchService.addEngine, and rename it. r=daleharvey
Renaming to addOpenSearchEngine to make it more explicit about what it is actually doing.

Depends on D82524

Differential Revision: https://phabricator.services.mozilla.com/D82525
2020-07-09 09:56:25 +00:00
Mark Banner 6cd1a39735 Bug 1632448 - Remove AddSearchProvider implementation. r=baku,daleharvey
Depends on D82350

Differential Revision: https://phabricator.services.mozilla.com/D82524
2020-07-09 09:52:24 +00:00
Mark Banner d3b5d95706 Bug 1637744 - Merge getEngineParams into functions in SearchEngine. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D82350
2020-07-09 09:51:58 +00:00
Mark Banner 081c72b8b1 Bug 1637744 - Add more tests to cover various search engine parameter options. r=daleharvey
These cover some gaps in coverage for the existing getEngineParams.

Differential Revision: https://phabricator.services.mozilla.com/D82349
2020-07-09 09:50:29 +00:00
Mark Banner 009c9b0686 Bug 1637744 - Create a new function for adding search engines, and a separate function for policy engines. r=daleharvey
The main aim here is to move the call to getEngineParams that currently happens before addEngineWithDetails. This is moved into addEngineWithDetails, so that it is next to where the search engine is actually created. This gets ready for the next step which will be to merge getEngineParams with the SearchEngine initWithMetadata and associated calls.

The side effects are that we need a specific function for policy engines to use, and that we now have only tests using addEngineWithDetails.

Differential Revision: https://phabricator.services.mozilla.com/D82348
2020-07-09 09:23:10 +00:00
Andreea Pavel 4d223b739e Backed out 3 changesets (bug 1645234) for failing browser_webconsole_requestStorageAccess_errors.js on a CLOSED TREE
Backed out changeset ad1f8a4d64cf (bug 1645234)
Backed out changeset 6de9007aa306 (bug 1645234)
Backed out changeset 87d5d468c7f2 (bug 1645234)
2020-07-09 13:05:14 +03:00
Tooru Fujisawa be67ca2eb8 Bug 1651545 - Update jsparagus for bug 1642476. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D82874
2020-07-09 09:41:04 +00:00
Nicolas Chevobbe cf209b6c53 Bug 1644186 - Add server support for Error messages resources. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D81356
2020-07-09 08:55:49 +00:00
Mirko Brodesser abe1457b3b Bug 1649121: part 29) Rename and simplify arguments of `InsertContents`. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D82662
2020-07-09 05:44:18 +00:00
Mirko Brodesser 4560c59527 Bug 1649121: part 28) Add `InsertContents`. r=masayuki
Its arguments are renamed in the following review.

Differential Revision: https://phabricator.services.mozilla.com/D82661
2020-07-09 05:41:48 +00:00
Mirko Brodesser 637ad4a65b Bug 1649121: part 27) Add `MoveCaretOutsideOfLink`. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D82520
2020-07-08 12:14:16 +00:00
Mirko Brodesser dcff5a5f40 Bug 1649121: part 26) Move `CollectTopMostChildContentsCompletelyInRange`. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D82518
2020-07-08 12:15:06 +00:00
Mirko Brodesser 47b1f0e01f Bug 1649121: part 25) Factor detecting invisible `<br>` out. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D82517
2020-07-09 05:39:05 +00:00