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

727792 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 48e8e82173 Bug 1667007 - Fix AsyncLogger::TracePayload's mName size calculation. r=padenot
such that it accounts for alignment of TracePayload itself in MPSCQueue
correctly.

Differential Revision: https://phabricator.services.mozilla.com/D91238
2020-09-24 08:20:17 +00:00
Ryan VanderMeulen 90f75c7d32 Bug 1667280 - Update pdf.js to version 2.7.81. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D91374
2020-09-25 01:37:07 +00:00
Hiroyuki Ikezoe fd92b1e73e Bug 1663920 - Ignore CUPS_PRINTER_DISCOVERED, CUPS_PRINTER_FAX and CUPS_PRINTER_SCANNER in the CUPS backend. ?AlaskanEmily r=AlaskanEmily
Differential Revision: https://phabricator.services.mozilla.com/D90508
2020-09-25 01:10:12 +00:00
Michael Kaply baf3127120 Bug 1665237 - Make managed bookmarks item dynamic. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90628
2020-09-22 20:08:17 +00:00
Razvan Maries 92ac0ffaa7 Backed out changeset 3ea0c63fe8b8 (bug 1664905) for build bustages on ClientWebGLContext.cpp. CLOSED TREE 2020-09-25 03:26:17 +03:00
Masayuki Nakano a2893f0106 Bug 1658702 - part 20: Get rid of all `nsIEditor::EStripWrappers` argument from all methods computing target ranges r=m_kato
Currently, target ranges do not extend the ranges even when deleting empty
parent elements of the range.  Therefore, the frag indicating whether empty
parents removed or not is not necessary for the methods.

Differential Revision: https://phabricator.services.mozilla.com/D90542
2020-09-24 12:47:03 +00:00
Masayuki Nakano 83ade05419 Bug 1658702 - part 19: Make `WSRunScanner::GetRangeForDeletingBlockElementBoundaries()` contain preceding invisible `<br>` element at start of joining blocks range r=m_kato
When joining 2 block elements, the left block element may ends with invisible
`<br>` element or the right block element may follows an invisible `<br>`
element if it's a descendant of the left block element.  In those cases, the
invisible `<br>` element must be start of the target range of the joining
block elements since it'll be deleted.

Differential Revision: https://phabricator.services.mozilla.com/D90541
2020-09-24 12:46:45 +00:00
Paul Bone 27620f53b7 Bug 1666746 - pt 3. Improve some messages from TestPLDHash r=njn
Add labels to some console messages in this test so that the caller can be
identified easilly.

Depends on D89566

Differential Revision: https://phabricator.services.mozilla.com/D91120
2020-09-25 00:09:35 +00:00
Paul Bone 1dfcb71d2f Bug 1666746 - pt 2. Reuse SlotForIndex to avoid duplicate code r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D89566
2020-09-25 00:10:18 +00:00
Paul Bone fef68ccce5 Bug 1666746 - pt 1. Add an IsAllocated method r=froydnj
Adding this method makes it clearer what code is doing when it checks that
the storage has been allocated.

Differential Revision: https://phabricator.services.mozilla.com/D89564
2020-09-25 00:09:35 +00:00
Jeff Gilbert 98e2fea926 Bug 1664905 - Use gfxVars instead of GfxInfo in WebGL code. r=mattwoodrow
GfxInfo generally wants to be main-thread, so WebGL (especially
out-of-process) runs into problems sometimes.

Also remove obsolete FEATURE_WEBGL_MSAA.

Differential Revision: https://phabricator.services.mozilla.com/D91208
2020-09-24 23:46:12 +00:00
Jan-Ivar Bruaroey e3827b1882 Bug 1654430 - Fix mDeviceIDs to only track real devices and not be overwritten by other enumerateDevices requests. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D89231
2020-09-24 23:32:00 +00:00
Jan-Ivar Bruaroey 4c69b0ebaa Bug 1654430 - Update waitForRtpFlow() mochitest helper to use sender/receiver.getStats. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D89082
2020-09-23 16:09:04 +00:00
Jan-Ivar Bruaroey fb585eddf0 Bug 1654430 - Reorder devicechange event tests in test_ondevicechange.html r=pehrsons
to test event, no event, event.

Differential Revision: https://phabricator.services.mozilla.com/D89081
2020-09-23 16:08:56 +00:00
Jan-Ivar Bruaroey 0ae206585d Bug 1654430 - Replace 200ms mainthread sleep on inserting/removing USB/bluetooth cam/mic/speaker with WaitFor() promise. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D84458
2020-09-23 16:08:58 +00:00
Razvan Maries 887634a649 Backed out 3 changesets (bug 1665713) for perma failures on test_peerConnection_capturedVideo.html. CLOSED TREE
Backed out changeset 296d5facd7bd (bug 1665713)
Backed out changeset 770d63754715 (bug 1665713)
Backed out changeset 433d8f92b482 (bug 1665713)
2020-09-25 02:58:57 +03:00
Razvan Maries 2e98c304f8 Backed out 2 changesets (bug 1663192) for build bustages on nsHttpChannel.cpp. CLOSED TREE
Backed out changeset a12d9ab2562c (bug 1663192)
Backed out changeset b47fca4272fd (bug 1663192)
2020-09-25 02:34:05 +03:00
Masayuki Nakano ddc2f11b46 Bug 1658702 - part 18: Implement the path to compute target ranges when deleting around an invisible `<br>` element r=m_kato
This patch corresponds to:
* https://searchfox.org/mozilla-central/rev/30e70f2fe80c97bfbfcd975e68538cefd7f58b2a/editor/libeditor/HTMLEditSubActionHandler.cpp#3431,3450,3459-3489,3511-3517

However, it seems that this is a dead path in most cases because most tests
added by this patch are handled as non-collapsed range deletion.  The
collapsed range is extended by `AutoRangeArray::ExtendAnchorFocusRangeFor()`.

Differential Revision: https://phabricator.services.mozilla.com/D90540
2020-09-24 12:46:22 +00:00
Itiel a18be7c92b Bug 1666594 - Force LTR the username and password textboxes in the tab-model authentication dialogs r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D91049
2020-09-24 22:16:35 +00:00
Kannan Vijayan a404783ac7 Bug 1659104 - Part 4 - Shell and testing functions for Stencil XDR. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D90513
2020-09-24 22:21:21 +00:00
Kannan Vijayan d775f14cc9 Bug 1659104 - Part 3 - Add XDR support to Stencils. r=tcampbell,arai
Differential Revision: https://phabricator.services.mozilla.com/D90512
2020-09-24 17:50:03 +00:00
Kannan Vijayan 3ef526e3aa Bug 1659104 - Part 2 - Define XDR encoder and decoder variants that operate on stencils. r=tcampbell,arai
Differential Revision: https://phabricator.services.mozilla.com/D90511
2020-09-24 17:48:11 +00:00
Kannan Vijayan 2864d18515 Bug 1659104 - Part 1 - Add ParserAtom support for Char16LE strings. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D90510
2020-09-24 17:47:53 +00:00
Masayuki Nakano 82f1264243 Bug 1658702 - part 17: Implement the last path to handle non-collapsed ranges deletion r=m_kato
This patch corresponds to:
* https://searchfox.org/mozilla-central/rev/0c97a6410ff018c22e65a0cbe4e5f2ca4581b22e/editor/libeditor/HTMLEditSubActionHandler.cpp#4812-4825,4839-4850
* https://searchfox.org/mozilla-central/rev/0c97a6410ff018c22e65a0cbe4e5f2ca4581b22e/editor/libeditor/HTMLEditSubActionHandler.cpp#4699-4706,4709,4734-4747

Like mentioned in the first link, the logic is completely broken so that this
just follows the broken logic to return actual "affected ranges".

Differential Revision: https://phabricator.services.mozilla.com/D90214
2020-09-24 12:46:15 +00:00
Ben Campbell 51c76c17d3 Bug 1654915 - Make mozinfo version parsing tolerant of non-numeric version strings. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D85691
2020-09-24 21:43:47 +00:00
Timothy Nikkel 4de9f9d9b7 Bug 1656689. Use GetAvailableScrollingDirectionsForUserInputEvents in nsLayoutUtils::GetNearestScrollableFrameForDirection. r=kats
Keyboard arrow key scrolls go through PresShell::ScrollLine/ScrollCharacter. When these look for a scroll frame they eventually end up at nsLayoutUtils::GetNearestScrollableFrameForDirection.

nsLayoutUtils::GetNearestScrollableFrameForDirection does two things wrong when determining if the scroll frame is scrollable by apz: it disallows overflow hidden scrolling, and it uses GetAvailableScrollingDirections which is based on the layout scroll range.

Using GetAvailableScrollingDirectionsForUserInputEvents takes into account both of these factors.

GetNearestScrollableFrameForDirection is used by:
-gfx/layers/apz/src/FocusTarget.cpp
-EventStateManager::DoContentCommandScrollEvent
-PageMove, ScrollPage, ScrollLine, ScrollCharacter, CompleteScroll of PresShell
All of these should want the more apz aware function.

Differential Revision: https://phabricator.services.mozilla.com/D90498
2020-09-24 13:49:28 +00:00
alwu f79d9dced0 Bug 1659060 - part3 : update mac wakelock log. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D91043
2020-09-23 18:31:22 +00:00
alwu a3bb24c763 Bug 1659060 - part2 : add test to ensure always requesting wakelock for PIP video. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D91041
2020-09-24 18:15:57 +00:00
alwu 06a43c8cd0 Bug 1659060 - part1 : treat lock visible if corresponding document has in use picture-in-picture element. r=bryce,smaug
When a tab is in the background, its document visibility would become invisible even if a tab owns a video which is visible because of being used in picture in picture mode.

When a document changes its visibility, the wakelock would change its lockstate from `lock-foreground` to `lock-background`. For `video-playing` wakelock topic, we would only request a real platform lock for `lock-foreground` because we don't want to prevent screen from sleeping if the video is invisible.

Therefore, considering if video is being used in picture in picture mode, when determining the wakelock's visible state. If video is still being used in picture in picture mode, then we would treat wakelock as if it's in foreground in order to keep a screen lock.

Differential Revision: https://phabricator.services.mozilla.com/D90781
2020-09-23 23:34:12 +00:00
alwu 1764384541 Bug 1652108 - part4 : add a test for permanent scalar 'media.element_in_page_count'. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D91212
2020-09-24 19:01:17 +00:00
alwu 25b9d83ca8 Bug 1652108 - part3 : remove relevant codes for 'autoplay_would_be_allowed_count' and 'autoplay_would_not_be_allowed_count'. r=bryce
We don't need `autoplay_would_be_allowed_count` and `autoplay_would_not_be_allowed_count`, so we can remove all related codes.

Differential Revision: https://phabricator.services.mozilla.com/D83227
2020-09-23 22:35:26 +00:00
alwu 37f127c8f3 Bug 1652108 - part2 : modify `page_had_media_count` to `in_page_count` r=nika,bryce
We would like to remove `page_had_media_count` and use a new probe `in_page_count` to record the total number of top level content documents using media.

Therefore, we would rename WindowContext's `DocTreeHadAudibleMedia` to `DocTreeHadMedia` in order to support the new usage.

In the future, if we want to know something like "the percentage of media element is being used for MSE/EME?", then this scalar can be the base and used to calculate the answser.

Differential Revision: https://phabricator.services.mozilla.com/D83225
2020-09-24 21:41:10 +00:00
alwu ffa3de4adc Bug 1652108 - part1 : remove 'page_count'. r=bryce
`page_count` is a general probe for counting how many top leve content documents have been loaded, which is actully equal to `MIXED_CONTENT_UNBLOCK_COUNTER` [1]. Therefore, we can remove expired probe `page_count` and use `MIXED_CONTENT_UNBLOCK_COUNTER` instead if we want to know the total loaded top level content documents.

[1]
https://searchfox.org/mozilla-central/rev/89814940895946b48b4c04c702efd2c676ec8e7e/toolkit/components/telemetry/Histograms.json#10914-10921
https://searchfox.org/mozilla-central/rev/89814940895946b48b4c04c702efd2c676ec8e7e/dom/ipc/WindowGlobalParent.cpp#696

Differential Revision: https://phabricator.services.mozilla.com/D83222
2020-09-23 23:41:03 +00:00
Eugen Sawin 60dbeb9ea2 Bug 1658937 - [3.2] Update changelog. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D90912
2020-09-24 21:21:17 +00:00
Eugen Sawin 65e9885457 Bug 1658937 - [2.4] Update tests to work with the WebIDL events. r=geckoview-reviewers,agi,alwu
Differential Revision: https://phabricator.services.mozilla.com/D89820
2020-09-24 21:21:09 +00:00
Eugen Sawin 7508b5bd23 Bug 1658937 - [1.5] Move media controls to WebIDL. r=geckoview-reviewers,agi,alwu
Differential Revision: https://phabricator.services.mozilla.com/D89819
2020-09-24 21:21:02 +00:00
Peter Van der Beken 531daa445d Bug 1667006 - document.open should set the url of the session history entry to the entry document's. r=smaug
document.open replaces the session history entry with a new one, the url of
which needs to point to the entry document. nsDocShell::UpdateActiveEntry wasn't
resetting the url and the originalURL in the replace case. This patch always
creates a new SessionHistoryInfo so we share more code between replace and
non-replace, to avoid missing some fields.

Differential Revision: https://phabricator.services.mozilla.com/D91273
2020-09-24 20:30:11 +00:00
Michael Froman 1c10dfca58 Bug 1665713 - pt3 - fix js lint issues resulting from moving mochitest directory. r=ng
This was originally excepted under dom/media/tests/** here:
https://searchfox.org/mozilla-central/rev/89d33e1c3b0a57a9377b4815c2f4b58d933b7c32/.eslintrc.js#235

I'm adding the exception for dom/media/webrtc/tests/** for the moved files.

Depends on D90630

Differential Revision: https://phabricator.services.mozilla.com/D91344
2020-09-24 21:12:51 +00:00
Michael Froman 1d099767d3 Bug 1665713 - pt2 - fix reviewbot whitespace issues. r=ng
These were originally masked due to an exception in
tools/lint/file-whitespace.html for the directory dom/media/tests, but we
don't need an exception for our new location (dom/media/webrtc/tests/mochitests)
if we fix these 3 files.

2 files had bad line endings (Windows vs Unix):
dom/media/webrtc/tests/mochitests/test_getUserMedia_cubebDisabled.html
dom/media/webrtc/tests/mochitests/test_getUserMedia_cubebDisabledFakeStreams.html

1 file had trailing whitespace:
dom/media/webrtc/tests/mochitests/test_peerConnection_threeUnbundledConnections.html

Differential Revision: https://phabricator.services.mozilla.com/D90630
2020-09-24 21:10:35 +00:00
Michael Froman 8bece4651b Bug 1665713 - pt1 - move dom/media/tests/mochitest to dom/media/webrtc/tests/mochitests. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D90614
2020-09-24 21:10:07 +00:00
Razvan Maries ed260c95a0 Backed out changeset 08538390d573 (bug 1667118) for perma failures on test_css-properties-db.js. CLOSED TREE 2020-09-25 00:12:10 +03:00
Jamie Nicol 53c582e49b Bug 1666404 - Invalidate depth attachments at end of render passes. r=gw
This must be done before the draw framebuffer is unbound, to allow
tiled GPUs to avoid writing the contents back to memory.

Differential Revision: https://phabricator.services.mozilla.com/D91261
2020-09-24 20:20:36 +00:00
Ed Lee 02627ab09c Bug 1666373 - Use experiment manager to control wizardless password import experiment r=sfoster,andreio
Use ExperimentAPI instead of prefs to enable event recording and feature behavior.

Depends on D90635

Differential Revision: https://phabricator.services.mozilla.com/D90988
2020-09-24 20:00:16 +00:00
Ed Lee ee5d495548 Bug 1665802 - Directly migrate importable passwords without wizard for single profile r=sfoster
Share importable handling from LoginManagerParent and support directly migrating.

Differential Revision: https://phabricator.services.mozilla.com/D90635
2020-09-24 20:00:08 +00:00
Razvan Maries 8de1e9f262 Backed out changeset 737f0e3e2f94 (bug 1660057) for xpcshell perma failures. CLOSED TREE 2020-09-24 23:25:54 +03:00
Andrew Halberstadt 4f9bc7b6dc Bug 1643689 - [taskgraph] Fix taskgraph tests broken by f07222b728fa,
Differential Revision: https://phabricator.services.mozilla.com/D91342
2020-09-24 20:05:06 +00:00
Henrik Skupin f02816895f Bug 1660332 - [marionette] Port WebDriver:ElementClick to JSWindowActor. r=marionette-reviewers,jdescottes,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D91006
2020-09-24 19:53:30 +00:00
Razvan Maries 717d9a23ba Backed out 2 changesets (bug 1665713) for Lint failure on NetworkPreparationChromeScript.js. CLOSED TREE
Backed out changeset e926364f5d4f (bug 1665713)
Backed out changeset ad03f6f54321 (bug 1665713)
2020-09-24 22:59:53 +03:00
Aki Sasaki fa5df1bbcf Bug 1666861 - allow for local partner taskgraph debugging. r=releng-reviewers,mtabara DONTBUILD
Depends on D91216

Differential Revision: https://phabricator.services.mozilla.com/D91217
2020-09-24 06:41:39 +00:00
Michael Froman 4b7556eb55 Bug 1665713 - pt2 - fix reviewbot whitespace issues. r=ng
These were originally masked due to an exception in
tools/lint/file-whitespace.html for the directory dom/media/tests, but we
don't need an exception for our new location (dom/media/webrtc/tests/mochitests)
if we fix these 3 files.

2 files had bad line endings (Windows vs Unix):
dom/media/webrtc/tests/mochitests/test_getUserMedia_cubebDisabled.html
dom/media/webrtc/tests/mochitests/test_getUserMedia_cubebDisabledFakeStreams.html

1 file had trailing whitespace:
dom/media/webrtc/tests/mochitests/test_peerConnection_threeUnbundledConnections.html

Differential Revision: https://phabricator.services.mozilla.com/D90630
2020-09-24 19:13:04 +00:00