Commit Graph

17660 Commits

Author SHA1 Message Date
Masayuki Nakano
fdbbccd877 Bug 1542664 - Make TabChild use mozilla::PresShell directly rather than via nsIPresShell r=nika
This patch makes `TabChild` use `mozilla::PresShell` directly.

Then, renames `TabChild::GetPresShell()` and `TabChild::GetDocument()` to
`TabChild::GetTopLevelPresShell()` and `TabChild::GetTopLevelDocument()` to
make what they do clearer (e.g., see the change in `PresShell.cpp`).

Differential Revision: https://phabricator.services.mozilla.com/D26455

--HG--
extra : moz-landing-system : lando
2019-04-13 01:53:10 +00:00
Junior Hsu
598c828aa6 Bug 1542384 - reduce timeout of shutdown resolver threads and make it prefable r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D27013

--HG--
extra : moz-landing-system : lando
2019-04-12 17:04:05 +00:00
Ehsan Akhgari
abbca7fd7d Bug 1544004 - Rename nsIHttpChannelInternal::cancelByChannelClassifier() to cancelByURLClassifier(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27314

--HG--
extra : moz-landing-system : lando
2019-04-12 15:44:02 +00:00
Valentin Gosu
7a2c41a7a5 Bug 1525640 - Add nsIHttpChannelInternal.isResolvedByTRR r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26884

--HG--
extra : moz-landing-system : lando
2019-04-12 13:57:45 +00:00
Valentin Gosu
e6696588e7 Bug 1525640 - Rename nsIHttpChannelInternal.trr to .isHttpServiceChannel to avoid confusion r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26883

--HG--
extra : moz-landing-system : lando
2019-04-12 13:54:29 +00:00
Valentin Gosu
f172b45edc Bug 1525640 - Pass TRR status from sockettransport to channel r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26882

--HG--
extra : moz-landing-system : lando
2019-04-12 13:54:08 +00:00
Sylvestre Ledru
7f60810d86 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D27245

--HG--
extra : moz-landing-system : lando
2019-04-12 13:14:25 +00:00
Andrea Marchesini
a2db742a8c Bug 1536411 - StoragePrincipal - part 6 - Cookies, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24864

--HG--
extra : moz-landing-system : lando
2019-04-12 05:30:43 +00:00
Andrea Marchesini
a438b12ebd Bug 1536411 - StoragePrincipal - part 1 - Implementation, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24025

--HG--
extra : moz-landing-system : lando
2019-04-12 05:31:32 +00:00
Cosmin Sabou
90efd04259 Merge mozilla-inbound to mozilla-central. a=merge 2019-04-12 06:45:27 +03:00
Oana Pop Rus
76651301a1 Backed out changeset acb04833e713 (bug 1500533) for assertion failure in nsHttpChannel.cpp on a CLOSED TREE 2019-04-11 23:15:08 +03:00
Cosmin Sabou
af07021e88 Backed out 10 changesets (bug 1536411) for causing leaks in CondVar, MessagePortService, MessagePortServiceData.
Backed out changeset eda5854cd7e8 (bug 1536411)
Backed out changeset f94dfbf2476c (bug 1536411)
Backed out changeset c68dc3152faa (bug 1536411)
Backed out changeset f67d157e8baf (bug 1536411)
Backed out changeset 1107a9767f38 (bug 1536411)
Backed out changeset ccbe1af00fb9 (bug 1536411)
Backed out changeset 552c4b588524 (bug 1536411)
Backed out changeset 2eb20578159b (bug 1536411)
Backed out changeset 45708d22bb6d (bug 1536411)
Backed out changeset 87601ef1d4d4 (bug 1536411)
2019-04-11 22:48:49 +03:00
Ehsan Akhgari
bf2a5e6e54 Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku
Differential Revision: https://phabricator.services.mozilla.com/D26996

--HG--
extra : moz-landing-system : lando
2019-04-11 18:36:16 +00:00
Jeff Walden
0b6c60dfa7 Bug 1543498 - Make PAC scripts be compiled directly as UTF-8 without inflating. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D27174

--HG--
extra : rebase_source : 766ee54ec9514ef7de4e612a4913f25737bc0d64
2019-04-10 10:54:02 -07:00
Jeff Walden
08efb53319 Bug 1543455 - Make JS::CompileUtf8{,ForNonSyntacticScope} omit Utf8 from their names and take SourceText<Utf8Unit>&. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D26951

--HG--
extra : rebase_source : dc8b4fd9f60eb56e4e438b143aff45f2ac691c82
2019-04-09 17:03:32 -07:00
Mike Hommey
fb51b98474 Bug 1543009 - Change Windows DHCP client test component registration. r=kmag
- Use RegisterFactory instead of RegisterModule,
- Use a different CID than the real module.

Differential Revision: https://phabricator.services.mozilla.com/D27025
2019-04-11 16:23:51 +09:00
Andrea Marchesini
ddda66db66 Bug 1543314 - Cookies should be sent to the content process also for first-party channels when cookieBehavior is set to 2, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D26859

--HG--
extra : moz-landing-system : lando
2019-04-10 15:25:13 +00:00
Ehsan Akhgari
cd484bfc65 Bug 1539628 - Add skipURLs prefs for all content blocking features; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D26604

--HG--
extra : moz-landing-system : lando
2019-04-10 15:11:19 +00:00
Andrea Marchesini
cb6c3424f0 Bug 1543079 - Use Window and Channel IDs instead of pointers in ContentBlockingAllowListKey, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D26706

--HG--
extra : moz-landing-system : lando
2019-04-09 22:11:10 +00:00
Valentin Gosu
dafa35cef5 Bug 1530303 - Remove xpcshell-test for crossOriginOpenerPolicy since it can't work with browsingContexts r=nika
Differential Revision: https://phabricator.services.mozilla.com/D24898

--HG--
extra : moz-landing-system : lando
2019-04-09 20:11:03 +00:00
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
Andrea Marchesini
0830861f7e Bug 1536411 - StoragePrincipal - part 6 - Cookies, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24864

--HG--
extra : moz-landing-system : lando
2019-04-11 16:28:51 +00:00
Andrea Marchesini
5cfeeda19e Bug 1536411 - StoragePrincipal - part 1 - Implementation, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24025

--HG--
extra : moz-landing-system : lando
2019-04-11 16:27:12 +00:00
Andreea Pavel
cc52ff4ec5 Bug 1536772 - disabled 785753-1.html on all platforms r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D27052

--HG--
extra : moz-landing-system : lando
2019-04-11 12:51:25 +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