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

765976 Коммитов

Автор SHA1 Сообщение Дата
Ryan Hunt 4282ade2e1 Bug 1721718 - wasm: Add OOM checks on getOrCreatePrototype for wasm objects. r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D120533
2021-08-06 18:51:37 +00:00
Daniel Holbert ea243fb10a Bug 1672640 part 3: Adjust GetNaturalBaselineBOffset implementations to bail (report no baseline) if the frame has 'contain:layout'. r=TYLin
Some of our GetNaturalBaselineBOffset implementations already have this; others
don't.  But they all should have it, or else a caller might improperly query
their baseline and use it for layout despite the frame having 'contain:layout'.

Without this patch, the rest of this patch-stack makes us fail WPT test
contain-layout-suppress-baseline-002.html because we improperly honor the
baseline for the 'contain:layout' buttons at the top of the test.

Differential Revision: https://phabricator.services.mozilla.com/D121938
2021-08-06 18:46:22 +00:00
Daniel Holbert 570c828b36 Bug 1672640 part 2: Fall back to GetNaturalBaselineBOffset to ask flex items what their baseline is. r=TYLin
Our earlier call to nsLayoutUtils::GetFirstLineBaseline/GetLastLineBaseline
works in most cases, but those APIs don't handle every frame type and fails for
text control frames (for example).  This new call should handle those cases
by directly asking the frame for its baseline.

Differential Revision: https://phabricator.services.mozilla.com/D121922
2021-08-06 18:46:21 +00:00
Daniel Holbert 607fd2307c Bug 1672640 part 1: Flatten logic and update comments in FlexItem::ResolvedAscent(). r=TYLin
This patch doesn't affect behavior; it just refactors some logic to have an
early-return and reduce indentation, to make the next patch in this series
easier/simpler.

While we're at it, this patch also updates & extends some neighboring
code-comments to be more specific & more correct about how this code behaves
and its limitations.

Differential Revision: https://phabricator.services.mozilla.com/D121921
2021-08-06 18:46:21 +00:00
Andrew Creskey 6056f20f94 Bug 1724058 Update history metadata export to include new and updated fields r=mak,ccd
We are exporting  place_id instead of the url_hash to preserve privacy.

Also additional fields required for frecency calculations.

Differential Revision: https://phabricator.services.mozilla.com/D121769
2021-08-06 18:22:53 +00:00
Olli Pettay e361a4cdfa Bug 1724451, activate the relevant processes when restoring a bfcached page on the foreground tab, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D122008
2021-08-06 17:39:21 +00:00
alwu f1c881ba56 Bug 1723627 - remove out-of-date comment in RemoteDecoderParent. r=bryce
This comment [1] is out-of-date because bug 1590475 has already implemented the ownership transform for shmem.

[1] https://searchfox.org/mozilla-central/rev/7b1de5e29d878cc163dec7beaf9b57a2f0f41aaa/dom/media/ipc/RemoteDecoderParent.cpp#127-130

Differential Revision: https://phabricator.services.mozilla.com/D121584
2021-08-06 17:33:11 +00:00
Kagami Sascha Rosylight d97053ccff Bug 1723050 - Part 7: Replace typedef by using in dom/clients/ r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D121299
2021-08-06 17:26:49 +00:00
Brindusan Cristian cd65f7cd8c Backed out changeset a6a21c4f4bbe (bug 1724375) for causing SM bustages in Assembler-x86-shared.h.
CLOSED TREE
2021-08-06 20:09:35 +03:00
Marian-Vasile Laza d8ab847244 Backed out changeset 4079bc8d46ca (bug 1719124) for causing failures on printcmd.py. CLOSED TREE 2021-08-06 19:31:56 +03:00
Marian-Vasile Laza 9c94fc9c4c Backed out changeset 37008f131c6f (bug 1721306) for causing bustages on SessionHistoryEntry.cpp. 2021-08-06 19:28:58 +03:00
Lars T Hansen 2666b40007 Bug 1724375 - Clean up SSE flags override code. r=jandem
The SSE flags override must be sure to reset the SSE flags first, for
reasons already stated in the code.  But if multiple flags are present
the semantics of the flag overrides is a little opaque.  We clean this
up.

There is a minor semantic change here in that the most restrictive
setting is now kept, while previously the last setting was kept, and
this was (given the structure of the calling code) always the least
restrictive setting.  In practical terms this should not matter, and
if it does we can fix fallout later.

Differential Revision: https://phabricator.services.mozilla.com/D121953
2021-08-06 16:10:16 +00:00
Lee Salzman 12a2833e45 Bug 1722054 - Restructure SwCompositeThread synchronization to not rely on job count. r=jrmuizel
This patch aims to address a worst-case theoretical possibility where the job count might for
some reason get out of sync, causing either the SwComposite thread or the main thread to deadlock
waiting on jobs that may never become available.

To this end, we get rid of the job count tracking entirely, and instead just track whether,
first, the SwComposite thread has completed all the jobs that have been queued for it, and,
second, that the main thread, having completed all jobs that were available, is waiting for
jobs to be available or completed such that the SwComposite thread would need to wake it up.
The main thread does not need to wait if it knows the SwComposite thread completed all jobs,
and the SwComposite thread does not need to signal if it knows the main thread is not waiting.

Otherwise stated, so long as both the main and SwComposite threads know there are no more
available jobs, then there is no way compositing can advance any further, and so compositing
must be finished. This avoids relying on having a job count that is always accurate to track
termination.

Differential Revision: https://phabricator.services.mozilla.com/D121821
2021-08-06 16:07:10 +00:00
Doug Thayer 6282b0a3b9 Bug 1724280 - Add method to SnapshotSelector to immediately rebuild rather than deferring r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D121906
2021-08-06 16:04:34 +00:00
Marian-Vasile Laza 5315f53560 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2021-08-06 19:06:25 +03:00
Marian-Vasile Laza 48a854d36b Merge autoland to mozilla-central. a=merge 2021-08-06 18:59:21 +03:00
Sebastian Hengst e41d6daac3 Bug 1724349 - add back expectation for a test step in force-load-at-top.html and adjust for Windows Azure. r=jmaher DONTBUILD
Bug 1718326 had dropped a 'NOTRUN' annotation by accident. In addition, further
adjustments for Windows 10 2004 were needed.

Differential Revision: https://phabricator.services.mozilla.com/D121999
2021-08-06 15:47:57 +00:00
Jacek Kuzemczak 9a9fb72c85 Bug 1719124 Split PDF data into chunks to avoid hitting function call argument limit r=webdriver-reviewers,jgraham,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D121363
2021-08-06 15:36:40 +00:00
Olli Pettay ece46d2b64 Bug 1721306, hide the tooltip when deactivating a BrowserParent, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D121756
2021-08-06 15:13:36 +00:00
Jared Hirsch c74f4e41b5 Bug 1724081 - Stop sending analytics pings to the Screenshots server. r=emalysz
CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D121796
2021-08-06 14:55:43 +00:00
Rob Wu c76127baf5 Bug 1723198 - Don't delete user.js in remotexpcshelltests.py + tests r=jmaher
The new tests in testing/xpcshell/example/ cover the following scenarios:

- Local AND remote xpcshell tests. In contrast, modifications to
  selftest.py in bug 1635227 only covered runxpcshelltests.

- `prefs=` inheritance from ancestor manifests as implemented by
  https://hg.mozilla.org/mozilla-central/rev/ac51a01611dc

- Per-file `prefs` setters (used in bug 1638099).

- Multiple prefs and comments per `prefs` line.

Differential Revision: https://phabricator.services.mozilla.com/D121632
2021-08-09 14:49:17 +00:00
Rob Wu ee18283942 Bug 1723536 - Clear generated user.js before start of xpcshell test r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D121631
2021-08-09 14:49:17 +00:00
Paul Zuehlcke f6f5a3bca5 Bug 1721665 - Do not overwrite private browsing permission lifetime when removing permissions. r=timhuang,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D121749
2021-08-09 14:46:07 +00:00
Tom Ritter 0d2fa9bec2 Bug 1723204: Wire up a crash for Javascript Load Telemetry r=ckerschb,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121417
2021-08-09 14:42:31 +00:00
Tom Ritter 4e042e9603 Bug 1723204: Infrastructure for causing a crash at most N times r=KrisWright,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D121416
2021-08-09 14:42:31 +00:00
Jonathan Kew 14e9b6c630 Bug 1723787 - Add print reftest to verify that emoji are not blank when printing. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D121948
2021-08-09 14:28:42 +00:00
Jonathan Kew 55e3fc6f6e Bug 1723787 - Apply cairo quartz font/surface changes from Andrea Canciani's quartz-colored-glyphs branch at https://gitlab.freedesktop.org/ranma42/cairo/-/commits/quartz-colored-glyphs. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D121909
2021-08-09 14:28:42 +00:00
Christoph Kerschbaumer 0ad84a48dd Bug 1723080: Update worker tests within dom/ to work with https-first enabled r=baku
Differential Revision: https://phabricator.services.mozilla.com/D121340
2021-08-09 14:26:37 +00:00
Neil Deakin 850850f338 Bug 1724395, bookmarks commands to add bookmarks and folders not working after a submenu is opened, r=mak
Should only clear the last trigger node when the top-level popup is hidden

Differential Revision: https://phabricator.services.mozilla.com/D122007
2021-08-09 14:20:18 +00:00
Antonin LOUBIERE 982d0f1f0b Bug 1642211 - Ability to sort logins by username. r=jaws,fluent-reviewers
Add the ability to sort logins by username.

Differential Revision: https://phabricator.services.mozilla.com/D120591
2021-08-09 14:00:51 +00:00
Brindusan Cristian bead970f1f Backed out changeset b100ed804d46 (bug 1722316) for causing cpp unified-bustages in SVGFEMorphologyElement.cpp.
CLOSED TREE
2021-08-09 17:09:57 +03:00
Sebastian Hengst 7a7028b3ff Bug 1724557 - skip browser_media_wakelock.js on macOS 11 with Apple Silicon for failing frequently. r=mossop DONTBUILD
Bug 1714200 had enabled e.g. mochitests on macOS 11.

Differential Revision: https://phabricator.services.mozilla.com/D122099
2021-08-09 13:54:20 +00:00
Kagami Sascha Rosylight ac80a98f45 Bug 1723050 - Part 36: Replace typedef by using in dom/xul/ r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D121334
2021-08-09 13:37:32 +00:00
Kagami Sascha Rosylight 4356aa3361 Bug 1723050 - Part 35: Replace typedef by using in dom/xml/ r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D121333
2021-08-09 13:37:31 +00:00
Kagami Sascha Rosylight 482e05f4f3 Bug 1723050 - Part 34: Replace typedef by using in dom/xslt/ r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D121332
2021-08-09 13:37:31 +00:00
Kagami Sascha Rosylight f0a6cae189 Bug 1723050 - Part 31: Replace typedef by using in dom/webbrowserpersist/ r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D121329
2021-08-09 13:37:30 +00:00
Kagami Sascha Rosylight 2e5d583a8d Bug 1723050 - Part 30: Replace typedef by using in dom/vr/ r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D121328
2021-08-09 13:37:30 +00:00
Kagami Sascha Rosylight 167125cf34 Bug 1723050 - Part 29: Replace typedef by using in dom/system/ r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D121327
2021-08-09 13:37:30 +00:00
Kagami Sascha Rosylight 7610a3dfcf Bug 1723050 - Part 24: Replace typedef by using in dom/script/ r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D121322
2021-08-09 13:37:29 +00:00
Kagami Sascha Rosylight 85fd9401d7 Bug 1723050 - Part 22: Replace typedef by using in dom/prio/ r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D121320
2021-08-09 13:37:29 +00:00
Kagami Sascha Rosylight ad1eb3ed7e Bug 1723050 - Part 21: Replace typedef by using in dom/performance/ r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D121319
2021-08-09 13:37:29 +00:00
Kagami Sascha Rosylight 394381f87e Bug 1723050 - Part 20: Replace typedef by using in dom/offline/ r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D121318
2021-08-09 13:37:28 +00:00
Kagami Sascha Rosylight deeaa7ead1 Bug 1723050 - Part 16: Replace typedef by using in dom/ipc/ r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D121314
2021-08-09 13:37:28 +00:00
Kagami Sascha Rosylight c69d367ce0 Bug 1723050 - Part 14: Replace typedef by using in dom/html/ r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D121312
2021-08-09 13:37:27 +00:00
Kagami Sascha Rosylight d71395370d Bug 1723050 - Part 13: Replace typedef by using in dom/geolocation/ r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D121311
2021-08-09 13:37:27 +00:00
Kagami Sascha Rosylight e9692a5da6 Bug 1723050 - Part 12: Replace typedef by using in dom/gamepad/ r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D121310
2021-08-09 13:37:26 +00:00
James Graham 4dd442a90e Bug 1719173 - Update metadata, r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D122066
2021-08-09 13:07:05 +00:00
Cosmin Sabou 3aab856fdb Bug 1724575 - Update expectation for svg-mutation-url-to-function.html on OS X DevEdition. r=aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D122054
2021-08-09 12:58:22 +00:00
Kershaw Chang 32f8d51ddb Bug 1721781 - Make HTTP3 work when we use DIRECT proxy connection, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D120805
2021-08-09 12:25:54 +00:00
Nicolas Silva c50c34223a Bug 1722316 - Add UseCounter telemetry for various svg filters. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D120850
2021-08-09 12:18:12 +00:00