Valentin Gosu
1a2cdd14be
Bug 1530303 - Remove nsIHttpChannelInternal.setTopWindowPrincipal r=nika
...
Since it wasn't reliable, we remove the topWindowPrincipal in favor of WindowGlobalParent->DocumentPrincipal()
Differential Revision: https://phabricator.services.mozilla.com/D24897
--HG--
extra : moz-landing-system : lando
2019-04-09 20:10:51 +00:00
Valentin Gosu
9f66c3ee26
Bug 1530303 - Use CanonicalBrowsingContext->CurrentWindowGlobal->DocumentPrincipal to get the topLevelWindowPrincipal r=nika
...
The principal we got from the child process was always a null principal, which was wrong.
This approach seems to give you the actual principal of the current document.
Differential Revision: https://phabricator.services.mozilla.com/D24895
--HG--
extra : moz-landing-system : lando
2019-04-09 20:10:33 +00:00
Valentin Gosu
06334e695a
Bug 1530303 - Put CrossOriginOpenerPolicy in BrowsingContext r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D23935
--HG--
extra : moz-landing-system : lando
2019-04-09 20:10:13 +00:00
Michael Froman
ac99c1dda6
Bug 1539029 - pt 3 - de-duplicate building cmdline for shared prefs class. r=kmag
...
Cmd-line params for the SharedPreferenceSerializer was
duplicated in ContentParent and
SocketProcessHost. Since we'll have a 3rd process (RDD)
using this same code, let's move the repsonsiblity for knowing how to add
these cmdline params into SharedPreferenceSerializer.
Depends on D26567
Differential Revision: https://phabricator.services.mozilla.com/D26568
--HG--
extra : moz-landing-system : lando
2019-04-09 21:07:47 +00:00
Jeff Walden
c904278324
Bug 1542910 - Make all script compilation APIs directly return a JSScript*, rather than returning a success code and returning the JSScript* via outparam that exactly duplicates the success code value's meaning. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D26616
--HG--
extra : moz-landing-system : lando
2019-04-09 17:58:52 +00:00
Brindusan Cristian
149c6ee879
Backed out changeset 53e379a5738f (bug 1542910) as requested by waldo on irc. CLOSED TREE
...
--HG--
extra : histedit_source : 8714b8dac07c146822952ede6a8d85b3bf4caf50
2019-04-09 20:43:52 +03:00
Jeff Walden
9f030a47c2
Bug 1542910 - Make all script compilation APIs directly return a JSScript*, rather than returning a success code and returning the JSScript* via outparam that exactly duplicates the success code value's meaning. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D26616
--HG--
extra : moz-landing-system : lando
2019-04-09 17:24:31 +00:00
Noemi Erli
4a518ba201
Backed out changeset d470f958ea61 (bug 1542910) for bustages in testEmptyWindowIsOmitted.cpp
2019-04-09 19:24:46 +03:00
Jeff Walden
1a5a3f4e6e
Bug 1542910 - Make all script compilation APIs directly return a JSScript*, rather than returning a success code and returning the JSScript* via outparam that exactly duplicates the success code value's meaning. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D26616
--HG--
extra : moz-landing-system : lando
2019-04-09 03:50:03 +00:00
Mike Hommey
071a2fe984
Bug 1541792 - Replace linker magic with manual component registration. r=froydnj
...
Before bug 938437, we had a rather large and error-prone
nsStaticXULComponents.cpp used to register all modules. That was
replaced with clever use of the linker, which allowed to avoid the mess
that maintaining that file was.
Fast forward to now, where after bug 1524687 and other work that
preceded it, we have a much smaller number of remaining static xpcom
components, registered via this linker hack, and don't expect to add
any new ones. The list should eventually go down to zero.
Within that context, it seems to be the right time to get rid of the
magic, and with it the problems it causes on its own.
Some of those components could probably be trivially be converted to
static registration via .conf files, but I didn't want to deal with the
possible need to increase the number of dummy modules in XPCOMInit.cpp.
They can still be converted as a followup.
Differential Revision: https://phabricator.services.mozilla.com/D26076
--HG--
extra : moz-landing-system : lando
2019-04-05 02:30:56 +00:00
Geoff Brown
8d88b9a596
Bug 1318091 - Disable failing android gtests; r=bc
...
Disable gtests observed to fail on Android. Some of these are simple build
failures and failures due to file permissions or paths, while other failures
are more obscure.
Once Android gtests are running on mozilla-central, I will file follow-up
bugs inviting teams to investigate the failures and re-enable Android gtests
that are important to them.
Differential Revision: https://phabricator.services.mozilla.com/D26606
--HG--
extra : moz-landing-system : lando
2019-04-08 20:58:21 +00:00
Dorel Luca
7783e898b4
Backed out changeset 471b2063c817 (bug 1540656) for XPCShell failures in dom/push/test/xpcshell/test_register_success_http2.js
2019-04-08 15:49:10 +03:00
Valentin Gosu
de5f594f79
Bug 1540656 - Use dns-packet node module in test_trr.js r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D25671
--HG--
extra : moz-landing-system : lando
2019-04-08 10:42:34 +00:00
Jeremy Lempereur
39b20b1675
Bug 1517797 - Rewrite net_IsValidIPv6Addr in Rust r=valentin,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D15737
--HG--
extra : moz-landing-system : lando
2019-04-08 06:33:04 +00:00
Liang-Heng Chen
3ad02f2b09
Bug 1541238 - add pref to delay 3rd-party tracker; r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D26266
--HG--
extra : moz-landing-system : lando
2019-04-05 16:30:08 +00:00
Mike Hommey
c8b0debcc0
Bug 1541755 - Remove NSMODULE_DEFN in TestPACMan.cpp. r=mayhemer
...
The module is manually registered through the component manager in
the gtest setup anyways.
Differential Revision: https://phabricator.services.mozilla.com/D26063
--HG--
extra : moz-landing-system : lando
2019-04-05 11:29:05 +00:00
Jeff Walden
5327fe7f3e
Bug 1542120 - Add js/public/Warnings.h for warning-related JSAPI. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D26273
--HG--
rename : js/src/jsapi.h => js/public/Warnings.h
extra : moz-landing-system : lando
2019-04-05 22:52:04 +00:00
Sylvestre Ledru
03fc65347c
Bug 1542146 - Apply the change with the option StatementMacros from clang-format-8 r=andi
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26280
--HG--
extra : moz-landing-system : lando
2019-04-05 21:42:17 +00:00
Sylvestre Ledru
03c8e8c2dd
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-05 21:41:42 +00:00
Sylvestre Ledru
b76e026986
Bug 1542237 - nsHTTP.cpp: Remove an unused allocation r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D26308
--HG--
extra : moz-landing-system : lando
2019-04-05 19:25:28 +00:00
Csoregi Natalia
ba58e936bd
Backed out changeset 4ad80127f89f (bug 1519636) for bustage on MarkupMap.h and nsAccessibilityService.cpp. CLOSED TREE
2019-04-05 09:48:19 +03:00
Sylvestre Ledru
d1c1878603
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-04 21:36:16 +00:00
Liang-Heng Chen
b56c857b8e
Bug 1533363 - Part 2: Add HTTP Traffic category Telemetry; r=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D25135
--HG--
extra : moz-landing-system : lando
2019-04-04 21:36:39 +00:00
Liang-Heng Chen
87aef68061
Bug 1533363 - Part 1: Add HttpTrafficAnalyzer service; r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D24517
--HG--
extra : moz-landing-system : lando
2019-04-04 21:38:28 +00:00
Carolina Jimenez Gomez
8093499470
Bug 1512505 - Log a message in web console when a site is only supporting TLS 1.0 or 1.1. r=keeler
...
Differential Revision: https://phabricator.services.mozilla.com/D25660
--HG--
extra : moz-landing-system : lando
2019-04-04 23:37:20 +00:00
Narcis Beleuzu
24dbe577a5
Backed out changeset 389b6bbd76db (bug 1519636) for bustages on MarkupMap.h . CLOSED TREE
2019-04-05 00:27:56 +03:00
Sylvestre Ledru
399dbd28fe
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-04 20:12:23 +00:00
Brindusan Cristian
6760a04b6a
Backed out 2 changesets (bug 1533363) for build bustages at HttpTrafficAnalyzer.cpp.
...
Backed out changeset 99636457aa95 (bug 1533363)
Backed out changeset c3488f465c29 (bug 1533363)
2019-04-04 21:13:58 +03:00
Ehsan Akhgari
352131739f
Bug 1538974 - Ensure that we accept uppercase characters for url-classifier annotation skip URLs; r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D26019
--HG--
extra : moz-landing-system : lando
2019-04-04 17:38:09 +00:00
Liang-Heng Chen
d1e02bf1bf
Bug 1533363 - Part 2: Add HTTP Traffic category Telemetry; r=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D25135
--HG--
extra : moz-landing-system : lando
2019-04-04 17:31:33 +00:00
Liang-Heng Chen
187eba79a4
Bug 1533363 - Part 1: Add HttpTrafficAnalyzer service; r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D24517
--HG--
extra : moz-landing-system : lando
2019-04-04 17:29:36 +00:00
Valentin Gosu
47fe7693ea
Bug 1540656 - Modernize test_trr.js r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D25586
--HG--
extra : moz-landing-system : lando
2019-04-04 15:32:23 +00:00
Ehsan Akhgari
f08e2307eb
Bug 1533394 - Re-enable browser_serviceWorker.js now that bug 1498102 has been fixed; r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26022
--HG--
extra : moz-landing-system : lando
2019-04-04 07:47:43 +00:00
Cosmin Sabou
03a4c6187b
Backed out 3 changesets (bug 1540656) for xpcshell failures on test_immutable.js. CLOSED TREE
...
Backed out changeset 70a90b960aef (bug 1540656)
Backed out changeset 631a1aae6fb0 (bug 1540656)
Backed out changeset 408104f784ef (bug 1540656)
2019-04-04 13:34:35 +03:00
Valentin Gosu
866b54da1a
Bug 1540656 - Use dns-packet node module in test_trr.js r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D25671
--HG--
extra : moz-landing-system : lando
2019-04-04 09:30:44 +00:00
Valentin Gosu
0c4d313f27
Bug 1540656 - Modernize test_trr.js r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D25586
--HG--
extra : moz-landing-system : lando
2019-04-04 09:30:27 +00:00
Khyati Agarwal
4a147a68d1
bug 1540283 - 62,700 instances of "NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005" emitted from netwerk/base/nsIOService.cpp during linux64 debug testing r=valentin
...
Replaced "NS_ENSURE_SUCCESS" with 'if' condition
Differential Revision: https://phabricator.services.mozilla.com/D25523
--HG--
extra : moz-landing-system : lando
2019-04-01 05:41:49 +00:00
Andrea Marchesini
10b25d6759
Bug 1539637 - Make cryptomining and fingerprinting annotations use the "strict" list always, r=dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D25266
--HG--
extra : moz-landing-system : lando
2019-04-04 05:31:44 +00:00
Junior Hsu
304908db26
Bug 1539766
- handle the cancel case for e10s bp r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D25315
--HG--
extra : moz-landing-system : lando
2019-04-03 20:35:02 +00:00
Ciure Andrei
58c8915ecd
Merge mozilla-central to autoland. a=merge CLOSED TREE
2019-04-04 00:57:38 +03:00
Dave Townsend
3dc26d41d2
Bug 1540854: Add MOZ_DBG support for nsIURI and nsIFile. r=froydnj
...
I am 90% sure that this is wrong but this is the only way I can get it to
compile and work. Unlike other examples of supporting MOZ_DBG it only declares
an operator for `nsIURI* not` `const nsIURI`. I had to drop the const because
then I couldn't call GetSpec as it isn't marked const. I had to switch to a
pointer since otherwise it would complain about virtual methods.
Still in practice this works, I think it is rare that we hold an nsIURI in
anything other than a pointer and same for the constness.
Differential Revision: https://phabricator.services.mozilla.com/D25669
--HG--
extra : rebase_source : 9760674375563ec312568caf4a5ad46facfb6f68
2019-04-01 15:05:37 -07:00
Daniel Varga
14dc5b7d8a
Merge mozilla-inbound to mozilla-central. a=merge
2019-04-03 09:05:41 +03:00
Ehsan Akhgari
aeca5512d1
Bug 1535877 - Fail explicitly when creating a second instance of the effective TLD service; r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D25237
2019-04-02 10:33:50 -04:00
Sebastian Streich
879635b243
Bug 1539853 - Throw Exceptions on null Principal within SpeculativeConnectInternal and Handle on Callsite r=ckerschb,Gijs
...
***
++Linting
Differential Revision: https://phabricator.services.mozilla.com/D25725
--HG--
extra : moz-landing-system : lando
2019-04-02 16:36:09 +00:00
Christoph Kerschbaumer
6094ee4dde
Bug 1541161: Use MOZ_DIAGNOSTIC_ASSERT and return error in loadinfo is null within NewChannelFromURIWithProxyFlagsInternal. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D25917
--HG--
extra : moz-landing-system : lando
2019-04-03 12:51:51 +00:00
Ian Moody
e6abe56fc4
Bug 1539177 - netwerk/ manual ESLint no-throw-literal fixes. r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D25653
--HG--
extra : moz-landing-system : lando
2019-04-02 13:33:42 +00:00
Honza Bambas
1296f23329
Bug 1538812 - Remove the dangerous default 'NS_ASSIGNMENT_DEPEND' of argument 'assignment' on NS_NewByteInputStream to let it be defined expicitly and thus visibly, r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D25462
--HG--
extra : moz-landing-system : lando
2019-04-03 11:39:41 +00:00
Honza Bambas
2b587a5803
Bug 1541105 - Cache2 I/O thread may do excessive number of AddRef/Release calls on queued nsCOMPtr's under a lock, blocking main thread under heavy load; use nsTArray APIs allowing mere move of the elements instead, r=michal,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D25815
--HG--
extra : moz-landing-system : lando
2019-04-03 11:27:28 +00:00
Ian Moody
21aefc6b0a
Bug 1539177 - netwerk/ automated ESLint no-throw-literal fixes. r=kershaw
...
Result of running:
$ mach eslint -funix netwerk/ | sed -Ee 's/:.+//' - | xargs sed -E \
-e 's/throw ((["`])[^"]+\2);/throw new Error(\1);/g' \
-e 's/throw ((["`])[^"]+\2 \+ [^ ";]+);/throw new Error(\1);/g' \
-e 's/throw \(/throw new Error(/g' -i
Differential Revision: https://phabricator.services.mozilla.com/D25652
--HG--
extra : moz-landing-system : lando
2019-04-02 12:18:22 +00:00
Eden Chuang
72b79c6fbd
Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug
...
1. Adding a new attribute chromeContext in ConsoleEvent
2. Adding a new boolean attribute isFromChromeContext in nsIConsoleMessage
3. Sending IsFromChromeContext to the parent process
Differential Revision: https://phabricator.services.mozilla.com/D23330
--HG--
extra : moz-landing-system : lando
2019-04-01 22:42:34 +00:00