Commit graph

1814 commits

Author SHA1 Message Date
Jim Blandy
ebd83c9a61 Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley
--HG--
extra : rebase_source : 8ab7a3628a5b4d94b957f24e23e4c5c7871db97c
2015-04-08 21:23:48 -04:00
Boris Zbarsky
9f8de4bfd5 Bug 1154366. Pass in a JSContext to StructuredCloneContainer::InitFromJSVal so it will throw its exceptions somewhere where people might see them. r=bholley 2015-04-16 13:22:15 -04:00
David Keeler
81764496cd bug 1147497 - Add API for querying site pin status. Disallow overrides for sites that have pins. r=mmc r=smaug r=cykesiopka r=past 2015-03-25 11:04:49 -07:00
Nathan Froyd
1e6cdad33c Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1").  Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Wes Kocher
af34e14f2b Backed out changeset 050848a5273c (bug 1153988) for Windows build bustage CLOSED TREE 2015-04-14 14:42:59 -07:00
Nathan Froyd
4e3c075424 Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1").  Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Olli Pettay
c3dca4be1e Backout Bug 930793 because of talos regressions,r=backout
--HG--
extra : rebase_source : bf5d4de1b80e114d3e2172a205bf850f68019d38
2015-04-13 19:02:27 +03:00
Olli Pettay
eb314fb48f Bug 930793 - Remove favor performance mode, r=avih,roc
--HG--
extra : rebase_source : a112b660baa240afd5f0022cd869c96b59418789
2015-04-12 23:08:55 +03:00
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