Commit Graph

72 Commits

Author SHA1 Message Date
Ehsan Akhgari
0fd9123eac 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
46a3add818 Bug 341604 - Implement HTML5 sandbox attribute for IFRAMEs r=smaug r=jst 2012-08-20 11:34:32 -07:00
Justin Lebar
0d4822afe2 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
c9febe2419 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
65e1654abd Backed out changeset cac4e8a16532 (bug 771273) 2012-07-23 15:39:03 -04:00
Justin Lebar
bd1f475f02 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
d7ac31176f Backed out changeset 0b4c68d39a61 (bug 771273) on a CLOSED TREE 2012-07-23 11:44:55 -04:00
Justin Lebar
f019d8710c Bug 771273 - Part 1: Make nsDocShell::GetSameTypeParent and friends respect <iframe mozbrowser> boundaries. r=bz 2012-07-23 11:24:14 -04:00
Mounir Lamouri
7935452e46 Bug 775408 - Rename nsIDocShell::SetIsBrowser() to SetIsBrowserElement(). r=jlebar 2012-07-21 17:39:41 -07:00
Jonas Sicking
78ce127429 Bug 774585: Fix session storage to take app principals into account. r=mounir 2012-07-21 00:29:40 -07:00
Chris Jones
ef35aa58e9 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
ed3e904642 Bug 770831 - Make nsIDocShell carry the app id. r=jlebar sr=sicking 2012-07-19 10:32:49 -07:00
Mounir Lamouri
397bc64735 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
3b5b986d0b 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
29dc82d8e8 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
e0678a58f5 Bug 770831 - Make nsIDocShell carry the app id. r=jlebar sr=sicking 2012-07-19 10:32:49 -07:00
Mounir Lamouri
d6d9b5f0b7 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
Ed Morley
80af77da9d 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
6efeb5b2d6 Bug 770831 - Make nsIDocShell carry the app id. r=jlebar sr=sicking 2012-07-18 22:28:05 -07:00
Mounir Lamouri
8cfd0a9baa 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
Tim Taubert
f5427b077d Bug 669603 - Part 2 - Add sessionStorage helpers to nsIDocShell; r=smaug,mayhemer 2012-07-05 12:12:55 +02:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Josh Matthews
fb756f895a Bug 729162 - Add per-docshell privacy mode transition observers. r=bz 2012-04-19 23:19:54 -04:00
Justin Lebar
8dd521e600 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
d77dae5390 Bug 725796 - Make window.{top,parent,frameElement} respect <iframe mozbrowser>. r=bz 2012-03-04 11:02:00 -05:00
Simon Montagu
6d25747926 Remove unused forcedDetector property. Bug 713825, r=bz 2012-01-24 11:52:05 +02:00
Simon Montagu
4feaa1e8f3 Move nsIDocumentCharsetInfo out of intl/chardet into nsIDocShell, Bug 713825, r=bz, mbrubeck 2012-01-24 11:52:05 +02:00
Simon Montagu
07bbd70b32 Move nsIDocCharset out of intl/chardet into nsIDocShell, Bug 713825, r=bz 2012-01-24 11:52:04 +02:00
Jan Varga
9ed93f386e Bug 635673 - Content inside xul:iframe with type=content is always able to resize top chrome window. r=bz 2011-06-25 13:42:41 +02:00
Peter Van der Beken
4d0735697c Fix for bug 637116 (Leak documents+windows with replaceState, focus, event handler closure). r=mrbkap.
--HG--
extra : rebase_source : 57090db5f6805d70811dc5753e2bc91feb65c0b5
2011-03-03 12:55:55 +01:00
Benjamin Smedberg
db7fa48a66 Bug 617539 - Fold in nsIDocShell_MOZILLA_2_0_BRANCH, r=bz 2011-03-25 11:03:34 -04:00
Margaret Leibovic
6a27d3fb58 Bug 575561 - External links from within app tabs should always open in new tabs instead of replacing the app tab's page. r=gavin+bz, a=blocking-beta7 2010-10-28 15:00:31 -07:00
Robert O'Callahan
6bb7a02bbf Backed out changeset ecd1948992eb 2010-10-29 16:07:46 +13:00
Margaret Leibovic
f74adedb2c Bug 575561 - External links from within app tabs should always open in new tabs instead of replacing the app tab's page. r=gavin+bz, a=blocking-beta7 2010-10-28 15:00:31 -07:00
Blake Kaplan
b594d291ff bug 603152 - Inner windows principals must remain constant. If we want to change them, change the inner window instead. r=bz 2010-09-17 14:54:41 -07:00
Mounir Lamouri
6fb5c95481 Bug 600813 - Removing PUT and DELETE form methods. a=blocking-b7 2010-09-30 16:55:11 -07:00
Mounir Lamouri
5c3aec9631 Bug 583288 (2/2) - Let forms using DELETE and PUT HTTP method when submitting. r=jst,sicking a2.0=sicking 2010-09-10 07:00:10 +02:00
Olli Pettay
75b4ffdc0e Bug 462076 - Dynamically inserted iframes on refresh sometimes trade places, r=bz 2010-08-17 17:13:55 +03:00
Bobby Holley
27a2d4812b Bug 343515 - need API for tabbrowsers to tell docshells they're visible/hidden.r=gavin,sr=bz,a=blocker 2010-08-05 11:27:52 -04:00
Ehsan Akhgari
1c4e5eae5f Bug 519928 - IFRAME inside designMode disables JavaScript, breaking current clickjacking defenses; r=Olli.Pettay
--HG--
extra : rebase_source : 7d01d90f59e60b63e64b96bb655937fe0d0c879a
2010-06-04 17:03:50 -04:00
Ehsan Akhgari
fb10e0a996 Backed out changeset d1cbe16de6bf to fix oranges 2010-06-28 15:29:30 -04:00
Ehsan Akhgari
4ba6d6114b Bug 519928 - IFRAME inside designMode disables JavaScript, breaking current clickjacking defenses; r=Olli.Pettay 2010-06-04 17:03:50 -04:00
Justin Lebar
e730a1afc6 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Daniel Holbert
46ba50b0cb Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Justin Lebar
a827ba17fc Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Honza Bambas
e1a5b71c19 Bug 501423 - StorageEvent implementation does not match the spec, r=jst 2010-01-28 15:53:53 +01:00
Olli Pettay
2f4c5ea761 Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Neil Deakin
239ca1d9ee Bug 500224, don't focus elements during unload events, r=bz 2009-07-13 07:55:56 -04:00
Mark Smith
bb426c0819 Bug 437174 - Disabling 3rd party cookies breaks sending cookies for
channels with no docshell.  r+sr=bzbarsky.
  Added forceAllowThirdPartyCookie to nsIHttpChannelInternal.
  Added LOAD_FLAGS_FORCE_ALLOW_COOKIES to nsIWebNavigation.
  Added PERSIST_FLAGS_FORCE_ALLOW_COOKIES to nsIWebBrowserPersist.

--HG--
extra : rebase_source : 0ea11e1ed53d75152f57ffed74f44fc749a7a567
2009-06-16 10:30:25 -04:00
Neil Deakin
79321ef1f8 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00