Граф коммитов

93 Коммитов

Автор SHA1 Сообщение Дата
Ben Turner 712327bf13 Bug 717173 - 'Crash @ JS_ReportPendingException'. r=khuey. 2012-01-12 08:55:44 -08:00
Ms2ger ddea4e045a 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 afcb8f3ff9 Bug 715417 - Eliminate getPrincipalArray and globalPrivilegesEnabled from JSPrincipals. r=mrbkap 2012-01-06 17:29:02 -08:00
Ben Turner e81ff3f1fd 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 48ac2a01b2 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 29474753d7 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 766a34f6ff Bug 713645 - Remove superfluous inclusions of jscntxt.h; r=luke 2012-01-02 19:05:19 +01:00
Ben Turner 95379493ab Bug 713069 - 'Remove AutoEnterCompartment calls from finalizers and assert'. r=mrbkap. 2011-12-29 13:28:13 -05:00
Ben Turner 72f4d811db Bug 713728 - 'Workers: Need a shutdown observer topic'. r=mrbkap. 2011-12-29 13:28:09 -05:00
Nicholas Nethercote 01617bd3af Bug 708159 - Avoid unnecessary work done by multi-reporters in nsMemoryReporterManager::GetExplicit. r=jlebar,bent. 2011-12-12 19:04:12 -08:00
Ms2ger e27ef6c21a Bug 713550 - Move Base64 code on nsXPConnect to XPCOM / xpcpublic.h; r=bholley+khuey 2011-12-28 09:13:38 +01:00
Blake Kaplan 6739b8a50b 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 845f60f31f Bug 711404 - Part b: Remove xpc_qsDoubleToUint64; r=bholley 2011-12-24 09:26:18 +01:00
aceman 002cb306a6 Bug 711721 - merge nsIScriptError and nsIScriptError2 interfaces; r=neil, sr=bzbarsky 2011-12-21 16:51:29 -05:00
Jeff Walden cb96a0d29e 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 749ca58a65 Bug 709205 - use GetObserverService in dom,docshell; r=bz 2011-12-09 14:35:37 -05:00
Jeff Walden 735580ff0e 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 91c797ddd7 Bug 687929 - 'null cx Crash [@ JS_BeginRequest] with dom workers', r=sicking. 2011-12-08 02:52:53 -08:00
Blake Kaplan ba994a2911 Bug 698621 - Part 1: Implement cross-thread dispatching for web workers. r=bent 2011-12-05 15:58:27 +08:00
Brian Hackett f9e447082c Merge MC -> JM 2011-12-03 10:34:26 -08:00
Brian Hackett 71bdcbc4f5 Merge MC -> JM 2011-11-30 12:45:27 -08:00
Brian Hackett bdc95774d5 Merge MC -> JM 2011-11-26 15:03:20 -08:00
Felix Fung 56ac104d63 Bug 498543 - Null-checking JS_THIS_OBJECT Results. r=jwalden 2011-12-01 13:30:28 -08:00
Brian Hackett 3b10c64bdc Merge MC -> JM 2011-11-14 09:13:33 -08:00
Marco Bonardo 8f5a2ceab1 Merge mozilla-central and mozilla-inbound 2011-11-11 11:09:58 +01:00
Jonas Sicking eb6d092930 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 937a3d2c97 Merge MC -> JM 2011-11-10 12:06:26 -08:00
Ben Turner 408f05bed8 Bug 658178 - 'Make XHR2 response/responseType work in Web Workers'. r=jst+sicking+mrbkap. 2011-11-07 17:01:29 -08:00
Brian Hackett c67bb40759 Enter compartment while initializing in CreateDedicatedWorkerGlobalScope, bug 701458. r=bent 2011-11-10 12:04:24 -08:00
Brian Hackett 0c13c6848e 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 c8b2d72d22 Bug 705356 - Remove JSOPTION_JIT and JSOPTION_PROFILING. r=dvander 2011-11-28 14:57:31 -08:00
Brian Hackett d50707d207 Fix uses of native reserved slots in web workers, bug 697537. 2011-10-29 18:26:21 -07:00
Brian Hackett 00cb9b930d Fix uses of native reserved slots in web workers, bug 697537. 2011-10-27 15:10:21 -07:00
Marco Bonardo 36e97f68a2 Backout cb50e96dbee0 (Bug 677079) for Win PGO mochitests failures. 2011-10-22 11:03:26 +02:00
Bill McCloskey f206d1014a Bug 677079 - Remove jscntxt.h from INSTALLED_HEADERS (r=Waldo) 2011-10-20 10:14:24 -07:00
Jeff Walden e3f1dfe121 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 5fd127f447 Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-06 13:21:58 +00:00
Olli Pettay 398e36211f Bug 699925 - support event.stopImmediatePropagation in workers, r=bent 2011-11-05 23:41:16 +02:00
Ben Turner eeb0bf6369 Bug 698860 - 'Workers: Cycle collector calls DOM worker from wrong thread'. r=sicking. 2011-11-05 12:45:35 -07:00
Ben Turner 9244d9078c Bug 687216 - 'XHR in worker to bogus URI leads to Assertion failure'. r=sicking. 2011-11-05 12:30:56 -07:00
Ed Morley 7ea8e12caa 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 ac65d0d88e Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Ben Turner 2371c2098d Bug 699857 - 'Workers: Allow data urls'. r=sicking. 2011-11-04 10:57:42 -07:00
Ben Turner 03f045162c 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 bab29da7c1 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
Mounir Lamouri b4c7d284fb Bug 695287 - Move Navigator declaration and definition outside of nsGlobalWindow.{h,cpp}. r=Ms2ger
This patch is creating Navigator.h and Navigator.cpp and makes Navigator part
of the mozilla::dom namespace.
2011-11-02 14:44:16 +01:00
Jonathan Watt 66f54fe5a4 Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg. 2011-10-28 19:33:28 +01:00
David Anderson 17e871eaeb Remove browser prefs for the tracer (bug 698201 part 7, r+sr=gal). 2011-11-22 17:41:43 -05:00
Masatoshi Kimura 75d8391b3f Bug 703380 - Worker part; r=bent
--HG--
extra : rebase_source : c3072ce5046ed2199e10d42c5d7732501c7551bf
2011-11-21 12:07:15 -06:00
Ehsan Akhgari 92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00