Commit Graph

1224 Commits

Author SHA1 Message Date
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
Bobby Holley
d806bf9ec7 Bug 784560 - Fix more tests. r=mccr8 2012-08-23 11:45:28 -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
Gavin Sharp
f4cb4de7c3 merge fx-team into mozilla-central 2012-08-21 10:27:25 -07:00
Blair McBride
5ccfa4bdc2 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
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
Ed Morley
e34d468e24 Merge mozilla-central to mozilla-inbound 2012-08-14 14:00:36 +01:00
Ed Morley
8244092900 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-14 13:52:25 +01:00
Tim Taubert
cb4b6387e8 merge m-c to fx-team 2012-08-13 20:52:40 -07:00
Aryeh Gregor
e2dd9c2028 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03: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
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
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
Blair McBride
c93011f280 Bug 779680 - about:neterror's GoOnline() should be invoked from events, not nsDOMWindowUtils. r=bz,dolske 2012-08-10 15:43:54 +12: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
Bobby Holley
943789da00 Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher
--HG--
extra : rebase_source : 1158df4a4eb917074204e649efd8f2b8e699f115
2012-08-03 22:19:54 +02:00
Aryeh Gregor
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03: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
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
Ed Morley
e652569507 Backout b4a63a0b90c2 (bug 778420), b849f1b3859a (bug 778420), d522b5a13b27 (bug 72964), 3a12c64bf53a (bug 778420), c07148142675 (bug 726053) for failures in test_bug435425.html on a CLOSED TREE 2012-08-07 00:57:27 +01:00
Bobby Holley
6e8f328744 Bug 778420 - Fix up tests that don't like the new enablePrivilege, r=jmaher.
--HG--
extra : rebase_source : 07565c66b279ba5a58b5902b697110f940c255fd
2012-08-06 22:38:19 +02:00
Ms2ger
ffdeefc990 Bug 780168 - Avoid a couple QIs in nsDocShell::GetInterface(nsIDocument); r=bz 2012-08-04 09:44:01 +02:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
4eb11bee72 Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger
76a094c1a5 Bug 780168 - Avoid a couple QIs in nsDocShell::GetInterface(nsIDocument); r=bz 2012-08-04 09:44:01 +02:00
Devdatta Akhawe
7b2dada83c Bug 767676 - Implement Security UI Telemetry. r=honzab,bsmith,felipc,dtownsend 2012-08-02 18:51:17 -07:00
Aryeh Gregor
62d5914177 Bug 779123 - Return NS_ERROR_FAILURE instead of false from nsDocShell::GetExtendedOrigin; r=jlebar 2012-08-01 18:46:48 +03:00
Aryeh Gregor
2e7996f8d1 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Ehsan Akhgari
c80897316e Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
66d337960d Bug 777292 - Add default cases to switches on nsresult; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
58769bb9d6 Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
Matt Brubeck
4191774b1c Back out 551b6acdafb9 and ae0b0dd6dfa2 (bug 754029) on suspicion of causing mochitest-other timeouts 2012-07-27 17:03:23 -07:00
Oonishi Atsushi
e4236f7c24 Bug 754029 - Tests. r=smaug 2012-07-27 17:51:53 -04:00
Oonishi Atsushi
255f9b99fe Bug 754029 - Navigating from a new script tag does not add a session history entry. r=smaug 2012-07-27 17:51:52 -04:00
Henri Sivonen
ee51a2e035 Bug 775467 - Make readyState progress through all states without duplicate transitions. r=bzbarsky. 2012-07-27 16:35:09 +03:00
foudfou
c3b89d6fed Bug 760802 - Add JS nativeHandler attribute for nsIBaseWindow. r=roc 2012-07-24 21:35:32 -04:00
Matt Brubeck
1d52142e2d Back out fbdb3104c9e5, d2fe54ae00a8, d378362cbe01, fe623d60bea1 (bug 769254) on suspicion of causing Windows debug mochitest-plain-3 timeouts 2012-07-23 20:30:12 -07:00
Justin Lebar
d5552497ce Bug 762939 - Propagate visibility changes correctly across <iframe mozbrowser> boundaries. r=mounir,bz
--HG--
extra : rebase_source : 916b8181478cda654b8936f7bfab79e72f7c8422
2012-07-23 15:59:37 -04:00
Justin Lebar
e8827a91bc Bug 771273 - Part 1: Make nsDocShell::GetSameTypeParent and friends respect <iframe mozbrowser> boundaries. r=bz
--HG--
extra : rebase_source : cc6f8b85ddea42cf47a382a3edb1ca6d1b5fdbc9
2012-07-23 15:59:37 -04:00
Justin Lebar
55ea59df58 Backed out changeset cac4e8a16532 (bug 771273) 2012-07-23 15:39:03 -04:00
Justin Lebar
9add3d637c Backed out changeset 97b356893365 (bug 762939) 2012-07-23 15:38:55 -04:00
Jason Duell
b54b0bd994 Bug 776140 - Add GetExtendedOrigin method to nsILoadContext. r=jlebar, sr=sicking 2012-07-23 11:09:26 -07:00
Justin Lebar
e220c92afe Bug 762939 - Propagate visibility changes correctly across <iframe mozbrowser> boundaries. r=mounir,bz 2012-07-23 13:47:34 -04:00
Justin Lebar
947894d0cf Bug 771273 - Part 1: Make nsDocShell::GetSameTypeParent and friends respect <iframe mozbrowser> boundaries. r=bz 2012-07-23 13:47:33 -04:00
Justin Lebar
21d80cc899 Backed out changeset 0b4c68d39a61 (bug 771273) on a CLOSED TREE 2012-07-23 11:44:55 -04:00
Justin Lebar
9aad654fd5 Backed out changeset e15addefe3a2 (bug 762939) 2012-07-23 11:43:33 -04:00
Justin Lebar
1d193b75a8 Bug 762939 - Propagate visibility changes correctly across <iframe mozbrowser> boundaries. r=mounir,bz 2012-07-23 11:26:36 -04:00
Justin Lebar
03fb01d34a Bug 771273 - Part 1: Make nsDocShell::GetSameTypeParent and friends respect <iframe mozbrowser> boundaries. r=bz 2012-07-23 11:24:14 -04:00
Justin Lebar
156f22d018 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--
extra : rebase_source : 96a53a1a8b34f41bfe59f00141d598c5394cb0c1
2012-07-23 10:44:13 -04:00
Mounir Lamouri
c4d94f3c4d Follow-up from bug 775408: fix comment. r=me 2012-07-22 17:42:15 -07:00
Mounir Lamouri
38a7f3af0d Bug 775408 - Rename nsIDocShell::SetIsBrowser() to SetIsBrowserElement(). r=jlebar 2012-07-21 17:39:41 -07:00
Jonas Sicking
690071fc50 Bug 774585: Rename getCodebasePrincipal to getSimpleCodebasePrincipal since the behavior has semantically changed. r=mounir 2012-07-21 00:29:40 -07:00
Jonas Sicking
e2b8d00ce4 Bug 774585: Fix session storage to take app principals into account. r=mounir 2012-07-21 00:29:40 -07:00
Jason Duell
9a4e02a115 Bug 775860 - copy appId and isInBrowserElement from nsIDocShell to nsILoadContext. r=jlebar, sr=sicking 2012-07-20 11:38:43 -07:00
Chris Jones
2cf7adf64a Bug 750977: Implement glue code for asynchronous panning/zooming. r=jlebar,roc,vingtetun
This is a rollup of three separate patches
 - Add nsIDocShell.asyncPanZoomEnabled. r=jlebar
 - Have BrowserElementChild service repaint requests and handle fallback synchronous scrolling (for now). r=jlebar,vingtetun
 - Glue async pan/zoom logic up between compositing, event dispatch, and repaint requests. r=roc

--HG--
rename : b2g/chrome/content/webapi.js => dom/browser-element/BrowserElementScrolling.js
2012-07-19 23:48:27 -07:00
Mounir Lamouri
b66d71f27e Bug 770831 - Make nsIDocShell carry the app id. r=jlebar sr=sicking 2012-07-19 10:32:49 -07:00
Mounir Lamouri
fe2bf13acd Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking 2012-07-18 22:26:21 -07:00
Steve Fink
196cc9b6ff Backed out changeset 060a9d9fc1c6 from a CLOSED TREE since it seems to depend on afc1cf222996 or 1bafff5720a8 that I just backed out 2012-07-19 15:45:27 -07:00
Steve Fink
4c45ee3054 Backed out changeset c2ffcbf39231 from a CLOSED TREE since it seems to depend on afc1cf222996 or 1bafff5720a8 that I just backed out 2012-07-19 15:45:19 -07:00
Mounir Lamouri
c9b18819a5 Bug 770831 - Make nsIDocShell carry the app id. r=jlebar sr=sicking 2012-07-19 10:32:49 -07:00
Mounir Lamouri
d9542ba6f0 Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking 2012-07-18 22:26:21 -07:00
Mounir Lamouri
8b371aed8a Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar 2012-07-18 15:27:02 -07:00
Ed Morley
bb507d18ac Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange 2012-07-19 08:29:48 +01:00
Mounir Lamouri
c91e40fe75 Bug 770831 - Make nsIDocShell carry the app id. r=jlebar sr=sicking 2012-07-18 22:28:05 -07:00
Mounir Lamouri
ea02e3ec30 Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking 2012-07-18 22:26:21 -07:00
Mounir Lamouri
30741d2c3a Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar 2012-07-18 15:27:02 -07:00
Jonas Sicking
644f038064 Bug 774585: Make about: redirectors reset channel owner to null rather than set an explicit principal so that we'll go through the normal code paths in GetChannelPrincipal. r=bz 2012-07-17 22:22:19 -07:00
Ehsan Akhgari
799b7abdba Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (docshell parts); r=bzbarsky 2012-07-10 23:59:52 -04:00
Ehsan Akhgari
f6b0fa0481 Bug 774556 - Remove nsIDOMWindowPerformance* XPCOM interfaces; r=bzbarsky 2012-07-16 22:44:22 -04:00
Tim Taubert
ac142b1a94 merge m-c to fx-team 2012-07-11 08:44:05 +02:00
Tim Taubert
dea70acc5b Bug 724239 - Loading a page in a new tab enables the back button; r=gavin,bz 2012-07-10 17:54:41 +02:00
Nathan Froyd
5b30baa4c3 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Justin Lebar
00a6dfc8fc Bug 770239 - Make X-Frame-Options work correctly with <iframe mozbrowser>, and remove the disable X-Frame-Options pref (added in bug 707893). r=bz
--HG--
extra : rebase_source : 6dbcc596dac24dbc2b19b7292f6e5b924bd2908d
2012-07-09 16:42:17 -04:00
Tim Taubert
bce6da7f8d Bug 669603 - Part 2 - Add sessionStorage helpers to nsIDocShell; r=smaug,mayhemer 2012-07-05 12:12:55 +02:00
Devdatta Akhawe
b405ba9003 Bug 767134 - Stuff the source principal into nsIContentPolicy (r=bz, sr=jst) 2012-07-02 16:16:11 -07:00
David Zbarsky
cd3c58ee76 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Gavin Sharp
f7ba48e261 Bug 769771: add support for specifying content type of an html:iframe, r=bz
--HG--
extra : transplant_source : %97%CDKKQ%11%F4%98%C0%D6e%B81%BE6a%3Ah_%07
2012-06-29 15:03:53 -04:00
Masayuki Nakano
716e1fb23c Bug 768736 Define constants for system native virtual keys for nsIDOMWindowUtils::SendNativeKeyEvent() r=roc 2012-06-27 11:26:38 +09:00
Justin Lebar
ba84771f28 Bug 767957 - Remove dead null-check for shistory in {push,replace}State. r=bz
--HG--
extra : rebase_source : 29940d3fe6ee905d2f32777c7caf05a846081277
2012-06-26 17:18:10 +02:00
Jonathan Watt
9ac7bb2267 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Ed Morley
91815d3c91 Backout 714c402f3050, 80d09e39cd0d & 3a1129278710 (bug 764718) for frequent intermittent failures 2012-06-22 11:04:47 +01:00
Justin Lebar
f7781081e2 Bug 764718 - Part 1: Set the initial principal of in-process <iframe mozbrowser> correctly. r=bz 2012-06-21 21:17:52 -04:00
Brian Nicholson
4c6cac45a7 Bug 766757 - Add LOAD_REPLACE_BYPASS_CACHE load type. r=bz 2012-06-21 10:31:07 -07:00
Ed Morley
76aca6769f Backout fed89ccfe0c2, 5fb8d7a3852f & d220195a8b95 (bug 764718) for mochitest-2 failures 2012-06-21 18:18:40 +01:00
Justin Lebar
968f7d047e Bug 764718 - Part 1: Set the initial principal of in-process <iframe mozbrowser> correctly. r=bz 2012-06-21 11:58:49 -04:00
David Zbarsky
2bfa703f32 Bug 766341 - Fix debug warnings in nsDocShell.cpp r=smaug 2012-06-19 17:10:14 -07:00
Justin Lebar
0f61c4ab5d Bug 742944 - Part 1: Always set nsDocShell::isBrowserFrame to true, for in- and out-of-process iframes. r=bz
--HG--
extra : rebase_source : ab7e051cf7c2038ec362376277a1d97c69c5717c
2012-06-12 18:01:24 -04:00
Gabor Krizsanits
9f0e36ae40 Bug 763496 - Use nsIPrincipal::Subsumes instead of nsIPrincipal::Equals in nsDocShell. r=bz 2012-06-12 17:06:37 -04:00
Sid Stamm
7ae666a35f bug 761655 - Support for multiple X-Frame-Options policies (multiple headers or comma in header value). r=jst 2012-06-11 09:17:35 -07:00
Oonishi Atsushi
02847d0ccd Bug 606286 - Block javascript redirection when "accessibility.blockjsredirection" is set true and the user is browsing back/forward history. r=bz 2012-06-09 17:07:17 -04:00
Phil Ringnalda
72034e800f Bug 751575 - disable test_pb_notification.js because it needs to schedule precise GC, and can't, r=luke 2012-06-06 21:33:46 -07:00
Ed Morley
8e3f4a6794 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-06 09:20:35 +01:00
Ms2ger
6b95a92395 Bug 760047 - Don't handle a null aDocument in nsGlobalWindow::SetNewDocument; r=mounir 2012-06-06 09:36:58 +02:00
Geoff Lankow
552f02f3f1 Merge m-c to m-i 2012-06-06 15:13:51 +12:00
Geoff Lankow
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Justin Lebar
e5b722bc2f Bug 757376. r=bz
--HG--
extra : rebase_source : 5de9b8594742c470381f1e36c3629d393c264c6e
2012-06-05 12:55:59 -04:00
Gervase Markham
638c878b13 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Olli Pettay
21a0239f65 Bug 758401 - Add a way to get message manager from docshell, r=jst 2012-05-28 12:27:25 +03:00
Kyle Huey
bb9cdc1c83 Merge m-c to b-s. 2012-05-27 22:31:06 -07:00
Kyle Huey
22022a0f39 Merge m-c to b-s. 2012-05-26 14:22:26 -07:00
Kyle Huey
a5d0b0a379 Bug 751999: Split SetDocShell apart to make this code easier to read. r=jst 2012-05-25 12:00:32 -07:00
Aryeh Gregor
626faeaf0f Bug 748307 part 5 - Support insertText, forwardDelete, insertParagraph per spec; r=ehsan 2012-05-22 12:37:17 +03:00
Ed Morley
f02fdecdaf Backout 70cde80fa095 & 5a903d496ab0 (bug 722857) for crashes in 646184.html 2012-05-25 12:51:32 +01:00
Josh Matthews
21239cef76 Bug 722857 - Determine private browsing status for DOMStorage from owning docshell if available, and receive updates if its privacy status changes. r=mayhemer 2012-05-25 12:20:31 +01:00
Simon Montagu
4332bd83c0 Update patch for bug 644209 to final version. r=emk 2012-05-24 22:56:49 +03:00
Simon Montagu
df869772de Make tests that use non-UTF-8 content use file URLs instead of chrome URLs. Bug 644209, r=emk 2012-05-24 22:41:38 +03:00
Josh Matthews
a913bc7bf5 Bug 722857 - Determine private browsing status for DOMStorage from owning docshell if available, and receive updates if its privacy status changes. r=mayhemer 2012-05-26 09:37:58 +01:00
Josh Matthews
c78ac89a1d Bug 722845 - Part 5: Disable offline cache entries for private channels. r=mayhemer 2012-05-24 16:31:54 +01:00
Boris Zbarsky
805e170d81 Bug 748276. Don't record a navigationStart for javascript: URI loads that don't produce a document. r=smaug 2012-05-23 12:44:48 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
2187798a40 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Neil Rashbrook
6c452f6526 Bug 678726 Improved diagnostics to try to figure out what this random orange is r=ted 2012-05-10 22:46:15 +01:00
Marco Castelluccio
e4a53a7c22 Bug 615213 - Remove nsIGlobalHistory.
r=bsmedberg
2012-05-09 21:30:41 +02:00
Oonishi Atsushi
d1c5729d9c Bug 745530 - Check that the decoded and unescaped ref is not empty. r=smaug 2012-05-08 18:49:14 -04:00
L. David Baron
d875dda857 Expose DocumentViewerImpl::CallChildren with an API that fills an array. (Bug 747231, patch 3) r=roc
--HG--
extra : transplant_source : %FFc%40%AE%D6%22%40%1D%7F%F7%A8%BC%1A%ECG%98G%DCFf
2012-05-05 15:25:45 +02:00
Ed Morley
3a83db790e Backout 8d220661ef24 (bug 751575) for timing out on pgo linux 2012-05-04 10:10:34 +01:00
Luke Wagner
90406e4550 Bug 751575 - fix and reenable test_pb_notification_ipc.js (r=jst)
--HG--
extra : rebase_source : e2d52414cd17c15792e9c4be9cc48bfdb3b02318
2012-05-03 16:25:20 -07:00
Ed Morley
6cb1c1f730 Bug 751575 - Disable test_pb_notification_ipc.js for permafailing in a CPG world; r=jst CLOSED TREE 2012-05-03 17:15:58 +01:00
Oonishi Atsushi
73e93532ac Bug 750145 - iframe should not inherit LOAD_ERROR_PAGE. r=smaug 2012-05-03 06:22:33 -04:00
Oonishi Atsushi
1dd86ec7a4 Bug 478927 - Add new test. r=smaug 2012-05-03 06:22:32 -04:00
Oonishi Atsushi
4e66b438ee Bug 478927 - Add a new flag LOCATION_CHANGE_ERROR_PAGE for onLocationChangeBug. r=smaug, sr=bzbarsky 2012-05-03 06:22:32 -04:00
Boris Zbarsky
b6ce9bf486 Bug 748803. Don't autofocus the Try Again button in error pages if the error page is not a toplevel page. r=mounir 2012-04-30 21:57:16 -04:00
Eric Wong
1e185ea50a Bug 724841 - Retain case when sending location bar text to search engine service r=bz 2012-04-28 18:39:14 -07:00
Oonishi Atsushi
2f5c073699 Bug 673752 - Every error page fires onLocationChange twice. r=smaug 2012-04-24 19:49:58 -04:00
Matt Brubeck
c9d5f18376 Back out a0bc511b1d75 (bug 744910) and c85d6a254baa (bug 673752) on suspicion of causing Win debug "make check" hangs 2012-04-24 20:47:13 -07:00
Ehsan Akhgari
c7d143b9fa Merge mozilla-central into mozilla-inbound 2012-04-24 21:29:44 -04:00
Josh Matthews
03e6832624 Bug 729162 - Add per-docshell privacy mode transition observers. r=bz 2012-04-19 23:19:54 -04:00
Josh Matthews
fb81af3718 Bug 729204 - Make docshell privacy notifications work across multiple processes. r=bz 2012-04-19 20:13:20 -04:00
Justin Lebar
d25f1dec11 Bug 745502 - Fix a null-pointer exception in pushState. r=smaug 2012-04-16 19:54:08 +10:00
Ms2ger
f58f1b50e0 Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz 2012-04-14 15:03:16 +02:00
Ms2ger
b8ae2456b2 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
7fd5606557 Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz 2012-04-14 15:03:16 +02:00
Oonishi Atsushi
c128b4bf71 Bug 673752 - Every error page fires onLocationChange twice. r=smaug 2012-04-24 19:49:58 -04:00
Paolo Amadini
250a42fffb Bug 737133 - getFaviconURLForPage and getFaviconDataForPage should invoke nsIFaviconDataCallback even if the favicon is not available. r=mak sr=gavin
--HG--
extra : rebase_source : 70f0139a7b87b4a3f4de785a7c29f3f36e2055a9
2012-04-12 12:27:14 +02:00
Josh Matthews
5f5aaae706 Bug 725210 - Add observer notification for last PB docshell going away. r=bz 2012-02-21 12:32:17 -05:00
Justin Lebar
1feb667876 Bug 737307 - Don't clobber mLoadType in short-circuited loads. r=bz
--HG--
extra : rebase_source : 9ae25aa8144136f202251b61050adb6b05fe08af
2012-03-29 11:27:13 -07:00
Marco Bonardo
138f1e8f5f Bug 738762 - Pass redirect and error information to global history.
r=bz
2012-03-29 15:07:09 +02:00
Oonishi Atsushi
c4d02177e7 Bug 680727 - Part 2: docshell should pass a reloaded page to global history. r=smaug 2012-03-28 21:51:01 +02:00
Justin Lebar
e118a51dca Bug 736688 - Part 6: Add BrowserElementAPI.js, implementing loadstart, loadend, locationchange, and the window.{top,parent,frameElement} override for <iframe mozbrowser>. r=smaug
--HG--
extra : rebase_source : 7ed3e56bbf06d97a9b0127eecf87128c5389a1b1
2012-03-28 11:36:50 -07:00
Justin Lebar
02941cac89 Back out changesets 6a2c57fa8edf, 34526f45d863 (bug 737307) due to web-facing regressions (e.g. bug 739478). r=bz
--HG--
extra : rebase_source : 4b595ee4ef7ab60a1d831bf50f1c973161e3187c
2012-03-26 17:10:07 -07:00
Gavin Sharp
c8632ad3cd Bug 738804: back out keyword.URL prompting code while we investigate other larger changes, r=fryn
--HG--
extra : transplant_source : %F0G%AD%A1%89%C6%93%BB%CB/t%9E%DE%14%E9%7D2%91%EFF
2012-03-23 16:27:54 -07:00
Mark Capella
08d7239a5d Bug 734023 - Remove language arguments from nsIScriptGlobalObject methods, r=jst, f=ms2ger 2012-03-23 18:13:29 +01:00
Henri Sivonen
3dfb9fb844 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Justin Lebar
532063e6fc Bug 737307 - Part 2: Fix. r=bz 2012-03-21 09:53:40 -04:00
Justin Lebar
f3530c78c5 Back out 4d69dc0ec681 (bug 737307) due to orange. 2012-03-21 08:57:14 -04:00
Justin Lebar
e6d9a12b96 Fix bug 737307. r=bz 2012-03-21 07:38:01 -04:00
Gavin Sharp
f427429d76 Bug 718088: offer to re-set keyword.URL if it has a non-default value, r=bz on the docshell parts, r=fryn on the rest, ui-r=limi
--HG--
extra : transplant_source : F%5E%C6ge%1B%5B%14%0C%20%C4%C7%82%DA%D9%96%C0%86%A5%C6
2012-02-22 16:35:56 -08:00
Justin Lebar
3e68e04f09 Bug 725796 - Make window.{top,parent,frameElement} respect <iframe mozbrowser>. r=bz 2012-03-04 11:02:00 -05:00
Tim Taubert
3fc8b26247 merge m-c to fx-team 2012-02-27 09:44:06 +01:00
Tim Taubert
8310db6f57 Bug 683953 - Part 2 - Add a docShell's history ID to the debug output; r=jlebar 2012-02-25 12:48:06 +01:00
Honza Bambas
422a01729e Bug 495337 - Make sessionStorage use principals instead of string domains, r=bz+bclary 2012-02-23 18:41:25 +01:00
Ed Morley
04577d02d6 Merge mozilla-central to mozilla-inbound 2012-02-23 01:03:16 +00:00
Justin Lebar
89994f37c5 Bug 728939 - Part 2: Add tests. r=bz
--HG--
extra : rebase_source : 00ea8c6aba6d41d719334ae8adaed07e7d9273f1
2012-02-22 16:54:11 +01:00
Justin Lebar
db86694221 Bug 728939 - Part 1: Changing a URI's hash should update document.URL. r=bz
--HG--
extra : rebase_source : a41d88a9375d60a05ed61a6214003762119b7370
2012-02-22 16:53:58 +01:00
Rob Campbell
7fc1e05e22 merge fx-team to m-c 2012-02-22 12:47:22 -04:00
Nicholas Nethercote
9472d29e81 Bug 702300 (part 8) - Add about:compartments. r=jlebar, ehsan.
--HG--
extra : rebase_source : ad9de010f0b51d5ae7d74b8cbc04c8748767ec0b
2012-02-16 22:10:39 -08:00
Jared Wein
43f524eb6a Bug 725700 - Keyboard arrow keys and scrollbar buttons should have consistent scrolling distances. 2012-02-20 11:24:36 -05:00
Oonishi Atsushi
d0248c5b17 Bug 382702 - Create a blank URL for session history when an invalid protocol is used. r=biesi 2011-12-15 08:03:00 -05:00
O. Atsushi
126d0636ac Bug 312680 - Unknown protocol error should cause an error page instead of a dialog. r=biesi 2012-02-15 23:28:19 +01:00
Josh Matthews
1c7afe19ff Bug 729140 - Add de-XPCOMed getter for private browsing status on nsILoadContext. r=bz 2012-02-21 12:08:22 -05:00
Geoff Lankow
e8018a14ef Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part B, remove uses of nsIPrefBranch2 in modules/libpref/ ; r=bsmedberg 2012-01-16 21:47:13 +13:00
Josh Matthews
99b9d4b49b Backing out bug 725210, changeset 01259925085c r=orange 2012-02-08 02:34:00 -05:00
Josh Matthews
82ebb6f238 Bug 725210 - Add observer notification for last PB docshell going away. r=bz 2012-02-08 01:52:39 -05:00
Josh Matthews
cd53ef5e0a Bug 722840 - Add private browsing attribute to docshells. r=bz 2012-02-02 14:03:46 -05:00
Panagiotis Koutsourakis
583eb38038 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Gavin Sharp
0ccc9e38e5 Bug 723207: fix SimpleTest.info when called as just info(), r=jmaher
--HG--
extra : transplant_source : %02%AC%FC%98%E8%23%FE%9A%3D%BC%DEck%16%9FP%CE%95%B3%AF
2012-02-01 10:11:53 -08:00
Gavin Sharp
93f574f547 Bug 723808: don't allow loads in type=content docshells to inherit the system principal, r=bz
--HG--
extra : transplant_source : %E6%25%A7%C1.%DA%02%CC%BF%DA%ED%BEZ%E8%FB%CD%28%0A%FE8
2012-01-30 18:29:44 -08:00
Tim Taubert
c60b7bbc68 Bug 707862 - Reset childCount on SHEntry when all children have been removed; r=smaug 2012-02-01 11:45:53 +01:00
Wes Johnston
98723cafe4 Bug 301471 - Autofocus the Try Again button in the net error dialog. r=bz 2012-01-25 01:31:33 +01:00
Simon Montagu
cedd72fc8d Remove unused forcedDetector property. Bug 713825, r=bz 2012-01-24 11:52:05 +02:00
Simon Montagu
5881e8809b Move nsIDocumentCharsetInfo out of intl/chardet into nsIDocShell, Bug 713825, r=bz, mbrubeck 2012-01-24 11:52:05 +02:00
Simon Montagu
e756bff57b Move nsIDocCharset out of intl/chardet into nsIDocShell, Bug 713825, r=bz 2012-01-24 11:52:04 +02:00
Mike Hommey
c4e4acd545 Bug 718737 - Add a startup timeline event on the first nsDocShell::LoadURI for non about:blank content. r=bz,r=tglek 2012-01-19 08:40:18 +01:00
Tim Taubert
dc0feeb24e merge m-c to fx-team 2012-01-16 11:20:19 +01:00
Jared Wein
843a61d98d Bug 198964 - Enable smooth scrolling by default. r=gavin 2012-01-13 16:26:34 -08:00
Bobby Holley
92e001c11a Bug 713747 - Remove usage of UniversalFoo in gecko. r=bz 2011-12-30 09:35:39 -08:00
Markus Stange
eb399a7302 Bug 598482 part 20 - Rename Update to Invalidate; view updates are now always asynchronous. r=roc 2011-12-23 22:52:25 -05:00
Markus Stange
d13d62c3a3 Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc 2011-12-23 22:52:22 -05:00
Steffen Wilberg
84ee8aac3e Bug 707570: Use Services.prefs instead of gPrefService in browser_bug435325.js. r=bz 2011-12-29 10:42:57 +01:00
Rafael Ávila de Espíndola
4f1b786f7d Bug 712754 - Call do_get_profile. r=mak. 2011-12-28 08:46:04 -05:00
Phil Ringnalda
3cce1527f8 Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures 2011-12-23 22:21:58 -08:00
Justin Lebar
35c95dea56 Bug 707893 - Ignore X-Frame-Options on b2g. r=bz
--HG--
extra : rebase_source : 636a7d9f892c2b280acb0b004b61f02b58352d36
2011-12-22 11:51:00 -05:00
Markus Stange
dfe85f1f6f Bug 598482 part 20 - Rename Update to Invalidate; view updates are now always asynchronous. r=roc 2011-12-23 22:52:25 -05:00
Markus Stange
352b17f6aa Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc 2011-12-23 22:52:22 -05:00
Nathan Froyd
374a916108 Bug 709205 - use GetObserverService in dom,docshell; r=bz 2011-12-09 14:35:37 -05:00
Masayuki Nakano
6636e9efaf Bug 504586 test_bug430723.html should listen to scroll event after sending key events r=smaug 2011-12-16 22:38:45 +09:00