Kris Maglione
3af8c4138c
Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
...
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.
Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-08-17 20:20:50 +00:00
Christoph Kerschbaumer
2372c28caf
Bug 1658283: HTTPS-Only: Simplify ShouldUpgradeWebSocket. r=JulianWels
...
Differential Revision: https://phabricator.services.mozilla.com/D86539
2020-08-11 11:19:28 +00:00
Michal Novotny
a6e1277cca
Bug 1621345 - Support for nsIWebSocketEventListener.send() API r=baku,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D68068
2020-07-29 17:41:56 +00:00
Dorel Luca
990d081d9f
Backed out 2 changesets (bug 1651519) for WPT failures in webdriver/tests/switch_to_frame/switch.py. CLOSED TREE
...
Backed out changeset 7b973a0e7be9 (bug 1651519)
Backed out changeset 55e9184c5617 (bug 1651519)
2020-07-22 02:47:34 +03:00
Kris Maglione
e7d942c77f
Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
...
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.
Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-07-21 19:02:27 +00:00
Dorel Luca
d91c6dc40b
Backed out 2 changesets (bug 1651519) for wpt failures in webdriver/tests/switch_to_frame/switch.py. CLOSED TREE
...
Backed out changeset 52317abc5c68 (bug 1651519)
Backed out changeset 45448dca59a4 (bug 1651519)
2020-07-21 21:55:57 +03:00
Kris Maglione
9c2c147159
Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
...
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.
Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-07-21 16:59:28 +00:00
Frederik Braun
a7153982e8
Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D83490
2020-07-15 11:20:45 +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
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
Gijs Kruitbosch
222e2d1158
Bug 1644863 - fix trailing whitespace in cross-tree tests, r=emilio,marionette-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D79202
2020-06-17 22:45:31 +00:00
Karl Tomlinson
62c2076a1b
Bug 1637159 remove now-unused public DOMEventTargetHelper::BindToOwner() rebind methods r=smaug
...
The virtual is no longer required since
https://hg.mozilla.org/mozilla-central/rev/a01586b62cf5#l1.92
Differential Revision: https://phabricator.services.mozilla.com/D75042
2020-05-14 05:29:49 +00:00
Alexandre Poirot
718bf89e62
Bug 1620966 - Move DocShell.watchedByDevtools to BrowsingContext and rename it to watchedByDevTools. r=nika,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D66037
2020-05-12 09:18:26 +00:00
Andrea Marchesini
431d63fa33
Bug 1636847 - Update WebSocket CTOR definition, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D74589
2020-05-11 09:06:20 +00:00
Andrea Marchesini
0f4efcecab
Bug 1633197
- WebSocket bufferedAmount must be unsigned long long (uint64_t), r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D74558
2020-05-11 07:44:10 +00:00
Liang-Heng Chen
a433ad5e67
Bug 1634312 - use BEHAVIOR_REJECT_TRACKER to run BroadcastChannel test; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D73618
2020-05-04 19:07:09 +00:00
julianwels
00925bd53b
Bug 1631384 - Added upgrade exceptions for HTTPS Only Mode. r=ckerschb,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D72002
2020-04-29 15:52:19 +00:00
Bogdan Tara
fe228746b1
Backed out changeset 8e7b6ae8e18d (bug 1631384) for browser_upgrade_exceptions.js failure CLOSED TREE
2020-04-29 13:32:29 +03:00
julianwels
b9779446da
Bug 1631384 - Added upgrade exceptions for HTTPS Only Mode. r=ckerschb,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D72002
2020-04-29 09:25:54 +00:00
Andreea Pavel
5d6ba63743
Backed out changeset 7b5f7ee72a6c (bug 1631384) for failing bc at browser_upgrade_exceptions.js on a CLOSED TREE
2020-04-28 01:43:57 +03:00
julianwels
9b9cb82ccc
Bug 1631384 - Added upgrade exceptions for HTTPS Only Mode. r=ckerschb,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D72002
2020-04-27 17:23:43 +00:00
Mihai Alexandru Michis
96ee45f78e
Backed out changeset a37a427fac07 (bug 1631384) for causing wpt crashes in websocket.https.html
...
CLOSED TREE
2020-04-27 18:33:36 +03:00
julianwels
a8897c91ed
Bug 1631384 - Added upgrade exceptions for HTTPS Only Mode. r=ckerschb,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D72002
2020-04-27 13:29:24 +00:00
Bogdan Tara
1bcdae0ed3
Backed out changeset 537608d1e4cc (bug 1621345) for many ns related crashes CLOSED TREE
2020-04-27 02:27:36 +03:00
sonakshi
056b2ce965
Bug 1621345 - Support for nsIWebSocketEventListener.send() API r=michal,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D68068
2020-04-08 19:44:43 +00:00
julianwels
402bac7f4d
Bug 1631380 - Fixed blank upgrade message on HTTPS Only Mode websocket upgrade. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D71546
2020-04-20 16:41:16 +00:00
Andreas Farre
63e21eec70
Bug 1620594 - Part 1: Rework NS_ReleaseOnMainThreadSystemGroup. r=nika
...
To be able to remove SystemGroup, NS_ReleaseOnMainThreadSystemGroup
needs to have its dependency on SystemGroup removed. Since all
releases using SystemGroup would've released on the main thread anyway
we can safely replace NS_ReleaseOnMainThreadSystemGroup with
NS_ReleaseOnMainThread.
Depends on D64390
Differential Revision: https://phabricator.services.mozilla.com/D67631
--HG--
extra : moz-landing-system : lando
2020-04-07 15:16:23 +00:00
Eric Rahm
53f27d440b
Bug 1626450 - Remove stray references to "nsAutoPtr.h" in dom/. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D69121
--HG--
extra : moz-landing-system : lando
2020-04-03 21:05:26 +00:00
Sebastian Streich
70f27eb5e3
Bug 1622042 - Remove nsContentUtils::GetAsciiOrigin r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D66634
--HG--
extra : moz-landing-system : lando
2020-03-26 13:20:35 +00:00
Stefan Hindli
91f4c18048
Backed out 4 changesets (bug 1622042) for causing AddonInstallException: Could not install add-on: c:\users\task_1584560140\appdata\local\temp\tmpbg9_h7.zip: ERROR_FILE_ACCESS: There was an error accessing the filesystem. CLOSED TREE
...
Backed out changeset 929043330599 (bug 1622042)
Backed out changeset b08cdd075e20 (bug 1622042)
Backed out changeset ca87f1c6b90b (bug 1622042)
Backed out changeset 27dbbb7cd590 (bug 1622042)
2020-03-18 22:49:23 +02:00
Sebastian Streich
9cc7686ece
Bug 1622042 - Remove nsContentUtils::GetAsciiOrigin r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D66634
--HG--
extra : moz-landing-system : lando
2020-03-18 16:00:53 +00:00
JulianWels
e5c3036681
Bug 1620242 - Basic implementation for HTTPS Only Mode. r=ckerschb,mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D62590
--HG--
rename : dom/security/test/csp/file_redirect_report.sjs => dom/security/test/https-only/file_redirect.sjs
rename : dom/security/test/csp/file_upgrade_insecure.html => dom/security/test/https-only/file_upgrade_insecure.html
rename : dom/security/test/csp/file_upgrade_insecure_server.sjs => dom/security/test/https-only/file_upgrade_insecure_server.sjs
rename : dom/security/test/csp/file_upgrade_insecure_wsh.py => dom/security/test/https-only/file_upgrade_insecure_wsh.py
extra : moz-landing-system : lando
2020-03-17 19:24:31 +00:00
Cosmin Sabou
029804e3f7
Backed out 4 changesets (bug 1622042) for causing build bustages on nsContentUtils.cpp. CLOSED TREE
...
Backed out changeset dc7af5abb8de (bug 1622042)
Backed out changeset 16e3b4a1fefc (bug 1622042)
Backed out changeset f60b16588dad (bug 1622042)
Backed out changeset 4193aea26e28 (bug 1622042)
--HG--
extra : amend_source : 2f2befe5703f683ccaac6d634fc4a262db9fff86
2020-03-17 20:38:35 +02:00
Sebastian Streich
6deb42e865
Bug 1622042 - Remove nsContentUtils::GetAsciiOrigin r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D66634
--HG--
extra : moz-landing-system : lando
2020-03-17 17:11:52 +00:00
Noemi Erli
f10f67e74c
Backed out changeset 21f62488a5b5 (bug 1620242) for causing bustages in nsMixedContentBlocker.cpp CLOSED TREE
2020-03-16 23:11:00 +02:00
JulianWels
c2c4e65115
Bug 1620242 - Basic implementation for HTTPS Only Mode. r=ckerschb,mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D62590
--HG--
rename : dom/security/test/csp/file_redirect_report.sjs => dom/security/test/https-only/file_redirect.sjs
rename : dom/security/test/csp/file_upgrade_insecure.html => dom/security/test/https-only/file_upgrade_insecure.html
rename : dom/security/test/csp/file_upgrade_insecure_server.sjs => dom/security/test/https-only/file_upgrade_insecure_server.sjs
rename : dom/security/test/csp/file_upgrade_insecure_wsh.py => dom/security/test/https-only/file_upgrade_insecure_wsh.py
extra : moz-landing-system : lando
2020-03-16 16:47:54 +00:00
Mihai Alexandru Michis
75355611d1
Backed out changeset 46dfbb4de902 (bug 1620242) for causing failures in test_x-frame-options.html
...
CLOSED TREE
2020-03-13 18:24:03 +02:00
JulianWels
d5b073f588
Bug 1620242 - Basic implementation for HTTPS Only Mode. r=ckerschb,mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D62590
--HG--
rename : dom/security/test/csp/file_redirect_report.sjs => dom/security/test/https-only/file_redirect.sjs
rename : dom/security/test/csp/file_upgrade_insecure.html => dom/security/test/https-only/file_upgrade_insecure.html
rename : dom/security/test/csp/file_upgrade_insecure_server.sjs => dom/security/test/https-only/file_upgrade_insecure_server.sjs
rename : dom/security/test/csp/file_upgrade_insecure_wsh.py => dom/security/test/https-only/file_upgrade_insecure_wsh.py
extra : moz-landing-system : lando
2020-03-13 14:25:08 +00:00
Simon Giesecke
664f5a98ab
Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/websocket. r=smaug
...
Depends on D66032
Differential Revision: https://phabricator.services.mozilla.com/D66033
--HG--
extra : moz-landing-system : lando
2020-03-09 14:54:48 +00:00
Mark Banner
15cfe23b88
Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D65703
--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +00:00
Tim Huang
04d44bae12
Bug 1616570 - Part 1: Rename CookieSettings to CookieJarSettings. r=Ehsan
...
Given that we are going to add ContentBlockingAllowList in
CookieSettings, so CookieSettings will be responsible for more stuff than the
cookie behavior and cookie permission. We should use a proper name to
reflect the purpose of it. The name 'CookieSettings' is misleading that
this is only for cookie related stuff. So, we decide to rename
'CookieSettins' to 'CookieJarSettings' which serves better meaning here.
Differential Revision: https://phabricator.services.mozilla.com/D63935
--HG--
rename : netwerk/cookie/CookieSettings.cpp => netwerk/cookie/CookieJarSettings.cpp
rename : netwerk/cookie/nsICookieSettings.idl => netwerk/cookie/nsICookieJarSettings.idl
extra : moz-landing-system : lando
2020-03-04 08:59:08 +00:00
chujun
069ae644a5
Bug 1564272 - Add WebSocket events to event breakpoints r=loganfsmyth
...
Differential Revision: https://phabricator.services.mozilla.com/D64278
--HG--
extra : moz-landing-system : lando
2020-02-27 01:19:56 +00:00
Edgar Chen
9e846bd48a
bug 1610296
- Rename TypedArray_base::ComputeLengthAndData to TypedArray_base::ComputeState; r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D60514
--HG--
extra : moz-landing-system : lando
2020-01-23 03:22:06 +00:00
Matt Woodrow
dc86748b77
Bug 1599438 - Store sandbox flags on the LoadInfo when creating a channel for a docshell, so that we don't read a stale value from the BrowsingContext later. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D59263
--HG--
extra : moz-landing-system : lando
2020-01-15 08:02:57 +00:00
Narcis Beleuzu
c59ca04e7b
Backed out changeset b3538b7016aa (bug 1599438) for bustages on TestHttpFuzzing.cpp . CLOSED TREE
2020-01-15 06:03:55 +02:00
Matt Woodrow
dd0d183cb4
Bug 1599438 - Store sandbox flags on the LoadInfo when creating a channel for a docshell, so that we don't read a stale value from the BrowsingContext later. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D59263
--HG--
extra : moz-landing-system : lando
2020-01-15 02:05:57 +00:00
Valentin Gosu
c7d9b630cb
Bug 1552176 - Add nsIRequest.set/getTRRMode r=dragana
...
* Makes it possible to selectively enable TRR for pbmode/container/window/etc
Differential Revision: https://phabricator.services.mozilla.com/D48363
--HG--
extra : moz-landing-system : lando
2020-01-07 20:20:38 +00:00
Gabriele Svelto
ace6d1063f
Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan
...
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.
find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
if [ -n "$interfaces" ]; then
if [[ "$interfaces" == *$'\n'* ]]; then
regexp="\("
for i in $interfaces; do regexp="$regexp$i\|"; done
regexp="${regexp%%\\\|}\)"
else
regexp="$interfaces"
fi
interface=$(basename "$path")
rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
if [ $hits -eq 0 ]; then
echo "Removing ${interface} from ${path2}"
grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
mv -f "$path2".tmp "$path2"
fi
done
fi
done
Differential Revision: https://phabricator.services.mozilla.com/D55442
--HG--
extra : moz-landing-system : lando
2019-12-06 09:24:56 +00:00
Boris Zbarsky
75124bdd98
Bug 1517588. Use nsIPrincipal::IsSystemPrincipal instead of nsContentUtils::IsSystemPrincipal r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D53067
--HG--
extra : moz-landing-system : lando
2019-12-05 04:44:32 +00:00
Dorel Luca
a381d5c96d
Backed out changeset f6e53d1c6518 (bug 1600545) for Android build bustage. CLOSED TREE
2019-12-04 17:32:27 +02:00