Jonathan Watt
9ef102ce24
Bug 1865918 p3. Update CreateContentViewer to reflect nsIDocumentViewer's new name. r=emilio
...
Depends on D194288
Differential Revision: https://phabricator.services.mozilla.com/D194289
2023-11-22 13:50:57 +00:00
Peter Van der Beken
3f4ffadbe1
Bug 1846277 - Untangle nsGlobalWindow*.h includes. r=dom-core,media-playback-reviewers,sessionstore-reviewers,padenot,farre
...
Differential Revision: https://phabricator.services.mozilla.com/D184978
2023-08-02 20:41:49 +00:00
Nika Layzell
001c77587c
Bug 1746115 - Perform data URI blocking from DocumentLoadListener, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D138213
2022-02-11 16:34:24 +00:00
Riya
ac2ad7e7f2
Bug 1737032 - Removed traces of "remote XUL". r=Gijs,fluent-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D129255
2021-10-25 11:00:47 +00:00
Benjamin Peterson
9253af4014
Bug 1729843 - Remove vestigial plugin-related code from nsWebNavigationInfo. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D125026
2021-09-09 15:03:05 +00:00
Florian Quèze
998adb18ea
Bug 1728760 - require all nsITimerCallback native implementations to also implement nsINamed, r=smaug.
...
Differential Revision: https://phabricator.services.mozilla.com/D124349
2021-09-07 08:01:18 +00:00
Nika Layzell
461b98ded0
Bug 1711090 - Part 3: Add some missing nsITimerCallback queryinterface targets, r=KrisWright,necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D115108
2021-05-18 20:45:17 +00:00
Alexandru Michis
08e0f3cf36
Backed out 4 changesets (bug 1711090) for causing bustages in nsTimerImpl.cpp
...
CLOSED TREE
Backed out changeset 5c6f0950714d (bug 1711090)
Backed out changeset 0b6a886eea8a (bug 1711090)
Backed out changeset fc9c788ff41d (bug 1711090)
Backed out changeset ecc51d9ad027 (bug 1711090)
2021-05-18 20:25:56 +03:00
Nika Layzell
2eead824d8
Bug 1711090 - Part 3: Add some missing nsITimerCallback queryinterface targets, r=KrisWright,necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D115108
2021-05-18 16:24:48 +00:00
Olli Pettay
378cc0689d
Bug 1702608, ensure the same docshell is used in nsDSURIContentListener, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D110599
2021-04-07 10:24:58 +00:00
Nika Layzell
c0868a6edb
Bug 1656753 - Track CrossGroupOpener on CanonicalBrowsingContext, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D90890
2020-09-22 16:28:37 +00:00
Jonathan Watt
4def60efaf
Bug 1634370. Make docshell/ buildable outside of unified-build environment. r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D73255
2020-05-04 14:53:34 +00:00
Jean-Yves Avenard
c024d4b423
Bug 1607984 - P3. Fix leak in nsDSURIContentListener. r=smaug
...
If we were to open the window to close it immediately; we would leak a nsHtml5Parser object.
Differential Revision: https://phabricator.services.mozilla.com/D70000
2020-04-24 01:43:54 +00:00
Csoregi Natalia
448f2f3c76
Backed out 16 changesets (bug 1607984) for leaks on browser_ext_webRequest.js. CLOSED TREE
...
Backed out changeset 6c6ffa908c06 (bug 1607984)
Backed out changeset e973911e67e6 (bug 1607984)
Backed out changeset 28af6418ac16 (bug 1607984)
Backed out changeset 9a15a605f91a (bug 1607984)
Backed out changeset 52566b3564ba (bug 1607984)
Backed out changeset 142148a95181 (bug 1607984)
Backed out changeset 108e2cb6b2a9 (bug 1607984)
Backed out changeset 77fda525ee12 (bug 1607984)
Backed out changeset 980067f3ac1d (bug 1607984)
Backed out changeset 12b82a39c910 (bug 1607984)
Backed out changeset 7657023a763b (bug 1607984)
Backed out changeset 1ab8758802a6 (bug 1607984)
Backed out changeset 35f22d0817e1 (bug 1607984)
Backed out changeset b8c6277207d8 (bug 1607984)
Backed out changeset 244d3cb006be (bug 1607984)
Backed out changeset 9fc1a237829c (bug 1607984)
2020-04-23 11:49:51 +03:00
Jean-Yves Avenard
c57f6d6300
Bug 1607984 - P3. Fix leak in nsDSURIContentListener. r=smaug
...
If we were to open the window to close it immediately; we would leak a nsHtml5Parser object.
Differential Revision: https://phabricator.services.mozilla.com/D70000
2020-04-23 00:57:53 +00:00
Andreea Pavel
cac786a35c
Backed out 16 changesets (bug 1607984) for multiple test failures e.g test timeouts on a CLOSED TREE
...
Backed out changeset 4509808243f5 (bug 1607984)
Backed out changeset 0cb21bedf65f (bug 1607984)
Backed out changeset 4e5d89f68293 (bug 1607984)
Backed out changeset 0c0169ed4f04 (bug 1607984)
Backed out changeset ce527a6ffba4 (bug 1607984)
Backed out changeset 63175f596762 (bug 1607984)
Backed out changeset 107be8f3737d (bug 1607984)
Backed out changeset d7600d4d3528 (bug 1607984)
Backed out changeset e11b1b0ecfbf (bug 1607984)
Backed out changeset bed3f6bee79e (bug 1607984)
Backed out changeset abe692da4556 (bug 1607984)
Backed out changeset e02b12515d60 (bug 1607984)
Backed out changeset 7a2ef225a41e (bug 1607984)
Backed out changeset c173bde5106b (bug 1607984)
Backed out changeset dc8b37e10dc7 (bug 1607984)
Backed out changeset 09a651daf344 (bug 1607984)
2020-04-23 03:47:24 +03:00
Jean-Yves Avenard
fd203222be
Bug 1607984 - P3. Fix leak in nsDSURIContentListener. r=smaug
...
If we were to open the window to close it immediately; we would leak a nsHtml5Parser object.
Differential Revision: https://phabricator.services.mozilla.com/D70000
2020-04-15 15:37:28 +00:00
Stefan Hindli
fb36126f61
Backed out 15 changesets (bug 1607984) for causing very frequent reftest faiures CLOSED TREE
...
Backed out changeset 5497c90b03de (bug 1607984)
Backed out changeset 71dffa590c10 (bug 1607984)
Backed out changeset fdacabac2c54 (bug 1607984)
Backed out changeset 5f9fe17e46b8 (bug 1607984)
Backed out changeset 8f9058eb821d (bug 1607984)
Backed out changeset 025af7792f2a (bug 1607984)
Backed out changeset c7edd070b2f3 (bug 1607984)
Backed out changeset 8e7c95d322e8 (bug 1607984)
Backed out changeset e51f6b7a745c (bug 1607984)
Backed out changeset 979d99eb12d1 (bug 1607984)
Backed out changeset f554d4ce6718 (bug 1607984)
Backed out changeset fe84e5c64b4e (bug 1607984)
Backed out changeset 05d2032060db (bug 1607984)
Backed out changeset 07ce7b11fee9 (bug 1607984)
Backed out changeset 718d89be09d2 (bug 1607984)
2020-04-15 18:33:24 +03:00
Jean-Yves Avenard
08ff02a665
Bug 1607984 - P3. Fix leak in nsDSURIContentListener. r=smaug
...
If we were to open the window to close it immediately; we would leak a nsHtml5Parser object.
Differential Revision: https://phabricator.services.mozilla.com/D70000
--HG--
extra : moz-landing-system : lando
2020-04-15 08:57:27 +00:00
Andreea Pavel
bf1f43b298
Backed out 12 changesets (bug 1607984) for failing test_bug1339722.html on a CLOSED TREE
...
Backed out changeset 69c73391e8fc (bug 1607984)
Backed out changeset a3a28be516f9 (bug 1607984)
Backed out changeset 9f216e9bd32e (bug 1607984)
Backed out changeset 0b71b61415d5 (bug 1607984)
Backed out changeset 0fa85c9199a9 (bug 1607984)
Backed out changeset 4c661ed81cf2 (bug 1607984)
Backed out changeset 47beda24613f (bug 1607984)
Backed out changeset 348da0a8dd00 (bug 1607984)
Backed out changeset 3d6824e92c38 (bug 1607984)
Backed out changeset 1cfc8aad978c (bug 1607984)
Backed out changeset e11f4d334dc7 (bug 1607984)
Backed out changeset c499fa55d0f2 (bug 1607984)
2020-04-15 11:53:11 +03:00
Jean-Yves Avenard
139a710989
Bug 1607984 - P3. Fix leak in nsDSURIContentListener. r=smaug
...
If we were to open the window to close it immediately; we would leak a nsHtml5Parser object.
Differential Revision: https://phabricator.services.mozilla.com/D70000
--HG--
extra : moz-landing-system : lando
2020-04-15 06:02:46 +00:00
Emilio Cobos Álvarez
02c5c21c33
Bug 1625792 - Remove nsIURIContentListener.onStartURIOpen. r=mattwoodrow
...
It's only used to check whether the docshell is gone already, and we need to
deal with that in other places anyway. No other useful implementation.
In comm-central there are a couple, but they're useless too.
Differential Revision: https://phabricator.services.mozilla.com/D68731
--HG--
extra : moz-landing-system : lando
2020-03-29 22:10:09 +00:00
Andrea Marchesini
1e01916653
Bug 1531289 - target=_blank with a download should close the download tab, r=nika,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D66454
--HG--
extra : moz-landing-system : lando
2020-03-19 13:03:14 +00:00
Coroiu Cristina
0c837bbcd0
Backed out changeset 0453b0a0c49d (bug 1531289) for browser-chrome failures at uriloader/exthandler/tests/mochitest/browser_auto_close_window.js on a CLOSED TREE
2020-03-18 15:55:43 +02:00
Andrea Marchesini
c486efbb58
Bug 1531289 - target=_blank with a download should close the download tab, r=nika,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D66454
--HG--
extra : moz-landing-system : lando
2020-03-18 12:08:24 +00:00
pbz
70e1dba79e
Bug 1432856 - Extended focus methods in Window.webidl, Client.webidl and Element.webidl to pass CallerType. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D55811
--HG--
extra : moz-landing-system : lando
2020-01-16 14:38:40 +00:00
Matt Woodrow
8fe54626de
Bug 1574372 - Allow using nsWebNavigationInfo statically. r=bzbarsky
...
IsTypeSupported requires a docshell in order to determine if plugins are allowed. This adds a static version that lets the caller provide their own value for allowing plugins.
Differential Revision: https://phabricator.services.mozilla.com/D56132
--HG--
extra : moz-landing-system : lando
2019-12-17 03:01:37 +00:00
Oana Pop Rus
5545e5a016
Backed out 9 changesets (bug 1574372) for bustage and wpt failures. on a CLOSED TREE
...
Backed out changeset b0183a606fec (bug 1574372)
Backed out changeset b7c96254826e (bug 1574372)
Backed out changeset 196d61adc272 (bug 1574372)
Backed out changeset 419b94b1210e (bug 1574372)
Backed out changeset c192e499eb47 (bug 1574372)
Backed out changeset 4e57038c3518 (bug 1574372)
Backed out changeset 6ec2aa542b59 (bug 1574372)
Backed out changeset d71b4c0aac1a (bug 1574372)
Backed out changeset a05c3b113ac1 (bug 1574372)
2019-12-17 03:26:38 +02:00
Matt Woodrow
b8beb987f4
Bug 1574372 - Allow using nsWebNavigationInfo statically. r=bzbarsky
...
IsTypeSupported requires a docshell in order to determine if plugins are allowed. This adds a static version that lets the caller provide their own value for allowing plugins.
Differential Revision: https://phabricator.services.mozilla.com/D56132
--HG--
extra : moz-landing-system : lando
2019-12-16 21:25:17 +00:00
Oana Pop Rus
661db3a39f
Backed out 7 changesets (bug 1432856) for build bustages failures in nsWindow.h on a CLOSED TREE
...
Backed out changeset 3d08c3cce533 (bug 1432856)
Backed out changeset 49d03dd89b17 (bug 1432856)
Backed out changeset 62fc84c8ce99 (bug 1432856)
Backed out changeset a8a4fa63f5b2 (bug 1432856)
Backed out changeset c81f3d5b9bf3 (bug 1432856)
Backed out changeset 8351a8b1d96a (bug 1432856)
Backed out changeset a303b775a51b (bug 1432856)
2019-12-16 23:53:35 +02:00
pbz
e03ecc2171
Bug 1432856 - Extended focus methods in Window.webidl, Client.webidl and Element.webidl to pass CallerType. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D55811
--HG--
extra : moz-landing-system : lando
2019-12-16 21:06:11 +00:00
Gabriele Svelto
69790bc62e
Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ 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/D55443
--HG--
extra : moz-landing-system : lando
2019-12-06 09:16:44 +00:00
Matt Woodrow
fea5e94ae8
Bug 1589270 - Part 3: Convert nsExternalHelperApp to use BrowsingContext instead of nsIInterfaceRequestor. r=bzbarsky
...
This also converts MaybeCloseWindowHelper, and results in the window close operations being always run in the parent (even without DocumentChannel).
Differential Revision: https://phabricator.services.mozilla.com/D49528
--HG--
extra : moz-landing-system : lando
2019-11-08 04:35:05 +00:00
Gabriele Svelto
10d41866a5
Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D47678
--HG--
extra : moz-landing-system : lando
2019-09-30 22:06:47 +00:00
Kris Maglione
99bc492498
Bug 1576407: Part 3 - Return window opener as a WindowProxyHolder or BrowsingContext. r=farre
...
Also adds a legacy `GetSameProcessOpener()` method for callers which can only
deal with in-process windows and may need to be updated for Fission.
Differential Revision: https://phabricator.services.mozilla.com/D43692
--HG--
extra : source : 0ddbc451dcab431c2a1d934fa9baa5e8efc71545
2019-08-28 18:07:38 +00:00
Mihai Alexandru Michis
a105826a55
Backed out 6 changesets (bug 1576407) for causing wpt and mochitest failures. CLOSED TREE
...
Backed out changeset 3b0498064cbf (bug 1576407 )
Backed out changeset 38e4ea431445 (bug 1576407 )
Backed out changeset 19bf40067233 (bug 1576407 )
Backed out changeset 0ddbc451dcab (bug 1576407 )
Backed out changeset 08d4c25fc670 (bug 1576407 )
Backed out changeset be7cbc61f825 (bug 1576407 )
2019-08-29 03:00:47 +03:00
Kris Maglione
a0c3533e18
Bug 1576407: Part 3 - Return window opener as a WindowProxyHolder or BrowsingContext. r=farre
...
Also adds a legacy `GetSameProcessOpener()` method for callers which can only
deal with in-process windows and may need to be updated for Fission.
Differential Revision: https://phabricator.services.mozilla.com/D43692
--HG--
extra : moz-landing-system : lando
2019-08-28 18:07:38 +00:00
Emilio Cobos Álvarez
d2ed260822
Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
...
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.
Overall it's not a very interesting patch I think.
nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.
I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.
While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Sylvestre Ledru
aa37bde79b
Bug 1489454 - Remove all trailing whitespaces (again) r=Ehsan
...
This also includes moving some files to the regular format.
Differential Revision: https://phabricator.services.mozilla.com/D5249
--HG--
extra : moz-landing-system : lando
2018-09-07 14:47:51 +00:00
Chris Peterson
71422dcaa9
Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
...
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent
MozReview-Commit-ID: KuUsnVe2h8L
--HG--
extra : source : c14655ab3df2c9b1465dd8102b9d25683359a37b
2018-04-28 12:50:58 -07:00
Christoph Kerschbaumer
6fbe557b4c
Bug 1412824: Refactor MaybeCloseWindow and allow to reuse the window close code from within nsExternalHelperAppService as well as nsDSURIContentListener. r=smaug
2017-11-03 13:23:25 +01:00
Christoph Kerschbaumer
3d0a1f002e
Bug 1403814 - Block toplevel data: URI navigations only if openend in the browser. r=smaug
2017-11-03 13:23:11 +01:00
Christoph Kerschbaumer
829704554e
Bug 1370788 - Move XFO out of nsDSURIContentListener.cpp into dom/security. r=smaug
2017-06-19 06:59:44 +02:00
Christoph Kerschbaumer
632fd14dfa
Bug 1024557 - Ignore x-frame-options if CSP with frame-ancestors exists. r=smaug
2017-06-07 21:17:49 +02:00
Christoph Kerschbaumer
7711007990
Bug 1359092 - Extend loadURI within nsIWebNavigation.idl by a triggeringPrincipal argument. r=bz
2017-04-25 12:22:25 +02:00
Carsten "Tomcat" Book
1fa6c5a322
Backed out changeset 3e42f84996ea (bug 1359092) for causing assertion failures
2017-04-25 10:46:31 +02:00
Christoph Kerschbaumer
10ba7f4ab5
Bug 1359092 - Extend loadURI within nsIWebNavigation.idl by a triggeringPrincipal argument. r=bz
2017-04-24 21:57:25 +02:00
Wei-Cheng Pan
bf4ee5ab2d
Bug 1310127 - Part 15: Use MOZ_MUST_USE in netwerk/protocol/http r=smaug
...
MozReview-Commit-ID: DZBPvmSmlgR
--HG--
extra : rebase_source : 41ccd5282b8e3cf4b0f59bd2911abdb7a3b51201
2016-12-20 14:48:52 +08:00
Bill McCloskey
70d043f2ab
Bug 1337537 - Workarounds to avoid TabGroup assertions in edge cases (r=smaug)
...
MozReview-Commit-ID: LVTgyivcA7V
2017-02-13 17:03:03 -08:00