Ryan VanderMeulen
f497d31a0a
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Jason Orendorff
47aab0a000
Bug 753542 - Add prefs to enable/disable E4X (javascript.options.xml.content and .chrome). r=bsmedberg, sr=jst.
2012-06-06 21:52:14 -05:00
Boris Zbarsky
b4e6056558
Bug 761707 part 2. Drop the vestigial jsclass argument to UnwrapDOMObject. r=bholley
2012-06-06 15:59:46 -04:00
Boris Zbarsky
1cf783e451
Bug 761707 part 1. Rip out the various infrastructure for allowing different slot indices on different DOMJSClass instances. r=bholley
2012-06-06 15:59:46 -04:00
Sean Stangl
fe3f5b47a2
Merge m-c to Ionmonkey.
...
--HG--
rename : accessible/src/base/nsBaseWidgetAccessible.h => accessible/src/generic/BaseAccessibles.h
rename : accessible/src/html/nsHTMLImageMapAccessible.cpp => accessible/src/html/HTMLImageMapAccessible.cpp
rename : accessible/src/html/nsHTMLLinkAccessible.cpp => accessible/src/html/HTMLLinkAccessible.cpp
rename : accessible/src/html/nsHTMLLinkAccessible.h => accessible/src/html/HTMLLinkAccessible.h
2012-06-05 16:54:36 -07:00
Peter Van der Beken
c2751f6c3e
Fix for bug 743666 (Add back deprecated XHR.onuploadprogress). r=bzbarsky
2012-06-04 21:29:56 -04:00
Sean Stangl
7d9dc67f9e
Merge m-c to Ionmonkey.
...
--HG--
rename : accessible/src/html/nsHyperTextAccessible.cpp => accessible/src/generic/HyperTextAccessible.cpp
rename : accessible/src/html/nsHyperTextAccessible.h => accessible/src/generic/HyperTextAccessible.h
rename : accessible/src/html/nsHTMLImageAccessible.cpp => accessible/src/generic/ImageAccessible.cpp
rename : accessible/src/html/nsHTMLImageAccessible.h => accessible/src/generic/ImageAccessible.h
rename : accessible/src/msaa/nsHyperTextAccessibleWrap.cpp => accessible/src/msaa/HyperTextAccessibleWrap.cpp
rename : accessible/src/msaa/nsHyperTextAccessibleWrap.h => accessible/src/msaa/HyperTextAccessibleWrap.h
2012-06-04 13:30:29 -07:00
Sean Stangl
d9462a4f06
Merge m-c onto Ionmonkey.
...
--HG--
rename : accessible/src/atk/nsAccessibleWrap.cpp => accessible/src/atk/AccessibleWrap.cpp
rename : accessible/src/atk/nsAccessibleWrap.h => accessible/src/atk/AccessibleWrap.h
rename : accessible/src/atk/nsDocAccessibleWrap.h => accessible/src/atk/DocAccessibleWrap.h
rename : accessible/src/base/nsAccessible.cpp => accessible/src/generic/Accessible.cpp
rename : accessible/src/base/nsAccessible.h => accessible/src/generic/Accessible.h
rename : accessible/src/base/nsDocAccessible.cpp => accessible/src/generic/DocAccessible.cpp
rename : accessible/src/base/nsDocAccessible.h => accessible/src/generic/DocAccessible.h
rename : accessible/src/mac/nsAccessibleWrap.h => accessible/src/mac/AccessibleWrap.h
rename : accessible/src/mac/nsAccessibleWrap.mm => accessible/src/mac/AccessibleWrap.mm
rename : accessible/src/mac/nsDocAccessibleWrap.h => accessible/src/mac/DocAccessibleWrap.h
rename : accessible/src/mac/nsDocAccessibleWrap.mm => accessible/src/mac/DocAccessibleWrap.mm
rename : accessible/src/msaa/nsAccessibleWrap.cpp => accessible/src/msaa/AccessibleWrap.cpp
rename : accessible/src/msaa/nsDocAccessibleWrap.cpp => accessible/src/msaa/DocAccessibleWrap.cpp
rename : accessible/src/msaa/nsTextAccessibleWrap.cpp => accessible/src/msaa/TextLeafAccessibleWrap.cpp
rename : accessible/src/msaa/nsTextAccessibleWrap.h => accessible/src/msaa/TextLeafAccessibleWrap.h
rename : netwerk/protocol/http/SpdySession.cpp => netwerk/protocol/http/SpdySession2.cpp
rename : netwerk/protocol/http/SpdySession.h => netwerk/protocol/http/SpdySession2.h
rename : netwerk/protocol/http/SpdySession.cpp => netwerk/protocol/http/SpdySession3.cpp
rename : netwerk/protocol/http/SpdySession.h => netwerk/protocol/http/SpdySession3.h
rename : netwerk/protocol/http/SpdyStream.cpp => netwerk/protocol/http/SpdyStream2.cpp
rename : netwerk/protocol/http/SpdyStream.cpp => netwerk/protocol/http/SpdyStream3.cpp
2012-05-31 17:17:52 -07:00
Jason Orendorff
9ec40fdc02
Bug 753885 - Part 2: Add JSOPTION_ALLOW_XML, making E4X support optional per-context. r=Waldo.
2012-05-30 15:05:59 -05:00
David Anderson
29ff7b5c2c
Merge from mozilla-central.
2012-05-23 14:33:15 -07:00
David Anderson
684411090a
Merge from mozilla-central.
2012-05-21 14:40:04 -07:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Boris Zbarsky
3f887fdbe1
Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv
2012-05-31 14:16:48 -04:00
Gervase Markham
d4eb7d5782
Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
...
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Boris Zbarsky
f4767d734a
Bug 743906 part 2. Use Optional<> for optional arguments that don't have default values. r=peterv
2012-05-29 23:45:18 -04:00
David Anderson
cbcd19dd5d
Merge from mozilla-central.
2012-05-14 12:10:12 -07:00
Kyle Huey
1be094212a
Bug 725499. r=bent
2012-05-14 11:29:41 -07:00
Tom Schuster
fb630ae705
Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
2012-05-11 17:46:26 +02:00
David Anderson
1d0465946b
Merge from mozilla-central.
2012-05-10 13:44:10 -07:00
David Anderson
87cf33f6a7
Merge from mozilla-central.
2012-05-08 17:34:07 -07:00
Boris Zbarsky
90b5c814e8
Bug 749485. Switch new DOM bindings to using a struct for keeping track of failures for fallible methods. r=peterv,bent
...
ErrorResult is in a separate header file so it can be included from all over the
place without having to pull in mozilla/dom/Utils.h and all the xpconnect gunk
that needs.
2012-05-05 21:15:11 -04:00
David Anderson
14bf2a099d
Merge from mozilla-central.
...
--HG--
rename : accessible/src/base/nsRootAccessible.cpp => accessible/src/generic/RootAccessible.cpp
rename : accessible/src/base/nsRootAccessible.h => accessible/src/generic/RootAccessible.h
rename : js/src/jsgcmark.cpp => js/src/gc/Marking.cpp
rename : js/src/jsgcmark.h => js/src/gc/Marking.h
2012-05-04 19:16:35 -07:00
Phil Ringnalda
ce8665a6aa
Back out 1907bf7e6d7c (bug 749485) for build bustage
2012-05-05 20:33:59 -07:00
Boris Zbarsky
1833a29c14
Bug 749485. Switch new DOM bindings to using a struct for keeping track of failures for fallible methods. r=peterv,bent
...
ErrorResult is in a separate header file so it can be included from all over the
place without having to pull in mozilla/dom/Utils.h and all the xpconnect gunk
that needs.
2012-05-05 21:15:11 -04:00
Ms2ger
3b04c7d79e
Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley
2012-05-05 11:00:05 +02:00
Ehsan Akhgari
d8df82ca0f
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (dom parts); r=bzbarsky
2012-06-14 22:31:55 -04:00
David Anderson
77809391d1
Merge from mozilla-central.
...
--HG--
rename : accessible/src/atk/nsApplicationAccessibleWrap.cpp => accessible/src/atk/ApplicationAccessibleWrap.cpp
rename : accessible/src/atk/nsApplicationAccessibleWrap.h => accessible/src/atk/ApplicationAccessibleWrap.h
rename : accessible/src/base/nsApplicationAccessible.cpp => accessible/src/generic/ApplicationAccessible.cpp
rename : accessible/src/base/nsApplicationAccessible.h => accessible/src/generic/ApplicationAccessible.h
rename : browser/devtools/webconsole/test/browser_gcli_integrate.js => browser/devtools/shared/test/browser_gcli_integrate.js
rename : browser/devtools/webconsole/test/browser_gcli_web.js => browser/devtools/shared/test/browser_gcli_web.js
rename : security/manager/ssl/src/nsNSSIOLayer.cpp => security/manager/ssl/src/TransportSecurityInfo.cpp
rename : security/manager/ssl/src/nsNSSIOLayer.h => security/manager/ssl/src/TransportSecurityInfo.h
2012-04-30 12:53:32 -07:00
Boris Zbarsky
86ff83d74b
Bug 764104. Avoid collisions with C++ reserved words by using initial-caps for WebIDL enum values. r=peterv
2012-06-15 16:25:51 -04:00
Philipp von Weitershausen
9d771da697
Bug 692677 - Relax same-origin XHR restrictions for privileged applications. r=sicking
...
--HG--
extra : rebase_source : 9e8e8cf2e03b6f3d148503d92630ee898bf835bb
2012-06-07 11:28:33 -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
David Anderson
f8f9ea12d7
Enable IonMonkey in the browser, and introduce an about:config option to pref it off (bug 745390, r=dmandelin).
2012-04-19 15:02:47 -07: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
Kyle Huey
f4bafa6532
Bug 774732: Always modify the busy count in NotifyRunnable to avoid busy count mismatches. r=bent
2012-08-07 14:38:46 -07:00
Ms2ger
c6ce9f7d79
Bug 741349 - Get rid of the mozilla::xpconnect::memory namespace; r=bholley
2012-04-14 15:05:19 +02:00
Ms2ger
8299fe6b09
Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes.
2012-04-14 17:52:34 +02:00
Ms2ger
5a16b6f2fa
Bug 741349 - Get rid of the mozilla::xpconnect::memory namespace; r=bholley
2012-04-14 15:05:19 +02:00
Ms2ger
f88fab52fb
Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley
2012-04-14 15:05:01 +02:00
David Zbarsky
ae718ee1c0
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Jeff Walden
93beeaefd8
Bug 757908 - Remove JSRESOLVE_DECLARING. r=dmandelin
2012-05-23 10:22:46 -07:00
David Rajchenbach-Teller
869bb024d2
Bug 763848 - Expose the path to libxul at OS.Constants.Sys. r=khuey
2012-06-28 21:56:30 -04:00
Ryan VanderMeulen
a0705f936c
Backout b97cdd8008a0, bc305a9ac000, and 03549c72043d due to Android browser-chrome orange.
2012-06-30 11:09:26 -04:00
Jeff Walden
eca45b8933
Bug 757908 - Remove JSRESOLVE_DECLARING. r=dmandelin
...
--HG--
extra : rebase_source : 0aa62ffa45751a55708f904079d901347e6dc9ea
2012-05-23 10:22:46 -07:00
Bobby Holley
d0d18c9d87
Bug 754202 - Scope the push of the safe js context such that it doesn't include the call to XHR::Send. r=mrbkap,bent
2012-06-28 23:47:56 +02:00
Blake Kaplan
71e3941c1e
Bug 769265 - Fix these calls. r=bent
2012-06-28 16:14:11 +02:00
Peter Van der Beken
7d387b6e1a
Fix for bug 741267 (UserScript's XMLHttpRequest is undefined in 20120401 nightly).
...
Pass two objects when creating a DOM interface object, the global used to cache
the DOM interface objects and a receiver object on which the named property is
that points to the DOM interface object.
--HG--
extra : rebase_source : b462393e7376fdb68f3b279ccd08b3ab25ac154a
2012-04-23 16:10:56 +02:00
Ed Morley
79899a6f75
Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange
2012-05-11 18:25:52 +01:00
Tom Schuster
1941fb1bb4
Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
...
--HG--
extra : rebase_source : edf2077f8b8bad1970eab6ebe9996e761d4e596c
2012-05-11 17:46:26 +02:00
Ryan VanderMeulen
270738f819
Back out b5fd22efe23d (bug 739740) due to bustage. r=TryFTW
2012-05-03 18:51:14 -04:00
David Rajchenbach-Teller
256ca5f4b1
Bug 739740 - Export libc constants to JS. r=khuey,glandium
2012-04-30 12:14:38 +02:00
Peter Van der Beken
25970d2711
Fix for bug 744772 (Trace the DOM interface object array). r=bz.
...
--HG--
extra : rebase_source : c9f27bed0eab0e6db03295050176ef986cf0b59b
2012-05-02 14:49:43 +02:00
Boris Zbarsky
4282e2d242
Bug 749864. Codegen for typed array and arraybuffer arguments. r=peterv
2012-05-25 01:07:03 -04:00
Luke Wagner
fee7952e0d
Bug 755186 - s/JS_NewCompartmentAndGlobalObject/JS_NewGlobalObject/ (r=jorendorff)
...
--HG--
extra : rebase_source : f1ead9226915f72473a01db0a1019cdbe50c8e92
2012-06-20 08:57:29 -07:00
Boris Zbarsky
fddc56821d
Backed out changeset f96e0f078b49 (bug 748266) because the test suite is bogus and we're failing a crashtest too.
2012-05-31 16:20:49 -04:00
Boris Zbarsky
c46a9a1068
Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv
2012-05-31 14:16:48 -04:00
Ian Melven
06019be17e
Bug 341604 - modify CheckMayLoad to allow sandboxed workers to load blob and data URIs r=jst
2012-08-20 11:34:33 -07:00
Ian Melven
7f546c9171
Bug 341604 - workaround for workers wanting a string origin r=jst
2012-08-20 11:34:32 -07:00
Aryeh Gregor
6e5a8f49ab
Bug 782606 - Use NS_FAILED instead of boolean test (dom/indexedDB/, dom/workers/); r=khuey
2012-08-14 12:10:41 +03:00
Andrew McCreight
97d04b5f84
Bug 704623 - Track memory used by orphan DOM nodes. code=mccr8,njn. r=njn,mccr8.
...
--HG--
extra : rebase_source : f4a4b6e1b1de35a08e86130110a6fbd588093867
2012-04-20 14:01:33 +10:00
Brian Hackett
c07eaa0e3e
Use handles in API object hooks where possible, bug 750733. r=billm
2012-05-19 15:03:45 -07:00
Brian Hackett
9ae1966596
Backed out changeset 5fc7462dd394 for android orange.
2012-05-19 11:52:55 -07:00
Brian Hackett
a863456144
Use handles in API object hooks where possible, bug 750733. r=billm
2012-05-19 09:48:09 -07:00
Nicholas Nethercote
d3831f9782
Bug 749010 (part 2) - Move code around to merge two anonymous namespaces; no functional changes. r=bent.
2012-07-12 23:51:01 -07: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
Masatoshi Kimura
0452126e19
Bug 744910 - Remove FileException from workers. r=bent
2012-04-24 19:50:00 -04:00
Matt Brubeck
2993d5d45a
Back out a0bc511b1d75 (bug 744910) and c85d6a254baa (bug 673752) on suspicion of causing Win debug "make check" hangs
2012-04-24 20:47:13 -07:00
Masatoshi Kimura
d2d5226e3b
Bug 745507 - test_location.html fails if it is executed alone. r=bent
2012-04-24 19:50:00 -04:00
Masatoshi Kimura
7a010701c4
Bug 744910 - Remove FileException from workers. r=bent
2012-04-24 19:50:00 -04:00
Igor Bukanov
5220367ed1
Bug 737364 - part 2 - replace JSContext with JSRuntime in the GC-related API
...
This part replaces the JSContext *cx argument in most GC-related API
with JSRuntime *rt. When possible, the patch removes the code to obtain
a temporary cx just to run the GC.
The patch also removes JS_DestroyContextMaybeGC. That function is not
used in FF code base and its implementation is broken. It requires that
the context has an entered compartment when it is destroyed, which in
turns implies a missing leave compartment call.
2012-03-28 12:13:30 +02:00
Bill McCloskey
90e65d2fdb
Bug 742570 - Change API for compartment GCs (r=igor)
2012-04-03 12:23:11 -07:00
Bill McCloskey
3ace6566fe
Bug 742570 - Remove the compartment option for gczeal (r=igor)
2012-04-03 11:41:56 -07:00
Ehsan Akhgari
e130fd8945
Merge the last green PGO changeset from mozilla-inbound to mozilla-central
2012-04-05 13:40:53 -04:00
Chris Cooper
ab4a917101
Merge build-system to mozilla-central
2012-04-04 14:02:07 -04:00
Joey Armstrong
ffd562b9b7
Bug 738404 - Makefile.in edits to use threadsafe mkdir (bug 680246) - r=ted
2012-04-03 16:08:16 -04:00
Masatoshi Kimura
658c5c654e
Bug 739659 - Try duck typing in js_ReportUncaughtException. r=luke
2012-04-03 20:08:28 -04:00
Peter Van der Beken
c2e642fbcc
Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
...
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Peter Van der Beken
6c1a5e5219
Bug 732377. Add the API for the new DOM bindings to XMLHttpRequest. r=bzbarsky
2012-03-26 08:38:06 -07:00
Julian Seward
5ef9ea8c31
Bug 726590: Fix uninitialised value use in nsEventListenerManager::HandleEventInternal. r=smaug
2012-04-04 11:23:09 -07:00
Igor Bukanov
637a51f167
Bug 737365 - stop using the cx during finalization, part 2.
...
This parts removes the usage of JSContext* during the finalization in
Web Workers and JS shells implementations. With this chnages JSContext * is only
accessed during the finalization in the SpiderMonkey implementation.
2012-03-19 15:34:58 +01:00
Igor Bukanov
83623b313c
Bug 737365 - stop using the cx during finalization, part 1.
...
This part changes the signatures for various finalization API to take
not JSContext* but rather either JSFreeOp structure or its
library-private counterpart FreeOp. These structures wrap parameters
that are passed to the finalizers removing most of explicit dependencies
on JSContext in the finalization code.
2012-03-19 15:34:55 +01:00
Boris Zbarsky
32c7f6e634
Bug 742217. Reduce the use of nested namespaces in our binding code. r=peterv,bent
...
In the new setup, all per-interface DOM binding files are exported into
mozilla/dom. General files not specific to an interface are also exported into
mozilla/dom.
In terms of namespaces, most things now live in mozilla::dom. Each interface
Foo that has generated code has a mozilla::dom::FooBinding namespace for said
generated code (and possibly a mozilla::bindings::FooBinding_workers if there's
separate codegen for workers).
IDL enums are a bit weird: since the name of the enum and the names of its
entries all end up in the same namespace, we still generate a C++ namespace
with the name of the IDL enum type with "Values" appended to it, with a
::valuelist inside for the actual C++ enum. We then typedef
EnumFooValues::valuelist to EnumFoo. That makes it a bit more difficult to
refer to the values, but means that values from different enums don't collide
with each other.
The enums with the proto and constructor IDs in them now live under the
mozilla::dom::prototypes and mozilla::dom::constructors namespaces respectively.
Again, this lets us deal sanely with the whole "enum value names are flattened
into the namespace the enum is in" deal.
The main benefit of this setup (and the reason "Binding" got appended to the
per-interface namespaces) is that this way "using mozilla::dom" should Just
Work for consumers and still allow C++ code to sanely use the IDL interface
names for concrete classes, which is fairly desirable.
--HG--
rename : dom/bindings/Utils.cpp => dom/bindings/BindingUtils.cpp
rename : dom/bindings/Utils.h => dom/bindings/BindingUtils.h
2012-05-03 00:35:38 -04:00
Bobby Holley
a65a297734
Bug 743615 - Hook up worker ImageData to the structured clone stream. r=bent
2012-04-24 12:58:08 +02:00
Bobby Holley
4f1637c5e8
Bug 743615 - Introduce the ImageData object/constructor in workers. r=bent
2012-04-24 12:58:08 +02:00
Bobby Holley
6de4e1495d
Bug 743615 - MainThreadWorkerStructuredCloneCallbacks should not call the WorkerStructuredCloneCallbacks variants. r=bent
...
Doing so makes no sense. It seems like a no-op right now because we handle all the same cases first. But it's a hazard, and a problem for my upcoming patches.
2012-04-24 12:58:07 +02:00
Bobby Holley
b5546abe0c
Bug 743615 - Base worker structured clone tags on the dom ones to ensure against collisions. r=bent
2012-04-24 12:58:07 +02:00
Tom Schuster
fef9c89dba
Bug 711843 - Update JSAPI for typed arrays, remove uses of jstypedarray.h outside the engine [r=Waldo,bz,Ms2ger,bholley,bjacob,philikon,evilpie,bent,yourmama] [a=mfinkle thanks to gkw]
2012-01-14 09:43:00 -08:00
Nathan Froyd
b22d1b0c98
Bug 739632 - fix -Wwrite-strings warnings in dom/workers/EventTarget.cpp; r=bent
2012-03-27 11:46:40 -04:00
Ben Turner
d24dc26535
Bug 720679 - 'Crash @ WorkerPrivate::CancelAllTimeouts while closing Firefox'. r=khuey.
2012-03-26 21:05:09 -07:00
Henri Sivonen
95b45892e6
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
6432a363f1
Bug 736686 - Part 2: Implement Blob constructor in Worker. r=jonas, bent
2012-03-24 12:33:59 +01:00
Kyle Huey
04c4259017
Bug 738334: Fix a worker timer race condition. r=bent
2012-03-23 10:46:16 -07:00
Hessam Salehi
25b8143afe
Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg
2012-03-21 14:07:31 -04:00
Igor Bukanov
877dee50e1
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
add7512617
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
f27f4a7eaf
Bug 612311: Add some instrumentation. r=me
2012-03-17 13:07:28 -07:00
Kyle Huey
28cfe02e31
Bug 498998: Implement XHR timeout in Workers. r=sicking
2012-03-12 17:00:46 -07:00
David Anderson
67bb3e5986
Remove JS_GetScriptedCaller (bug 732652, r=luke,mrbkap,bholley,smaug,bent).
2012-03-06 15:33:12 -08:00
Benjamin Smedberg
4f91700da9
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Ms2ger
5623a92079
Bug 754968 - Part c: Make BindingUtils.h not require private xpconnect headers; r=bholley
2012-05-18 10:29:40 +02:00
Masatoshi Kimura
7d3bc384fb
Bug 752402 - Support ArrayBufferView as a member of blobParts parameter. r=sicking
2012-05-17 17:53:44 -04:00
Ms2ger
7267d800b0
Bug 718260 - Fix a crash in DispatchPrematureAbortEvent; r=bent
2012-07-25 22:49:24 +02:00
Kyle Huey
fab3b80a60
Bug 727666: Worker hang at shutdown with XHR. r=bent
2012-03-12 09:29:19 -07:00
Igor Bukanov
30d3de8268
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
55f276020a
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
553cbdfc40
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
688dbfa9d0
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-03-08 13:14:47 +00:00
Serge Gautherie
06637765ec
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
c75048ad98
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
6f18fbf7c7
Bug 728986: dump() writes to stdout instead of stderr. r=bent
2012-03-06 15:44:37 +11:00
Makoto Kato
2c1e47f122
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
267b62cdb3
Bug 731618 - remove JSContext * parameter from heap iteration API. r=:Billm
2012-02-29 21:23:53 +01:00
David Mandelin
0be0db4666
Bug 730511: remove obsolete typedefs intN, uintN, r=luke
2012-02-28 15:11:11 -08:00
David Rajchenbach-Teller
50cef29c5b
Bug 739740 - Export libc constants to JS. r=khuey
2012-05-09 12:00:48 +02:00
David Mandelin
59dcf8cdf7
Bug 725550: remove obsolete typedef jsdouble, r=jwalden
2012-02-24 14:19:52 -08:00
Marco Bonardo
74afb56c79
Backout 4fc2f49371a8 (bug 725550) for build failures
2012-02-25 00:16:47 +01:00
David Mandelin
ad7cda83f5
Bug 725550: remove obsolete typedef jsdouble, r=jwalden
...
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Ed Morley
465164e131
Merge mozilla-central to mozilla-inbound
2012-02-21 14:15:58 +00:00
Ms2ger
4a1b92efc5
Bug 726434 - Return DOMString for XMLHttpRequest.getAllResponseHeaders(); r=bent
2012-02-21 10:34:01 +01:00
Igor Bukanov
87ee03b495
bug 726944 - Remove JSClass::xdrObject and related functionality. r=luke
2012-02-13 09:02:21 +01:00
Bill McCloskey
c6cd982f05
Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor)
2012-02-17 14:35:20 -08:00
Marco Bonardo
baaaa63f39
Merge central to inbound
2012-02-16 11:47:36 +01:00
Matthew Schranz
87bb64c61e
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
8c790e6ee2
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
e2b9bb5001
Merge m-c to m-i to pick up Bug 725848.
2012-02-14 14:37:20 -08:00
Kyle Huey
6f42f8add9
Bug 725848: Fix it for real this time. r=me
2012-02-14 14:33:11 -08:00
Kyle Huey
68b5985a34
Bug 726241: XHR should not double AddFeature itself. r=bent
2012-02-13 14:47:14 -08:00
Kyle Huey
aa9c2c3ceb
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
f849712cc4
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
18e6a2e079
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
eb3cfce3dc
backout merge for bug 724310. r=irc
2012-02-09 21:28:22 +01:00
Igor Bukanov
efe64d22c0
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
355fa9c5a4
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
Honza Bambas
41779e1714
Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium
2012-06-12 19:06:20 +02:00
Nicholas Nethercote
ddd936d488
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
aada2ed431
Bug 722609 - Rename the js-total memory reports. r=luke.
2012-01-30 20:03:29 -08:00
Panagiotis Koutsourakis
791aa57b19
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
afb57a37a5
bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke
2012-02-04 01:54:57 +01:00
Igor Bukanov
14d0e12922
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
08ee5eda35
bug 723021 - moving native stack limits into runtime. r=luke
2012-01-31 23:28:22 +01:00
Nicholas Nethercote
2806f8e46a
Bug 671299 (part 3) - Add style sheet memory reporters. r=dbaron.
2012-01-02 18:19:14 -08:00
Nicholas Nethercote
b88e427016
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
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
Jeff Walden
f05b76c8ef
Bug 789309 - Stop installing jsatom.h and jsatom.tbl. r=jorendorff
2012-09-06 17:51:50 -07:00
Boris Zbarsky
aecf172619
Bug 788369. Allow passing strings to the XHR constructor, since CoffeeScript seems to want to do it. r=peterv
2012-09-07 11:07:12 -04: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
Ben Turner
cc18aa085a
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
d612e0e995
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
3a4cbb8800
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
8a0b72332d
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
4a1362a06f
Remove browser prefs for the tracer (bug 698201 part 7, r+sr=gal).
2011-11-22 17:41:43 -05:00
Masatoshi Kimura
4be8a5dacd
Bug 703380 - Worker part; r=bent
...
--HG--
extra : rebase_source : c3072ce5046ed2199e10d42c5d7732501c7551bf
2011-11-21 12:07:15 -06:00
Ehsan Akhgari
2a602a5685
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
Jeff Walden
b7753477cf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00