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

526 Коммитов

Автор SHA1 Сообщение Дата
Kartik Gautam 7ae6aea145 Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D100484
2021-01-07 08:53:08 +00:00
Cosmin Sabou 2978aa00a3 Backed out changeset dbed1cdf588f (bug 1684173) for mochitest plain and devtools failures. a=backout DONTBUILD 2020-12-28 00:43:51 +02:00
Kartik Gautam 775cdec032 Bug 1684173 - Add newline character at end of files when missing r=sylvestre
Depends on D100443

Differential Revision: https://phabricator.services.mozilla.com/D100484
2020-12-27 11:43:41 +00:00
Kershaw Chang ded6541cb4 Bug 1679749 - Make sure we only close private connections when last private window closed r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D99238
2020-12-10 20:32:06 +00:00
Mark Banner 3a198bf760 Bug 1680325 - Remove references to jshint from dom and layout. r=nika
Depends on D98519

Differential Revision: https://phabricator.services.mozilla.com/D98520
2020-12-02 19:39:29 +00:00
Andrew McCreight b5a782a3f1 Bug 1539948, part 1 - Implement mocked socket transport in C++. r=nika,necko-reviewers
The DOM presentation tests require an implementation of
nsISocketTransport that doesn't actually implement anything,
for some reason.

Re-implementing that in C++ allows me to make nsISocketTransport
builtinclass.

Differential Revision: https://phabricator.services.mozilla.com/D98861
2020-12-09 02:40:13 +00:00
Razvan Maries 35ccea0325 Backed out 3 changesets (bug 1539948) for build bustages on nsISocketTransport.h. CLOSED TREE
Backed out changeset 81bed88d0adf (bug 1539948)
Backed out changeset 8bf24bdf431f (bug 1539948)
Backed out changeset ef4e49b3701d (bug 1539948)
2020-12-09 02:47:52 +02:00
Andrew McCreight a072fd3486 Bug 1539948, part 1 - Implement mocked socket transport in C++. r=nika,necko-reviewers
The DOM presentation tests require an implementation of
nsISocketTransport that doesn't actually implement anything,
for some reason.

Re-implementing that in C++ allows me to make nsISocketTransport
builtinclass.

Differential Revision: https://phabricator.services.mozilla.com/D98861
2020-12-08 21:18:58 +00:00
Bogdan Tara ade4d82c59 Backed out changeset 98c3e6255c58 (bug 1597600) for browser_installssl.js failures CLOSED TREE 2020-12-07 21:01:50 +02:00
R. Martinho Fernandes c99fe51d2d Bug 1597600 - make certificate overrides depend on origin attributes r=keeler,geckoview-reviewers,smaug,agi
Differential Revision: https://phabricator.services.mozilla.com/D91962
2020-12-07 17:10:52 +00:00
Geoff Brown bebfc32efd Bug 1643448 - Add ACCESS_WIFI_STATE permission and disable failing tests in dom/presentation; r=geckoview-reviewers,bc,agi
Add the permission to the geckoview manifest, as previously attempted. Also disable failing tests
to enable a green test run. Add permission to adb.py grants list for good measure.

Differential Revision: https://phabricator.services.mozilla.com/D98809
2020-12-07 16:09:06 +00:00
Simon Giesecke dd80614fa0 Bug 1678062 - Remove unnecessary includes. r=andi
Differential Revision: https://phabricator.services.mozilla.com/D97467

Depends on D96561
2020-11-23 16:12:02 +00:00
Simon Giesecke 9ba9bb72c5 Bug 1660470 - Avoid including PermissionMessageUtils.h from header files. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D93552

Depends on D93550
2020-11-23 16:05:33 +00:00
Simon Giesecke 971b645fe3 Bug 1660470 - Add missing include directives/forward declarations. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D87865
2020-11-23 16:21:38 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart c0cea3b0fa Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart 50762dacab Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
pctopgs 9210b94c06 Bug 1265275 - Removed 'using namespace mozilla;' and 'using namespace mozilla::dom;' wih namespace mozilla {..} namespace dom {..} in PresentationSessionInfo.cpp r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D92535
2020-10-06 10:33:16 +00:00
pctopgs f8579e23b4 Bug 1265275 - Removed using namespace mozilla::services; from PresentationSessionInfo.cpp r=smaug
Depends on D87722

Differential Revision: https://phabricator.services.mozilla.com/D87942
2020-09-28 09:32:29 +00:00
Simon Giesecke de7bab0f06 Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D82325
2020-09-23 15:17:15 +00:00
Nathan Froyd cfb8fb313f Bug 1662251 - stop assigning from NS_Convert* values, mostly; r=sg
This patch was generated by running:

```
perl -p -i \
     -e 's/^(\s+)([a-zA-Z0-9.]+) = NS_ConvertUTF8toUTF16\((.*)\);/\1CopyUTF8toUTF16(\3, \2);/;' \
     -e 's/^(\s+)([a-zA-Z0-9.]+) = NS_ConvertUTF16toUTF8\((.*)\);/\1CopyUTF16toUTF8(\3, \2);/;' \
     $FILE
```

against every .cpp and .h in mozilla-central, and then fixing up the
inevitable errors that happen as a result of matching C++ expressions with
regexes.  The errors fell into three categories:

1. Calling the convert functions with `std::string::c_str()`; these were
   changed to simply pass the string instead, relying on implicit conversion
   to `mozilla::Span`.
2. Calling the convert functions with raw pointers, which is not permitted
   with the copy functions; these were changed to invoke `MakeStringSpan` first.
3. Other miscellaneous errors resulting from over-eager regexes and/or the
   replacement not being type-aware.  These changes were reverted.

Differential Revision: https://phabricator.services.mozilla.com/D88903
2020-09-02 09:54:37 +00:00
pctopgs 8a45fc2a0d Bug 1265275 - Removed using namespace mozilla::ipc; from PresentationIPCService.cpp r=smaug
Depends on D87720

Differential Revision: https://phabricator.services.mozilla.com/D87722
2020-08-21 11:37:17 +00:00
pctopgs e4ee963b51 Bug 1265275 - Replaced using namespace mozilla; & using namespace mozilla::dom; with namespace mozilla{..} & namespace dom{..} in PresentationIPCService.cpp. r=smaug
.

Differential Revision: https://phabricator.services.mozilla.com/D87720
2020-08-21 11:36:44 +00:00
pctopgs 6ce79b0cb4 Bug 1265275 - Replaced using namespace mozilla; & using namespace mozilla::dom; with namespace mozilla{..} & namespace dom{..} in PresentationChild.cpp. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86709
2020-08-12 14:09:49 +00:00
pctopgs ab81b8552f Bug 1265275 - Replaced using namespace mozilla; & using namespace mozilla::dom; with namespace mozilla{..} & namespace dom{..} in PresentationRequest.cpp. Added scope resolution to the NS_CreatePresentationService() definition in PresentationService.cpp r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86470
2020-08-09 14:53:57 +00:00
Simon Giesecke 1e02318b49 Bug 1653335 - Replace MakeSpan uses by constructor calls. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D83817
2020-08-07 07:49:47 +00:00
ssengupta a53a3bfb23 Bug 1619953 - P11 - Mochitest `test_presentation_dc_sender.html` disabled for e10s r=mccr8
The test was found to fail for various builds in try runs for Bug 1656033. Running manually on the latest mozilla central at this time, the test did not pass for Linux and Windows 64 bit debug. This should be more closely investigated at a later time.

Filed Bug 1656033 to re-enable.

Differential Revision: https://phabricator.services.mozilla.com/D85313
2020-08-05 17:06:13 +00:00
pctopgs ce2278580f Bug 1265275 - Removed 'using namespace mozilla;' and 'using namespace mozilla::dom;' and replaced them with namespace mozilla{...} and namespace dom{...} in PresentationTCPSessionTransport.cpp r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D85744
2020-08-05 16:07:51 +00:00
Sonia Singla 7e4a582215 Bug 1528649 - Remove the context parameter from nsInputStreamPump::AsyncRead. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D85154
2020-08-05 11:21:51 +00:00
pctopgs d510e87b11 Bug 1265275 - Removed 'using namespace mozilla;' and 'using namespace mozilla::dom;' and replaced them with namespace mozilla{...} and namespace dom{...} from PresentationConnection.cpp r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D84725
2020-07-24 09:40:24 +00:00
Emilio Cobos Álvarez ff61891772 Bug 1653011 - Simplify and make WeakPtr<Derived> usable and compact. r=froydnj,sg,geckoview-reviewers,jgilbert,kvark,snorp
Having two classes in the inheritance chain inherit from SupportsWeakPtr
now won't compile, but you can use WeakPtr<Derived> when any base class
inherits from SupportsWeakPtr.

Differential Revision: https://phabricator.services.mozilla.com/D83674
2020-07-23 14:51:46 +00:00
Mihai Alexandru Michis b6fd660d5f Backed out 2 changesets (bug 1265275) for causing bustages.
CLOSED TREE

Backed out changeset 8e3dd061717c (bug 1265275)
Backed out changeset 36f1f780b0d7 (bug 1265275)
2020-07-19 21:09:38 +03:00
pctopgs 6897932cde Bug 1265275 - Removed 'using namespace mozilla;' and 'using namespace mozilla::dom;' and replaced them with namespace mozilla{...} and namespace dom{...} in PresentationConnection.cpp r=baku
Differential Revision: https://phabricator.services.mozilla.com/D83939
2020-07-19 17:31:00 +00:00
pctopgs 32511c913f Bug 1265275 - Removed 'using namespace mozilla;' and 'using namespace mozilla::dom;' and replaced them with namespace mozilla{...} and namespace dom{...} in PresentationRequest.cpp r=baku
Differential Revision: https://phabricator.services.mozilla.com/D83924
2020-07-19 17:31:28 +00:00
Simon Giesecke da069e50be Bug 1652942 - Remove unnecessary includes from Element.h. r=smaug
Depends on D83114

Differential Revision: https://phabricator.services.mozilla.com/D83632
2020-07-15 14:09:01 +00:00
Bogdan Tara 2b3ac6a0f4 Backed out 2 changesets (bug 1265275) for SynchronizedEventQueue.h related bustage CLOSED TREE
Backed out changeset 50e3f43c30c4 (bug 1265275)
Backed out changeset ebde0955338e (bug 1265275)
2020-07-13 11:14:56 +03:00
pctopgs bfeb239147 Bug 1265275 - Removed 'using namespace mozilla;' and 'using namespace mozilla::dom;' and replaced them with namespace mozilla{...} and namespace dom{...} in PresentationRequest.cpp r=baku
Depends on D82936

Differential Revision: https://phabricator.services.mozilla.com/D82938
2020-07-11 09:50:08 +00:00
pctopgs 7199e2929f Bug 1265275 - Removed 'using namespace mozilla;' and 'using namespace mozilla::dom;' and replaced them with namespace mozilla{...} and namespace dom{...} in PresentationConnection.cpp r=baku
Differential Revision: https://phabricator.services.mozilla.com/D82936
2020-07-11 09:50:08 +00:00
Kris Maglione 9d78661f88 Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D81594
2020-07-10 23:58:28 +00:00
pctopgs d37ba449e7 Bug 1265275 Removed using namespace mozilla; and using namespace mozilla::dom; from PresentationAvailability.cpp r=smaug
Depends on D81855

Differential Revision: https://phabricator.services.mozilla.com/D81948
2020-07-02 13:53:04 +00:00
pctopgs 71cd56b255 Bug 1265275 Removed 'using namespace mozilla;' and 'using namespace mozilla::dom;' and replaced them with namespace mozilla{...} and namespace dom{...} in PresentationAvailability.cpp r=smaug
Depends on D81633

Differential Revision: https://phabricator.services.mozilla.com/D81855
2020-07-01 14:19:03 +00:00
pctopgs 3a7a95eb97 Bug 1265275 - Removed 'using namespace mozilla;' and 'using namespace mozilla::dom;' and replaced them with namespace mozilla{...} and namespace dom{...} from PresentationCallbacks.cpp. r=smaug
smaug

Differential Revision: https://phabricator.services.mozilla.com/D81633
2020-07-01 10:59:53 +00:00
Simon Giesecke e3c223da3e Bug 1648010 - Fix uses of NS_LITERAL_STRING with C string literals. r=geckoview-reviewers,agi,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D80861
2020-07-01 08:34:12 +00:00
Simon Giesecke cd8b8939b9 Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Kershaw Chang f325bc0048 Bug 1641496 - P6: Reenable some tests r=dragana,extension-reviewers,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D77277
2020-06-04 22:56:38 +00:00
Csoregi Natalia 63635ef2aa Backed out 7 changesets (bug 1641496) for failures on test_trr.js. CLOSED TREE
Backed out changeset 1c927e612dda (bug 1641496)
Backed out changeset 0f1ba77e3942 (bug 1641496)
Backed out changeset a626e86ce5c9 (bug 1641496)
Backed out changeset 196381953eac (bug 1641496)
Backed out changeset 70b0af678bfd (bug 1641496)
Backed out changeset bf41bd8ca89c (bug 1641496)
Backed out changeset 745da0e1cb80 (bug 1641496)
2020-06-05 01:39:19 +03:00
Kershaw Chang 9e895a5b1f Bug 1641496 - P6: Reenable some tests r=dragana,extension-reviewers,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D77277
2020-06-04 16:53:23 +00:00
Simon Giesecke d3d408d62f Bug 1626570 - Improve handling of copying arrays in dom/presentation/. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D73673
2020-05-06 11:43:16 +00:00