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

719661 Коммитов

Автор SHA1 Сообщение Дата
Dimi Lee 73579c0490 Bug 1650768 - P3. Add .fileloc and .webloc file extensions to executable extension list r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D84474
2020-07-23 12:31:14 +00:00
Dimi Lee 9c4cc0a1ec Bug 1650768 - P2. Add .cer file extensions to executable extension list r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D84473
2020-07-23 12:31:06 +00:00
Dimi Lee 2799950e3b Bug 1650768 - P1. Add .accda, .accdb, .accde, and .accdr file extension to executable extension list r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D84472
2020-07-23 12:30:59 +00:00
Magnus Melin ecb74cc41b Bug 1654984 - don't output needless error reports about non-existing logins-backup.json. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D84783
2020-07-24 07:05:05 +00:00
Andreea Pavel fe64f78ef1 Backed out changeset c5a8759b3f85 (bug 1651016) for build bustages at gtest.h on a CLOSED TREE 2020-07-24 09:59:44 +03:00
Jan Varga 89a2c67112 Bug 1651016 - Introduce QM_TRY and QM_TRY_VAR macros; r=dom-workers-and-storage-reviewers,ttung,sg
Differential Revision: https://phabricator.services.mozilla.com/D83927
2020-07-24 06:35:07 +00:00
Mike Hommey f8b53d8e93 Bug 1654961 - Re-enable some python tests on py2 on mac. r=dmajor
Bug 1648506 disabled tests that failed on py2 on mac. Some now pass
properly, presumably from more recent changes to
build/moz.configure/init.configure.

Differential Revision: https://phabricator.services.mozilla.com/D84776
2020-07-24 05:40:41 +00:00
Magnus Melin a605833bc3 Bug 1654626 - fix crash in [@ mozilla::storage::Connection::ExecuteAsync]. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D84589
2020-07-23 21:38:52 +00:00
Coroiu Cristina 828f2319c0 Backed out changeset 2439a32e1a06 (bug 1654961) for mbu failures 2020-07-24 08:19:33 +03:00
Mike Hommey 29e887fea7 Bug 1654961 - Re-enable some python tests on py2 on mac. r=dmajor
Bug 1648506 disabled tests that failed on py2 on mac. They now pass
properly, presumably from more recent changes to
build/moz.configure/init.configure.

Differential Revision: https://phabricator.services.mozilla.com/D84776
2020-07-24 04:19:51 +00:00
Ting-Yu Lin ecad6a6177 Bug 1654960 - Remove the duplicate 1420528-1.html in reftest.list. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D84775
2020-07-24 04:31:35 +00:00
Severin b87025a141 Bug 1654592 - pref on pwmgr doorhanger updates for test...getUsernameSuggestions;r=bdanforth
Differential Revision: https://phabricator.services.mozilla.com/D84559
2020-07-24 00:18:41 +00:00
Kenrick ad72d219c9 Bug 1587372 - Fix missing render after saving without any changes in about:logins. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D82368
2020-07-24 04:21:35 +00:00
alwu eaf81455fd Bug 1654959 - part3 : add test cases for enabling muted media into fullscreen/PIP mode. r=bryce
Add two new test cases for inaudible media being used in fullscreen/PIP mode.

In addition, after applying D84115, we fix the issue of incorrectly controlling media which doesn't be started yet and is not in the fullscreen. So modify the current test case.

Differential Revision: https://phabricator.services.mozilla.com/D84369
2020-07-24 02:42:05 +00:00
alwu 08c44f91ba Bug 1654959 - part2 : start listener when media enters PIP mode. r=bryce
When a media enters PIP mode, we should consider it as an important one which user might want to control. Therefore, start the listener in order to notify the media has been started, then we would update the PIP state [1] which would activate the controller.

As the PIP state changes can happen after `Stop()` is called, so in this patch, we would remove the start check and reset `mControlAgent` in `Stop()` in order to update PIP state after the listener stops. Eg. Reset the PIP video's src, then cancel the PIP.

[1] https://searchfox.org/mozilla-central/rev/9b282b34b5aa0f836beb735656c55efb2cc4c617/dom/html/HTMLMediaElement.cpp#7902

Differential Revision: https://phabricator.services.mozilla.com/D84119
2020-07-24 02:43:25 +00:00
alwu f54871ea84 Bug 1654959 - part1 : start listener when media enters fullscreen. r=bryce
When a media enters fullscreen mode, we should consider it as an important one which user might want to control. Therefore, start the listener in order to notify the media has been started, then we would update the fullscreen state [1] which would activate the controller.

[1] https://searchfox.org/mozilla-central/rev/9b282b34b5aa0f836beb735656c55efb2cc4c617/dom/base/Document.cpp#13429

Differential Revision: https://phabricator.services.mozilla.com/D84118
2020-07-24 02:43:33 +00:00
alwu 8d9ef78468 Bug 1653390 - part7 : add test for a page mixing audible and inaudible media. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D84120
2020-07-24 02:52:03 +00:00
alwu 36a2ad0e05 Bug 1653390 - part6 : add audible check back in media element. r=bryce
In D73335, we remove those check which causes a regression where inaudible media is also able to be controlled by media control keys.

In order not to control those inaudible media, we should add the check back. If the media is inaudible, then we should not start the listener that would connect media element to the media control.

In addition, I also found that starting the listener for inaudible media would make the media controller's playback state incorrect, because the playback state is calculated by all controlled media. If an inaudible media is playing, the playback state should not consider that media.

Differential Revision: https://phabricator.services.mozilla.com/D84115
2020-07-24 02:43:33 +00:00
alwu 8e044f4e3a Bug 1653390 - part5 : remove 'StopListeningMediaControlKeyIfNeeded()'. r=bryce
First, rename `Stop()` to `StopIfNeeded()`.

Second, we have already have a check [1] in `StopIfNeeded()` to ensure that that function is only workable when the listener starts, so we don't need `StopListeningMediaControlKeyIfNeeded()` and can call `StopIfNeeded()` directly.

[1] https://searchfox.org/mozilla-central/rev/9b282b34b5aa0f836beb735656c55efb2cc4c617/dom/html/HTMLMediaElement.cpp#425-427

Differential Revision: https://phabricator.services.mozilla.com/D84117
2020-07-23 21:33:31 +00:00
alwu ba2335182a Bug 1653390 - part4 : always hold a MediaControlKeyListener until media dies. r=bryce
It seems no much benefit to create `MediaControlKeyListener` lazily, we should create it in the start and destroy it in the end so that we don't need to check if `mMediaControlKeyListener` exists or not when we want to check if the listener starts.

Differential Revision: https://phabricator.services.mozilla.com/D84116
2020-07-23 21:33:23 +00:00
alwu 019c658238 Bug 1653390 - part3 : wrap the detail of updating playback state into Start(). r=bryce
`NotifyMediaControlPlaybackStateChanged()` would be called when `mPaused` changes, but it would only take effect after the listener starts. If the media changes its `mPaused` before we starts listener, then we have to manully update `NotifyMediaControlPlaybackStateChanged()`.

However, I think wrapping this detail into `Start()` itself would be clearer.

Differential Revision: https://phabricator.services.mozilla.com/D84649
2020-07-23 21:32:58 +00:00
alwu dd84046a02 Bug 1653390 - part2: allow calling 'UpdateMediaAudibleState()' before the listener starts. r=bryce
We already have a check to prevent notifying audible state before the listener starts [1], so we can remove the assertion and call it anytime in order to save the audible state correctly.

[1] https://searchfox.org/mozilla-central/rev/dcd9c2d2bc19d96d487825eb70c2333a4d60994e/dom/html/HTMLMediaElement.cpp#478-486

Differential Revision: https://phabricator.services.mozilla.com/D84650
2020-07-23 21:32:51 +00:00
alwu 07110d9029 Bug 1653390 - part1 : remove start check. r=bryce
The reason of checking those conditions before calling `StartListeningMediaControlKeyIfNeeded()` is because we was only starting the listener after media starts, which has been modified in D79234.  Now we would start the listener before media starts, so we can remove that check.

Differential Revision: https://phabricator.services.mozilla.com/D84114
2020-07-23 21:32:43 +00:00
Dorel Luca 48f3e972fa Backed out changeset ec25c0d069ae (bug 1653631) for WPT failures in css/cssom/CSSStyleSheet-modify-after-removal.html. CLOSED TREE 2020-07-24 05:48:31 +03:00
Ting-Yu Lin e0472f8fcc Bug 1588954 - Downgrade an assertion checking inline-size less than zero to a soft assertion. r=dholbert
`nsIFrame::ComputeISizeValue` clamps the result to non-negative before
returning it, so the assertion doesn't need to be a hard assertion.

Differential Revision: https://phabricator.services.mozilla.com/D84745
2020-07-24 00:57:13 +00:00
Gijs Kruitbosch eabaeb4c02 Bug 1652613 - record whether the user switched away from the tab while it was hung, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D84343
2020-07-24 00:55:34 +00:00
Gijs Kruitbosch 02d23145dc Bug 1652613 - record a telemetry event when we show the slow script notification warning, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D83922
2020-07-24 00:50:12 +00:00
Gijs Kruitbosch 90ef37ddc1 Bug 1652613 - report slow script hang durations and only clear hang data after the observer notification, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D83989
2020-07-24 00:01:57 +00:00
Gijs Kruitbosch 8aebfa2d70 Bug 1652613 - correct hang duration event measuring for slow script hangs, r=mccr8
The hang duration numbers were bogus. It seems that the code in
XPCJSContext::InterruptCallback establishes the duration by continuously
comparing 'now' with the last timestamp in mSlowScriptCheckpoint - but it
stops writing to the latter after the second time the interrupt callback
fires. So if the slow script runtime limit is N, the timer fires every N/2
seconds, but we increment the duration by N the third time it fires, 1.5N the
fourth time, 2N the fifth time, etc.

This patch fixes the issue by always resetting the timestamp against which we
compare when establishing the duration and incrementing mSlowScriptActualWait.

Differential Revision: https://phabricator.services.mozilla.com/D84660
2020-07-24 00:01:53 +00:00
Brad Werth e434dc42d9 Bug 1648344 Part 4: Disable a wpt test on android. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D84754
2020-07-24 00:16:32 +00:00
Brad Werth 016fd9fee6 Bug 1648344 Part 3: Update test expectations for viewport tags width no width or initial-scale. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D84013
2020-07-24 00:16:32 +00:00
Brad Werth ab43f75521 Bug 1648344 Part 2: Cleanup Document to remove NoValidContent viewport type. r=hiro
The NoValidContent type was added to detect cases where we needed to apply
default width the viewport. That approach is no longer needed, and this
enum can be removed, as well as the code that sets and checks that enum.

Differential Revision: https://phabricator.services.mozilla.com/D84447
2020-07-22 23:11:42 +00:00
Brad Werth 3862a35baa Bug 1648344 Part 1: Apply default viewport width in more circumstances, matching Chrome. r=hiro
Setting the effective max-width to the default viewport width value this way
matches Chrome behavior and improves web compatibility.

https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/page/viewport_description.cc;l=94-101;drc=f668b0ef8c8813fd06387ec215a08f2df7dd1234?originalUrl=https:%2F%2Fcs.chromium.org%2F

Differential Revision: https://phabricator.services.mozilla.com/D84446
2020-07-22 23:46:18 +00:00
Mihai Alexandru Michis 13e26846d7 Backed out changeset 47667fbae734 (bug 1654679) for causing failures in browser_text_input.js 2020-07-24 03:16:52 +03:00
Dzmitry Malyshau 4569cc4aa1 Bug 1654901 - Make WR primitives invisible when failing to prepare for rendering r=gw
the problem was that paths that determined visibility were not switching it off
on the primitive instance. Now it's moved one level higher.

Differential Revision: https://phabricator.services.mozilla.com/D84762
2020-07-23 23:29:54 +00:00
Erik Nordin 9d9bde39d2 Bug 1653631 - Enable Constructable StyleSheets for CSSOM WPTs r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D83992
2020-07-23 20:28:09 +00:00
Philipp Zech 3d4be168ae Bug 1648938 - Convert writing-modes #defines to an enum class. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D84016
2020-07-23 21:31:23 +00:00
sachin 977d27e7b7 Bug 1649272: added a nullcheck for android_intall_apk list r=acreskey,tarek,sparky
Differential Revision: https://phabricator.services.mozilla.com/D84211
2020-07-23 21:19:22 +00:00
Severin 8115941ddb Bug 1654586 - pref on pwmgr doorhanger updates for browser_doorhanger_autocomplete_values;r=bdanforth
Differential Revision: https://phabricator.services.mozilla.com/D84554
2020-07-23 23:52:54 +00:00
Tracy Walker acc03ec147 Bug 1654348 - Remove obsolete browser_<enginename>.js tests r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D84569
2020-07-23 21:16:48 +00:00
Jeff Muizelaar 81afea999f Bug 1654929. Drop old FBOs that we haven't used in a while. r=gw
This keeps us from accumulating frame buffers without bound.
Previously I was seeing as many 56 frame buffers in this list
during a tab cycling stress test.

Differential Revision: https://phabricator.services.mozilla.com/D84760
2020-07-24 00:04:55 +00:00
Kai Engert 4a2eeafb6e Bug 1652330 - NSPR_4_27_RTM. r=jcj UPGRADE_NSPR_RELEASE
Differential Revision: https://phabricator.services.mozilla.com/D84695
2020-07-23 23:14:24 +00:00
Dorel Luca 54d5f1c9ed Backed out 4 changesets (bug 1652613) for Browser-chrome failures in browser/browser_ProcessHangNotifications.js. CLOSED TREE
Backed out changeset 76b5a5d243d1 (bug 1652613)
Backed out changeset 6f98c9b01920 (bug 1652613)
Backed out changeset 1255237ce2e7 (bug 1652613)
Backed out changeset bdf59854c900 (bug 1652613)
2020-07-24 02:58:22 +03:00
Jason Orendorff 97605acbd4 Bug 1654661 - Remove InterpreterFrame::unused. r=iain.
Differential Revision: https://phabricator.services.mozilla.com/D84605
2020-07-22 21:56:29 +00:00
Jason Orendorff c41fb31adb Bug 1654636 - Enable baseline interpreter in safe mode. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D84582
2020-07-23 15:09:46 +00:00
Jason Orendorff 08d0a0360a Bug 1654574 - Enable wasm in safe mode. r=luke
Differential Revision: https://phabricator.services.mozilla.com/D84570
2020-07-23 15:10:17 +00:00
Mihai Alexandru Michis 862a49c505 Bug 1456284 - Disable browser_insecure_form.js on macos for causing permafailures. a=fix
CLOSED TREE
2020-07-24 01:32:57 +03:00
Ricky Stewart 3419d4de1d Bug 1654589 - Move `libpref` Python unit test to `mozbuild` suite r=froydnj,mccr8
It could go into its own test suite, but it 1) depends on `mozbuild` code, so the `mozbuild` suite as well as this new suite would be running on any push that touches `mozbuild` code anyway, and 2) this is code that runs during the build, so it's not out of place.

Differential Revision: https://phabricator.services.mozilla.com/D84547
2020-07-23 22:00:46 +00:00
Gijs Kruitbosch e609c52743 Bug 1652613 - record whether the user switched away from the tab while it was hung, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D84343
2020-07-22 22:28:05 +00:00
Gijs Kruitbosch f5fc88e2ae Bug 1652613 - record a telemetry event when we show the slow script notification warning, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D83922
2020-07-22 22:28:31 +00:00