Commit Graph

964 Commits

Author SHA1 Message Date
Philipp von Weitershausen
0154a7b0b8 Bug 776832 - Add a scriptable API to assert app permissions of apps through messagemanager. r=smaug 2012-09-26 00:41:51 -07:00
Sid Stamm
59b413b8c8 Bug 768029 - Apply CSP Policy to trusted and certified apps. Temporarily using a overly permissive policy for certified apps until Gaia is updated to handle the desired policy. r=sicking Parts by sicking, r=mounir 2012-09-25 16:28:17 -07:00
Fabrice Desré
43f63c647e Backout Bug 768029 because that breaks Gaia (see https://github.com/mozilla-b2g/gaia/issues/5177) 2012-09-25 15:32:20 -07:00
Sid Stamm
e00d2f38e0 bug 768029 - Apply CSP Policy to trusted and certified apps. r=sicking. Parts by sicking, r=mounir. 2012-08-02 12:13:53 -07:00
Henri Sivonen
9bc15d1691 Test for bug 750096 - Make sure nsIParserUtils::parseFragment does not dereference <embed src=javascript:...>. r=bzbarsky. 2012-09-25 10:29:23 +03:00
Bobby Holley
9f03f90fb7 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
7f912ddc79 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
Matt Brubeck
03785bab72 Bug 716575 (4/4) - Tests for GetViewportInfo [r=dbaron] 2012-09-10 18:53:24 -07:00
Ms2ger
1e7015f897 Merge PGO-green changeset from m-i to m-c. 2012-09-20 11:51:47 +02:00
Ms2ger
05d200bad7 Bug 744907 - Remove BlobBuilder; r=sicking 2012-09-20 09:55:36 +02:00
Boris Zbarsky
b2a0b52a75 Bug 789856. Fire error events on <script> elements which completely fail to start the load. r=sicking 2012-09-18 23:24:27 -04:00
Adam Dane [:hobophobe]
58808c3d56 Bug 87717 - Allow offline mode to connect to loopback r=mcmanus sr=cbiesinger 2012-09-17 18:45:10 -05:00
Matt Brubeck
8f85d6a619 Back out ae2e45d25a1a, 4f144a06d0cc, 2e80be1d7d18 (bug 716575) for Android Talos red 2012-09-17 11:11:30 -07:00
Matt Brubeck
f4948932bf Bug 716575 (4/4) - Tests for GetViewportInfo [r=dbaron]
--HG--
extra : rebase_source : 906250f6fbe6ad8cf5e173f7f0e7622b2d75c1b3
2012-09-10 18:53:24 -07:00
Tanvi Vyas
29c1c82c22 Bug 62178 - Mochitest - iframe, stylesheet, object, script, image, media, xhr (Disabled on android until ssl is supported), r=smaug 2012-09-16 20:53:01 -07:00
Andrea Marchesini
138320e12d Bug 761227 - Support XMLHttpRequestParameters in workers. r=bent 2012-09-16 20:20:16 -04:00
Phil Ringnalda
ef3b931869 Back out 562ba2baa5b3 and 5065dd13b53d (bug 62178) for Android mochitest-1 failure 2012-09-16 15:24:58 -07:00
Tanvi Vyas
13011a50a1 Bug 62178 - Mochitest - iframe, stylesheet, object, script, image, media, xhr r=smaug 2012-09-16 13:13:25 -07:00
Phil Ringnalda
e91fd8ea3f Backout 38052fd23aec, 910406b62ebc, 7b15c079564c, d7c1d26f8bc9 (bug 716575) for probable reftest and certain talos bustage on Android 2012-09-10 20:57:31 -07:00
Matt Brubeck
6cd86ad5d7 Bug 716575 (4/4) - Tests for GetViewportInfo [r=dbaron] 2012-09-10 18:53:24 -07:00
Lucas Adamski
0e0746c16e Bug 634778 - Warn and skip when duplicate CSP directives are detected. (r=geekboy) 2012-09-19 13:41:38 -07:00
Boris Zbarsky
0644c2b46d Bug 788369 followup. Fix test to reflect the new world. r=bustage 2012-09-07 12:11:04 -04:00
Boris Zbarsky
d134bc7fd5 Bug 780529. Make people poking XHR via random XPCOM interfaces actually work as long as they stick to GetInterface. r=peterv 2012-09-07 10:51:35 -04:00
John Schoenick
6c657c7493 Backout a6f040934c99 (Bug 548133) for reftest orange 2012-09-05 14:58:17 -07:00
John Schoenick
89dd8205be Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh 2012-09-05 14:02:06 -07:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Abhishek Potnis
0df3829f77 Bug 785319 - Don't throw when setting WebSocket.binaryType to an invalid value; f=Ms2ger r=smaug
--HG--
extra : rebase_source : 2153ba6ecd98583e09c83208949e5f78042c0e37
2012-08-25 16:57:59 +05:30
Jonas Sicking
c16e6a81aa Bug 689328: Try to fix intermittent orange in test_xhr_progressevent.html by waiting until "close" requests finish before starting next request. r=khuey 2012-08-31 18:34:33 -03:00
Kyle Huey
c25f8e64ef Bug 687332: Part 2 - Move event handlers off of DOM objects and keep track of them solely in the event listener manager. r=smaug,bz 2012-08-30 20:45:16 -07:00
Olli Pettay
ec8a1d0493 Bug 784259 - nsDOMMutationObserver should inherit nsWrapperCache, r=peterv 2012-08-28 18:25:19 +03:00
Andrea Marchesini
4924648d1f Bug 782342 - blob: protocol no Content-Length header. r=sicking 2012-08-27 19:34:29 -04:00
Phil Ames
cd2459e50f Bug 690168. Implement the 'Allow-From' directive for X-Frame-Options. r=bzbarsky 2012-08-27 15:46:24 -04:00
Marshall Moutenot
bb2f4a9d43 Bug 784315 - fix CSP parser to handle single-token hosts via regex correctly. r=geekboy 2012-08-27 08:51:02 -07:00
Philipp von Weitershausen
5801c8b2ab 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
Bobby Holley
7d93b33884 Bug 784560 - Fix more tests. r=mccr8 2012-08-23 11:45:28 -07:00
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
Gregor Wagner
fc14a541a1 Bug 781331 - Hook up systemXHR to permissions manager. r=sicking 2012-08-17 17:42:00 -07:00
Sid Stamm
8b2cf899c7 Bug 783497 - Fix CSPSource expression intersection to resolve "self" data. (r=jst) 2012-08-17 15:03:24 -07:00
Marshall Moutenot
ae371ade93 Bug 737064 - sync CSP source-expression parsing with w3c spec (r=geekboy)
--HG--
extra : rebase_source : 895ec1b90e688f14e5c19af1411c4b2631cbc818
2012-08-16 11:02:17 -07:00
Ed Morley
9cdd0db8cb Merge mozilla-central to mozilla-inbound 2012-08-15 19:00:48 +01:00
Gregor Wagner
f79e6cb659 Bug 781355 - Hook up mozBrowser to Permission Manager. r=jlebar 2012-08-15 10:22:30 -07:00
Ed Morley
42369890c2 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-15 16:17:53 +01:00
Olli Pettay
aeda425867 Bug 780199 - better mutationobserver handling when attribute value doesn't change, r=sicking 2012-08-15 13:06:01 +03:00
Mark Capella
7e0b8d3bac Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Misc Folders, r=ted
Content, DOM, Image, JS, RDF, and URILoader folders
2012-08-14 10:06:17 -04:00
Bobby Holley
ef3a2ff757 Bug 781521 - Fix Message Manager blob test. r=Ms2ger 2012-08-14 20:54:33 -07:00
Alexandre D'Eschambeault
7d7c542db1 Bug 751452 - Prevent DNT modification in unprivileged mode + test case. r=khuey 2012-08-13 22:47:19 -04:00
Simon Montagu
f8086abda8 Tests for dir(ltr/rtl) CSS selector. bug 562169, r=bz 2012-04-17 07:01:29 +03:00
Bobby Holley
364da93593 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
William Chen
7a0429e652 Bug 778420 - Initial stab at the tests. v2 r=bholley
--HG--
extra : rebase_source : c24abc031c82a87f2f669e4b708f8ee364a9682b
2012-08-06 22:15:49 +02:00
Gijs Kruitbosch
373fda679f Bug 778420 - Fix test_bug372964. r=bholley
--HG--
extra : rebase_source : 7d87cacdf187e743f40b6d56741e7d71101b58ec
2012-08-03 22:19:54 +02:00