Commit Graph

760 Commits

Author SHA1 Message Date
Isaac Aggrey
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Kyle Huey
3feda7a0b8 Bug 789776: Log an error message when X-Frame-Options vetoes a load. r=jst 2012-09-20 19:47:18 -07:00
Ryan VanderMeulen
c68f4714e3 Merge the last PGO-green inbound changeset to m-c. 2012-09-20 21:23:35 -04:00
Dave Camp
37aa4e602d Merge fx-team to m-c 2012-09-20 15:52:35 -07:00
Tim Taubert
05bfc06799 Bug 422543 - part 1 - make session history support multiple listeners; r=smaug 2012-09-20 16:41:18 +02:00
Justin Lebar
09faf314f4 Bug 791011 - When doing a hash navigation, cancel any outstanding document loads, but don't cancel other network activity. r=bz 2012-09-20 15:16:54 -04:00
Jason Duell
fa9262e827 Bug 756648 - Implement "cookie jars" for apps. r=biesi,smaug
--HG--
rename : netwerk/test/unit_ipc/test_cookie_wrap.js => netwerk/test/unit_ipc/test_cookie_header_wrap.js
2012-09-18 12:04:04 -04:00
Ehsan Akhgari
c578fadd65 Bug 741059 - Part 4: Update the callers to mozIAsyncFavicon::SetAndFetchFaviconForPage; r=jdm,bz,mak 2012-09-06 00:34:50 -04:00
Ehsan Akhgari
5236854e21 Bug 741059 - Part 1: Add APIs to nsIChannel to allow callers to override the private bit on the channel; r=jduell
This is probably the worst patch that I have ever written!

We add a setPrivate method to nsIPrivateBrowsingChannel which will be
implemented by channels who care about private browsing.  This allows the
client to explicitly override the private bit on the channel.
NS_UsePrivateBrowsing is also taught about this override bit using the
internal nsIPrivateBrowsingChannel::IsPrivateModeOverriden API.  This patch
implements the new API for HTTP, FTP and wyciwyg channels.  This also
modifies the IPC implementations of these channels to correctly transfer that
bit to the parent process if it has been set in the child process channel.
2012-09-04 20:37:45 -04:00
Ehsan Akhgari
70ba385729 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Patrick Wang
cd0f7e6851 Bug 775464 - Part 1: Add nsILoadContext::GetTopFrameElement. r=smaug
--HG--
extra : rebase_source : 92b8b11f6111db27ff6563a295000675ec0ddae9
2012-08-22 14:47:23 +08:00
Ms2ger
a18f58baba Bug 785642 - Return failure from nsDocShell::CaptureState if SaveWindowState returns null; r=mrbkap 2012-09-06 09:25:05 +02:00
Ms2ger
bd32566761 Bug 785067 - Outparamdel nsGlobalWindow::SaveWindowState; r=mrbkap 2012-09-06 09:20:26 +02:00
Makoto Kato
507b76f776 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Scott Johnson
32391cde9d Bug 780258: Add an interface to set the maximum line box width, accessible from chrome script. [r=dbaron] 2012-09-05 16:39:34 -05:00
Bobby Holley
9ae993ebdc Bug 774633 - Remove dead mOpenerScriptPrincipal. r=jst
This value is initialized to null and never set, so we can get rid of it.
2012-09-05 11:32:06 -07:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Josh Matthews
1c909a96b0 Bug 722861 - Add privacy information to image requests, and use a separate cache for private requests. r=joe 2012-06-26 00:20:12 -04:00
Ehsan Akhgari
c48204a6a9 Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : adad9af01d9168a14d87c201c1bd51a3a7a768f5
2012-08-29 10:56:51 -04:00
Rafael Ávila de Espíndola
fa9b9c167a Bug 786148 - s/IPC/ipc/. r=ted.
This makes our builds a bit more reproducible. Without it when processing

#include "IPC/IPCMessageUtils.h

we end up in

#include "ShadowLayers.h"

which in the final XUL translates into the symbol (run nm -a to see it):

 - 00 0000   SOL ../../../../gfx/layers/IPC/ShadowLayers.h

now when some file in gfx/layers/ipc does

#include "ShadowLayres.h"

the file found is the local one with the lowercase directory name and we end up
with

 - 00 0000   SOL ../../../../gfx/layers/ipc/ShadowLayers.h

--HG--
extra : rebase_source : 96c68f6a3448eedaa280039960df911a9c707cac
2012-08-28 08:41:04 -04:00
Phil Ames
89910afea6 Bug 690168. Implement the 'Allow-From' directive for X-Frame-Options. r=bzbarsky 2012-08-27 15:46:24 -04:00
Josh Matthews
9992fafc63 Back out bug 722861. 2012-08-27 15:31:29 -04:00
Josh Matthews
081b3a0cda Bug 722861 - Add privacy information to image requests, and use a separate cache for private requests. r=joe 2012-06-26 00:20:12 -04:00
Philipp von Weitershausen
f47e2a9937 Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Justin Lebar
2809b47abe Bug 775009 - Part 2: Fix. r=bz 2012-08-25 18:23:53 -04:00
Matt Brubeck
424ea88da6 Back out 670c8a2695b3 (bug 771354), 134557d57e6e 4ad52e488977 (bug 774607), and...
036eb8c2a08a d4d36e3b948f 35334e820632 6bd07fd5147d d49e7c0d762c 407f19deb14c d84551808abb (bug 774633)
on a CLOSED TREE
2012-08-23 21:34:27 -07:00
Bobby Holley
875a633f4f Bug 774633 - Remove dead mOpenerScriptPrincipal. r=jst
This value is initialized to null and never set, so we can get rid of it.
2012-08-23 16:44:52 -07:00
Justin Lebar
44c2b316f2 Bug 784436 - Part 2: Use new infallible nsIDocShell methods. r=bz 2012-08-22 18:27:04 -07:00
Justin Lebar
f991f73bb5 Bug 784436 - Part 1: Make some nsIDocShell attributes infallible. r=bz 2012-08-22 18:27:04 -07:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ian Melven
d09de1cd52 Bug 341604 - modify CheckMayLoad to allow sandboxed workers to load blob and data URIs r=jst 2012-08-20 11:34:33 -07:00
Ian Melven
915cb4516e Bug 341604 - Implement HTML5 sandbox attribute for IFRAMEs r=smaug r=jst 2012-08-20 11:34:32 -07:00
Ben Turner
81d9415df5 Bug 781256 - 'Share FileDescriptors across processes in preparation for OS-level sandbox'. r=khuey+cjones.
--HG--
rename : netwerk/base/public/nsIIPCSerializable.idl => netwerk/base/public/nsIIPCSerializableObsolete.idl
extra : transplant_source : %EB%18%9D%E6%B1%C6%26%A2%16%F3%85g%1A%25%B1%8E%A1%E72e
2012-08-16 00:02:32 -04:00
Chris Pearce
2134cb3c33 Bug 725770. r=bz 2012-08-15 13:51:19 +12:00
Ehsan Akhgari
b457a9ddf0 Merge removal of nsnull 2012-08-14 11:29:00 -04:00
Justin Lebar
adfc4e45ba Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz 2012-08-14 10:58:00 -04:00
Aryeh Gregor
e2dd9c2028 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Justin Lebar
f6aa7b548f Bug 780351 - Don't let code in different apps access each others' windows. r=smaug 2012-08-13 15:19:09 -04:00
Neil Deakin
1a89394d0d Bug 391834, don't allow prompts in beforeunload, unload and pagehide events,r=smaug,patch mostly by gavin 2012-08-13 15:05:34 -04:00
Justin Lebar
8ae5fcb7ff Bug 777135 - Part 2: Stop using nsDOMWindowUtils::GetIsApp and friends, and instead use the relevant methods on the principal. r=mounir
--HG--
extra : rebase_source : fa8a153a1edc8f64b230b67f121ba5eaaf1098e6
2012-08-13 12:58:38 -04:00
Phil Ringnalda
0e2c168546 Backout dcb9d2f694eb (bug 769254) for Windows test_resize_move_windows.html M3 failures 2012-08-10 18:51:29 -07:00
David Zbarsky
079aa0c152 Fix virtual destructor warning, no bug, blanket r=bz 2012-08-10 14:28:07 -04:00
Justin Lebar
14763a6a22 Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz
--HG--
rename : layout/reftests/svg/pattern-scale-01c.svg => layout/reftests/svg/pattern-scale-01a.svg
extra : rebase_source : 1e934ffb7a561255430bea738aa204afcaf92c79
2012-08-10 11:42:28 -04:00
Aryeh Gregor
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Boris Zbarsky
3d616ae6f5 Bug 703855. Don't update performance timing or navigation timing state during document.open. r=jst 2012-08-08 23:47:04 -04:00
Chris Jones
7804d3c78b Revert e3e9040a6eb9 for M2 failures 2012-08-08 21:58:23 -07:00
Boris Zbarsky
f82e20d150 Bug 703855. Don't update performance timing or navigation timing state during document.open. r=jst 2012-08-08 23:47:04 -04:00
Jason Duell
6b7558a193 Bug 780818 - Remove getExtendedOrigin from nsILoadContext. r=smaug, sr=sicking 2012-08-07 22:09:28 -07:00
Jason Duell
8eb63ade2d Bug 776174 - e10s: cleanup IPC nsILoader code. r=smaug, r=jdm 2012-08-06 21:47:48 -07:00
Ms2ger
ffdeefc990 Bug 780168 - Avoid a couple QIs in nsDocShell::GetInterface(nsIDocument); r=bz 2012-08-04 09:44:01 +02:00