Commit Graph

848 Commits

Author SHA1 Message Date
Zack Weinberg
3613cbaf5f Bug 791003: proper diagnostics rather than bogus NS_NOTREACHED from the HTML parser for character encodings that are blacklisted for XSS smuggling. r=hsivonen 2012-09-18 10:46:30 -04:00
Phil Ringnalda
9589f29bae Bug 705570 - skip every crashtest with an <applet> in it on OS X 10.7 and 10.8, since they leak if Java isn't installed 2012-09-10 19:50:18 -07:00
Daniel Holbert
f32f6b5f8b Bug 789382: Change nsIScriptError methods init() and initWithWindowID() to take nsAString, rather than wchar / PRUnichar*. r=bz sr=bsmedberg 2012-09-09 16:29:12 -07:00
Makoto Kato
c28c020a8f Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Phil Ringnalda
07256e6829 Bug 705046 - Disable the chunks of test_html5_tree_construction_part2.html which touch plugins and thus expose our brokenness on 10.8
--HG--
extra : rebase_source : 566332fd749935688e36c8ed8f2b54d9b8f05ec4
2012-08-30 20:11:21 -07:00
Boris Zbarsky
927e2bc32d Bug 732209 part 3. Communicate the CORS state of preloads to the CSS loader. r=sicking,hsivonen 2012-08-28 13:10:08 -04: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
Aryeh Gregor
3e8b41c23d Bug 782602 - Use NS_FAILED instead of boolean test (parser/html/); r=hsivonen 2012-08-14 12:10:41 +03:00
Aryeh Gregor
e0ab48ca47 Bug 782252 - Use NS_FAILED instead of boolean test for ToInteger()/ToFloat(); r=ehsan 2012-08-13 16:49:48 +03:00
Aryeh Gregor
0923bf00ef Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Honza Bambas
541453729c Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Ms2ger
3f950b5744 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Aryeh Gregor
f41637535d Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +03:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
903f6c9c84 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
e57dd159b2 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Rafael Ávila de Espíndola
c618765189 Bug 774024 - Remove extra ;. r=smaug. 2012-07-15 10:06:09 -04:00
Rafael Ávila de Espíndola
abb98d0694 Bug 774023 - Remove extra ;. r=smaug. 2012-07-15 10:05:06 -04:00
Matthew Noorenberghe
67280af609 Bug 639362 - Display text/cache-manifest data as text. r=bz
--HG--
extra : rebase_source : e8e30229a029b68b199efe7f0fba71dc142de980
2012-07-13 23:13:20 -07:00
Henri Sivonen
557f7f595e Bug 765381 - Make the destructors on nsHtml5ElementName and nsHtml5AttributeName virtual to avoid warnings in clang. r=ehsan
--HG--
extra : rebase_source : 3c2558dfa8ef5389b2acd97f419d2276d4269a8d
2012-07-13 15:04:11 +03:00
David Zbarsky
b7e10925fa Bug 772758 - Clean up some build warnings in html5 parser r=hsivonen 2012-07-13 11:55:21 -07:00
Aryeh Gregor
b0041eadcc Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan 2012-07-13 09:33:42 +03:00
Henri Sivonen
80c8bb96d3 Bug 765620 - When parsing from stream without executing scripts, avoid script execution-related tree ops. r=smaug 2012-06-20 10:05:39 +03:00
Nathan Froyd
a7eb97f896 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
Ed Morley
bb3f6c2bad Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-02 10:03:16 +01:00
Ms2ger
a4ebdb8e6a Bug 767790 - Remove nsIHTMLDocument::{Get,Set}IsFrameset; r=mounir 2012-07-02 08:22:37 +02:00
David Zbarsky
ae718ee1c0 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Jonathan Watt
6380335603 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Ed Morley
953192f529 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-21 20:57:45 +01:00
Olli Pettay
bdc49663e2 Bug 766792 - 'ASSERTION: Somehow there's stuff in the op queue' in nsHtml5TreeOpExecutor::~nsHtml5TreeOpExecutor, r=hsivonen 2012-06-21 17:13:10 +03:00
Randell Jesup
04cb98a9a8 Bug 757637: Rollup makesystem changes for webrtc r=khuey r=ted f=glandium 2012-06-20 07:27:43 -04:00
Henri Sivonen
4f0811d5d3 Bug 764774 - Remove unused variable and object creation from nsParserUtils. r=smaug. 2012-06-15 15:28:28 +03:00
Ryan VanderMeulen
9180278d42 Merge m-c to inbound. 2012-06-14 18:45:40 -04:00
Olli Pettay
d041f5964c Bug 734015 - Slow down parsing of web pages in background tabs, r=hsivonen 2012-06-14 21:00:05 +03:00
Ehsan Akhgari
6e0dbb0661 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 (parser parts); r=hsivonen 2012-06-13 00:07:59 -04:00
Ed Morley
10a18d4b30 Backout 4d93e6ed8a49 (bug 764774) for mochitest-chrome failure in test_bug675492.xul 2012-06-14 14:34:42 +01:00
Henri Sivonen
81f5560927 Bug 764774 - Remove unused variable and object creation from nsParserUtils. r=smaug. 2012-06-14 15:18:58 +03:00
Henri Sivonen
79e3d21a31 Bug 750096. r=bzbarsky. 2012-06-14 09:14:47 +03:00
Nicholas Cameron
d839c86659 Bug 761890 (was 746883); fix unexpected passes due to Azure/Skia canvas. r=gw280,jmuizelaar 2012-04-16 07:49:56 +12:00
Honza Bambas
41779e1714 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Matt Brubeck
8aad0a2626 Back out bug 761890, bug 746896, and bug 759036 because of reftest failures
--HG--
extra : rebase_source : b5bdad8a69eab8e9ba35d21637c0bbcb18bce703
2012-06-11 22:50:31 -07:00
Nicholas Cameron
eca1271801 Bug 761890 (was 746883); fix unexpected passes due to Azure/Skia canvas. r=gw280,jmuizelaar
--HG--
extra : rebase_source : 31938676856235c42f7b95de69cefdcce8cdd8ec
2012-04-16 07:49:56 +12:00
Laurent Dulary
09cc80dcb7 Bug 657938 (1/2) - Implement the content part of the meter element. f=mounir r=smaug,mrbkap 2012-05-16 13:18:33 +02:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Shriram Kunchanapalli
52a4aa2063 Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Gervase Markham
d4eb7d5782 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Ryan VanderMeulen
aea26280da Backout 8cf563a575fd (bug 734015) due to random Moth orange. 2012-05-23 19:27:40 -04:00
Olli Pettay
f7ee740e66 Bug 734015 - Try to slow down parsing of web pages in background tabs, r=hsivonen 2012-05-23 15:55:13 +03:00