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

755873 Коммитов

Автор SHA1 Сообщение Дата
Byron Campen [:bwc] 98d9c7db9a Bug 1708813: Test-case for bug. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D114039
2021-05-03 18:53:16 +00:00
Brindusan Cristian 185ab5e4f4 Backed out 5 changesets (bug 1701790) for bc failures in browser_ext_devtools_network_targetSwitch.js. CLOSED TREE
Backed out changeset 3fc4edd663d9 (bug 1701790)
Backed out changeset 2d3ea7c0d695 (bug 1701790)
Backed out changeset 6cb7502fc1a2 (bug 1701790)
Backed out changeset 8f4205a1a369 (bug 1701790)
Backed out changeset bd3c9b1482c7 (bug 1701790)
2021-05-03 22:21:59 +03:00
Emma Malysz fe124184a3 Bug 1708881, remove padding from identity popup security view for warning box and bold text r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D114123
2021-05-03 18:49:18 +00:00
Alexandru Michis 6641f79c95 Backed out changeset 0229f8dc291a (bug 1700379) for causing failures in test_printpreview.xhtml
CLOSED TREE
2021-05-03 22:10:12 +03:00
Florian Quèze 9e19373543 Bug 1708562 - avoid stopping the profiler on customizationchange events when profiling mochitests, r=mstange,julienw.
Differential Revision: https://phabricator.services.mozilla.com/D113880
2021-05-03 18:44:12 +00:00
Kirk Steuber 80d788222c Bug 1707020 - Exit Background Update Task even if we never get a progress update r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D114029
2021-05-03 18:39:25 +00:00
Gavin Lazar Suntop 06ddcdaaad Bug 1708803 - Replacing more saved.js methods with native DOM r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D114012
2021-05-03 18:38:45 +00:00
Brad Werth 83a402c105 Bug 1497758: Make talos getCurrentPageShortName provide unique names for long test urls. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D113587
2021-05-03 18:19:57 +00:00
Randell Jesup 21e22f032c Bug 1708490: Create a PreallocInit method r=nika
Differential Revision: https://phabricator.services.mozilla.com/D113820
2021-05-03 18:18:29 +00:00
Kashav Madan 55f8978320 Bug 1702055 - Fix how the expected SSTabRestored count is calculated in waitForBrowserState, r=nika
SessionStore factors both prefs into the decision about if a tab is restored
lazily, but this helper only uses the `restore_tabs_lazily` pref.

Depends on D114001

Differential Revision: https://phabricator.services.mozilla.com/D114002
2021-05-03 18:16:42 +00:00
Kashav Madan 4df174c08b Bug 1702055 - Ensure SSTabRestoring is only fired once per browser, r=nika
A previous patch made it so we'd fire this after the full restore finished, but
some consumers expect this event prior to the completion of the load.

Differential Revision: https://phabricator.services.mozilla.com/D114001
2021-05-03 18:16:41 +00:00
Kashav Madan dc647a1e8e Bug 1702055 - Move the "restore DocShell state" process out of ContentSessionStore, r=nika
This also makes it so that we will never fire SSTabRestored without first having
sent the associated SSTabRestoring event.

Differential Revision: https://phabricator.services.mozilla.com/D110335
2021-05-03 18:16:41 +00:00
Kashav Madan de071d3972 Bug 1702055 - Include the SessionStore epoch in "SessionStore:flush" messages, r=nika
With the removal of the SessionStore:RestoreDocShellState message, the epoch
will no longer be updated otherwise, so we should include it in the Flush
message to ensure that messages are not being dropped.

Differential Revision: https://phabricator.services.mozilla.com/D110334
2021-05-03 18:16:40 +00:00
Kashav Madan 976264b9af Bug 1702055 - Replace CallRestoreTabContentComplete with a Promise, r=nika
This should help avoid message ordering issues in the next patches. To ensure
that we're not firing events too early, we now do a "full" restore even if we
don't have form or scroll data, including for about:blank URIs.

This also moves all restore state on the CanonicalBrowsingContext into a
separate `mRestoreState` struct.

Differential Revision: https://phabricator.services.mozilla.com/D110333
2021-05-03 18:16:40 +00:00
Alexandre Poirot 5bc40e3aad Bug 1701790 - Move ResourceWatcher tests to their new folder. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D113934
2021-05-03 18:07:31 +00:00
Alexandre Poirot 4aee693953 Bug 1701790 - Mass replace resourceWatcher with resourceCommand. r=nchevobbe
$ sed -i 's/resourceWatcher/resourceCommand/g' $(egrep -rl 'resourceWatcher' devtools/)

Differential Revision: https://phabricator.services.mozilla.com/D113933
2021-05-03 18:07:31 +00:00
Alexandre Poirot eecbcc37c6 Bug 1701790 - Mass replace ResourceWatcher by ResourceCommand r=nchevobbe
$ sed -i 's/ResourceWatcher/ResourceCommand/g' $(egrep -rl 'ResourceWatcher' devtools/)

Differential Revision: https://phabricator.services.mozilla.com/D113932
2021-05-03 18:07:31 +00:00
Alexandre Poirot a5dbcad9f2 Bug 1701790 - Stop using ResourceWatcher symbol for fetch resource types. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D113931
2021-05-03 18:07:30 +00:00
Alexandre Poirot 7cd058657a Bug 1701790 - Migrate ResourceWatcher to become ResourceCommand. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D113930
2021-05-03 18:07:30 +00:00
Emilio Cobos Álvarez baca44f241 Bug 1700379 - Move code dealing with transform getters to the frame that we actually wrap its contents around. r=miko
This shouldn't change behavior, but simplifies the setup quite a bit, I
think.

Differential Revision: https://phabricator.services.mozilla.com/D109510
2021-05-03 17:59:47 +00:00
Tom Schuster 56ec37c2db Bug 1681371 - Ship the .at() proposal. r=jandem,jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D102453
2021-05-03 17:49:26 +00:00
Emilio Cobos Álvarez 06e3d1945d Bug 1709062 - Minor cleanups to nsDOMWindowUtils::CompareCanvases. r=dholbert
Warn when some of the pre-conditions fail and such, so that it's easy to
see what's going wrong without having to use a debugger.

Remove some useless null-checks (we were dealing with null arguments
anyways, and the return value is never null).

Depends on D114078

Differential Revision: https://phabricator.services.mozilla.com/D114079
2021-05-03 17:48:19 +00:00
Emilio Cobos Álvarez 12d3d89656 Bug 1709062 - Make printpreview_helper use a fixed viewport width. r=dholbert
Recently (due to probably a system upgrade) this test fails locally for
me with an exception in compareCanvases(), because the two preview
windows aren't always the same size.

This is more reliable, faster, more similar to what we actually do
in print preview, and more easily debuggable.

Differential Revision: https://phabricator.services.mozilla.com/D114078
2021-05-03 17:48:18 +00:00
Julian Descottes 3a44198928 Bug 1594435 - [remote] Update stripe colors for remotecontrol visual cue to fit light & dark themes r=desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D113528
2021-05-03 17:23:17 +00:00
Eitan Isaacson a891b796b9 Bug 1707185 - Make infobar messages labels for better Orca screen reader compatibility. r=mstriemer
To work with Orca there needs to be a nested LABEL or TEXT accessible. Changed the innermost span be a label instead. Not a great use of HTML, but it does the trick.

Differential Revision: https://phabricator.services.mozilla.com/D113863
2021-05-03 17:02:06 +00:00
Molly Howell ebe3c314fe Bug 1709076 - Keep the reload button centered when in the customize palette. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D114116
2021-05-03 16:59:18 +00:00
Sebastian Hengst 2bdb556577 Bug 1708932 - disable more tabcrashed tests on macOS 11 because crash reporting is not working properly. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D114107
2021-05-03 16:59:02 +00:00
alwu 35f3dc0dc8 Bug 1708700 - only access 'mData' when it's not null. r=padenot
Depends on D114015

Differential Revision: https://phabricator.services.mozilla.com/D114018
2021-05-03 16:30:45 +00:00
alwu acb23b0563 Bug 1708790 - add crash test for bug1708536. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D114015
2021-05-03 16:30:44 +00:00
Toshihito Kikuchi b62b42bf9a Bug 1709113 - Add null check in DefaultTabUnloaderMethods.iterateProcesses. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D114118
2021-05-03 15:42:25 +00:00
Yury Delendik 219f5c575f Bug 1690490 - Optimize i8x16.shr_s for x86 SIMD. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D113024
2021-05-03 15:39:50 +00:00
Steve Fink f5ea45508b Bug 1708113 - sys.exit(2147483651L) on Windows exits with status 0 r=arai
Differential Revision: https://phabricator.services.mozilla.com/D113873
2021-05-03 15:29:28 +00:00
Emma Malysz 3fcc670424 Bug 1708749, add padding for the permission panel's close and chevron icons r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D113997
2021-05-03 15:04:13 +00:00
John Bieling 0a21415853 Bug 1708793 - Use brandShortName in Devtools when inspecting an add-on. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D114010
2021-05-03 14:35:54 +00:00
Tom Schuster a6bafba2d6 Bug 1708698 - Add PropertyDescriptor::Data and Accessor. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D114004
2021-05-03 14:29:21 +00:00
Emilio Cobos Álvarez 530681a3d5 Bug 1708291 - Enable accent color in some tests. r=aryx
Tests switched to run with activated, Nightly-only preference.

Differential Revision: https://phabricator.services.mozilla.com/D114071
2021-05-03 13:47:16 +00:00
ry99 1c21a08ed5 Bug 1703792 - Fixed the last [Learn more] link floating to right in Nightly Data Collection and Use inside Preferences r=Gijs,preferences-reviewers,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D112192
2021-05-03 13:24:26 +00:00
ffxbld 74cffb00e1 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D114090
2021-05-03 13:02:40 +00:00
Emilio Cobos Álvarez 4751e27983 Bug 1707720 - Use saturating addition for math-depth. r=fredw
Differential Revision: https://phabricator.services.mozilla.com/D114070
2021-05-03 11:40:26 +00:00
Nicolas Chevobbe 0f8b07b880 Bug 1708626 - [devtools] Remove usage of Promise.jsm in tests. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D113912
2021-05-03 11:35:18 +00:00
James Teh c33d1b0837 Bug 1694865 part 25: Remove inheritance of Msaa*Accessible/ia2*Accessible into *AccessibleWrap! r=morgan
1. ia2AccessibleApplication is instantiated for ApplicationAccessible, so it now inherits from MsaaAccessible.
2. ia2AccessibleHypertext is instantiated for HyperTextAccessible, so it now inherits from MsaaAccessible.
3. ia2AccessibleImage is instantiated for ImageAccessible, so it inherits from MsaaAccessible.
4. ia2AccessibleTable is instantiated for TableAccessible, so it inherits from ia2AccessibleHypertext (since most TableAccessible implementations implement HyperTextAccessible).
5. ia2AccessibleTableCell is instantiated for TableCellAccessible, so it inherits from ia2AccessibleHypertext (since most TableCellAccessible implementations implement HyperTextAccessible).
6. All of the above override QueryInterface as appropriate, replacing the QueryInterface implementations from all *AccessibleWrap classes.
7. The ARIAGridAccessibleWrap, HTMLTableAccessibleWrap, ImageAccessibleWrap, XULListboxAccessibleWrap and XULTreeGridAccessibleWrap classes previously served only to host ia2AccessibleImage, ia2AccessibleTable, etc. Since these ia2 classes are now instantiated via MsaaAccessible, these Wrap classes have been removed and replaced with aliases.
8. The QueryInterface handling for ISimpleDOMText has been moved into MsaaAccessible. Since this was the only purpose of TextLeafAccessibleWrap, this too has been removed and replaced with an alias.
9. AccessibleWrap now holds a strong reference to MsaaAccessible and MsaaAccessible holds a weak reference to AccessibleWrap.
10. An MsaaAccessible (or derived class) is instantiated by MsaaAccessible::Create.
11. MsaaAccessible now implements its own COM reference counting using DECL_IUNKNOWN, since it does not need nsISupports (XPCOM).

Differential Revision: https://phabricator.services.mozilla.com/D112956
2021-05-03 11:31:04 +00:00
Csoregi Natalia a5d0603d71 Merge mozilla-central to autoland. CLOSED TREE 2021-05-03 12:47:22 +03:00
Csoregi Natalia 5409753095 Merge autoland to mozilla-central. a=merge 2021-05-03 12:44:08 +03:00
Timothy Nikkel ad9b228b2a Bug 1702851. Allow double tap zoom to zoom to generated content. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D110741
2021-05-03 09:20:56 +00:00
Nicolas Silva ab62b81a1f Bug 1707930 - Account for reversed stops in the gradient cache key. r=gfx-reviewers,lsalzman
WebRender internally reverses gradient stops when they are ordered from right to left. This is done while building the GPU data and the gradient cache key stored the reversed stops without sepcifying if they were revered or originally in that order. This meant that if a page had two similar gradients with the only difference being that on was reversed but not the other, they could end up using the same cache key and one of the two would not be rendered properly.

This patch includes a boolean in the cache key to make sure reversed gradients don't accidentally use the same key as similar non-reversed gradients.

Differential Revision: https://phabricator.services.mozilla.com/D113975
2021-05-03 09:12:43 +00:00
Nicolas Silva 06ef812482 Bug 1707744 - Avoid far gradient endpoints causing large gradient segments. r=gfx-reviewers,lsalzman
Large segment bounds trip an assertion when casting coordinates to integers. Clipping early also reduces the amount of cached pixels.

Differential Revision: https://phabricator.services.mozilla.com/D113819
2021-05-03 09:12:42 +00:00
Nicolas Silva 720d336a44 Bug 1706678 - Fix cached gradient scaling. r=gfx-reviewers,lsalzman
Large gradients are cached scaled down and stretched back by the image brush. Because the scaling factor is non-uniform the shader has to take it into account. The previous implementation was incorrectly accounting for the scale.

Differential Revision: https://phabricator.services.mozilla.com/D113753
2021-05-03 09:12:42 +00:00
Valentin Gosu 2f83f1a6f4 Bug 1699660 - Create ConfirmationWrapper to enforce logic separation r=necko-reviewers,dragana
This is needed because TRRService is a friend class of TRRService
(needed to provide access to private constructor). If we find a way to
have a friend destructor method then we would not need the wrapper.

Differential Revision: https://phabricator.services.mozilla.com/D113312
2021-05-03 09:09:19 +00:00
Valentin Gosu 265d070890 Bug 1706975 - TRRService::Notify should hold lock when accessing timer r=necko-reviewers,dragana
We should be holding the lock when comparing the timer pointers otherwise
we have a race where the timer is replaced and cancelled under the lock
but we either still call the handler or simply crash.

Differential Revision: https://phabricator.services.mozilla.com/D113311
2021-05-03 09:09:19 +00:00
Valentin Gosu 6a9335258f Bug 1699660 - Make HandleConfirmationEvent a member function of ConfirmationContext r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D113310
2021-05-03 09:09:18 +00:00