Commit Graph

98 Commits

Author SHA1 Message Date
Ben Turner
ed78ee5e53 Bug 718202. r=jst.
--HG--
extra : transplant_source : %1En%B7%8CN%F4kl%A8%3D%8C%8A%99%9A%10%F7%F4o%01l
2012-01-18 10:05:38 -08:00
Ben Turner
05e0f51928 Bug 718311. r=mrbkap.
--HG--
extra : transplant_source : %BB%A6%E6%5E%D5%21E%11m%82%1AM%87%94%0C%E6%9A%5C%95e
2012-01-17 12:06:10 -08:00
Ben Turner
630b235004 Bug 718100 - 'Web workers should GC more'. r=mrbkap.
--HG--
extra : transplant_source : %03D%F4%26%AA%03T%8A%B9%B7%27%AF%D4%8C%85%B2%DB%DFf%EF
2012-01-17 12:05:25 -08:00
Ms2ger
e684879904 Bug 677079 - Part j: Stop using js::ContextAllocPolicy in ListenerManager.cpp; r=bent+sfink 2012-01-15 09:13:09 +01:00
Ms2ger
6b0c6353bd Bug 677079 - Part d: Move js_GetErrorMessage to jsfriendapi.h; r=jorendorff 2012-01-15 09:13:08 +01:00
Ben Turner
6d315af78e Bug 717173 - 'Crash @ JS_ReportPendingException'. r=khuey. 2012-01-12 08:55:44 -08:00
Ms2ger
ba150c988a Bug 714264 - Part c: Move IterateData / CollectCompartmentStatsForRuntime / GetExplicitNonHeapForRuntime to js/MemoryMetrics.h; r=njn
This patch also removes those APIs exposed in js/MemoryMetrics.h that aren't
used anymore.
2012-01-11 09:23:08 +01:00
Bobby Holley
9f17b789c2 Bug 715417 - Eliminate getPrincipalArray and globalPrivilegesEnabled from JSPrincipals. r=mrbkap 2012-01-06 17:29:02 -08:00
Ben Turner
457c3ab479 Bug 715756: Workers: Enable TI and allow JIT hardening to be disabled. r=sicking.
--HG--
extra : transplant_source : J%CD%B8%E0V%AE%C2B%8D%80%F1%29%B12%B6SQ%08o%60
2012-01-05 17:51:21 -08:00
Ben Turner
6a730276ef Bug 711388 - 'WORKER_RUNTIME_HEAPSIZE too small for big PDFs in PDF.JS'. r=sicking.
--HG--
extra : transplant_source : %0E%A8%917%A6ak%16%C4%B0%02%B9G%BE%C3%24L%12%BEd
2012-01-04 11:11:32 -08:00
Landry Breuil
ee53065fa8 Bug 714332 - Fix uint64 types usage in dom/workers and dom/base; r=bent
Use uint64_t where appropriate for mData, fails to build on OpenBSD
otherwise with wrong casts/no matching template.

dom/base/nsStructuredCloneContainer.cpp:96: error: invalid conversion from 'PRUint64*' to 'uint64_t*'
dom/base/nsStructuredCloneContainer.cpp:131: error: invalid conversion from 'PRUint64*' to 'uint64_t*'
dom/workers/WorkerPrivate.cpp:822: error: no matching function for call to 'JSAutoStructuredCloneBuffer::steal(uint64**, size_t*)'
../../dist/include/jsapi.h:4641: note: candidates are: void
JSAutoStructuredCloneBuffer::steal(uint64_t**, size_t*, uint32_t*) <near
match>
dom/workers/WorkerPrivate.cpp:833: error: no matching function for call to 'JSAutoStructuredCloneBuffer::adopt(uint64*&, size_t&)'
../../dist/include/jsapi.h:4634: note: candidates are: void
JSAutoStructuredCloneBuffer::adopt(uint64_t*, size_t, uint32_t) <near
match>
dom/workers/WorkerPrivate.cpp:853: error: no matching function for call to 'JSAutoStructuredCloneBuffer::steal(uint64**, size_t*)'
../../dist/include/jsapi.h:4641: note: candidates are: void
JSAutoStructuredCloneBuffer::steal(uint64_t**, size_t*, uint32_t*) <near
match>
2012-01-02 19:08:14 +01:00
Ms2ger
1415925d63 Bug 713645 - Remove superfluous inclusions of jscntxt.h; r=luke 2012-01-02 19:05:19 +01:00
Ben Turner
04e3a745b2 Bug 713069 - 'Remove AutoEnterCompartment calls from finalizers and assert'. r=mrbkap. 2011-12-29 13:28:13 -05:00
Ben Turner
084e1e581a Bug 713728 - 'Workers: Need a shutdown observer topic'. r=mrbkap. 2011-12-29 13:28:09 -05:00
Nicholas Nethercote
5c8cc7d9f5 Bug 708159 - Avoid unnecessary work done by multi-reporters in nsMemoryReporterManager::GetExplicit. r=jlebar,bent. 2011-12-12 19:04:12 -08:00
Ms2ger
a63b21f505 Bug 713550 - Move Base64 code on nsXPConnect to XPCOM / xpcpublic.h; r=bholley+khuey 2011-12-28 09:13:38 +01:00
Blake Kaplan
f81b042b92 Bug 712341 - Make dump in workers show up in adb logcat. r=bent
--HG--
extra : rebase_source : c17d8195b47dd908fa98e371b12647ccfccfc760
2011-12-07 02:29:34 -08:00
Ms2ger
50d587dc7e Bug 711404 - Part b: Remove xpc_qsDoubleToUint64; r=bholley 2011-12-24 09:26:18 +01:00
aceman
42a71aa907 Bug 711721 - merge nsIScriptError and nsIScriptError2 interfaces; r=neil, sr=bzbarsky 2011-12-21 16:51:29 -05:00
Jeff Walden
b2d881279f Bug 711799 - Fix a bunch of initializing-pointer-from-boolean warnings. r=dholbert
--HG--
extra : rebase_source : 4a5d03b10ad8ac4eaff222037ba3400a26e7cf55
2011-12-18 01:00:47 -05:00
Nathan Froyd
374a916108 Bug 709205 - use GetObserverService in dom,docshell; r=bz 2011-12-09 14:35:37 -05:00
Jeff Walden
476c7d19c5 Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin 2011-12-08 22:54:10 -05:00
Ben Turner
f1cab246c1 Bug 687929 - 'null cx Crash [@ JS_BeginRequest] with dom workers', r=sicking. 2011-12-08 02:52:53 -08:00
Blake Kaplan
cc0566f793 Bug 698621 - Part 1: Implement cross-thread dispatching for web workers. r=bent 2011-12-05 15:58:27 +08:00
Brian Hackett
f0c35c0584 Merge MC -> JM 2011-12-03 10:34:26 -08:00
Brian Hackett
5ecccc93ab Merge MC -> JM 2011-11-30 12:45:27 -08:00
Brian Hackett
c3b9744976 Merge MC -> JM 2011-11-26 15:03:20 -08:00
Felix Fung
2a48036e59 Bug 498543 - Null-checking JS_THIS_OBJECT Results. r=jwalden 2011-12-01 13:30:28 -08:00
Brian Hackett
cc15146e95 Merge MC -> JM 2011-11-14 09:13:33 -08:00
Marco Bonardo
8c72c90eb0 Merge mozilla-central and mozilla-inbound 2011-11-11 11:09:58 +01:00
Jonas Sicking
474f1c853c Bug 687220: Add test for event handlers on the xhr.upload object in workers. r=bent 2011-11-10 16:29:34 -08:00
Brian Hackett
09aa4d18f6 Merge MC -> JM 2011-11-10 12:06:26 -08:00
Ben Turner
dbd7d35169 Bug 658178 - 'Make XHR2 response/responseType work in Web Workers'. r=jst+sicking+mrbkap. 2011-11-07 17:01:29 -08:00
Brian Hackett
1481852030 Enter compartment while initializing in CreateDedicatedWorkerGlobalScope, bug 701458. r=bent 2011-11-10 12:04:24 -08:00
Brian Hackett
6697a98273 Merge MC -> JM
--HG--
rename : js/src/frontend/BytecodeGenerator.cpp => js/src/frontend/BytecodeEmitter.cpp
rename : js/src/frontend/BytecodeGenerator.h => js/src/frontend/BytecodeEmitter.h
rename : js/src/frontend/Parser.cpp => js/src/frontend/SemanticAnalysis.cpp
2011-11-02 09:23:25 -07:00
Ryan VanderMeulen
c99172b952 Bug 705356 - Remove JSOPTION_JIT and JSOPTION_PROFILING. r=dvander 2011-11-28 14:57:31 -08:00
Brian Hackett
0782bac491 Fix uses of native reserved slots in web workers, bug 697537. 2011-10-29 18:26:21 -07:00
Brian Hackett
30c97a5ecc Fix uses of native reserved slots in web workers, bug 697537. 2011-10-27 15:10:21 -07:00
Marco Bonardo
5a3249e076 Backout cb50e96dbee0 (Bug 677079) for Win PGO mochitests failures. 2011-10-22 11:03:26 +02:00
Bill McCloskey
222d42bf92 Bug 677079 - Remove jscntxt.h from INSTALLED_HEADERS (r=Waldo) 2011-10-20 10:14:24 -07:00
Jeff Walden
d914c7c079 Pick up a few straggler uses of {NS,JS}_ARRAY_LENGTH, probably added since the switch but before the deprecation announcement, and convert them to mozilla::ArrayLength. Also convert the two users of PR_ARRAY_SIZE, yet another length-computing macro, to mozilla::ArrayLength. No bug, r=sparky
--HG--
extra : rebase_source : f019e35a037516df872d0efb7262fa9c475f903c
2011-10-21 03:16:47 -07:00
Ed Morley
c29c633b6f Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-06 13:21:58 +00:00
Olli Pettay
31055dabf2 Bug 699925 - support event.stopImmediatePropagation in workers, r=bent 2011-11-05 23:41:16 +02:00
Ben Turner
0fb1dac7ba Bug 698860 - 'Workers: Cycle collector calls DOM worker from wrong thread'. r=sicking. 2011-11-05 12:45:35 -07:00
Ben Turner
55252ca5fd Bug 687216 - 'XHR in worker to bogus URI leads to Assertion failure'. r=sicking. 2011-11-05 12:30:56 -07:00
Ed Morley
7bc582f20f Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Ben Turner
eb622514af Bug 699857 - 'Workers: Allow data urls'. r=sicking. 2011-11-04 10:57:42 -07:00
Ben Turner
17d7b1154e Bug 699633 - "Inline workers broken". r=sicking, test by Jussi Kalliokoski <jussi.kalliokoski@gmail.com>. 2011-11-04 09:32:17 -07:00
Ben Turner
bb4c39fde1 Bug 687220 - 'XHR POST in worker with null body and upload load event listener leads to Assertion failure'. r=mrbkap. 2011-11-03 19:51:33 -07:00