Commit Graph

1968 Commits

Author SHA1 Message Date
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
Martijn Wargers
16a0d144f2 Bug 970728 - Disable test_bug344861.html on b2g because popup window sizing doesn't work well there. r=RyanVM 2015-04-15 17:47:34 +02:00
Ms2ger
82c2faeae3 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02: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
Nathan Froyd
65f6c06592 Bug 1143651 - don't use CallQueryInterface when the compiler can do the cast for us; r=ehsan 2015-03-12 13:20:29 -04: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
Ryan VanderMeulen
1998bdf63c Bug 1026815 - Disable test_bug565388.xul on Linux and OSX for frequent failures. a=test-only 2015-03-31 13:54:19 -04: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
Wes Kocher
7549c12aa0 Merge m-c to inbound a=merge 2015-03-27 17:31:19 -07:00
Wes Kocher
dc968c65b7 Merge fx-team to m-c a=merge 2015-03-27 16:52:38 -07:00
Ryan VanderMeulen
ca58b815ec Merge m-c to fx-team. a=merge 2015-03-27 12:21:41 -04:00
Geoff Brown
cf739e07e8 Bug 1140148 - Update mochitest manifests for Android 4.3 emulator; r=dminor 2015-03-26 20:35:35 -06: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
Bill McCloskey
89f1e20315 Bug 1132072 - Tab switch refactoring (r=mconley) 2015-03-27 08:38:47 -07:00
Ryan VanderMeulen
d472dc2762 Merge m-c to inbound. a=merge 2015-03-25 13:43:32 -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
Ryan VanderMeulen
182892cffc Merge fx-team to m-c. a=merge 2015-03-25 10:59:05 -04:00
Tim Taubert
8611574226 Bug 1100291 - Fix docshell/test/browser/browser_uriFixupIntegration.js to properly work with an async version of getShortcutOrURIAndPostData() and make it e10s compatible r=Gijs 2015-03-06 16:37:26 +01: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
Daniel Holbert
2c24121797 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
521765b0b3 Bug 1068087: Switch about:plugins to run remotely. r=mconley 2015-01-08 12:40:14 -08:00
Jonathan Griffin
84011a87cc Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Carsten "Tomcat" Book
f876c2ec54 merge fx-team to mozilla-central a=merge 2015-03-12 10:17:35 +01:00
Mike Conley
fce9a915e3 Bug 1141797. r=smaug. 2015-03-10 18:17:24 -04:00
Ryan VanderMeulen
1d88bc3c03 Merge m-c to fx-team. a=merge
CLOSED TREE
2015-03-11 16:05:05 -04:00
Tom Tromey
64fd92c754 Bug 1140569 - Show async stacks attached to timeline markers. r=vporof 2015-03-11 07:44:00 -04:00
Ms2ger
403a729a86 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
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
Tooru Fujisawa
74095dfb8d 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
1ca787eb52 Bug 1134251 - Disable broken B2G Desktop tests on Mulet. r=jmaher, r=jgilbert 2015-02-25 23:49:00 -05: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