Barret Rennie
1c0f5446e2
Bug 1665172 - IOError::WithMessage should accept nsCString argument as const ref r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D96290
2020-11-10 02:00:01 +00:00
Barret Rennie
62855b0e8a
Bug 1665172 - Use nsFileOutputStream for writing in IOUtils r=emalysz
...
The nsFileOutputStream does all the error checking we were doing in WriteSync,
which we can now remove. PR_CloseDelete and all usages of raw PR file
descriptors can be also now be removed.
Additionally, the mode we were using for writing included `PR_WRONLY |
PR_TRUNCATE | PR_APPEND`, which makes the `PR_APPEND` redundant.
Differential Revision: https://phabricator.services.mozilla.com/D96146
2020-11-10 01:59:53 +00:00
Barret Rennie
43b15fc417
Bug 1665172 - Use nsCOMPtr for nsI* interface pointers r=emalysz
...
Differential Revision: https://phabricator.services.mozilla.com/D96145
2020-11-10 01:59:45 +00:00
Barret Rennie
10b1daf81a
Bug 1665172 - Use nsFileInputStream for IOUtils::ReadSync r=Gijs
...
`nsFileInputStream` does most of the same work we were doing manually to read
files and determine their size in `ReadSync`.
Differential Revision: https://phabricator.services.mozilla.com/D96144
2020-11-10 01:59:38 +00:00
Barret Rennie
acfb1ff12b
Bug 1665172 - Pass nsIFile through IOUtils::GetChildrenSync for paths instead of strings r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D96143
2020-11-10 01:59:30 +00:00
Barret Rennie
95f2d2fff8
Bug 1665172 - Pass nsIFile through IOUtils::TouchSync for paths instead of strings r=emalysz
...
Differential Revision: https://phabricator.services.mozilla.com/D96142
2020-11-10 01:59:17 +00:00
Barret Rennie
f6ca7965e3
Bug 1665172 - Pass nsIFile through IOUtils::StatSync for paths instead of strings r=emalysz
...
Differential Revision: https://phabricator.services.mozilla.com/D96141
2020-11-10 01:59:10 +00:00
Barret Rennie
f5eac1ef5c
Bug 1665172 - Pass nsIFile through IOUtils::MakeDirectorySync for paths instead of strings r=Gijs
...
`CreateDirectorySync` has also been renamed to `MakeDirectorySync` to mirror
all other `Fn` vs `FnSync` methods in IOUtils.
Differential Revision: https://phabricator.services.mozilla.com/D96140
2020-11-10 01:59:02 +00:00
Barret Rennie
ee0b7e9a38
Bug 1665172 - Pass nsIFile through IOUtils::RemoveSync for paths instead of strings r=emalysz
...
Differential Revision: https://phabricator.services.mozilla.com/D96139
2020-11-10 01:58:55 +00:00
Barret Rennie
cfd92b658c
Bug 1665172 - Pass nsIFile through IOUtils::{Copy,Move}Sync for paths instead of strings r=Gijs
...
We no longer normalize the paths in CopyOrMoveSync and instead rely on
nsIFile::{Copy,Move}ToFollowingLinks to provide path normalization.
Differential Revision: https://phabricator.services.mozilla.com/D96138
2020-11-10 01:58:47 +00:00
Barret Rennie
927272a89b
Bug 1665172 - Add nsIFile::MoveToFollowingLinks{,Native} methods r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D96137
2020-11-10 15:56:47 +00:00
Barret Rennie
4e79c1f3e1
Bug 1665172 - Pass nsIFile through IOUtils::WriteAtomic{,UT8}Sync for paths instead of strings r=emalysz
...
Some other clean ups have been made, like using nsIFile::Exists() instead of
opening a file to see if it exists.
Differential Revision: https://phabricator.services.mozilla.com/D96136
2020-11-10 16:04:49 +00:00
Barret Rennie
6a23c12a15
Bug 1665172 - Pass nsIFile through IOUtils::Read{,UT8}Sync for paths instead of strings r=emalysz
...
As part of cleaning up IOUtils, we can construct nsLocalFiles in
IOUtils::Read{,UTF8}, which has the benefit of doing more checks up front,
instead of waiting until we have passed work off to the background thread.
Once all methods pass nsIFile instances through to the background thread,
we can remove our own absolute path checking code.
Differential Revision: https://phabricator.services.mozilla.com/D96135
2020-11-10 16:04:28 +00:00
Barret Rennie
7a5c0cb2c6
Bug 1665172 - Remove ToMozPromise from IOUtils r=emalysz
...
This utility is not used and can be removed.
Differential Revision: https://phabricator.services.mozilla.com/D96134
2020-11-10 00:56:19 +00:00
Cosmin Sabou
216bc1f5b8
Backed out changeset 28b29531f0c0 (bug 1674343) for mochitest serviceworker related failures. CLOSED TREE
2020-11-10 18:11:10 +02:00
Nicolas Chevobbe
6abc8ae401
Bug 1634208 - [devtools] Fix browser_jsterm_screenshot_command_warnings intermittent. r=ladybenko.
...
It looks like the test was hitting the timeout limit on slow hardware (e.g. on
linux ccov on TRY).
Requesting a longer timeout seems to fix the failure.
Differential Revision: https://phabricator.services.mozilla.com/D96405
2020-11-10 16:07:32 +00:00
Steven MacLeod
971103bdd5
Bug 1606061 - move TouchEventsOverride to BrowsingContext. r=farre,devtools-backward-compat-reviewers
...
This change removes docshell's `mTouchEventsOverride` and replaces it
with a new `BrowsingContext` field `TouchEventsOverrideInternal`.
All uses of the old field have been replaced and an override should
now work under fission when there are cross-origin descendent frames.
Differential Revision: https://phabricator.services.mozilla.com/D96414
2020-11-10 15:57:30 +00:00
Chris H-C
d90a483bd2
Bug 1676097
- Add FOG Python Subsuite to TC config r=janerik
...
Differential Revision: https://phabricator.services.mozilla.com/D96470
2020-11-10 08:46:16 +00:00
Nicolas Chevobbe
56c8e9380a
Bug 1667778 - [devtools] Remove mentions of launchpad in debugger. r=jdescottes.
...
This removes the few mentions of the launchpad that were
still existing in the debugger codebase.
We take this as an opportunity to use the #mount element
as the root of the React app (instead of creating a new
div for it).
Depends on D96384
Differential Revision: https://phabricator.services.mozilla.com/D96513
2020-11-10 13:05:24 +00:00
Nicolas Chevobbe
514b0ddad4
Bug 1675769 - [devtools] Move devtools-environment function into debugger/src. r=bomsy.
...
This moves the `isNode` and `isNodeTest` functions to the debugger/src/utils folder,
updates the callsites to those functions, generates the bundles, and finally,
removes the devtools-environment folder, as well as all mentions of it.
Differential Revision: https://phabricator.services.mozilla.com/D96384
2020-11-10 15:18:32 +00:00
Nicolas Chevobbe
6e6be10526
Bug 1675769 - [devtools] Remove usage of devtools-environment isTesting. r=bomsy.
...
When possible, we switch to the plain devtools/shared/flags module.
In some cases, the check was only done for jest test, so we use
isNodeTest instead.
Differential Revision: https://phabricator.services.mozilla.com/D96382
2020-11-10 15:14:07 +00:00
Nicolas Chevobbe
9725148bcb
Bug 1675769 - [devtools] Clean-up devtools-environment usage. r=bomsy.
...
Differential Revision: https://phabricator.services.mozilla.com/D96381
2020-11-10 15:07:57 +00:00
Kartikaya Gupta
4fce064277
Bug 1629710 - Add a hit-testing test with a very deep stack of results. r=botond
...
Differential Revision: https://phabricator.services.mozilla.com/D96467
2020-11-10 15:35:49 +00:00
Barret Rennie
5831b3e790
Bug 1674311 - Add profile, local profile, and temp dir paths to PathUtils r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D95254
2020-11-10 12:08:53 +00:00
emcminn
799b5c68d2
Bug 1666252 - Margin adjustment for WNPanel r=andreio
...
Differential Revision: https://phabricator.services.mozilla.com/D95421
2020-11-10 10:25:43 +00:00
Ted Campbell
917e029508
Bug 1676403 - Remove dead code from js::BaseScript. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D96582
2020-11-10 15:00:50 +00:00
Dão Gottwald
7d2d16c606
Bug 1676185 - Make pinning from the site menu work the same as pinning by drag & drop. r=mikedeboer
...
Differential Revision: https://phabricator.services.mozilla.com/D96533
2020-11-10 13:59:06 +00:00
Scott
0931cf33bf
Bug 1666630 - Server defined IAB categories attached to Pocket stories. r=gvn
...
Differential Revision: https://phabricator.services.mozilla.com/D96304
2020-11-10 15:12:35 +00:00
Yaron Tausky
1282d8af41
Bug 1674343 - Check for secure context when deciding to intercept r=asuth,nika,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D96179
2020-11-10 13:50:53 +00:00
Andi-Bogdan Postelnicu
446acb4cea
Bug 1626555 - Add `dom/url` to the list of non-unified-build-compatible directories. r=sg
...
Depends on D96572
Differential Revision: https://phabricator.services.mozilla.com/D96573
2020-11-10 13:43:07 +00:00
Andi-Bogdan Postelnicu
ff9bb66d6f
Bug 1626555 - Add `dom/u2f` to the list of non-unified-build-compatible directories. r=sg
...
Depends on D96571
Differential Revision: https://phabricator.services.mozilla.com/D96572
2020-11-10 13:43:05 +00:00
Andi-Bogdan Postelnicu
9c73ee47bf
Bug 1626555 - Add `dom/tests` to the list of non-unified-build-compatible directories. r=sg
...
Depends on D96570
Differential Revision: https://phabricator.services.mozilla.com/D96571
2020-11-10 13:42:06 +00:00
Andi-Bogdan Postelnicu
3e53bbe010
Bug 1626555 - Add `dom/system` to the list of non-unified-build-compatible directories. r=sg
...
Depends on D96569
Differential Revision: https://phabricator.services.mozilla.com/D96570
2020-11-10 13:41:58 +00:00
Andi-Bogdan Postelnicu
b9bd386da7
Bug 1626555 - Add `dom/svg` to the list of non-unified-build-compatible directories. r=sg
...
Differential Revision: https://phabricator.services.mozilla.com/D96569
2020-11-10 13:44:03 +00:00
Kershaw Chang
83ffab26f9
Bug 1676129 - Don't overwrite the rv with the result from GetEsniUsed r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D96403
2020-11-10 14:22:05 +00:00
Andrew Creskey
888400592c
Bug 1675863 - mozperftest uses a fixed build of geckoview_example from 05/21/2020 r=sparky
...
Updated the url used by perftest from 'nightly' to 'shippable'
Differential Revision: https://phabricator.services.mozilla.com/D96463
2020-11-10 14:07:43 +00:00
Emilio Cobos Álvarez
440671e906
Bug 1676307 - Search for sccache in the toolchain search path. r=firefox-build-system-reviewers,mhentges
...
So that ac_add_options --with-ccache=sccache just works.
Differential Revision: https://phabricator.services.mozilla.com/D96501
2020-11-10 13:11:49 +00:00
Gijs Kruitbosch
540b640357
Bug 1652520 - do not overwrite extensions for all filetypes, r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D96406
2020-11-10 13:59:39 +00:00
Andrew Halberstadt
adcd2606e2
Bug 1675631 - Fix Windows failure in testing/mozbase/manifestparser/tests/test_read_ini.py, r=bc
...
Differential Revision: https://phabricator.services.mozilla.com/D96462
2020-11-10 11:11:52 +00:00
Henrik Skupin
21a2a425cf
Bug 1671205 - [marionette] Return moz:debuggerAddress in capabilities when Remote Agent is active. r=marionette-reviewers,jdescottes,maja_zf
...
Differential Revision: https://phabricator.services.mozilla.com/D96026
2020-11-10 13:03:39 +00:00
Yaron Tausky
ca293a0d21
Bug 1675790 - Issue a soft update correctly for non-subresource requests r=dom-workers-and-storage-reviewers,asuth
...
The Handle Fetch algorithm, steps 17 and 18, requires a soft update
when a fetch event is not dispatch for a non-subresource request.
Before this commit we added the requirement that the registration
be stale, which only applies to subresource requests.
Differential Revision: https://phabricator.services.mozilla.com/D96200
2020-11-06 20:21:10 +00:00
Toshihito Kikuchi
925e53c4f3
Bug 1672367 - Block Digital Guardian's module older than 7.6. r=gcp
...
Differential Revision: https://phabricator.services.mozilla.com/D96434
2020-11-10 13:21:18 +00:00
Mirko Brodesser
d057e5c3ee
Bug 1657979: don't skip "test_bug277724.html" for Fission. r=smaug
...
Because it passes and finishes now.
Differential Revision: https://phabricator.services.mozilla.com/D96529
2020-11-10 12:00:07 +00:00
Andreas Farre
c208b33fc0
Bug 1646474 - Remove LoadInfo::mDocumentHasLoaded. r=nika,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D96010
2020-11-10 12:45:22 +00:00
Emilio Cobos Álvarez
1fe5a936f7
Bug 1676307 - Move compiler wrapper config after toolchain search path definition. r=firefox-build-system-reviewers,mhentges
...
Differential Revision: https://phabricator.services.mozilla.com/D96500
2020-11-10 12:54:10 +00:00
smolnar
ec58e559fc
Backed out changeset 1780d41127e8 (bug 1662736) for causing devtools failure. CLOSED TREE
2020-11-10 15:07:27 +02:00
Andrey Bienkowski
e5944c6972
Bug 1674841 - [devtools] Clean up devtools/shared/protocol/tests/xpcshell/test_protocol_async.js r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D95553
2020-11-10 12:55:29 +00:00
Nicolas Chevobbe
858da426e6
Bug 1674400 - [devtools] Update pretty-fast to 0.2.4. r=bomsy.
...
This updates the pretty-fast module to bring the commits
that were done there the 3 last years (date of the last
version being published).
Differential Revision: https://phabricator.services.mozilla.com/D96176
2020-11-10 12:15:13 +00:00
Hubert Boma Manilla
5c91d1f55c
Bug 1662736 - [devtools] Simplify the network request payload r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D94457
2020-11-10 12:44:23 +00:00
Bogdan Tara
1bda053029
Backed out 2 changesets (bug 1676307) for stackwalk related bustage CLOSED TREE
...
Backed out changeset 3b7922a9af19 (bug 1676307)
Backed out changeset 74e377213d81 (bug 1676307)
2020-11-10 14:42:43 +02:00