Commit Graph

1450 Commits

Author SHA1 Message Date
Francois Marier
29cbc60a12 Bug 1147212 - Add support for goog-unwanted-shavar. r=gcp,r=matej,r=smaug 2015-04-22 21:01:37 +12:00
Andrea Marchesini
cece1d9f00 Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan 2015-04-22 08:29:24 +02:00
Neil Deakin
3b7fec7dde Bug 1058712, e10s, support for copy image command, r=ehsan,mconley 2015-04-21 20:09:14 -04:00
Nicolas Silva
51e181888b Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Andrew McCreight
d91ffd69a1 Bug 1155759 - Part 1 - Remove some manual refcounting from docshell. r=smaug 2015-04-17 15:19:00 +02:00
Denis Volk
4ad62045e8 Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Jim Blandy
a52b425862 Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley 2015-04-08 21:23:48 -04:00
Boris Zbarsky
f5ba7ab446 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
34e15cf320 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
025c5b239e 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
af201a2d6c Backed out changeset 050848a5273c (bug 1153988) for Windows build bustage CLOSED TREE 2015-04-14 14:42:59 -07:00
Nathan Froyd
d41f5f31ca 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
4a4811d6c1 Backout Bug 930793 because of talos regressions,r=backout 2015-04-13 19:02:27 +03:00
Olli Pettay
0ff0615774 Bug 930793 - Remove favor performance mode, r=avih,roc 2015-04-12 23:08:55 +03:00
Andrea Marchesini
12a663da50 Bug 1133601 - Implement about:serviceworkers, r=ehsan 2015-04-10 09:50:06 +01:00
Nick Fitzgerald
67f20bddfb Bug 1145247 - Add AutoTimelineMarker RAII class; r=smaug 2015-04-08 11:25:56 -07:00
David Rajchenbach-Teller
10bd58ebd7 Bug 674779 - Per-component CPU monitoring, high-level. r=blassey, r=mossop 2015-03-31 12:40:59 +02:00
Mike Hommey
ccd2a9b975 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
31c13b72d8 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
785556f6f3 Bug 1144820 - Use nsTArray<UniquePtr<>> to hold timeline markers. r=smaug, r=fitzgen 2015-03-27 08:42:00 -04:00
Tom Tromey
018eebcd63 Bug 1144820 - Use rvalue reference in AddProfileTimelineMarker. r=smaug 2015-03-27 08:41:00 -04:00
Kartikaya Gupta
11f7426044 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
ea79d1a080 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
04970e5a27 Bug 1146339 - Do anchor scrolling right before dispatching popstate/hashchange. r=bz
CLOSED TREE
2015-03-23 21:54:03 -04:00
Josh Matthews
9eb14e014e Bug 1134330 - Mark fetch events as reloads appropriately. r=smaug 2015-03-23 13:36:44 -04:00
Kyle Huey
907c891120 Bug 1145870. r=bz 2015-03-20 19:19:28 -07:00
Ehsan Akhgari
33bb32f549 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
bd9d1512b5 Bug 968334 Allow disabling content retargeting on child docshells only r=smaug 2015-03-21 10:48:48 +00:00
Olli Pettay
1fd2424b03 Bug 1144988, don't let other pages to load while doing scroll-to-anchor, r=bz CLOSED TREE 2015-03-19 17:58:00 -07:00
Wes Kocher
4602fb3585 Backed out changeset 6d94c4cf9813 (bug 1144988) for bc1 orange a=backout CLOSED TREE 2015-03-19 17:01:38 -07:00
Olli Pettay
d80763d041 Bug 1144988, don't let other pages to load while doing scroll-to-anchor, r=bz, a=RyanVM 2015-03-20 00:15:22 +02:00
Alex Verstak
9cdcb7f5f0 Bug 1113431 - Expose referrer policy to UI code via Document and nsIWebNavigation. r=jst, sr=bz 2015-01-05 09:42:31 -08:00
Dave Townsend
521765b0b3 Bug 1068087: Switch about:plugins to run remotely. r=mconley 2015-01-08 12:40:14 -08:00
Nathan Froyd
e9f067ac2a Bug 1141689 - use services::GetObserverService more; r=ehsan 2014-04-29 13:31:06 -04:00
Andrea Marchesini
e5bca26bf2 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
454d9140a2 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
b204ae6120 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
8d06e45b3d 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
Ben Kelly
72b27803af Bug 1118845 P1 Add optional base context to LoadContext() constructor. r=smaug 2015-02-21 10:09:17 -05:00
Masatoshi Kimura
59f4a17288 Bug 1127339 - Assign a dedicated error code for SSLv3 in docshell. r=bz 2015-02-21 17:20:22 +09:00
Christoph Kerschbaumer
653d336523 Bug 1119005 - No need to branch on NewChannelinternal callsites anymore - callsite updated (r=sicking) 2015-02-19 11:47:59 -08:00
Josh Matthews
be893961ee 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
Christoph Kerschbaumer
7069ca832a Bug 1109910 - Move LoadInfo from docShell into Necko (r=sicking,sworkman)
--HG--
rename : docshell/base/LoadInfo.cpp => netwerk/base/LoadInfo.cpp
rename : docshell/base/LoadInfo.h => netwerk/base/LoadInfo.h
rename : docshell/base/nsILoadInfo.idl => netwerk/base/nsILoadInfo.idl
2015-02-18 12:34:13 -08:00
Ryan VanderMeulen
e41adc7788 Backed out changeset 25f90464e93b (bug 1065216) for Android mochitest failures. 2015-02-18 16:00:33 -05:00
Josh Matthews
c1a7e4eed2 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
Ryan VanderMeulen
0b5207f6de Backed out changeset 73e586b9f04f (bug 1109910) for bustage.
CLOSED TREE

--HG--
rename : netwerk/base/LoadInfo.cpp => docshell/base/LoadInfo.cpp
rename : netwerk/base/LoadInfo.h => docshell/base/LoadInfo.h
rename : netwerk/base/nsILoadInfo.idl => docshell/base/nsILoadInfo.idl
2015-02-18 11:57:57 -05:00
Christoph Kerschbaumer
50038ae7a9 CLOSED TREE - Bug 1109910 - Move LoadInfo from docShell into Necko (r=sicking,sworkman)
--HG--
rename : docshell/base/LoadInfo.cpp => netwerk/base/LoadInfo.cpp
rename : docshell/base/LoadInfo.h => netwerk/base/LoadInfo.h
rename : docshell/base/nsILoadInfo.idl => netwerk/base/nsILoadInfo.idl
2015-02-17 19:53:06 -08:00
Carsten "Tomcat" Book
327efca1b3 Backed out changeset 5f5540f3fcce (bug 1109910) for Bustage on a CLOSED TREE
--HG--
rename : netwerk/base/LoadInfo.cpp => docshell/base/LoadInfo.cpp
rename : netwerk/base/LoadInfo.h => docshell/base/LoadInfo.h
rename : netwerk/base/nsILoadInfo.idl => docshell/base/nsILoadInfo.idl
2015-02-18 17:15:00 +01:00
Christoph Kerschbaumer
d5f983e961 Bug 1109910 - Move LoadInfo from docShell into Necko (r=sicking,sworkman)
--HG--
rename : docshell/base/LoadInfo.cpp => netwerk/base/LoadInfo.cpp
rename : docshell/base/LoadInfo.h => netwerk/base/LoadInfo.h
rename : docshell/base/nsILoadInfo.idl => netwerk/base/nsILoadInfo.idl
2015-02-17 19:53:06 -08:00
Christoph Kerschbaumer
3b44bb1205 Bug 1099296 - Attach LoadInfo to remaining callers of ioService and ProtocolHandlers - websocket changes (r=jduell) 2015-02-17 10:09:58 -08:00
Christoph Kerschbaumer
af75181528 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
f9446bb9aa Bug 1129795 - Make modelines consistent in docshell/base/. r=mccr8 2015-02-13 21:36:47 +02:00
Birunthan Mohanathas
d6dea8a7e5 Bug 1129795 - Remove some unnecessary code in docshell/base/. r=mccr8 2015-02-13 21:36:42 +02:00
Birunthan Mohanathas
70ecaca910 Bug 1129795 - Convert docshell/base/ to Gecko style. r=mccr8,smaug 2015-02-13 21:36:37 +02:00
Mike Conley
69a8aed6f6 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
Dave Townsend
1590ebd9cf Bug 1083281: Use flags to determine which chrome and about URIs are loaded in the content process. r=mconley, r=bsmedberg, r=jduell, r=mratcliffe
--HG--
extra : rebase_source : beda0088e7715eeb41525b0123f308068745bd80
2015-02-05 08:09:15 -08:00
Andrew McCreight
a456196b81 Bug 1129015, part 1 - Remove trailing whitespace in docshell. r=smaug 2015-02-04 15:15:12 -08:00
Paul Rouget
5acf19eeae Bug 1118169 - Support -moz-window-dragging:drag in HTML. r=mstange r=bz 2015-02-02 15:10:51 -05:00
Kartikaya Gupta
526a8c3e59 Bug 950934 - Enable APZ in the B2G root process. r=botond,smaug 2015-01-12 18:13:18 -05:00
Ehsan Akhgari
540ba83a99 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
47c38f9c85 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
58f4aa54e2 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
83eed2ae83 Bug 1125351 - Make nsIDocShell.isPrerendered infallible; r=bzbarsky 2015-01-26 11:01:59 -05:00
Carsten "Tomcat" Book
e9f81f840f 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
b65f3eff68 Bug 1125351 - Make nsIDocShell.isPrerendered infallible; r=bzbarsky 2015-01-26 09:01:11 -05:00
Gijs Kruitbosch
9afcd38d44 Bug 1116977 - disallow link clicks during beforeunload, r=smaug
--HG--
extra : rebase_source : 48e4d19b5f76077f91432644b22c736d06ed3218
2015-01-23 15:35:10 +00:00
Ryan VanderMeulen
39400dced0 Merge fx-team to m-c. a=merge 2015-01-23 12:20:52 -05:00
Jon Coppeard
66471074d2 Bug 1107639 - Use two phase construction rather than Maybe<PersistentRooted> r=terrence 2015-01-23 10:23:57 +00:00
Olli Pettay
bb5404ea5e 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
1164696963 Bug 1124753 - timeline doesn't need MOZ_ENABLE_PROFILER_SPS. r=smaug 2015-01-22 09:45:00 +01:00
Bill McCloskey
deb7d9f70a Bug 1123008 - Make loadContext.topFrameElement work in non-e10s (r=smaug) 2015-01-21 16:19:07 -08:00
Fernando Jimenez
61e3a5f489 Bug 1097928 - Convert MozPaymentProvider to WebIDL. r=bholley,fabrice 2015-01-19 14:50:32 +01:00
Nicholas Hurley
b6a0407c32 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
9c2d7f9d33 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
2fc9b98a07 Bug 1121198 part 1: Make nsDocShell GetPosition/GetSize pass null outparams for unwanted info. r=bz 2015-01-14 11:03:58 -08:00
Brad Lassey
5638b75f34 bug 1096718 - - display time measured spent in each compartment r=billm,mossop 2015-01-13 17:38:05 -08:00
Ehsan Akhgari
4b86af6cdf Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg 2015-01-12 23:26:30 -05:00
Wes Kocher
668a2602fa Backout c034dba7a417 2015-01-12 14:46:48 -08:00
Ehsan Akhgari
17d01d5a3a Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg 2015-01-12 16:35:06 -05:00
Masatoshi Kimura
8d221e3542 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
e0f8b519b5 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
Ryan VanderMeulen
20c93a56ae Backed out changesets 41d0ad0271a6, 2bda66cf60fd, and dd1fc46d4d56 (bug 1118845) for B2G mochitest failures.
CLOSED TREE

--HG--
extra : amend_source : 19240e92f40420f384a7835383cbb2be75350ddc
2015-01-08 21:50:19 -05:00
Ben Kelly
583b865a9f Bug 1118845 P1 Add optional base context to LoadContext() constructor. r=smaug 2015-01-08 19:52:22 -05:00
Christoph Kerschbaumer
9bf28aea8a Bug 1107638 - Add innerWindowID to LoadInfo (r=sicking,jduell) 2015-01-07 15:51:20 -08:00
Tom Tromey
fe9edb0bed Bug 1117787 - Fix comment to reflect reality. r=bz 2015-01-05 13:00:00 -05:00
Ehsan Akhgari
446d7a052b Bug 1061864 - Part 1: Add a prerendered flag to nsIDocShell; r=smaug 2015-01-05 21:01:28 -05:00
Tom Tromey
626168339b Bug 1113706 - move TimelineMarker to a new header; r=smaug 2015-01-05 09:39:16 -08:00
Ehsan Akhgari
5dfb3ef670 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
Tom Tromey
e0a375122b Bug 1104213 - add stack traces to timeline markers. r=smaug r=vporof 2014-12-29 11:32:00 +01:00
Gijs Kruitbosch
0f75b032ec Bug 1083634 - entering a trailing slash after a domain should not do a search. r=smaug r=Unfocused 2014-12-22 00:03:26 +00:00
Christoph Kerschbaumer
90ff9ce172 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - loadinfo changes (r=sicking) 2014-12-10 15:36:03 -08:00
Ehsan Akhgari
412672857e Mark LoadContext's constructor as explicit, follow-up to bug 1009631, landed on a CLOSED TREE 2014-12-15 15:48:31 -05:00
Ben Kelly
acac6f1256 Bug 1107516 - Part 1: Add LoadContext constructor taking an nsIPrincipal. r=smaug 2014-12-12 11:05:00 -05:00
Wes Kocher
624683558a Merge fx-team to m-c a=merge 2014-12-12 17:18:42 -08:00
Christoph Kerschbaumer
3e204af515 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - docshell/ changes (r=smaug) 2014-12-12 09:09:24 -08:00
Tom Tromey
b07d94c0b7 Bug 1050770 - Add paint details to timeline. r=smaug, r=mattwoodrow 2014-12-11 10:40:00 -05:00
Carsten "Tomcat" Book
1e4749bc21 merge mozilla-inbound to mozilla-central a=merge 2014-12-12 13:51:14 +01:00
Phil Ringnalda
9c4b09285b Backed out 15 changesets (bug 1087442)
Backed out changeset 3f4166fb5e37 (bug 1087442)
Backed out changeset 0c9c9123a0a9 (bug 1087442)
Backed out changeset 1d85d298042d (bug 1087442)
Backed out changeset 51f3ce397d68 (bug 1087442)
Backed out changeset f3b81a623692 (bug 1087442)
Backed out changeset 472e8fa74596 (bug 1087442)
Backed out changeset 12f97df7b79c (bug 1087442)
Backed out changeset 253cde88d3c5 (bug 1087442)
Backed out changeset b44f9ebd56cb (bug 1087442)
Backed out changeset 48e412887726 (bug 1087442)
Backed out changeset a2c76343f7a9 (bug 1087442)
Backed out changeset 0b5b07cfef0e (bug 1087442)
Backed out changeset 2931c35342a4 (bug 1087442)
Backed out changeset 681ce9dcad64 (bug 1087442)
Backed out changeset 47c505856954 (bug 1087442)
2014-12-11 21:58:21 -08:00
Christoph Kerschbaumer
83c4376963 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - docshell/ changes (r=smaug) 2014-12-11 20:47:44 -08:00
Christoph Kerschbaumer
14932e5d6b Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - loadinfo changes (r=sicking) 2014-12-11 20:44:48 -08:00