Граф коммитов

3051 Коммитов

Автор SHA1 Сообщение Дата
Bobby Holley 1b5d4b63ec Bug 792036 - More manual fixes requested by Andrew. r=mccr8 2012-09-24 14:46:29 +02:00
Bobby Holley a25701a3f7 Bug 792036 - Automated fixups. r=mccr8
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components |  xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Bobby Holley 8188b09b4e Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Gavin Sharp 53f692e76c Bug 772823: try to work around intermittent failure of this test on Linux by avoiding closing the window during onload
--HG--
extra : transplant_source : %3C%2B%B3%3A%F5S%AF%97t%80%DC%D4%C4%F1%26%8A%E6%8A%B5%B7
2012-09-23 17:13:01 -07:00
Tim Taubert 9849e3594b merge m-c to fx-team 2012-09-22 09:32:24 +02:00
Tim Taubert d0100557fd Bug 422543 - part 3 - tiny followup/cleanup; r=neil 2012-09-21 13:11:25 +02:00
Dave Camp f1424f9023 Merge fx-team to m-c 2012-09-20 15:52:35 -07:00
Tim Taubert 63b9788a07 Bug 422543 - part 2 - add tests for multiple session history listeners; r=smaug 2012-09-20 16:41:49 +02:00
Tim Taubert 566b99d348 Bug 422543 - part 1 - make session history support multiple listeners; r=smaug 2012-09-20 16:41:18 +02:00
Kyle Huey 87ab0338fd 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 4af64dcc49 Merge the last PGO-green inbound changeset to m-c. 2012-09-20 21:23:35 -04:00
Justin Lebar 3789a6997d 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 fa09e23fb6 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
Bobby Holley d01188167e Bug 789773 - Tests. r=bz 2012-09-18 12:16:05 +02:00
Ehsan Akhgari 145e6f9783 Bug 741059 - Part 4: Update the callers to mozIAsyncFavicon::SetAndFetchFaviconForPage; r=jdm,bz,mak 2012-09-06 00:34:50 -04:00
Ehsan Akhgari d58d386309 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 8cc30b88b2 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Patrick Wang 8eaaa66b5d Bug 775464 - Part 1: Add nsILoadContext::GetTopFrameElement. r=smaug
--HG--
extra : rebase_source : 92b8b11f6111db27ff6563a295000675ec0ddae9
2012-08-22 14:47:23 +08:00
Ms2ger 3fef97c97c Bug 785642 - Return failure from nsDocShell::CaptureState if SaveWindowState returns null; r=mrbkap 2012-09-06 09:25:05 +02:00
Ms2ger 14092e417a Bug 785067 - Outparamdel nsGlobalWindow::SaveWindowState; r=mrbkap 2012-09-06 09:20:26 +02:00
Makoto Kato 1356f06137 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Scott Johnson 3ea152f05b 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 b54ef01adf 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 65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Josh Matthews 1346c0db1c 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 dae032a5cb 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 0b6fcd9466 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 e5febe6eca Bug 690168. Implement the 'Allow-From' directive for X-Frame-Options. r=bzbarsky 2012-08-27 15:46:24 -04:00
Josh Matthews 1210ea94dd Back out bug 722861. 2012-08-27 15:31:29 -04:00
Josh Matthews 17c6b7c738 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 d158b5747c 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 68d29b343c Bug 775009 - Part 2: Fix. r=bz 2012-08-25 18:23:53 -04:00
Matt Brubeck cdd4612f38 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 248ddad9f4 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
Bobby Holley f978d43865 Bug 784560 - Fix more tests. r=mccr8 2012-08-23 11:45:28 -07:00
Justin Lebar 29483a3082 Bug 784436 - Part 2: Use new infallible nsIDocShell methods. r=bz 2012-08-22 18:27:04 -07:00
Justin Lebar 6ba4f56931 Bug 784436 - Part 1: Make some nsIDocShell attributes infallible. r=bz 2012-08-22 18:27:04 -07:00
Ehsan Akhgari e368dc9c85 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
Gavin Sharp 04744f7ec2 merge fx-team into mozilla-central 2012-08-21 10:27:25 -07:00
Blair McBride dda1c1585c Bug 783763 - Move browser_bug435325.js to /browser/ and remove reference to nsIDOMWindowUtils. r=dolske
--HG--
rename : docshell/test/browser/browser_bug435325.js => browser/base/content/test/browser_bug435325.js
2012-08-21 19:42:30 +12:00
Ben Turner 4b09919a18 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 60b0bda8c8 Bug 725770. r=bz 2012-08-15 13:51:19 +12:00
Ehsan Akhgari a09e69cee0 Merge removal of nsnull 2012-08-14 11:29:00 -04:00
Justin Lebar 74befa949f 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
Ed Morley 715dffe280 Merge mozilla-central to mozilla-inbound 2012-08-14 14:00:36 +01:00
Ed Morley 800cd7dda0 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-14 13:52:25 +01:00
Tim Taubert 81b26bfeb3 merge m-c to fx-team 2012-08-13 20:52:40 -07:00
Aryeh Gregor a88ffe5c80 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Phil Ringnalda dde42936c6 Backout dcb9d2f694eb (bug 769254) for Windows test_resize_move_windows.html M3 failures 2012-08-10 18:51:29 -07:00
David Zbarsky 05cd650b9e Fix virtual destructor warning, no bug, blanket r=bz 2012-08-10 14:28:07 -04:00