Commit Graph

100 Commits

Author SHA1 Message Date
Bill McCloskey
b5b7133e4b Bug 706227 - Add way for JS_GC API users to give detailed reason for invocation (r=mccr8) 2012-01-25 10:59:55 -08:00
Phil Ringnalda
fee809b39a Bug 718260 - stop running test_xhrAbort.html on WinXP until it can stop crashing in the middle of the next test, r=khuey 2012-01-23 15:40:39 -08:00
Ben Turner
77ff12daa5 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
8636172c79 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
ea2b9b68ec 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
7360e1201b Bug 677079 - Part j: Stop using js::ContextAllocPolicy in ListenerManager.cpp; r=bent+sfink 2012-01-15 09:13:09 +01:00
Ms2ger
ea843ee873 Bug 677079 - Part d: Move js_GetErrorMessage to jsfriendapi.h; r=jorendorff 2012-01-15 09:13:08 +01:00
Ben Turner
2011976f88 Bug 717173 - 'Crash @ JS_ReportPendingException'. r=khuey. 2012-01-12 08:55:44 -08:00
Ms2ger
4de4e729e4 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
c6ffef4a28 Bug 715417 - Eliminate getPrincipalArray and globalPrivilegesEnabled from JSPrincipals. r=mrbkap 2012-01-06 17:29:02 -08:00
Ben Turner
9b3324ba9e 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
3597eb815a 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
7c17983218 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
51f59f0021 Bug 713645 - Remove superfluous inclusions of jscntxt.h; r=luke 2012-01-02 19:05:19 +01:00
Ben Turner
902225c7b2 Bug 713069 - 'Remove AutoEnterCompartment calls from finalizers and assert'. r=mrbkap. 2011-12-29 13:28:13 -05:00
Ben Turner
f6097f64cf Bug 713728 - 'Workers: Need a shutdown observer topic'. r=mrbkap. 2011-12-29 13:28:09 -05:00
Nicholas Nethercote
13e0ce90ef Bug 708159 - Avoid unnecessary work done by multi-reporters in nsMemoryReporterManager::GetExplicit. r=jlebar,bent. 2011-12-12 19:04:12 -08:00
Ms2ger
08d1075fb2 Bug 713550 - Move Base64 code on nsXPConnect to XPCOM / xpcpublic.h; r=bholley+khuey 2011-12-28 09:13:38 +01:00
Blake Kaplan
d0e14951d1 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
86227c89ab Bug 711404 - Part b: Remove xpc_qsDoubleToUint64; r=bholley 2011-12-24 09:26:18 +01:00
aceman
eb3ebc1fc0 Bug 711721 - merge nsIScriptError and nsIScriptError2 interfaces; r=neil, sr=bzbarsky 2011-12-21 16:51:29 -05:00
Jeff Walden
98dd456fc1 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
40b05d36da Bug 709205 - use GetObserverService in dom,docshell; r=bz 2011-12-09 14:35:37 -05:00
Jeff Walden
87d3f92e61 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
500d9b32b7 Bug 687929 - 'null cx Crash [@ JS_BeginRequest] with dom workers', r=sicking. 2011-12-08 02:52:53 -08:00
Blake Kaplan
2e55f1785d Bug 698621 - Part 1: Implement cross-thread dispatching for web workers. r=bent 2011-12-05 15:58:27 +08:00
Brian Hackett
356489907c Merge MC -> JM 2011-12-03 10:34:26 -08:00
Brian Hackett
4fa421bf15 Merge MC -> JM 2011-11-30 12:45:27 -08:00
Brian Hackett
73956e1912 Merge MC -> JM 2011-11-26 15:03:20 -08:00
Felix Fung
61c8c22ee9 Bug 498543 - Null-checking JS_THIS_OBJECT Results. r=jwalden 2011-12-01 13:30:28 -08:00
Brian Hackett
3afca6b036 Merge MC -> JM 2011-11-14 09:13:33 -08:00
Marco Bonardo
58bfb85dcd Merge mozilla-central and mozilla-inbound 2011-11-11 11:09:58 +01:00
Jonas Sicking
85d26cc74e 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
4c9a62a527 Merge MC -> JM 2011-11-10 12:06:26 -08:00
Ben Turner
eb6c6b2158 Bug 658178 - 'Make XHR2 response/responseType work in Web Workers'. r=jst+sicking+mrbkap. 2011-11-07 17:01:29 -08:00
Brian Hackett
b505334c72 Enter compartment while initializing in CreateDedicatedWorkerGlobalScope, bug 701458. r=bent 2011-11-10 12:04:24 -08:00
Brian Hackett
d24ffb5376 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
1bc3807cee Bug 705356 - Remove JSOPTION_JIT and JSOPTION_PROFILING. r=dvander 2011-11-28 14:57:31 -08:00
Brian Hackett
4823df1b2c Fix uses of native reserved slots in web workers, bug 697537. 2011-10-29 18:26:21 -07:00
Brian Hackett
998f530e8a Fix uses of native reserved slots in web workers, bug 697537. 2011-10-27 15:10:21 -07:00
Marco Bonardo
a72c49ddb7 Backout cb50e96dbee0 (Bug 677079) for Win PGO mochitests failures. 2011-10-22 11:03:26 +02:00
Bill McCloskey
0d988f23d3 Bug 677079 - Remove jscntxt.h from INSTALLED_HEADERS (r=Waldo) 2011-10-20 10:14:24 -07:00
Jeff Walden
21ccc6854b 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
722161f5df Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-06 13:21:58 +00:00
Olli Pettay
a6b0b55ae2 Bug 699925 - support event.stopImmediatePropagation in workers, r=bent 2011-11-05 23:41:16 +02:00
Ben Turner
06cb7a08f0 Bug 698860 - 'Workers: Cycle collector calls DOM worker from wrong thread'. r=sicking. 2011-11-05 12:45:35 -07:00
Ben Turner
a447a07205 Bug 687216 - 'XHR in worker to bogus URI leads to Assertion failure'. r=sicking. 2011-11-05 12:30:56 -07:00
Ed Morley
6a998be2c5 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
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Ben Turner
d22d7ad163 Bug 699857 - 'Workers: Allow data urls'. r=sicking. 2011-11-04 10:57:42 -07:00