Commit Graph

728006 Commits

Author SHA1 Message Date
Daisuke Akatsuka
2311a08191 Bug 1663984: Show browsing url if the page is not initial page when reverting from search mode. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D91099
2020-09-25 07:11:52 +00:00
Jan de Mooij
07446d052b Bug 1666494 part 2 - Remove TypedObjectArray.redimension. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D91255
2020-09-24 10:40:55 +00:00
Csoregi Natalia
9fab6c0021 Backed out changeset 78024e47a901 (bug 1657822) for failures on test_bug1303704.html. CLOSED TREE 2020-09-25 10:19:54 +03:00
Csoregi Natalia
2d0fac4d45 Backed out changeset f12c895fc5e7 (bug 1605305) for causing bustage on nsHttpChannel.cpp on mc. CLOSED TREE 2020-09-25 09:58:22 +03:00
Csoregi Natalia
d949c49378 Backed out changeset d036cd1b2a14 (bug 1656689) for mochitest failures on test_group_zoom-2.html. CLOSED TREE 2020-09-25 09:53:57 +03:00
Csoregi Natalia
fd1e86b487 Backed out changeset 3dcacf3ae5a1 (bug 1664905) for assertion failures on GfxInfoBase.cpp. CLOSED TREE 2020-09-25 09:33:40 +03:00
Edgar Chen
260bce2e82 Bug 1667050 - Convert nsFocusManager::sInstance into a StaticRefPtr; r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D91263
2020-09-25 00:06:45 +00:00
Jeff Gilbert
3fd329a969 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-25 05:43:24 +00:00
Matt Woodrow
a7baea6b73 Bug 1658815 - Support all texture target types for the cs_scale shader. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D91370
2020-09-25 05:30:29 +00:00
Timothy Nikkel
d0caf06032 Bug 1657822. Enable new desktop zooming scrollbar code. r=kats
The mathml reftest pref needs to be added at the same time because the test needs that pref with the new scrollbar code to pass, but it fails with that pref with the old scrollbar code. Since that test uses the minimum scale, which is only valid with overlay scrollbars, it is correct to do so.

Differential Revision: https://phabricator.services.mozilla.com/D91243
2020-09-24 22:09:54 +00:00
Razvan Maries
7979196254 Backed out changeset 2b2e72856dc1 (bug 1665237) for perma failures on browser_popupNode.js. CLOSED TREE 2020-09-25 06:03:12 +03:00
Timothy Nikkel
7deab48aeb Bug 1656689. Add test. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D90924
2020-09-24 02:54:58 +00:00
Erik Nordin
001639575c Bug 1666964 - Retrieve Printer Default Media Through IPP Attribute r=hiro
cupsGetDestMediaDefault seems to not be returning the correct defaults,
so this patch retrieves the default media through the IPP attribute
instead, in hopes that this will provide more accurate defaults.

Differential Revision: https://phabricator.services.mozilla.com/D91376
2020-09-25 02:00:46 +00:00
Kris Maglione
bbfbd2f113 Bug 1660057: Add preferences for Fission rollout Normandy experiment. r=nika,marionette-reviewers,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D91066
2020-09-25 02:01:15 +00:00
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