Commit graph

1806 commits

Author SHA1 Message Date
Mike Hommey
b077d9624d Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Ehsan Akhgari
44ac8ce186 Bug 1148064 - Enable interception of pings through service workers; r=nsm,smaug
Currently when sending a beacon, HttpBaseChannel::ShouldIntercept tries
to get access to the nsINetworkInterceptController interface through the
channel's notification callbacks, but in this case the notification
callback is the nsPingListener object.

This patch extends nsPingListener to make it aware of
nsINetworkInterceptController, and have it route the request for
nsINetworkInterceptController correctly to the docshell without the need
to mess with the notification callbacks.

This will be tested in bug 1147699.
2015-03-30 22:57:19 -04:00
Tom Tromey
f1476bf0bb Bug 1144820 - Use nsTArray<UniquePtr<>> to hold timeline markers. r=smaug, r=fitzgen 2015-03-27 08:42:00 -04:00
Tom Tromey
918392e548 Bug 1144820 - Use rvalue reference in AddProfileTimelineMarker. r=smaug 2015-03-27 08:41:00 -04:00
Kartikaya Gupta
52c482890f Bug 1143665 - Remove the ambiguous scroll position being passed around in scroll started/stop notifications. r=roc,ehsan 2015-03-25 07:52:37 -04:00
Ehsan Akhgari
b5a110ac65 Bug 1142727 - Do not intercept sandboxed iframes with service workers; r=nsm
This is temporary until we clarify what we want to do with these
iframes in the spec.
2015-03-24 16:45:14 -04:00
Olli Pettay
3d60f286ee Bug 1146339 - Do anchor scrolling right before dispatching popstate/hashchange. r=bz
CLOSED TREE
2015-03-23 21:54:03 -04:00
Josh Matthews
41763998ae Bug 1134330 - Mark fetch events as reloads appropriately. r=smaug 2015-03-23 13:36:44 -04:00
Kyle Huey
a15f7d393c Bug 1145870. r=bz 2015-03-20 19:19:28 -07:00
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Neil Rashbrook
6fc6aa0fbc Bug 968334 Allow disabling content retargeting on child docshells only r=smaug 2015-03-21 10:48:48 +00:00
Olli Pettay
1bb46a919b Bug 1144988, don't let other pages to load while doing scroll-to-anchor, r=bz CLOSED TREE
--HG--
extra : amend_source : df9e1053e5e00fe92c8df5bbbca4930bd08612e4
2015-03-19 17:58:00 -07:00
Wes Kocher
cd570c5d87 Backed out changeset 6d94c4cf9813 (bug 1144988) for bc1 orange a=backout CLOSED TREE
--HG--
extra : amend_source : fa55f5c5298ece3db8475d9f4270b5aef1aa3416
2015-03-19 17:01:38 -07:00
Olli Pettay
e79c10a840 Bug 1144988, don't let other pages to load while doing scroll-to-anchor, r=bz, a=RyanVM
--HG--
extra : rebase_source : eb02a52eee90120b02d421957fbe783fdd391f30
2015-03-20 00:15:22 +02:00
Alex Verstak
d0c9d91dc1 Bug 1113431 - Expose referrer policy to UI code via Document and nsIWebNavigation. r=jst, sr=bz 2015-01-05 09:42:31 -08:00
Andrea Marchesini
77d676cf4b Bug 1134280 - Get rid of Tag() - patch 2.3 - dom/base and docshell - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:09:00 +00:00
Andrea Marchesini
2c4f63331f Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug 2015-03-03 11:08:59 +00:00
Kartikaya Gupta
2ccb1ce2ad Bug 1130455 - Remove the ScrollingBehavior code to propagate APZ and use gfxPrefs instead. r=roc,fabrice
The ScrollingBehavior passed around extensively in TabParent/TabChild is
entirely redundant now that the layers.async-pan-zoom.enabled pref definitively
controls whether or not APZ is enabled. All the code related to ScrollingBehavior
can be removed.
2015-02-26 08:47:01 -05:00
Boris Zbarsky
a7d78c82c0 Bug 1136388. Change nsIDocumentLoaderFactory and nsIURIContentListener to take MIME types as an XPCOM string, not a char*. r=smaug 2015-02-25 10:26:51 -05:00
Masatoshi Kimura
26fbed8fca Bug 1127339 - Assign a dedicated error code for SSLv3 in docshell. r=bz 2015-02-21 17:20:22 +09:00
Josh Matthews
86618832b4 Bug 1065216 - Dispatch a fetch event to workers when controlled pages initiate a network load. r=baku,mayhemer,smaug 2015-02-18 20:34:29 -05:00
Ryan VanderMeulen
5abea51e9a Backed out changeset 25f90464e93b (bug 1065216) for Android mochitest failures. 2015-02-18 16:00:33 -05:00
Josh Matthews
cb61a019fc Bug 1065216 - Dispatch a fetch event to workers when controlled pages initiate a network load. r=baku,mayhemer,smaug 2015-02-18 14:10:52 -05:00
Christoph Kerschbaumer
de6ebde311 Bug 1099296 - Attach LoadInfo to remaining callers of ioService and ProtocolHandlers - in docshell/ (r=sicking) 2015-02-17 10:08:48 -08:00
Birunthan Mohanathas
42587e445b Bug 1129795 - Make modelines consistent in docshell/base/. r=mccr8 2015-02-13 21:36:47 +02:00
Birunthan Mohanathas
624162386c Bug 1129795 - Remove some unnecessary code in docshell/base/. r=mccr8 2015-02-13 21:36:42 +02:00
Birunthan Mohanathas
5776cdf83b Bug 1129795 - Convert docshell/base/ to Gecko style. r=mccr8,smaug 2015-02-13 21:36:37 +02:00
Mike Conley
1cf83f9538 Bug 1047603 - Make TabParent::AnswerCreateWindow force the initial browser to be remote in a new window. r=smaug.
--HG--
extra : rebase_source : 87551351dc763be7f5a8a47d02de21eb3f10c745
2015-01-13 17:24:52 -05:00
Andrew McCreight
7dbe705433 Bug 1129015, part 1 - Remove trailing whitespace in docshell. r=smaug 2015-02-04 15:15:12 -08:00
Paul Rouget
aeeb621d68 Bug 1118169 - Support -moz-window-dragging:drag in HTML. r=mstange r=bz 2015-02-02 15:10:51 -05:00
Kartikaya Gupta
33f9c446a1 Bug 950934 - Enable APZ in the B2G root process. r=botond,smaug 2015-01-12 18:13:18 -05:00
Ehsan Akhgari
c8ddc0896b Bug 1108547 - Part 1: Inherit the correct private browsing status on new windows created for targeted navigations; r=jdm 2015-01-27 23:17:33 -05:00
Ryan VanderMeulen
b6b9ba232d Backed out changesets 180e7905987e, 91101cbcc319, and 211567afcc5f (bug 1108547) for timeouts in the new test.
CLOSED TREE
2015-01-26 15:00:03 -05:00
Ehsan Akhgari
8c17d11b29 Bug 1108547 - Part 1: Inherit the correct private browsing status on new windows created for targeted navigations; r=jdm 2015-01-26 14:06:34 -05:00
Ehsan Akhgari
c8b93bb67a Bug 1125351 - Make nsIDocShell.isPrerendered infallible; r=bzbarsky 2015-01-26 11:01:59 -05:00
Carsten "Tomcat" Book
4eded194db Backed out changeset a3cd2f1b3e33 (bug 1125351) for breaking m-oth tests on a CLOSED TREE 2015-01-26 16:57:10 +01:00
Ehsan Akhgari
2a8d314633 Bug 1125351 - Make nsIDocShell.isPrerendered infallible; r=bzbarsky 2015-01-26 09:01:11 -05:00
Gijs Kruitbosch
130c675373 Bug 1116977 - disallow link clicks during beforeunload, r=smaug
--HG--
extra : rebase_source : 48e4d19b5f76077f91432644b22c736d06ed3218
2015-01-23 15:35:10 +00:00
Ryan VanderMeulen
f6ca65e867 Merge fx-team to m-c. a=merge 2015-01-23 12:20:52 -05:00
Olli Pettay
a3e9bc0e53 Bug 1121701, don't let network connections from the previous page to disturb restoration of a page from bfcache, r=bz
--HG--
extra : rebase_source : 27669a8962b2c8ed7cc6add444657ee4b3dc5752
2015-01-22 22:37:56 +02:00
Tom Tromey
d594eea2be Bug 1124753 - timeline doesn't need MOZ_ENABLE_PROFILER_SPS. r=smaug 2015-01-22 09:45:00 +01:00
Bill McCloskey
273e8f71a3 Bug 1123008 - Make loadContext.topFrameElement work in non-e10s (r=smaug) 2015-01-21 16:19:07 -08:00
Fernando Jimenez
d48b684909 Bug 1097928 - Convert MozPaymentProvider to WebIDL. r=bholley,fabrice 2015-01-19 14:50:32 +01:00
Nicholas Hurley
87facfa179 Bug 1009122 - use cache2 as storage for predictor data. r=honzab
--HG--
extra : rebase_source : 290e1aa04a1dfa2e7d6cb9f1b5b705d1ed80e68c
2015-01-14 13:59:04 -08:00
Daniel Holbert
f512753c3b Bug 1039165: Replace spammy NS_ENSURE_TRUE in nsDocShell::CheckLoadingPermissions with simple early-return. r=bholley 2015-01-14 22:54:39 -08:00
Daniel Holbert
ca325b5340 Bug 1121198 part 1: Make nsDocShell GetPosition/GetSize pass null outparams for unwanted info. r=bz 2015-01-14 11:03:58 -08:00
Masatoshi Kimura
867642220c Bug 1112399 - Treat NS_ERROR_NET_INTERRUPT and NS_ERROR_NET_RESET as SSL errors on https URLs. r=bz 2015-01-10 19:52:58 +09:00
Valentin Gosu
601b80dfaf Bug 1099092 - Navigation Timing has incorrect values when page is load via link with target=_blank attribute r=bz 2015-01-09 16:36:00 +02:00
Ehsan Akhgari
4569b2d95f Bug 1061864 - Part 1: Add a prerendered flag to nsIDocShell; r=smaug 2015-01-05 21:01:28 -05:00
Ehsan Akhgari
31294a6ac2 Bug 1117262 - Mark virtual overridden functions as MOZ_OVERRIDE in docshell; r=bzbarsky
This also devirtualizes some of the functions that were not overriden by
any class.
2015-01-03 12:21:47 -05:00