Commit Graph

40 Commits

Author SHA1 Message Date
Mounir Lamouri
82bc977b00 Bug 769569 - Check that navigator.id.request was called as a result of user input. r=benadida 2012-10-08 14:03:14 +01:00
Benjamin Peterson
44f6340ff8 backout 5f9951a2e6df (bug 785918) for breaking on osx 2012-09-25 10:24:09 -04:00
José Guilherme Vanz
b12bfcbd0f Bug 785918 - Replace the usages of PR_ARRAY_SIZE with mozilla::ArrayLength; r=ehsan 2012-09-25 09:57:08 -04:00
Gavin Sharp
3cc53fe881 Bug 770063: disable intermittently passing todos, r=mattn 2012-09-24 12:59:27 -07:00
Bobby Holley
5af5a73d3d 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
c64d31c5e0 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
Matthew Noorenberghe
69762e55ee Bug 786835 - Stop using setIsBrowserElement for docShell isolation in Sandbox.jsm. r=imelven,gavin,benadida
--HG--
extra : rebase_source : df7720c490e139f639a7fd58a6dec8d5eba548a2
2012-08-29 16:47:44 -07:00
Andrew McCreight
0e9f97bd16 Bug 775868, part 1: make tests access DomWinUtils via SpecialPowers. r=smaug 2012-09-10 12:43:45 -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
Mark Capella
d35354cd9e Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Toolkits, r=ted, f=gps 2012-08-14 10:06:12 -04:00
Matthew Noorenberghe
2e1addbc7c Bug 764213 - Provisional desktop UI for website sign-in with Persona. r=dolske
--HG--
extra : rebase_source : 8785a377e88b11f59ec00d44b58e6c21fce576a7
2012-06-12 18:16:00 -07:00
Matthew Noorenberghe
20d20e28c7 Bug 773485 - Update identity Makefiles to use MOCHITEST_FILES. r=glandium
--HG--
extra : rebase_source : 62987cfce90e63b2fa1fa7de69e2bccdd5cfa725
2012-08-09 00:07:38 -07:00
John Schoenick
6eeabb21c4 Bug 771666 - Update sandbox test to reflect expected plugin behavior. r=mattn 2012-08-05 19:33:22 -07:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Jed Parsons
d9c7908712 Bug 778002: Identity should use createInstance, not getService, to get an XHR. r=me 2012-07-30 15:14:30 -07:00
Aryeh Gregor
7bf9fe596b Bug 777292 - Add casts and annoyed comments where we make up nsresult codes on the fly; r=ehsan 2012-07-27 17:03:25 +03:00
Ms2ger
b2148c7642 Back out bug 771666 and bug 745030. 2012-07-25 22:39:01 +02:00
John Schoenick
db9976411c Bug 771666 - Update sandbox test to reflect expected plugin behavior. r=mattn 2012-07-25 09:51:02 -07:00
Joshua Cranmer
e1cdfe2f05 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Mounir Lamouri
38a7f3af0d Bug 775408 - Rename nsIDocShell::SetIsBrowser() to SetIsBrowserElement(). r=jlebar 2012-07-21 17:39:41 -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
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
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
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
Rafael Ávila de Espíndola
6d6cccf3d5 Bug 774037 - Fix -Wdelete-non-virtual-dtor warning. r=dolske. 2012-07-15 00:23:35 -04:00
Matthew Noorenberghe
5733ba4eda Bug 770063 - Disable a portion of test_sandbox.xul on OS X 10.5 due to intermittent failure. r=dolske
--HG--
extra : rebase_source : 36b4c86436895830e00029ee5e31a3b8d5a08c48
2012-07-12 22:27:40 -07:00
Matthew Noorenberghe
617c6d99ab Bug 753239 - Identity module mochitests using DOM APIs. r=dolske
--HG--
extra : rebase_source : 10858321be5fe3a59059cf1e8472507a4140c666
2012-07-10 14:32:56 -07:00
Matthew Noorenberghe
edc9f1a90b Bug 753239 - Implement a DOM component for navigator.id. r=jst
--HG--
extra : rebase_source : 4cd2b33f46c6c884dc9a3ff4820203275a6c5ae9
2012-06-29 16:12:00 -07:00
Matthew Noorenberghe
23d975b0e1 Bug 770418 - Improve identity logging output. r=dolske,jparsons
--HG--
extra : rebase_source : 4bfe055e1b783ffa80ad9b8515168a68e02f6a90
2012-07-10 23:54:27 -07:00
Ryan VanderMeulen
b8f5f432fa Backout 7d1b925bd4ee and 52e5b438c911 (Bug 753239) due to almost permaorange. 2012-07-10 19:21:54 -04:00
Matthew Noorenberghe
cb148c1aba Bug 753239 - Identity module mochitests using DOM APIs. r=dolske
--HG--
extra : rebase_source : 0860550a6eec94e0376fbac4d5798f3b9a78230c
2012-07-10 14:32:56 -07:00
Matthew Noorenberghe
583f42158d Bug 753239 - Implement a DOM component for navigator.id. r=jst
--HG--
extra : rebase_source : 8ec0f3a07dc6dc1991758d9c60f43a823f564b0c
2012-06-29 16:12:00 -07: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
Matthew Noorenberghe
524a1d96ef Bug 770063 - Give more time for loading content in intermittent test_sandbox.xul. a=test-only
--HG--
extra : rebase_source : 6ee3172be5286d045d0d07020ac5cd9e14d477cf
2012-07-08 15:45:16 -07:00
Gavin Sharp
10fea41388 Bug 753238 bustage fix: fix uninitialized variable use, and clang build error (error: non-constant-expression cannot be narrowed from type 'int' to 'unsigned int' in initializer list [-Wc++11-narrowing]), irc-r=jlebar 2012-07-07 23:07:26 -07:00
Ben Adida
d39953daaa Bug 753238 - Identity module unit tests. rs=dolske
--HG--
extra : rebase_source : 9ee371fd16d903ed55a98a62c765fe67665b5229
2012-07-06 16:27:33 -07:00
Jed Parsons
93a9f18281 Bug 753238 - Identity (BrowserID) module. r=dolske,rrelyea
--HG--
extra : rebase_source : 33ff0f0248ef84f3f4c8154745e5988819f2b787
2012-07-03 14:53:37 -07:00
Matthew Noorenberghe
6583d829b0 Bug 762993 - Follow-up fix for 15ac0594d478. Unregister for WindowWatcher notifications in the success case. a=bustage-fix 2012-07-01 00:06:48 -07:00
Matthew Noorenberghe
3209e0c7e1 Bug 762993 - Implement a sandbox iframe for Identity IdP provisioning. r=jst,benadida,dolske
Based on Anant's code from bug 745345.
2012-06-28 01:57:00 -07:00