Andrea Marchesini
2cfa5a3d14
Bug 720083 - Workers: add support for transferable objects from HTML5 spec. r=sphink, r=bent
2012-10-03 18:19:22 -04:00
Kyle Huey
ecf8a9c7b5
Bug 785248: Clear the worker's queue when terminating, even if we never ran any script. r=bent
...
--HG--
extra : rebase_source : 22d58a0845298b35c79805ec256cc56e6c3ce1fc
2012-10-02 19:03:28 -07:00
Isaac Aggrey
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Phil Ringnalda
e587aae42c
Back out b24a73b2c617 for Windows build bustage and test_xhr_timeout.html failure
2012-09-27 21:24:42 -07:00
Andrea Marchesini
7f0785e84a
Bug 720083 - Workers: add support for transferable objects from HTML5 spec. r=sphink, r=bent
2012-09-27 23:05:59 -04:00
Terrence Cole
68f1a7379e
Bug 791322 - Move Rooted to js:: namespace; r=billm
...
These should not be part of the public API.
--HG--
extra : rebase_source : 00a69ee54f06e3f557cd9ec2f3b059df10aa32df
2012-09-24 18:08:22 -07:00
Andrea Marchesini
6fd0393c62
Bug 793020. r=bent
2012-09-22 08:45:00 -04:00
Andrea Marchesini
138320e12d
Bug 761227 - Support XMLHttpRequestParameters in workers. r=bent
2012-09-16 20:20:16 -04:00
Andrea Marchesini
360071129f
Bug 609748 - Workers: If CSP blocks eval in a page, eval should also be blocked in workers created by that page. r=bent
2012-09-15 14:51:55 -04: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
Olli Pettay
ab1e1ec8fe
Bug 787961 - Remove mDocument from WorkerPrivate, r=bent
...
--HG--
extra : rebase_source : 6f2560f658e365b89bb602d498b082cf84bdaef9
2012-09-05 20:47:57 +03:00
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Benjamin Peterson
ee202a3ffe
Bug 781035 followup - fix indentation. r=me
2012-08-27 08:21:27 -04:00
Benjamin Peterson
de7d529c1c
Bug 781035 - Use the C++ JS compile API in more places. r=jorendorff sr=jst
2012-08-27 08:04:37 -04:00
Luke Wagner
94264a0bc8
Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
...
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -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
Ian Melven
7f546c9171
Bug 341604 - workaround for workers wanting a string origin r=jst
2012-08-20 11:34:32 -07:00
Aryeh Gregor
0923bf00ef
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Kyle Huey
0162654f53
Bug 758125: Don't rely on the order of the timeout array to discard expired timeouts. Check explicitly instead. r=bent
...
--HG--
extra : rebase_source : 7476aff4c01ee5407cd2419be0ddd4662ccc9dd9
2012-08-10 09:10:22 -07:00
Kyle Huey
f4bafa6532
Bug 774732: Always modify the busy count in NotifyRunnable to avoid busy count mismatches. r=bent
2012-08-07 14:38:46 -07:00
Kyle Huey
13f4121fd8
Bug 774770: Move the assertion to after the code that handles the cases the assertion guards against. r=bent
2012-08-06 08:29:03 -07:00
Aryeh Gregor
f41637535d
Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz
2012-08-06 15:02:08 +03:00
Ed Morley
1b0ed1cf7a
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-02 14:19:18 +01:00
Jan Varga
05726a5a1a
Bug 778023 - Need to figure out how cycle collected DOM files are supposed to play with workers. r=bent. Make worker.postMessage() to just throw for now.
2012-08-02 07:34:26 +02:00
Tim Taubert
2105c7e3b4
Bug 779445 - SegFault in WorkerMemoryReporter because it accesses mWorkerPrivate when null; r=bent
2012-08-01 17:23:13 +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
Nicholas Nethercote
d3831f9782
Bug 749010 (part 2) - Move code around to merge two anonymous namespaces; no functional changes. r=bent.
2012-07-12 23:51:01 -07:00
Nicholas Nethercote
c571f4c861
Bug 749010 (part 1) - Make WorkerMemoryReporter less crashy. r=bent.
...
--HG--
extra : rebase_source : 9c73e73ef71968236ed15cf5e7afab3d113a350a
2012-05-29 19:39:38 -07:00
Andrew McCreight
97d04b5f84
Bug 704623 - Track memory used by orphan DOM nodes. code=mccr8,njn. r=njn,mccr8.
...
--HG--
extra : rebase_source : f4a4b6e1b1de35a08e86130110a6fbd588093867
2012-04-20 14:01:33 +10:00
Nicholas Nethercote
c27840e9f1
Bug 687724 (part 3) - Report JS memory consumption for compartments that are associated with |window| objects under "window-objects". r=bholley,jlebar,luke.
...
--HG--
extra : rebase_source : 20329a698154ef61cea74247d3dccc9f01899829
2012-07-05 21:12:37 -07:00
Blake Kaplan
71e3941c1e
Bug 769265 - Fix these calls. r=bent
2012-06-28 16:14:11 +02:00
Masatoshi Kimura
98ef9db613
Bug 764916 - Replace nsDOMClassInfo::ThrowJSException with xpc::Throw. r=mrbkap
2012-06-19 19:01:10 -04:00
Julian Seward
eb71d57a7d
Bug 763842 - Fix uninitialised value use in dosprintf(SprintfStateStr*, char const*, std::__va_list). r=njn
2012-06-19 19:01:10 -04:00
Ehsan Akhgari
d8df82ca0f
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 (dom parts); r=bzbarsky
2012-06-14 22:31:55 -04:00
Peter Van der Beken
1196e09714
Fix for bug 741263 (Paris bindings constructors shouldn't abuse reserved identifiers). r=bz.
...
--HG--
extra : rebase_source : cec6a0ffc58f3d7d262dc9658d52aac424ec715a
2012-04-26 22:57:33 +02:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Kyle Huey
1be094212a
Bug 725499. r=bent
2012-05-14 11:29:41 -07:00
Tom Schuster
fb630ae705
Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
2012-05-11 17:46:26 +02:00
Ed Morley
79899a6f75
Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange
2012-05-11 18:25:52 +01:00
Tom Schuster
1941fb1bb4
Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
...
--HG--
extra : rebase_source : edf2077f8b8bad1970eab6ebe9996e761d4e596c
2012-05-11 17:46:26 +02:00
Boris Zbarsky
6dbb365bb0
Bug 751458. Don't let DOM workers confuse the slow-script time accounting and trigger slow script dialogs. r=bent
2012-05-04 03:22:18 -04:00
Masatoshi Kimura
0452126e19
Bug 744910 - Remove FileException from workers. r=bent
2012-04-24 19:50:00 -04:00
Matt Brubeck
2993d5d45a
Back out a0bc511b1d75 (bug 744910) and c85d6a254baa (bug 673752) on suspicion of causing Win debug "make check" hangs
2012-04-24 20:47:13 -07:00
Masatoshi Kimura
7a010701c4
Bug 744910 - Remove FileException from workers. r=bent
2012-04-24 19:50:00 -04:00
Bobby Holley
a65a297734
Bug 743615 - Hook up worker ImageData to the structured clone stream. r=bent
2012-04-24 12:58:08 +02:00
Bobby Holley
6de4e1495d
Bug 743615 - MainThreadWorkerStructuredCloneCallbacks should not call the WorkerStructuredCloneCallbacks variants. r=bent
...
Doing so makes no sense. It seems like a no-op right now because we handle all the same cases first. But it's a hazard, and a problem for my upcoming patches.
2012-04-24 12:58:07 +02:00
Ms2ger
c6ce9f7d79
Bug 741349 - Get rid of the mozilla::xpconnect::memory namespace; r=bholley
2012-04-14 15:05:19 +02:00
Ms2ger
8299fe6b09
Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes.
2012-04-14 17:52:34 +02:00
Ms2ger
5a16b6f2fa
Bug 741349 - Get rid of the mozilla::xpconnect::memory namespace; r=bholley
2012-04-14 15:05:19 +02:00