Andrea Marchesini
ec8c04607a
Bug 793020. r=bent
2012-09-22 08:45:00 -04:00
Andrea Marchesini
843fcc1b9b
Bug 761227 - Support XMLHttpRequestParameters in workers. r=bent
2012-09-16 20:20:16 -04:00
Andrea Marchesini
2c244e7afa
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
f8dfa24152
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
ed667ac966
Bug 787961 - Remove mDocument from WorkerPrivate, r=bent
...
--HG--
extra : rebase_source : 6f2560f658e365b89bb602d498b082cf84bdaef9
2012-09-05 20:47:57 +03:00
Randell Jesup
29ac5c0b8c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Benjamin Peterson
fce6b1df96
Bug 781035 followup - fix indentation. r=me
2012-08-27 08:21:27 -04:00
Benjamin Peterson
d76d19dc3d
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
ce71e55555
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
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
Ian Melven
4336b975f7
Bug 341604 - workaround for workers wanting a string origin r=jst
2012-08-20 11:34:32 -07:00
Aryeh Gregor
982100775b
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Kyle Huey
997965d339
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
2398c488a5
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
8722c70b2e
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
5662d18449
Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz
2012-08-06 15:02:08 +03:00
Ed Morley
531252f669
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-02 14:19:18 +01:00
Jan Varga
ee4312324e
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
f8ef19f7d3
Bug 779445 - SegFault in WorkerMemoryReporter because it accesses mWorkerPrivate when null; r=bent
2012-08-01 17:23:13 +02:00
Aryeh Gregor
2e7996f8d1
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Nicholas Nethercote
b598a96a3c
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
4c080fd062
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
745479e48c
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
d9d85b82d7
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
99bfdd86fe
Bug 769265 - Fix these calls. r=bent
2012-06-28 16:14:11 +02:00
Masatoshi Kimura
0a16a56d7f
Bug 764916 - Replace nsDOMClassInfo::ThrowJSException with xpc::Throw. r=mrbkap
2012-06-19 19:01:10 -04:00
Julian Seward
d03805787b
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
30e49b6b7c
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
5e88453bf6
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
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Kyle Huey
e2498d066e
Bug 725499. r=bent
2012-05-14 11:29:41 -07:00
Tom Schuster
889e3a0487
Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
2012-05-11 17:46:26 +02:00
Ed Morley
4c4c3cfd18
Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange
2012-05-11 18:25:52 +01:00
Tom Schuster
6e0861373a
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
a9d75ac5fd
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
834ce504b5
Bug 744910 - Remove FileException from workers. r=bent
2012-04-24 19:50:00 -04:00
Matt Brubeck
c9d5f18376
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
c7443b0f63
Bug 744910 - Remove FileException from workers. r=bent
2012-04-24 19:50:00 -04:00
Bobby Holley
939c4a06cc
Bug 743615 - Hook up worker ImageData to the structured clone stream. r=bent
2012-04-24 12:58:08 +02:00
Bobby Holley
acf56c392a
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
cd73c4ce46
Bug 741349 - Get rid of the mozilla::xpconnect::memory namespace; r=bholley
2012-04-14 15:05:19 +02:00
Ms2ger
b8ae2456b2
Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes.
2012-04-14 17:52:34 +02:00
Ms2ger
f8dc9d4d20
Bug 741349 - Get rid of the mozilla::xpconnect::memory namespace; r=bholley
2012-04-14 15:05:19 +02:00
Igor Bukanov
d3018bc6d8
Bug 737364 - part 2 - replace JSContext with JSRuntime in the GC-related API
...
This part replaces the JSContext *cx argument in most GC-related API
with JSRuntime *rt. When possible, the patch removes the code to obtain
a temporary cx just to run the GC.
The patch also removes JS_DestroyContextMaybeGC. That function is not
used in FF code base and its implementation is broken. It requires that
the context has an entered compartment when it is destroyed, which in
turns implies a missing leave compartment call.
2012-03-28 12:13:30 +02:00
Bill McCloskey
714dde6b82
Bug 742570 - Change API for compartment GCs (r=igor)
2012-04-03 12:23:11 -07:00
Bill McCloskey
210b823250
Bug 742570 - Remove the compartment option for gczeal (r=igor)
2012-04-03 11:41:56 -07:00
Julian Seward
113f571e76
Bug 726590: Fix uninitialised value use in nsEventListenerManager::HandleEventInternal. r=smaug
2012-04-04 11:23:09 -07:00
Igor Bukanov
1442822e5c
Bug 737365 - stop using the cx during finalization, part 2.
...
This parts removes the usage of JSContext* during the finalization in
Web Workers and JS shells implementations. With this chnages JSContext * is only
accessed during the finalization in the SpiderMonkey implementation.
2012-03-19 15:34:58 +01:00
Igor Bukanov
3a859b7a76
Bug 737365 - stop using the cx during finalization, part 1.
...
This part changes the signatures for various finalization API to take
not JSContext* but rather either JSFreeOp structure or its
library-private counterpart FreeOp. These structures wrap parameters
that are passed to the finalizers removing most of explicit dependencies
on JSContext in the finalization code.
2012-03-19 15:34:55 +01:00