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

715171 Коммитов

Автор SHA1 Сообщение Дата
Sam Foster 394b51b9e3 Bug 1639069 - Add download context menu items to 'Use' and 'Always use' the system viewer to open the download. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D79396
2020-06-25 22:19:37 +00:00
Sam Foster 1c447df70b Bug 1639069 - Provide helpers for getting a nsIMIMEInfo on DownloadsCommon, and confirming if a download is a given mime-type. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D79395
2020-06-26 02:34:03 +00:00
Steve Fink 4d9132ebfd Bug 1568923 - String deduplication fixups from review r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D79583
2020-06-26 02:17:04 +00:00
Ed Lee 6a240f86aa Bug 1643761 - Measure about:welcome performance r=pdahiya
Use Performance for mark and navigation timings to send with message impression.

Differential Revision: https://phabricator.services.mozilla.com/D81170
2020-06-26 02:13:53 +00:00
Jan Varga f482502235 Bug 1621920 - Convert LS client to use the new macro for warning about unknown stuff and add testing for unknown directories in LS client directory; r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D80167
2020-06-26 01:56:45 +00:00
Jan Varga f7200a696c Bug 1621920 - Provide a new testable macro for warning about unknown files or directories; r=dom-workers-and-storage-reviewers,ttung,sg
Differential Revision: https://phabricator.services.mozilla.com/D80166
2020-06-25 07:16:47 +00:00
Jan Varga 3048b298b2 Bug 1621920 - Fix some comments in test_unknownFiles.js; r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D80165
2020-06-25 07:16:50 +00:00
Mike Hommey 219d10e7ce Bug 1648654 - Remove AutoObjectMapperFaultyLib. r=gerald
Bug 1486524 disabled the features from the custom linker that required
AutoObjectMapperFaultyLib. We can now rely on AutoObjectMapperPOSIX
instead.

Differential Revision: https://phabricator.services.mozilla.com/D81264
2020-06-26 01:26:56 +00:00
Glenn Watson 29c3ca7449 Bug 1647862 - Fix panic when casting large rects to i32. r=Bert
In various parts of the picture and mask code, we were casting
the `clipped` rect to i32 (after rounding out). However, this
can cause overflow panics when the origin of the rect is too big.

Instead, treat the origin as f32 (which it was generally being
converted to anyway), and only cast the size part to be i32 as
required. This is safe since we know that the size has been
clipped to the visible screen, so will always be safe to cast
to i32.

Differential Revision: https://phabricator.services.mozilla.com/D80968
2020-06-25 23:42:07 +00:00
Emilio Cobos Álvarez 8ae606c7bf Bug 1648095 - Don't defer the same sheet load twice. r=heycam
When we call into LoadSheet when starting pending loads for a given
loader, it may be the case that the original loader may still not care
about the load. However some other loader will, so we can't defer this.

This was also causing our state to get out of sync, because if this
happened, then we'd fail to account for it in other loaders.

Differential Revision: https://phabricator.services.mozilla.com/D81119
2020-06-26 01:17:40 +00:00
Mike Hommey 2c0ef5cc73 Bug 822978 - Enable -Werror=implicit-function-declaration by default. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D81250
2020-06-26 01:06:48 +00:00
Nicholas Nethercote e671bf0673 Bug 1647987 - Create Rust testing docs. r=froydnj.
Some of the testing info is from the Oxidation wiki, and the logging info is
largely from a dev-platform email by Valentin. The other parts I wrote from
scratch.

The commit also makes some small improvements to the Rust build docs.

Differential Revision: https://phabricator.services.mozilla.com/D81017
2020-06-26 01:04:40 +00:00
Cosmin Sabou 365452d665 Bug 1399356 - Fix eslint prettier failure on browser_anti_clickjacking.js. r=eslint-fix 2020-06-26 04:10:13 +03:00
Neil Deakin 92c10e5f50 Bug 1646197, convert about:certificate to JSWindowActor instead of old RPM, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D80017
2020-06-25 01:13:05 +00:00
Mike Hommey 90a47ff4ef Bug 1648343 - Require rustc 1.43 to build. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D81246
2020-06-25 23:41:16 +00:00
Glenn Watson a4c8032bbc Bug 1648328 - Remove a redundant assertion check. r=Bert
The code already explicitly checks for and handles the rect here
having a zero or invalid size, there is no need to assert that
the rect size itself is valid.

Differential Revision: https://phabricator.services.mozilla.com/D81249
2020-06-26 00:24:04 +00:00
Adam Roach [:abr] 577210f784 Bug 1399356: Test & test adjustments for anti-clickjacking r=zbraniecki
Depends on D79775

Differential Revision: https://phabricator.services.mozilla.com/D80229
2020-06-26 00:38:55 +00:00
Adam Roach [:abr] b3e0a05bb9 Bug 1399356: Delay input to autofill popup r=zbraniecki,MattN
Differential Revision: https://phabricator.services.mozilla.com/D79775
2020-06-26 00:36:57 +00:00
Zibi Braniecki 8ce6deaff2 Bug 1641719 - Don`t set 0 state in TreeView on first click. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D79322
2020-06-26 00:14:23 +00:00
Timothy Nikkel bc9a1824af Bug 1647948. Relax assertion about image aspect ratio to consider that images can go into error state. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D80826
2020-06-25 23:51:22 +00:00
Geoff Brown 6612d6856b Bug 1648506 - Disable some python tests on py2 on mac; r=mhentges
These tests fail on py2 on osx when 'mach python-test' runs with python 3, blocking
bug 1594914.

Differential Revision: https://phabricator.services.mozilla.com/D81247
2020-06-25 23:47:38 +00:00
Ting-Yu Lin a826558cef Bug 1648615 - Add hotkeys to dump DOM tree and frame tree in layout debugger. r=emilio
* ctrl+d: Dump DOM tree (content). (Use "d" because "c" is for copy.)
* ctrl+f: Dump frame trees.
* ctrl+p: Dump frame trees in CSS pixels.

On macOS, the modified is cmd instead of ctrl.

Differential Revision: https://phabricator.services.mozilla.com/D81234
2020-06-25 23:59:15 +00:00
Butkovits Atila 305a24de4b Backed out changeset 6a93e7a5e237 (bug 1555557) for causing build bustage on nsCertOverrideService.cpp. CLOSED TREE 2020-06-26 02:54:59 +03:00
Nihanth Subramanya 7c0a2f07b9 Bug 1555557 - Do cert override file writes off the main thread. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D35375
2020-06-25 17:15:36 +00:00
David Major a0cb558b98 Bug 1648541 - Rename details namespace in SPSCQueue r=froydnj
I will admit from the start that this patch is goofy and is not the "proper" fix.

If you're unlucky enough to tickle the current unification in `dom/media`, then there's a conflict between `namespace mozilla::details` of `SPSCQueue.h` and `namespace details` of Chromium's `task.h`. Ultimately, the badness stems from some unified file doing `using namespace mozilla;`, but I'm really not enthusiastic about reworking that when I just want to get unblocked.

I'm going to attempt to justify the yuckiness of this patch on the basis that:
* `SPSCQueue.h` is super self-contained and rarely looked at, I bet nobody will notice this change
* Tons of other code prefers the spelling `mozilla::detail` anyway

Differential Revision: https://phabricator.services.mozilla.com/D81162
2020-06-25 19:30:52 +00:00
Jeff Muizelaar 6017f891b8 Bug 1648601 - Rollout WebRender to Mac on AMD and Nvidia too. r=aosmond
There hasn't been much complaint with it being on so far so let's get
more.

Differential Revision: https://phabricator.services.mozilla.com/D81192
2020-06-25 21:23:16 +00:00
Jeff Muizelaar 5ec0345f23 Bug 1648587 - Rename IntelHDGraphicsToHaswell to IntelHaswell. r=aosmond
IntelHDGraphicsToHaswell currently only includes Haswell and
not older hardware like IntelHDGraphicsToIvyBridge etc.

Differential Revision: https://phabricator.services.mozilla.com/D81185
2020-06-25 20:49:50 +00:00
Jeff Muizelaar a177765070 Bug 1648579 - Add failure id for Disabled instead of Denied. r=aosmond
Denied is always the result of the allow list.

Differential Revision: https://phabricator.services.mozilla.com/D81172
2020-06-25 20:49:04 +00:00
Nika Layzell c7f85b7fac Bug 1633379 - Part 2: Add support for in-process JSWindowActors, r=kmag,Yoric
This switches the `nsIContent{Parent,Child}` interface to be
`nsIDOMProcess{Parent,Child}`, and also implements it on
`InProcess{Parent,Child}`, along with the `ProcessActor` interface.

Differential Revision: https://phabricator.services.mozilla.com/D80582
2020-06-25 20:35:18 +00:00
Nika Layzell 9c12bdf9af Bug 1633379 - Part 1: Move PInProcess into dom/ipc, r=kmag,Yoric
This moves it near the cross-process `PContent` actor, and makes it more clear
that this actor is only intended to be used for DOM things.

Differential Revision: https://phabricator.services.mozilla.com/D80581
2020-06-25 17:50:51 +00:00
Butkovits Atila f47ca94618 Backed out changeset 840d3dc313f1 (bug 1648270) for causing build bustages on ProtocolFuzzer.cpp. CLOSED TREE 2020-06-26 01:57:49 +03:00
Matt Woodrow 9e57de431f Bug 1626362 - Don't return a failure from nsDocumentOpenInfo::OnStartRequest if we decide to handle the response with the external helper app and then fail. r=nika
The WPT a-download-click-404.html requires this behaviour for links with the download attribute, and this is also the current behaviour for Content-Disposition: Attachment (see bug 1604308).

This previously worked because the parent process version of nsDocumentOpenInfo failed (with NS_ERROR_FILE_NOT_FOUND), but the error code was discarded and we forwarded the channel to the content process. The content process version then would then return NS_ERROR_WONT_HANDLE_CONTENT since the load requires downloading, but we don't allow that in the content process. This new error code is one that doesn't have an associated error page (unlilke the original error), so was silently discarded.

Differential Revision: https://phabricator.services.mozilla.com/D81014
2020-06-25 22:13:31 +00:00
Matt Woodrow 0700ed831b Bug 1626362 - Don't forward loads to DocumentLoadListener if nsDocumentOpenInfo returned a failure, since doing so would lose the error code. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D79409
2020-06-25 04:33:46 +00:00
Matt Woodrow 6a2048cf42 Bug 1626362 - Let DocumentLoadListener determine if docshell will display content (from the channel or from loading an error page), and only allow switching to a new process if so. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D80111
2020-06-25 04:33:27 +00:00
Matt Woodrow 8fa4e5c092 Bug 1626362 - Make mOriginalUriString available in DocumentLoadListener and docshell. r=nika,necko-reviewers,valentin
This also fixes a bug where we were setting mOriginalUriString in docshell before InternalLoad (which clears it), instead of after.

Differential Revision: https://phabricator.services.mozilla.com/D80110
2020-06-25 04:33:14 +00:00
Matt Woodrow f0b769ce30 Bug 1626362 - Move nsDocShell::mUserErrorPages to BrowsingContext. r=nika
This is only used by Thunderbird, and is always true for Firefox. I've made CanSet only allow the embedder process, which is the desired behaviour, and should work for non-e10s.

Differential Revision: https://phabricator.services.mozilla.com/D80109
2020-06-25 04:32:51 +00:00
Matt Woodrow 19c4b43cba Bug 1626362 - Move url classifier notifications to parent process. r=nika,necko-reviewers,JuniorHsu
We shouldn't need to handle this with an early return in docshell, since the classifier failure codes won't display an error page anyway.

Differential Revision: https://phabricator.services.mozilla.com/D80108
2020-06-25 04:32:28 +00:00
Matt Woodrow 5f0218a196 Bug 1626362 - Combine two load error page functions into one. r=nika
I don't think we need these to be done at different times, since the set of checks that happen before uri fixup are error codes that won't be affected by fixup.

Differential Revision: https://phabricator.services.mozilla.com/D80107
2020-06-25 04:32:06 +00:00
Matt Woodrow 0f894bda06 Bug 1626362 - Move checks for deciding if we should load an error page into helpers. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D80106
2020-06-25 04:32:04 +00:00
Matt Woodrow d545a61edb Bug 1626362 - Move docshell uri fixup code into a static helper. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D80104
2020-06-25 04:32:01 +00:00
Matt Woodrow b70d4baf2a Bug 1626362 - Add test for not process switching when we get a 204 response. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80103
2020-06-25 04:31:59 +00:00
Mike Hommey 81697e521f Bug 1632735 - Upgrade valgrind builds to the same rust version as other builds. r=erahm
And add suppressions for the new errors that this adds to the valgrind
run. It's not clear if it's a legitimate thing that LLVM does that
valgrind doesn't cope with, like many others, but the fact is running
valgrind on a PGO/LTO build doesn't show these errors, so we're not
actually shipping them anyways (but does show _different_ errors that we
don't see on the build the valgrind jobs do)

Differential Revision: https://phabricator.services.mozilla.com/D81016
2020-06-25 22:29:59 +00:00
Mike Hommey 382cebd8f2 Bug 1648575 - Fix Android artifact builds after bug 1645986. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D81240
2020-06-25 22:31:02 +00:00
longsonr ea442838d3 Bug 1648463 - Move SVGForeignObjectFrame SVGImageFrame and SVGUseFrame to mozilla namespace r=dholbert,jgilbert
stop exposing SVGImageListener as only SVGImageFrame uses it.

Differential Revision: https://phabricator.services.mozilla.com/D81087
2020-06-25 20:42:49 +00:00
sotaro d335e0748d Bug 1644975 - Change scaleX to scale r=jrmuizel,dao
scaleX() with -moz-context-properties without WebRender does not sacale X direction. It is Bug 1646618. Then without WebRender, the rendering problem does not happen.  scale() requests correct scaling.

Differential Revision: https://phabricator.services.mozilla.com/D79998
2020-06-25 14:41:43 +00:00
Cosmin Sabou 6787ccf9b2 Backed out changeset 4114f7f22643 (bug 1647862) for causing wrench bustages. CLOSED TREE 2020-06-26 00:54:10 +03:00
Hiroyuki Ikezoe 1320a9622c Bug 1648013 - Migrate reftest-paged reftests in layout/reftests/columns into wpt. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D80832
2020-06-25 21:01:34 +00:00
Hiroyuki Ikezoe 2d9e750de3 Bug 1648016 - Migrate reftest-paged reftests in layout/reftests/details-summary into wpt. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D80833
2020-06-25 21:01:26 +00:00
Glenn Watson 0e14b7509e Bug 1647862 - Fix panic when casting large rects to i32. r=Bert
In various parts of the picture and mask code, we were casting
the `clipped` rect to i32 (after rounding out). However, this
can cause overflow panics when the origin of the rect is too big.

Instead, treat the origin as f32 (which it was generally being
converted to anyway), and only cast the size part to be i32 as
required. This is safe since we know that the size has been
clipped to the visible screen, so will always be safe to cast
to i32.

Differential Revision: https://phabricator.services.mozilla.com/D80968
2020-06-25 19:49:04 +00:00
Marco Bonardo dfcb66f1fe Bug 1628948 - Test checking the URL bar panel closes when clicking the non-client area. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D78225
2020-06-23 12:22:58 +00:00