Commit Graph

70 Commits

Author SHA1 Message Date
L. David Baron
4f4296979b Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Bobby Holley
076b7bfcfa Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8 2013-02-25 10:43:03 -08:00
Jed Parsons
9d830a2534 Bug 823751 - When persona login in the Trusty UI is canceled, fire the RP's oncancel() callback; r=benadida, a=bb+ 2013-01-10 09:56:10 +01:00
Chris Peterson
d2b4e410e5 Bug 785918 - Part 1: Replace PR_ARRAY_SIZE() with mozilla::ArrayLength() and MOZ_ARRAY_LENGTH(). r=ehsan 2013-01-05 23:37:25 -08:00
Brian Smith
9087077a80 Bug 804663: Create a CryptoTask API to simplify the creation of correct async crypto operations and add more utilities to ScopedNSSTypes.h, r=honzab
--HG--
extra : rebase_source : de29f383e6d5b109a06837b887d96bbcbce55817
2012-07-13 15:44:24 -07:00
Mike Hommey
0acad29085 Bug 817955 - Only install identity modules in modules/identity. r=benadida,r=jparsons
--HG--
extra : rebase_source : 027b0cae0a29d00c34424e542fe4d57192aab5b1
2012-12-05 09:25:21 +01:00
Brian Smith
594736d869 Backed out changeset 84bf2e19c701
--HG--
extra : rebase_source : 446249323b44e54161bf187c0d386db645402bb7
2012-11-30 19:39:46 -08:00
Brian Smith
e51024bde5 Bug 804663: Create a CryptoTask API to simplify the creation of correct async crypto operations and add more utilities to ScopedNSSTypes.h, r=honzab 2012-07-13 15:44:24 -07:00
Jed Parsons
6066ca1434 Bug 790141 - Native implementation of browserid get() and getVerifiedEmail(). r=benadida 2012-11-20 20:28:34 -05:00
Brian Smith
f54dc1694d Backed out changeset ef6db4ced917 (bug 804663) due to build bustage, a=bustage
--HG--
extra : rebase_source : 20d434a5f205052e836e059bcee57a0bf84725c4
2012-11-19 20:24:47 -08:00
Brian Smith
11b18b39eb Bug 804663: Add a CryptoTask class for asynchronous crypto operations and add more utilities to ScopedNSSTypes.h
--HG--
extra : source : cc195997c6e526ce4b64d28cfb065d671b90bdba
2012-07-13 15:44:24 -07:00
Jed Parsons
ea3e8171fd Bug 811014 - Ensure forceIssuer parameter is passed through. r=benadida 2012-11-18 00:02:13 -05:00
Jed Parsons
81fbf53a81 Bug 811012 - Allow forceAuthentication parameter to request for whitelisted Marketplace. r=benadida 2012-11-17 08:19:38 -05:00
Jed Parsons
ac891e49f3 Bug 804932 - Pass arbitrary options from RPs to BrowserID internal api methods. r=benadida 2012-11-16 18:34:32 -05:00
Jim Mathies
c9a1df61e0 Bug 810704 - Fixup misc. toolkit resource path issues. r=mak77 2012-11-14 10:24:05 -06:00
Jed Parsons
8a1dc751ec Bug 809265 - Update Identity js and jsm modules to use new global object. r=benadida
--HG--
extra : rebase_source : e28a25b4a6556157532bcd082878ae36f6741607
2012-11-08 20:54:13 -05:00
Bobby Holley
d2fe9d94ec Bug 805807 - Make Components wrapper throw on denial. r=mrbkap
There's really no reason to use the wishy-washy static COW Deny() here.

Also, note that the xpcshell-test wasn't testing what it thought it
was - interfaces is accessible from content code.
2012-11-02 21:47:49 -03:00
Ed Morley
14d92519c8 Backout 23c9f61a243b & 6ca11f4b470c (bug 805807) for mochitest-1 orange in test_contextmenu.html 2012-11-02 14:12:51 +00:00
Bobby Holley
7c2fa965c3 Bug 805807 - Make Components wrapper throw on denial. r=mrbkap
There's really no reason to use the wishy-washy static COW Deny() here.

Also, note that the xpcshell-test wasn't testing what it thought it
was - interfaces is accessible from content code.
2012-11-02 13:27:59 +01:00
Jed Parsons
36f266a34c Bug 806605 - Replace loggedInEmail parameter with loggedInUser. r=benadida 2012-11-01 19:23:14 -04:00
Kyle Huey
45adfbf2c8 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
e6e6deb486 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
7457de64ad Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
a7bb0ec116 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
dd0cfd935a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Jed Parsons
fbc1cbc335 Bug 794680 - Connect gecko to gaia identity ui. r=benadida, r=cjones 2012-10-26 07:39:38 -04:00
Ehsan Akhgari
78b2656cbc Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
03be701616 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04:00
Phil Ringnalda
4440575278 Back out 4f8830d30f62 (bug 794680) for bustage on a CLOSED TREE 2012-10-16 19:58:32 -07:00
Jed Parsons
9563e27ce0 Bug 794680 - Connect gecko to b2g identity ui. r=benadida 2012-10-16 21:34:02 -04:00
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