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

703165 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 875d92a9ea Bug 1612068 - followup: Fix some bits which I forgot to update before landing.
Missed two tests and clang-formatting.

Differential Revision: https://phabricator.services.mozilla.com/D72170
2020-04-23 15:46:11 +00:00
Csoregi Natalia 230cef6455 Backed out 6 changesets (bug 1602075) for devtools failures caused by markup-context-menu.js. CLOSED TREE
Backed out changeset cf06e30be068 (bug 1602075)
Backed out changeset 51f01135d82f (bug 1602075)
Backed out changeset fbb30bd09d66 (bug 1602075)
Backed out changeset e1e570497527 (bug 1602075)
Backed out changeset 3aa7f4f31934 (bug 1602075)
Backed out changeset 7d568f0fa1e4 (bug 1602075)
2020-04-23 19:03:05 +03:00
Dan Minor 8a8b6e82bc Bug 1628678 - Disable some threading asserts in AudioSendStream and ChannelProxy; r=bwc
With transport-cc enabled, we get feedback calls into AudioSendStream occuring
on the sts thread. Since AudioSendStream is constructed on the main thread,
this trips up the worker_thread_checker_ checks. The functions that are called
end up doing their work using AudioCodingModuleImpl::ModifyEncoder, which
takes a lock, so it should be safe to remove these assertions.

We've had to do similar things to ChannelProxy in the past to get stats
working from the sts thread. ChannelProxy has been removed upstream, but we
should consider changing our use of AudioSendStream with the next libwebrtc
update so that is always called from the same thread.

Differential Revision: https://phabricator.services.mozilla.com/D72157
2020-04-23 15:18:00 +00:00
Marco Zehe f6858d521e Bug 1631406 - Expose the correct sub role for HTML HR elements, r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D71548
2020-04-23 15:30:35 +00:00
Emilio Cobos Álvarez 1159b42442 Bug 1612068 - Fix top-level document zoom when restoring from bfcache. r=nika
This still doesn't really fix subframes, but those are broken in trunk
already.

Fixing subframes could be done by making the zoom Top()-only, or by
propagating to browsing contexts in the bfcache as well from DidSet(..).

Differential Revision: https://phabricator.services.mozilla.com/D72034
2020-04-23 15:23:53 +00:00
Emilio Cobos Álvarez d36c96ab4c Bug 1612068 - Move zoom from the content viewer to the browsing context. r=nika
We need it to live in BrowsingContext instead of WindowContext, because
we need to preserve the zoom level across same-origin navigation.

It'd be nice if it only lived in the top BC, but that's not possible at
the moment because a lot of tests rely on zooming only iframes. Some of
them can be adjusted for scaling the top instead, but not sure it's
worth it's worth fixing them and moving the zoom to be top-only, as it'd
be a bunch of effort, and the complexity and overhead of propagating the
zoom is not so big.

The print-preview-specific code in nsContentViewer is from before we did
the document cloning setup, and it seems useless. I've tested print
preview scaling before and after my patch and both behave the same.

The rest is just various test changes to use the SpecialPowers APIs or
BrowsingContext as needed instead of directly poking at the content
viewer.

I named the pres context hook RecomputeBrowsingContextDependentData, as
more stuff should move there like overrideDPPX and other media emulation
shenanigans.

I also have some ideas to simplify or even remove ZoomChild and such,
but that's followup work.

Differential Revision: https://phabricator.services.mozilla.com/D71969
2020-04-22 19:32:52 +00:00
Brian Hackett 9642a11373 Bug 1603190 - Enable windowless-service-workers in Nightly r=jlast,Honza
Differential Revision: https://phabricator.services.mozilla.com/D59481
2020-04-23 15:09:56 +00:00
Rob Lemley a41eba98d9 Bug 1630041 - Allow setting the update host via set define at build time. r=glandium
Bug 1568994 moved the URL for the update server to application.ini. Thunderbird
uses a different hostname for the update URL; the URL path is the same.

I've added a set_config('MOZ_APPUPDATE_HOST') to Thunderbird's moz.configure
file which will override the default.

Differential Revision: https://phabricator.services.mozilla.com/D70964
2020-04-23 08:08:39 +00:00
Nicolas Chevobbe 5434daf78f Bug 1631727 - Test the evaluation context menu structure. r=jlast.
The only test we have is split in two tests, one for
checking the interactions with the inspector, and the
other one to check webconsole actions, like selecting
context and store as global variable context menu entry.
We add test cases to ensure the menu has the expected
structure and that the expected menu item are checked
when we expect to.
We add a helper function to be able to load a URI + iframes
so the setup is terser on the tests.
The id of the meun actually had to be fixed, as it was
the same as the console settings menu.

Depends on D71729

Differential Revision: https://phabricator.services.mozilla.com/D71731
2020-04-21 15:47:05 +00:00
Nicolas Chevobbe 6a000148bd Bug 1631725 - Use TargetList TYPES instead of custom ones for targets in Toolbox redux store. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D71729
2020-04-23 15:00:18 +00:00
Yura Zenevich 218ec835e5 Bug 1602075 - display Inspect Accessibility Properties menu item in inspector if devtools.accessibility.auto-init.enabled pref is set to true. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D71587
2020-04-23 14:40:25 +00:00
Yura Zenevich cfeeac415d Bug 1602075 - display Inspect Accessibility Properties menu item if devtools.accessibility.auto-init.enabled pref is set to true. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D71586
2020-04-23 14:40:17 +00:00
Yura Zenevich 8cbcad7381 Bug 1602075 - only highlight the accessibility tab when the auto init feature is not enabled. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71585
2020-04-23 14:40:10 +00:00
Yura Zenevich 3e530c3cb3 Bug 1602075 - make enable/disable panel UI conditional on the accessibility-panel-auto-init feature. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71584
2020-04-23 14:40:02 +00:00
Yura Zenevich 6815068906 Bug 1602075 - handle can-be-disabled and can-be-disabled events in the MainFrame component instead of the Toolbar and Description respectively. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71583
2020-04-23 14:39:54 +00:00
Yura Zenevich 0cd7e8c096 Bug 1602075 - add an accessibility-panel-auto-init feature to control the panel auto enabling functionality. r=mythmon,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71582
2020-04-23 14:39:47 +00:00
Chris H-C 932ad14f14 Bug 1629345 - Document an inventory of Firefox Telemetry's tests r=raphael,janerik
Differential Revision: https://phabricator.services.mozilla.com/D71211
2020-04-23 13:56:43 +00:00
Dimi Lee 5ff0f8a47c Bug 1616775 - P7. Add IPC for ContentBlockingNotifier::OnDecision r=timhuang,baku
Differential Revision: https://phabricator.services.mozilla.com/D71016
2020-04-23 14:25:33 +00:00
Dimi Lee ae0eb1b968 Bug 1616775 - P6. Add OnAllowAccessFor to process tasks that need a parent window. r=timhuang,baku
Differential Revision: https://phabricator.services.mozilla.com/D71015
2020-04-23 14:25:31 +00:00
Dimi Lee 456ce68f60 Bug 1616775 - P5. Get tracking origin in CompleteAllowAccesFor when it is not available in the child processes. r=timhuang,baku
Differential Revision: https://phabricator.services.mozilla.com/D71014
2020-04-23 14:25:23 +00:00
Dimi Lee 00aeb88f21 Bug 1616775 - P4. Add CompleteAllowAccessFor IPDL r=timhuang,baku
Differential Revision: https://phabricator.services.mozilla.com/D71013
2020-04-23 14:25:16 +00:00
Dimi Lee 16e2fc08d9 Bug 1616775 - P3. Add CompleteAllowAccessFor to support running in the parent. r=timhuang,baku
Differential Revision: https://phabricator.services.mozilla.com/D71012
2020-04-23 14:28:41 +00:00
Dimi Lee b2428dfd95 Bug 1616775 - P2. Support getting principal and tracking origin by BrowsingContext. r=timhuang,baku
Differential Revision: https://phabricator.services.mozilla.com/D71011
2020-04-23 14:25:06 +00:00
Dimi Lee c52ca9c7d5 Bug 1616775 - P1. Add IsThirdPartyWindow and IsThirdPartyTrackingResourceWindow fields to WindowContext. r=timhuang,baku,farre
We have to add "IsThirdPartyWindow" in WindowContext because we need to know if
a BrowsingContext is third-party (The browsing context may be not
in-process).

Differential Revision: https://phabricator.services.mozilla.com/D71010
2020-04-23 14:24:56 +00:00
Nils Ohlmeier [:drno] fd51c326b1 Bug 1632241: turn off SCTP auth and address reconfiguration r=ng
Depends on D72053

Differential Revision: https://phabricator.services.mozilla.com/D72057
2020-04-23 04:33:57 +00:00
Nils Ohlmeier [:drno] 8b6c7ac18a Bug 1632241: add SCTP auth token boundary check r=ng
Differential Revision: https://phabricator.services.mozilla.com/D72053
2020-04-23 04:31:30 +00:00
Andreas Farre 6a4f39685d Bug 1576188 - Handle save-as for cross process iframes. r=peterv
Depends on D70388

Differential Revision: https://phabricator.services.mozilla.com/D70389
2020-04-23 13:56:26 +00:00
Andreas Farre d7b660230f Bug 1576188 - Test that save-as works for cross process frames. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D70388
2020-04-23 13:56:08 +00:00
Ankita b9c2dd1967 Bug 1630797 - Update test method name in deletion-request ping test; r=raphael
Differential Revision: https://phabricator.services.mozilla.com/D71971
2020-04-22 18:35:12 +00:00
Tarek Ziadé 97797dc69b Bug 1632386 - retry on changelog downloads r=Bebe
Adds retries for the changelog as well.

Differential Revision: https://phabricator.services.mozilla.com/D72108
2020-04-23 13:58:08 +00:00
Atique Ahmed Ziad 7028b6fe57 Bug 1632478 - Remove unnecessary parameter from createCopySubMenu() Method in RequestListContextMenu r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D72145
2020-04-23 13:41:14 +00:00
Olivier Tilloy 31609f81b8 Bug 1626972 - Add missing #include directive for the use of std::function. r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D69390
2020-04-07 16:07:07 +00:00
James Teh 99f2b37464 Bug 1632467: Clear eGroupInfoDirty flag when creating AccGroupInfo. r=MarcoZ
When the tree is mutated, we set eGroupInfoDirty regardless of whether there is GroupInfo.
Previously, we cleared eGroupInfoDirty when updating GroupInfo, but not when creating it.
This meant that the flag was often still set, causing the cache to not be used a lot of the time.

Differential Revision: https://phabricator.services.mozilla.com/D72139
2020-04-23 13:21:32 +00:00
Miko Mynttinen 76b3952248 Bug 1627594 - Schedule a full paint when canvas element is invalidated before the first paint r=kats
Differential Revision: https://phabricator.services.mozilla.com/D72049
2020-04-23 13:20:34 +00:00
Dão Gottwald 5c19fd7594 Bug 1630506 - Reduce the address bar's drop shadow when it's focused but not open. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D71164
2020-04-23 13:13:54 +00:00
Arthur Iakab 5b06305b9f Backed out 4 changesets (bug 1602832) for causing multiple xpcshell failures.
CLOSED TREE

Backed out changeset a5cc1585581f (bug 1602832)
Backed out changeset 3de4624b41dc (bug 1602832)
Backed out changeset da106d35137e (bug 1602832)
Backed out changeset f9388129262a (bug 1602832)
2020-04-23 16:25:26 +03:00
Mirko Brodesser fc91f37b49 Bug 1433073: part 3) Mimic old behavior of computing `mCommonInclusiveAncestors`. r=hsivonen
This reverts a previously introduced regression. See the Bugzilla
comments of this bug.

The key consequence of this is change is that copy-pasting multiple
click-selected table rows now works again for some applications (and
shouldn't be broken for others). That's because the clipboard flavor
"text/_moz_htmlcontext" doesn't contain a superfluous "<tr>" anymore.

The fix could presumably be more elegant, but it would be hard to ensure
no other applications relying on the old behavior break.

Differential Revision: https://phabricator.services.mozilla.com/D71982
2020-04-23 10:14:47 +00:00
Mirko Brodesser 44c5a47ea5 Bug 1433073: part 2) Add test. r=hsivonen
Check when copy-pasting multiple click-selected table rows, the
clipboard's "text/_moz_htmlcontext" flavor doesn't contain a `<tr>`.

Differential Revision: https://phabricator.services.mozilla.com/D71981
2020-04-23 10:14:37 +00:00
Mirko Brodesser 8a045fbcb3 Bug 1433073: part 1) Update documentation of EventUtils' `synthesizeMouse` and `synthesizeKey`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D71980
2020-04-23 10:14:27 +00:00
Gregory Mierzwinski 44c8293525 Bug 1630048 - Fix visual metrics encoding failures. r=perftest-reviewers,Bebe
This patch fixes a failure with encodings when opening JSONs. It changes the file opening portion to ignore these types of errors - they are occuring because of the different language being used. We have no need for this data so we can safely ignore them. One other change that is being done here is adding additional error logging because it was possible to lose an error stack trace.

Differential Revision: https://phabricator.services.mozilla.com/D70939
2020-04-23 09:58:35 +00:00
Jamie Nicol f9253cf629 Bug 1632444 - Correctly detect target OS when deciding what shaders to optimize. r=jrmuizel
A previous patch attempted to optimize only GL or GLES shaders,
depending on the target platform. However, it was trying to detect the
platform by using `cfg!(target_os = {})`, but as this is in a
build script that actually detects the host platform instead. This
resulted in the wrong version of shaders being optimized, and
therefore falling back to unoptimized shaders at runtime.

This fix uses `env::var("CARGO_CFG_TARGET_OS")` instead, which works
correctly in build scripts.

Differential Revision: https://phabricator.services.mozilla.com/D72127
2020-04-23 12:23:35 +00:00
Andrea Marchesini b59fd6199b Bug 1627684 - Propagate the affect-private-session-lifetime flag for window.open() - tests, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D71953
2020-04-23 12:28:13 +00:00
Andrea Marchesini 7ac516f54f Bug 1627684 - Propagate the affect-private-session-lifetime flag for window.open(), r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D71807
2020-04-23 08:58:06 +00:00
Kershaw Chang 31f7f2aa93 Bug 1602832 - P4: Call IOInterposer::Init in socket process r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D68895
2020-04-23 12:09:05 +00:00
Kershaw Chang d0dabdf4c3 Bug 1602832 - P3: Skip failed tests r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D67448
2020-04-23 12:15:16 +00:00
Kershaw Chang 87223aa639 Bug 1602832 - P2: Create 'socketprocess_networking' test variant r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D58112
2020-04-23 12:09:00 +00:00
Kershaw Chang eda36941fd Bug 1602832 - P1: Run xpcshell tests without e10s with socket process r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D58110
2020-04-23 12:14:55 +00:00
Simon Sapin 5af9f4fc2a Bug 1631721 - Remove hashglobe r=manishearth
Differential Revision: https://phabricator.services.mozilla.com/D71743
2020-04-23 00:19:51 +00:00
Simon Sapin 08ac9e2e6c Bug 1631721 - Use std::alloc instead of hashbrown::alloc in fallible r=manishearth
This works even if the Rust standard library’s allocator is not `libc::malloc`,
so we can remove the `known_system_malloc `feature flag
and make the `fallible` crate unconditional.

Differential Revision: https://phabricator.services.mozilla.com/D71742
2020-04-23 00:19:51 +00:00
Simon Sapin 67ea7f6752 Bug 1631721 - Use hashbrown instead of hashglobe r=manishearth
Differential Revision: https://phabricator.services.mozilla.com/D71741
2020-04-23 00:19:51 +00:00