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

149 Коммитов

Автор SHA1 Сообщение Дата
Nathan Froyd f25c8f4332 Bug 739632 - fix -Wwrite-strings warnings in dom/workers/EventTarget.cpp; r=bent 2012-03-27 11:46:40 -04:00
Ben Turner 7b6829de37 Bug 720679 - 'Crash @ WorkerPrivate::CancelAllTimeouts while closing Firefox'. r=khuey. 2012-03-26 21:05:09 -07:00
Henri Sivonen 70326c55cc Bug 672453 - Whine to console about various character encoding declaration-related authoring errors. r=smaug.
--HG--
rename : extensions/universalchardet/tests/bug631751be_text.html => parser/htmlparser/tests/mochitest/file_bug672453_bomless_utf16.html
2012-03-24 13:34:42 +02:00
Masatoshi Kimura e2b4d1fc68 Bug 736686 - Part 2: Implement Blob constructor in Worker. r=jonas, bent 2012-03-24 12:33:59 +01:00
Kyle Huey 4148d0a8ff Bug 738334: Fix a worker timer race condition. r=bent 2012-03-23 10:46:16 -07:00
Hessam Salehi b568dd684b Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Igor Bukanov 9de7e8c133 bug 736978 - remove JS_FinalizeStub. r=:billm
Currently the GC finalizes on the background thread only objects with null
JSClass::finalize. However, this implies that any object that uses
JS_FinalizeStub for the finalizer would be prevented from the background
finalization.

To fix this the patch removes JS_FinalizeStub replacing it with NULL in all
cases when the class has no custom finalizer. For style consistency the patch
also removed the usage of JSCLASS_NO_OPTIONAL_MEMBERS in the static
declarations as the compiler fills the missing fields with null in any cases.
2012-03-19 15:27:58 +01:00
Masatoshi Kimura f102e1639d Bug 736687 - Warn on use of MozBlobBuilder. r=sicking
--HG--
rename : layout/reftests/svg/as-image/img-blobBuilder-1.html => layout/reftests/svg/as-image/img-blobURI-1.html
rename : layout/reftests/svg/as-image/img-blobBuilder-2.html => layout/reftests/svg/as-image/img-blobURI-2.html
2012-03-19 12:00:43 +01:00
Kyle Huey 583b3fefb7 Bug 612311: Add some instrumentation. r=me 2012-03-17 13:07:28 -07:00
Kyle Huey 8b7ee361f9 Bug 498998: Implement XHR timeout in Workers. r=sicking 2012-03-12 17:00:46 -07:00
David Anderson 535b0614b8 Remove JS_GetScriptedCaller (bug 732652, r=luke,mrbkap,bholley,smaug,bent). 2012-03-06 15:33:12 -08:00
Kyle Huey 0f43396d3c Bug 727666: Worker hang at shutdown with XHR. r=bent 2012-03-12 09:29:19 -07:00
Igor Bukanov 9ec52439ab bug 728250 - remove JSPrincipals::codebase. r=:luke,:bz
In just 2 cases where JSPrincipals::codebase is used it can be reconstructed from the values stored in the associated nsJSPrincipal. In addition the patch makes nsJSprincipals to inherit both from nsIPrincipal and JSPrincipals allowing to use static_cast to convert between nsIPrincipal and JSPrincipals pointers and to drop many cases of manual JSPrincipal reference counting.
2012-03-09 10:48:50 +01:00
Nicholas Nethercote 73f0cd10c7 Bug 732843 - Handle Callback() failures in memory multi-reporters. r=jlebar.
--HG--
extra : rebase_source : 54af85a1ef839922d5443cdc36f601611258944a
2012-03-04 15:26:30 -08:00
Igor Bukanov 202e05cf6c bug 730234 - remove GC locking from activities, operation callbacks-related code and for code that accesses the JSContext list. r=luke 2012-02-24 12:03:28 +01:00
Ed Morley e64ddd8c4b Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-08 13:14:47 +00:00
Serge Gautherie febd4fc0cd Bug 731332. (Av1) importScripts_worker.js: Do not try to access the network. r=jst. 2012-03-08 13:31:20 +01:00
Christian Holler df83c960c2 Bug 727445 - Add --enable-address-sanitizer for ASan specific workarounds. Add --enable-llvm-hacks to pass CFLAGS to NSS and omit -Wl,-z,defs for shared libs. r=khuey,kaie 2012-03-07 15:11:15 -08:00
Mark Hammond 1e3804ffa8 Bug 728986: dump() writes to stdout instead of stderr. r=bent 2012-03-06 15:44:37 +11:00
Makoto Kato 25f0cc3663 Bug 590390 - deCOM nsICharsetAlias. r=smontagu
--HG--
rename : intl/locale/public/nsICharsetAlias.h => intl/locale/public/nsCharsetAlias.h
rename : intl/locale/src/nsCharsetAliasImp.cpp => intl/locale/src/nsCharsetAlias.cpp
2012-03-05 12:57:51 +09:00
Igor Bukanov 9a8f93d9c8 Bug 731618 - remove JSContext * parameter from heap iteration API. r=:Billm 2012-02-29 21:23:53 +01:00
David Mandelin c5d656dd4f Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
David Mandelin 2dc5c64a91 Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Marco Bonardo de3cfc36d6 Backout 4fc2f49371a8 (bug 725550) for build failures 2012-02-25 00:16:47 +01:00
David Mandelin 8e329ab9f6 Bug 725550: remove obsolete typedef jsdouble, r=jwalden
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Ed Morley 8397812c02 Merge mozilla-central to mozilla-inbound 2012-02-21 14:15:58 +00:00
Ms2ger 4f655c17c6 Bug 726434 - Return DOMString for XMLHttpRequest.getAllResponseHeaders(); r=bent 2012-02-21 10:34:01 +01:00
Igor Bukanov a6aed885d4 bug 726944 - Remove JSClass::xdrObject and related functionality. r=luke 2012-02-13 09:02:21 +01:00
Bill McCloskey a09976bff0 Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor) 2012-02-17 14:35:20 -08:00
Marco Bonardo 0f6e65b46a Merge central to inbound 2012-02-16 11:47:36 +01:00
Matthew Schranz 61f99f70aa Bug 725289 - Removed moz prefix in Blob.mozSlice. r=sicking
--HG--
rename : dom/workers/test/fileReadMozSlice_worker.js => dom/workers/test/fileReadSlice_worker.js
rename : dom/workers/test/fileMozSlice_worker.js => dom/workers/test/fileSlice_worker.js
rename : dom/workers/test/test_fileReadMozSlice.xul => dom/workers/test/test_fileReadSlice.xul
rename : dom/workers/test/test_fileMozSlice.xul => dom/workers/test/test_fileSlice.xul
2012-02-16 11:22:25 +01:00
Kyle Huey 4a7700e5b5 Bug 727310: Make sure XHR unpins itself if it never recieved a loadstart event. r=bent 2012-02-15 08:50:22 -08:00
Kyle Huey beda7d1b29 Merge m-c to m-i to pick up Bug 725848. 2012-02-14 14:37:20 -08:00
Kyle Huey 02db9c8670 Bug 725848: Fix it for real this time. r=me 2012-02-14 14:33:11 -08:00
Kyle Huey 6948efd69a Bug 726241: XHR should not double AddFeature itself. r=bent 2012-02-13 14:47:14 -08:00
Kyle Huey 52d3bbd1a1 Bug 725848: ProxyCompleteRunnable must always run, even when clearing the event queue. r=bent
--HG--
extra : rebase_source : 02683e57a931f1e7c78a4bd7c13f2452a5e36c94
2012-02-09 20:54:47 -08:00
Kyle Huey f492f1e377 Bug 725885: Worker interval timers can be deleted prematurely. r=bent
--HG--
extra : rebase_source : 9588ec51cd18a7bf2ac3c07aa6ef0dfe50a01bef
2012-02-09 19:03:11 -08:00
Igor Bukanov 8c6f4e7fc1 bug 724310 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
--HG--
extra : rebase_source : b78519db2ff008eb5143676d2db47935f0e89f45
2012-02-05 21:07:23 +01:00
Igor Bukanov 79f7fd1c2c backout merge for bug 724310. r=irc 2012-02-09 21:28:22 +01:00
Igor Bukanov af0ed045b3 bug 723517 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
--HG--
extra : rebase_source : c461dfc0e0e0462ab262cc01c2a771d3bb0971cc
2012-02-05 21:07:23 +01:00
Chris Leary 3eb0df126b Bug 700822: Randomize JIT VirtualAlloc location on win32, sans XP. (r=dmandelin)
--HG--
extra : rebase_source : 155b9cf9bb9fc6e70efd5ca4a2b20e76f3526fc5
2012-02-13 21:36:11 -08:00
Nicholas Nethercote a7a02724d9 Bug 689583 - Add names for memory multi-reporters. r=jlebar.
--HG--
extra : rebase_source : adb3fb2cbbb8a07b60edd48c7dc9a3a4a4763b79
2012-02-06 17:02:59 -08:00
Nicholas Nethercote a9ee8d63e5 Bug 722609 - Rename the js-total memory reports. r=luke. 2012-01-30 20:03:29 -08:00
Panagiotis Koutsourakis 01607a9182 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Igor Bukanov 0497221a55 bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke 2012-02-04 01:54:57 +01:00
Igor Bukanov 2d9a84ce93 bug 723510 - Workers: double-error reporting in location.toString and incorrect assumption about JS_GetInstancePrivate. r=bent 2012-02-03 19:00:08 +01:00
Igor Bukanov 766a7e972d bug 723021 - moving native stack limits into runtime. r=luke 2012-01-31 23:28:22 +01:00
Nicholas Nethercote 0194460b4f Bug 671299 (part 3) - Add style sheet memory reporters. r=dbaron. 2012-01-02 18:19:14 -08:00
Nicholas Nethercote 881438bc8e Bug 721628 (part 4) - Use better names for various JS memory reporting things. r=Ms2ger.
--HG--
extra : rebase_source : 4edc916c571906329075b6be68c245267f9b61d0
2012-01-29 14:11:32 -08:00
Bill McCloskey a01aa6f6de 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