Commit Graph

3938 Commits

Author SHA1 Message Date
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
Daniel Holbert
082fd9cd7f Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
This patch was generated by a script.  Here's the source of the script for
future reference:

find . \( -iname "*.cpp" -o -iname "*.h" \) | \
  xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Dave Townsend
55ee944e85 Bug 1068087: Switch about:plugins to run remotely. r=mconley
--HG--
extra : rebase_source : f1538bb9d17cc1a320e0e29c2733a038fcbaefb2
extra : source : 0718dffcd078caef467625cb4bf05753ad5a58e1
2015-01-08 12:40:14 -08:00
Jonathan Griffin
d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Carsten "Tomcat" Book
fb7ccb2edc merge fx-team to mozilla-central a=merge 2015-03-12 10:17:35 +01:00
Mike Conley
59ccb9a810 Bug 1141797. r=smaug.
--HG--
extra : rebase_source : 9f8cae40311617b1e201650c79ec96e8826f4b43
2015-03-10 18:17:24 -04:00
Ryan VanderMeulen
e2754f772f Merge m-c to fx-team. a=merge
CLOSED TREE
2015-03-11 16:05:05 -04:00
Tom Tromey
8d77d6ea8a Bug 1140569 - Show async stacks attached to timeline markers. r=vporof 2015-03-11 07:44:00 -04:00
Ms2ger
4702a239cb Bug 1141190 - Remove docshell/test/moz.build; r=mshal
There is no longer a reason to define the tests in a separate moz.build file.

This also simplifies a disabling condition in the manifest.
2015-03-11 10:49:04 +01:00
Nathan Froyd
4380a42bbc Bug 1141689 - use services::GetObserverService more; r=ehsan 2014-04-29 13:31:06 -04: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
Tooru Fujisawa
889e3318dc Bug 1108382 - Part 5: Do not use non-standard flag argument of String.prototype.replace in docshell/test/unit/. r=gavin 2015-03-01 09:51:33 +09:00
Alexandre Lissy
1fcf835324 Bug 1134251 - Disable broken B2G Desktop tests on Mulet. r=jmaher, r=jgilbert 2015-02-25 23:49:00 -05: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
Ben Kelly
5434a5ded8 Bug 1118845 P1 Add optional base context to LoadContext() constructor. r=smaug 2015-02-21 10:09:17 -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
Christoph Kerschbaumer
f3e352240e Bug 1119005 - No need to branch on NewChannelinternal callsites anymore - callsite updated (r=sicking) 2015-02-19 11:47:59 -08:00
Anish
45de248a8b Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers 2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book
c0d53e2918 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish
e7006d8a59 Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-19 07:26:41 -05:00
Chris Peterson
aad91c6a9d Bug 1133286 - Remove nonstandard expression closures from docshell/test. r=bz 2015-01-24 23:54:17 -08: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
Christoph Kerschbaumer
a8d1c507ad 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
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
Ryan VanderMeulen
126294da7d 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
1c3057e193 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
cd9b02cc35 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
ad762b9022 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
5e75741df7 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
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
Andrea Marchesini
e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00: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
Dave Townsend
425a83de72 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
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
Jon Coppeard
c17c1bd7eb Bug 1107639 - Use two phase construction rather than Maybe<PersistentRooted> r=terrence 2015-01-23 10:23:57 +00:00
Olli Pettay
5d9dc6659c Bug 1121701, don't let network connections from the previous page to disturb restoration of a page from bfcache, test, r=bz
--HG--
extra : rebase_source : 3eb9b47d274e4aa84a2d522f077112751fd6c148
2015-01-22 22:38:44 +02: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
Brad Lassey
36b059df69 bug 1096718 - - display time measured spent in each compartment r=billm,mossop 2015-01-13 17:38:05 -08:00
Ehsan Akhgari
1e88271572 Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg 2015-01-12 23:26:30 -05:00
Wes Kocher
4a8e595770 Backout c034dba7a417 2015-01-12 14:46:48 -08:00
Ehsan Akhgari
d517a30886 Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg 2015-01-12 16:35:06 -05: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
Ryan VanderMeulen
71aff521dd 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
497c46cccb Bug 1118845 P1 Add optional base context to LoadContext() constructor. r=smaug 2015-01-08 19:52:22 -05:00
Christoph Kerschbaumer
05d08f5899 Bug 1107638 - Add innerWindowID to LoadInfo (r=sicking,jduell) 2015-01-07 15:51:20 -08:00
Tom Tromey
c277349d8e Bug 1117787 - Fix comment to reflect reality. r=bz 2015-01-05 13:00:00 -05:00
Ryan VanderMeulen
7b34913ca7 Merge fx-team to m-c. a=merge
CLOSED TREE
2015-01-06 10:55:03 -05:00
Gavin Sharp
85abd2f149 Bug 575918: enable IPC tests on Mac since they work now, r=bsmedberg
--HG--
extra : rebase_source : 5b7214167249b3c276a9e240d867ce34193a5953
2015-01-02 17:00:20 -08:00
Tom Tromey
14484f49ae Bug 1113706 - move TimelineMarker to a new header; r=smaug 2015-01-05 09:39:16 -08: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
Tom Tromey
3da37909db Bug 1104213 - add stack traces to timeline markers. r=smaug r=vporof 2014-12-29 11:32:00 +01:00
Ehsan Akhgari
4569b2d95f Bug 1061864 - Part 1: Add a prerendered flag to nsIDocShell; r=smaug 2015-01-05 21:01:28 -05:00
Ryan VanderMeulen
539cbb2493 Merge inbound to m-c. a=merge 2014-12-23 13:17:16 -05:00
Gijs Kruitbosch
9fba7969d0 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
Tom Tromey
bf42323805 Bug 1112644 - make timeline tests work on e10s. r=paul 2014-12-17 09:22:00 +01:00
Carsten "Tomcat" Book
4755deb0c5 merge mozilla-inbound to mozilla-central a=merge 2014-12-18 13:50:27 +01:00
Tom Tromey
6b6ea7445c Bug 1066474 - Avoid races in browser_timelineMarkers-02.js test. r=paul 2014-12-17 06:58:00 -05:00
Chris Peterson
249ac81315 Bug 1110031 - Part 1: Mark more directories as FAIL_ON_WARNINGS. r=gps 2014-12-10 22:56:31 -08:00
Christoph Kerschbaumer
c9b34f12ea Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - loadinfo changes (r=sicking) 2014-12-10 15:36:03 -08:00
Ehsan Akhgari
aac4af7cb0 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
e6048c5b7c Bug 1107516 - Part 1: Add LoadContext constructor taking an nsIPrincipal. r=smaug 2014-12-12 11:05:00 -05:00
Wes Kocher
58cb48da88 Merge fx-team to m-c a=merge 2014-12-12 17:18:42 -08:00
Ehsan Akhgari
09a262787c Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Christoph Kerschbaumer
8cb0969fc2 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - docshell/ changes (r=smaug) 2014-12-12 09:09:24 -08:00
Tom Tromey
18bb6d0861 Bug 1050770 - Add paint details to timeline. r=smaug, r=mattwoodrow 2014-12-11 10:40:00 -05:00
Carsten "Tomcat" Book
c06036beba merge mozilla-inbound to mozilla-central a=merge 2014-12-12 13:51:14 +01:00
Phil Ringnalda
f7aea19aae 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
ed7e78fc3f Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - docshell/ changes (r=smaug) 2014-12-11 20:47:44 -08:00