Commit Graph

73 Commits

Author SHA1 Message Date
Kyle Huey
2789485d96 Bug 928312: Convert the worker global object and all remaining EventTargets to new DOM bindings. r=bent,peterv,smaug 2013-11-05 22:16:26 +08:00
Kyle Huey
d00c5443e9 Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz 2013-11-05 22:16:24 +08:00
Nikhil Marathe
e932ac968a Bug 930611 - Introduce WorkerType rather than boolean SharedWorker check. r=bent 2013-10-30 16:40:16 -07:00
Eddy Bruel
850a7bf5fc Bug 880330 - Refactor dom to use the new options API (2/2); r=khuey 2013-10-28 12:51:05 +01:00
Ryan VanderMeulen
e9e247b525 Backed out 2 changesets (bug 915757, bug 919885) for frequent Android Armv6 mochitest-8 crashes.
Backed out changeset 04610078280c (bug 915757)
Backed out changeset db9190b3ce60 (bug 919885)
2013-10-14 14:38:54 -04:00
Kyle Huey
09462c8153 Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz 2013-10-14 19:58:05 +08:00
Phil Ringnalda
7f4c6bd321 Backed out 2 changesets (bug 915757, bug 919885) for xpcshell bustage
Backed out changeset 5d17d90b838d (bug 915757)
Backed out changeset 91495d3a91c8 (bug 919885)
2013-10-13 21:59:58 -07:00
Kyle Huey
40ab109140 Bug 919885: Move Worker to WebIDL and thread-agnostic event dispatch. r=bent,bz 2013-10-14 11:10:43 +08:00
Ben Turner
7b97102c91 Bug 643325 - Implement SharedWorker. r=khuey.
--HG--
extra : transplant_source : %D6%8C%9Ajc%3C%F0%0E%DB%C6%7E2%AA%97%B8%AA%B2%7EY%B6
2013-06-05 07:04:23 -07:00
Ehsan Akhgari
b4cc06df88 Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg 2013-09-23 13:25:00 -04:00
Nicholas Nethercote
9d1d4e73b0 Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Kyle Huey
27e346e22d Bug 911258: Part 5 - Use the unified exception handling mechanism on workers. r=bz 2013-09-08 20:29:21 -07:00
Olli Pettay
414342daf2 Bug 910797, make Event.isTrusted to work in workers, r=khuey 2013-08-30 12:47:19 +03:00
Nicholas Nethercote
42ccf38dcd Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Bobby Holley
2ce8f2d13b Bug 903212 - Remove nsIXPCScriptNotify machinery. r=mrbkap 2013-08-14 14:00:03 -07:00
David Dahl
7a1662853b Bug 824652 - crypto.generateCRMFRequest bypasses CSP (allows script execution from a string, without unsafe-eval) r=bsmith r=khuey r=keeler 2013-08-06 21:46:05 -05:00
Ryan VanderMeulen
57186da9cf Backed out changeset a4dd0dc4e354 (bug 824652) for Android M1 orange. 2013-08-05 19:21:17 -04:00
David Dahl
18d09d5877 Bug 824652 - crypto.generateCRMFRequest bypasses CSP (allows script execution from a string, without unsafe-eval) r=bsmith r=khuey r=keeler 2013-08-05 16:15:22 -05:00
Joshua Cranmer
fb0ab49c35 Bug 884061 - Part 3f: Use NS_DECL_THREADSAFE_ISUPPORTS in dom/, r=smaug,dhylands.
--HG--
extra : rebase_source : b8eaae07c54c94c8c46c7ed4c0e226eb74584652
2013-07-18 21:21:20 -05:00
Andrea Marchesini
e0667fed3a Bug 883784 - [Workers] Supporting URL.createObjectURL from a worker created by a jsm, r=bent 2013-06-22 14:48:00 -07:00
Ryan VanderMeulen
a6f27ec5e6 Backed out changeset e8d3827f914c (bug 883784) for mochitest assertions.
CLOSED TREE
2013-06-20 18:36:34 -04:00
Andrea Marchesini
b0ecc5adff Bug 883784 - [Workers] Support URL.createObjectURL from a worker created by a jsm. r=bent 2013-06-20 16:49:36 -04:00
Ben Turner
bdc33f0f46 Bug 873356 - 'Should do shrinking GCs more often for workers'. r=khuey. 2013-05-16 15:49:43 -07:00
Kyle Huey
274e56e33b Bug 854739: Ensure that messages are delivered in order when suspending and resuming workers. r=bent+bholley 2013-06-06 10:28:47 -07:00
Arnaud Sourioux
4f029c7b82 Bug 877746 - Annotate ~230 methods with MOZ_OVERRIDE in /dom. r=Ms2ger 2013-06-05 12:15:48 -04:00
Nathan Froyd
6b5880dddb Bug 871007 - fix clang warning about class/struct mismatch for JS::RuntimeStats; r=bz
In file included from /opt/build/froydnj/build-mc/dom/bindings/BatteryManagerBinding.cpp:9:
/home/froydnj/src/mozilla-central-official.git/dom/workers/WorkerPrivate.h:44:16: warning: class 'RuntimeStats' was previously declared as a struct [-Wmismatched-tags]
namespace JS { class RuntimeStats; }
               ^
../../dist/include/js/MemoryMetrics.h:361:8: note: previous use is here
struct RuntimeStats
       ^
/home/froydnj/src/mozilla-central-official.git/dom/workers/WorkerPrivate.h:44:16: note: did you mean struct here?
namespace JS { class RuntimeStats; }
               ^~~~~
               struct
2013-05-10 16:49:43 -04:00
David Zbarsky
7921fbf41a Bug 868312: Root dom/workers r=bz 2013-05-09 03:27:40 -04:00
David Zbarsky
d0b5eecb70 Bug 868312: Various dom rooting fixes, part 2 r=bz 2013-05-04 03:53:00 -04:00
Nicholas Nethercote
f5378cec64 Bug 859657 (part 2) - Remove nsIMemoryMultiReporter.explicitNonHeap because it's more trouble than it's worth; also remove the "explicit" single reporter. r=jlebar.
--HG--
extra : rebase_source : a146536a3dd0043082bcb1c26d980c4c6d4c0730
2013-04-11 20:52:32 -07:00
Sid Stamm
9cffa13ce4 Bug 687086 - change nsIContentSecurityPolicy to return two values, shouldBlock and shouldReportViolation. r=bz 2012-10-15 13:54:58 -07:00
Masatoshi Kimura
f139345dd5 Bug 587251 - new Worker(badURL) should throw a SECURITY_ERR. r=khuey 2013-03-08 07:27:21 +09:00
Jose Cortes
c8f0394d0c Bug 842186 - Replace a few instances of jsval with JS::Value in the WorkerPrivate class. r=jwalden
--HG--
extra : rebase_source : 5eda1a6052f05d6c4562e1a271cee68d224c8f45
2013-02-20 10:23:40 -08:00
Ben Turner
f6f1ac3cc1 Bug 839117 - 'Don't allow a leaking memory reporter to hang workers'. r=jlebar. 2013-02-08 03:50:00 -08:00
Gregor Wagner
6cbbf2b5b2 Bug 828887 - "unused-arenas" is not freed unless worker is idle for 5 seconds. r=bent 2013-01-10 23:50:40 +01:00
Ben Turner
4a1f82b8ea Bug 827274 - 'crash in [@ anonymous namespace::CTypesActivityCallback(JSContext*, js::CTypesActivityType)], add ctypes closure support to new worker memory reporting mechanism. r=khuey+mrbkap. 2013-01-08 13:57:44 +01:00
Ben Turner
07413737fe Bug 813867 - 'Report memory for web workers that use ctypes'. r=jlebar+jorendorff.
--HG--
extra : rebase_source : 8ecb268167e840f26dd53a774c7e978b15ae3017
2012-12-30 10:21:52 -08:00
Kyle Huey
4cc0a4aebc Bug 823953: Improve sync queue handling. r=bent
--HG--
extra : rebase_source : 04c9eb2a7462d2c94c66b8126507fa690df0f13d
2012-12-21 12:14:47 -08:00
Isaac Aggrey
cbb17fe7b2 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
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
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
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
Olli Pettay
ab1e1ec8fe Bug 787961 - Remove mDocument from WorkerPrivate, r=bent
--HG--
extra : rebase_source : 6f2560f658e365b89bb602d498b082cf84bdaef9
2012-09-05 20:47:57 +03: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
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03: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
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
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