Matt Brubeck
82e8c9aa19
Merge last green changeset from inbound to mozilla-central
2012-04-02 10:41:37 -07:00
Kyle Huey
03a553e469
Bug 722428: Fix leaks in mochitest by reworking SpecialPowers and nsDOMWindowUtils. r=mounir,ctalbert
2012-04-01 19:23:51 -07:00
Tim Taubert
895f7fcd35
merge m-c to fx-team
2012-04-01 18:52:12 +02:00
Ed Morley
7b8f9d67b3
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-03-31 22:41:59 +01:00
Olli Pettay
aef37dab12
Bug 641821, MutationObserver, r=sicking
...
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Johnny Stenback
c1b3d96e01
Removing windows newlines. no bug and DONTBUILD
2012-03-30 22:34:16 -07:00
Ed Morley
2aa4048571
Merge mozilla-central to mozilla-inbound
2012-03-31 15:28:55 +01: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
Mounir Lamouri
47abadb9c1
Bug 740707 - Fix crash in mozilla::dom::Navigator::GetMozBattery. r=jlebar
2012-03-30 18:58:12 -07:00
Tim Taubert
726363a9bd
Bug 727446 - Let the window owning a storage dispatch an event when the storage changes; r=smaug
2012-03-30 19:31:16 +02:00
Marco Bonardo
31496b4a78
Merge central to inbound
2012-03-30 12:27:55 +02:00
Ms2ger
09fa74771d
Bug 738761 - Remove nsIScriptTimeoutHandler::GetScriptVersion and pass JSVersion to nsIScriptContext::EvaluateString; r=jst
2012-03-29 23:09:13 +02:00
Mounir Lamouri
aaec9372e9
Bug 740188 - Screen Orientation API locking (3/3): revert orientation when fullscreen is left. r=smaug
2012-03-29 09:31:11 -07:00
Mounir Lamouri
6fa22503da
Bug 740188 - Screen Orientation API locking (2/3): security model. r=smaug
2012-03-29 09:31:29 -07:00
Mounir Lamouri
e07e2adfa7
Bug 740188 - Screen Orientation API locking (1/3): DOM/HAL boilerplate. r=smaug sr=sicking
2012-03-29 12:43:16 -07:00
Terrence Cole
f39a8777a1
Bug 738868 - Switch JSObject2JSObjectMap to new HashTable; r=mrbkap
2012-03-27 09:55:55 -07:00
Peter Van der Beken
f4bf642150
Bug 740526. Change LookupName to return the nsGlobalNameStruct as a return value, not an out param. r=bzbarsky
2012-03-29 11:43:13 -07:00
Doug Turner
d3be2a0385
Bug 740268 - DisableDeviceSensor doomedElement isn't being set correctly. r=mwu
2012-03-28 23:54:53 -07:00
Mark Capella
3519b46a3e
Bug 738380 - Remove nsINode::{GetScriptTypeID, SetScriptTypeID}, nsIScriptContext::GetScriptTypeID, nsIScriptRuntime::GetScriptTypeID; r=jst
2012-04-01 14:47:48 +02:00
Justin Lebar
8dd521e600
Bug 736688 - Part 6: Add BrowserElementAPI.js, implementing loadstart, loadend, locationchange, and the window.{top,parent,frameElement} override for <iframe mozbrowser>. r=smaug
...
--HG--
extra : rebase_source : 7ed3e56bbf06d97a9b0127eecf87128c5389a1b1
2012-03-28 11:36:50 -07:00
Justin Lebar
6e2bfcabd9
Bug 736688 - Part 5: Remove window.{top,parent,frameElement} mozbrowser changes in nsGlobalWindow (undoes changes from bug 725796). r=smaug
...
--HG--
extra : rebase_source : fdeccb7e995229cdbc6ebd945109fe8441f9f525
2012-03-28 11:36:49 -07:00
Ed Morley
252f20d16b
Merge mozilla-central to mozilla-inbound
2012-03-28 17:37:32 +01:00
Kyle Huey
99b4e0a5ab
Merge the last good pgo-green cset on mozilla-inbound to mozilla-central.
2012-03-28 07:40:52 -07:00
Neil Rashbrook
ca82fa5a7c
Bug 737022 Re-enable debug chrome strict warnings r=jst
2012-03-28 12:09:33 +01:00
Eric Chou
cc9697f125
Bug 731361 - Change bluetooth firmware loading to use a DOMRequest based API. r=bent
2012-03-27 19:17:35 -04:00
Jared Wein
ac11ea4de6
Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey
2012-03-28 08:53:56 -07:00
Jared Wein
a80b6db592
Backed out changeset 8e42ba558f07 (bug 730318) CLOSED TREE
2012-03-27 15:23:53 -07:00
Gregor Wagner
ec5cd78551
Bug 678695 - Settings API. r=sicking, fabrice, smaug
2012-03-26 14:49:38 -07: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
Veeraya Pupatwibul
1bdf9d9923
Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger
2012-04-04 11:15:10 +02:00
Benoit Jacob
b50b67bbf5
Bug 728029 - Preserve added JS properties on the JS object returned by webgl.getExtension - r=peterv
...
This patch adds the diff between the previous iteration of the patch (which I accidentally committed in previous cset) and the one that peterv actually r+'d.
2012-03-26 15:02:43 -04:00
Benoit Jacob
e8dddcde54
Bug 728029 - Preserve added JS properties on the JS object returned by webgl.getExtension - r=peterv
2012-03-26 14:59:04 -04:00
Justin Lebar
26f2157d3f
Bug 737857 - Report number of ghost windows in telemetry. r=njn
2012-04-02 10:37:04 -04:00
Justin Lebar
155a287d43
Bug 738624 - Add ghost windows to about:compartments. r=njn
...
--HG--
extra : rebase_source : a486e644351af72a4276f26de2e4588ee851426f
2012-04-02 10:37:04 -04:00
Justin Lebar
751c5efd5d
Bug 738011 - Separate "detached" from "ghost" windows in about:memory. r=njn,mccr8
...
--HG--
extra : rebase_source : 5194c9062cdfcd215ce5d708b1b472cf5ba7f480
2012-04-02 10:37:04 -04:00
Doug Turner
a670db21f7
Bug 734855 - Rename DeviceMotion to DeviceSensors. Review comments address r=mwu
2012-03-24 17:30:03 -07:00
Doug Turner
f209a96f5b
Bug 734855 - Rename DeviceMotion to DeviceSensors. r=mwu
...
--HG--
rename : dom/system/nsDeviceMotion.cpp => dom/system/nsDeviceSensors.cpp
rename : dom/system/nsDeviceMotion.h => dom/system/nsDeviceSensors.h
rename : xpcom/system/nsIDeviceMotion.idl => xpcom/system/nsIDeviceSensors.idl
2012-03-24 17:29:57 -07:00
Doug Turner
9b325a2539
Bug 734855 - Device Orientation - Make EnableDeviceMotion finer grain. r=mwu
2012-03-24 17:29:49 -07:00
Matt Brubeck
f83a9ab93e
Merge mozilla-central and mozilla-inbound
2012-03-24 09:05:27 -07:00
Peter Van der Beken
6fd0c1b877
Bug 738593 - Rename IsProxy to IsDOMBinding; r=mrbkap
2012-03-16 16:44:09 +01:00
Ms2ger
57ac657dfb
Bug 734724 - Inline nsIScriptContext::ConnectToInner into its only caller; r=jst
2012-03-24 09:18:22 +01:00
Ms2ger
aafc6a951d
Bug 734029 - Move nsJSContext::{Set,Create}OuterObject to nsGlobalWindow; r=bholley
2012-03-24 09:18:21 +01:00
Vivien Nicolas
946e2bcc4e
Bug 736193 - Use the offline cache to load applications [r=fabrice] DONTBUILD because NPOTB
2012-03-23 16:39:15 -07:00
Jared Wein
3f49c23fdd
Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage
2012-03-23 11:46:12 -07:00
Marco Bonardo
1ffefb8021
Merge central to inbound
2012-03-23 02:02:03 +01:00
Marco Bonardo
36b3350337
Merge last green PGO from inbound to central
2012-03-23 01:59:29 +01:00
David Flanagan
4fdd1e074b
Bug 738439 - typo in Webapps.jsm [r=fabrice]
2012-03-22 14:26:36 -07:00
Marco Bonardo
ffb17ea4b7
Merge last green PGO from inbound to central
2012-03-22 13:04:29 +01:00
Neil Rashbrook
6a492894d7
Bug 737022 Re-enable strict warnings when parsing XUL r=jst
2012-03-22 08:36:36 +00:00
Jared Wein
61ab14237c
Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey
2012-03-22 13:53:59 -07:00
Masayuki Nakano
cd68fdc428
Bug 672175 part.15 Add new API nsIDOMWindowUtils.sendNativeMouseScrollEvent() r=roc, sr=smaug
2012-03-22 09:59:12 +09:00
Henri Sivonen
f2d3f89eb7
Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug.
2012-03-22 16:42:42 +02:00
Marco Bonardo
49bd1f22b0
Merge central to inbound
2012-03-22 13:09:22 +01:00
Boris Zbarsky
4d4ac90393
Bug 622491. Make the global scope polluter work in standards mode too. r=jst
2012-03-22 00:10:50 -04:00
Blake Kaplan
81959516d4
Bug 737029 - Use DOMRequestHelper.jsm in DOMWifiManager.js. r=fabrice DONTBUILD
2012-03-20 16:59:38 +01:00
Mounir Lamouri
7061af5d83
Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt
2012-03-20 14:09:45 +01:00
Adam Dane [:hobophobe]
f6bfd29afb
Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc
2012-03-19 21:09:50 -05:00
Hessam Salehi
25b8143afe
Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg
2012-03-21 14:07:31 -04:00
Eric Chou
85cd3d3dea
Bug 730990 - Device object boilerplate for DOM Bluetooth - r=qDot
2012-03-23 14:58:12 -07:00
Kyle Machulis
233b8a5ed9
Backing out a44ac6895a2f
2012-03-23 14:50:47 -07:00
Eric Chou
5fc8781e5d
Bug 730990 - Device object boilerplate for DOM Bluetooth - r=qDot
2012-03-23 14:18:03 -07:00
Jared Wein
3c05f07191
Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage
2012-03-23 11:11:31 -07:00
Mark Capella
1e7fdd17b2
Bug 734023 - Remove language arguments from nsIScriptGlobalObject methods, r=jst, f=ms2ger
2012-03-23 18:13:29 +01:00
Shriram Kunchanapalli
05c95fc3b7
Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt
2012-02-18 19:17:01 +05:30
Kan-Ru Chen
99047503ac
Bug 710135 - Move screen.enabled/brightness to mozPower. r=jlebar,mounir sr=cjones,sicking
2012-04-03 01:51:00 -04:00
Igor Bukanov
fbeb82e29f
bug 730221 - delegating serialization of script principals to the embedding. r=:luke,:bz
...
Currently to serialize principals stored in JSScript we have a rather complex
schema. First there is the transcode callback that the embedding must provide
to transcode principals using XDR API. Second we use rather complex glue code
to implement that callback in terms of writing/reading nsIObjectOutputStream/
nsIObjectInputStream. This glue code is duplicated in 3 places. All this can
be avoided if we simply delegate transcoding of principals to the caller. In
addition, at least in the case of the cached startup scripts we do not even
need to transcode the principals as the the cached scripts always have the
system principal so we can skip all the transcode complexity there.
The patch implemnts this idea. In particular, the code in JS engine
responsible for transcoding of principals is replaced by the single API
function JS_XDRSetPrincipals that the embedding can use to set principals for
decoded scripts and functions. Then the startup cache uses this to set the
principals for the decoded script to the system principals. The other two
places in nsJSContext::Serialize and XBL_SerializeFunction that need to
serialize principals together with a function or script now uses common
utilities in nsXPConnect so the serialization complexity resides in the single
place.
2012-02-13 14:10:04 +01:00
Oleg Romashin
49e2ef33de
Bug 681192. Part 5: Make various DOM scroll APIs --- scrollTop, scrollLeft, window.scrollTo, scrollBox.scrollTo, scrollBox.scrollToLine, scrollBox.scrollBy --- use an appropriate allowed scroll destination range. r=roc,r=matspal
...
--HG--
extra : rebase_source : 83ee44530c67229686ec0dce3628da83e0e93438
2012-02-07 12:24:15 -08:00
Steve Fink
c7e97d8358
Bug 730208 - UnmarkGray fixups for globals and contexts. r=billm
...
A common source of potential black -> gray edges is JSAPI calls made on objects with gray globals or contexts holding gray globals. (The call could potentially update a black object with a pointer to that global.) This patch mostly traps places where contexts are used, and unmarks their globals. It also includes some more global unmarking.
--HG--
extra : rebase_source : 1286bdbc4c337956242c292e0fa385629ee8850b
2012-03-14 09:32:58 -07:00
Steve Fink
0f3ecde4b7
Bug 730208 - UnmarkGray various JS objects to prevent them from being used to create black -> gray edges. r=smaug
...
--HG--
extra : rebase_source : 00bd6f20a900e97173fafa9f5512e2ebbd3a0cac
2012-03-20 21:29:47 -07:00
Masatoshi Kimura
7a010701c4
Bug 744910 - Remove FileException from workers. r=bent
2012-04-24 19:50:00 -04:00
Mark Capella
329ec5f3aa
Bug 744332 - Remove nsXULPrototypeScript::ScriptObjectHolder::mLangID. r=jst, f=Ms2ger
2012-04-24 18:31:28 -04:00
Timothy Nikkel
5fce132cd1
Bug 732016 Allow override of the scroll port size used for clamping scroll positions. r=roc
2012-04-24 13:52:35 -05:00
Matt Brubeck
a82726585c
Bug 739038 - Disable window.print on Fennec [r=jst]
2012-04-13 12:45:06 -07: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
Myk Melez
f1228220a9
bug 746645 - Adding the white-list for myapps (or stage-myapps) has no effect with a clean FF profile; r=fabrice, a=mfinkle
2012-04-21 14:15:06 -07:00
Josh Matthews
c119292173
Bug 677194 - Change assertion to an early-return bailout. r=jst, a=akeybl
2012-02-29 12:11:03 -05:00
Boris Zbarsky
516d09b4a2
Bug 740811. Make SVGElement.prototype be Element.prototype again. r=peterv, a=akeybl
2012-04-20 21:44:35 -04:00
Mounir Lamouri
220849f37b
Bug 735781 - Make sure nsScreen don't call RemoveObserver twice in a row. r=jlebar
2012-03-15 10:58:56 +01:00
Mounir Lamouri
753a764c6f
Bug 735261 - navigator.mozConnection should be an instance of EventTarget. r=smaug
2012-03-14 19:50:11 +01:00
Mounir Lamouri
573bc8fb91
Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar
2012-03-14 19:14:53 +01:00
Mounir Lamouri
fe9374bc32
Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking
2012-03-14 11:10:48 +01:00
Mounir Lamouri
9dc7a97d56
Bug 720794 - Part 1 (HAL) - Implement reading and event parts of Screen Orientation API. r=cjones
2012-03-13 17:42:46 +01:00
Dão Gottwald
098b79e99e
Backed out changeset 2cd01fd07ce8
2012-03-19 12:54:32 +01:00
Adam Dane [:hobophobe]
395f2b3456
Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc
2012-03-18 14:42:25 -05:00
Mark Finkle
c5c1e891ea
Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android
2012-03-17 21:51:39 -04:00
Mounir Lamouri
81b3fa1bc1
Bug 735781 - Make sure nsScreen don't call RemoveObserver twice in a row. r=jlebar
2012-03-15 10:58:56 +01:00
Mounir Lamouri
d0998ff48f
Bug 735261 - navigator.mozConnection should be an instance of EventTarget. r=smaug
2012-03-14 19:50:11 +01:00
Mounir Lamouri
52ab7f4c5b
Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar
2012-03-14 19:14:53 +01:00
Mounir Lamouri
3be7d6c979
Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt
2012-03-16 19:43:10 +01:00
Mounir Lamouri
390107621f
Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking
2012-03-14 11:10:48 +01:00
Mounir Lamouri
d69485a4f2
Bug 720794 - Part 1 (HAL) - Implement reading and event parts of Screen Orientation API. r=cjones
2012-03-13 17:42:46 +01:00
Bill McCloskey
2898570725
Bug 736643 - Add timestamp support to GC/CC JSON output (r=terrence)
2012-03-16 16:36:26 -07:00
Vivien Nicolas
8141656ea6
Bug 748889 - Silent a warning about an undefined @mozilla.org/privatebrowsing. r=enndeakin
2012-05-04 20:05:40 +02:00
Vivien Nicolas
56f54c51bd
Bug 751144 - warning: ok is undefined in dom/base/WebApps.js. r=fabrice
2012-05-04 20:02:05 +02:00
Vivien Nicolas
c607e9fdc6
Bug 748858 - Use the startPoint argument of mozIDOMApplication.launch. r=fabrice
2012-05-04 20:02:05 +02:00
Boris Zbarsky
6cb0048f56
Bug 747825. Make the WebGLContext a wrapper cache. r=peterv
2012-05-04 12:36:40 -04:00
Jared Wein
883053cd10
Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey
2012-03-27 13:50:50 -07:00
Bobby Holley
ff990375c6
Bug 738956 - Wrap values in nsStructuredCloneContainer::InitFromVariant before passing them to JS_WriteStructuredClone. r=khuey
2012-03-27 11:43:11 -07:00
Bobby Holley
92d741e6a0
Bug 734910 - Enter the compartment of the new global before calling FinishInitForNewWrappedGlobal. r=mrbkap
2012-03-16 12:47:20 -07:00
Peter Van der Beken
526e189372
Fix for bug 736229 (Stop storing expando objects in the wrapper cache, store the proxy instead). r=jst.
2012-03-14 15:22:10 +01:00
Ms2ger
b114a45e19
Bug 550309 - Part d: Try unwrapping to nsIDOMImageData in GetImageData(); r=bz
2012-03-16 10:44:39 +01:00
Ms2ger
364d2a12d3
Bug 550309 - Part c: Implement ImageData; r=bz
2012-03-16 10:44:08 +01:00
Ed Morley
efdc9a5382
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-03-15 12:42:01 +00:00
Bill McCloskey
bfb7513cfa
Bug 735916 - Fix javascript.options.mem.log (r=terrence)
2012-03-14 16:50:35 -07:00
Blake Kaplan
867e18420d
Bug 732982 - Expose a wifi API to the DOM. The API is very much a work in progress and will change soon. r=cjones/fabrice/vigntetun DONTBUILD
...
--HG--
extra : rebase_source : c44979e32dfffc46502f21c59c691a13e0319cad
2012-03-14 21:39:15 +01:00
Kartikaya Gupta
314843ddd5
Bug 725095 - Merge off-main-thread compositor from Maple. IGNORE BAD COMMIT MESSAGES
2012-03-14 11:18:15 -04:00
Benoit Girard
188ca471f6
Merge mc->Maple
2012-03-13 11:05:28 -04:00
Marco Bonardo
3e58667468
Merge last green PGO from inbound to central
2012-03-13 11:17:21 +01:00
Masatoshi Kimura
e441461b51
Bug 721569 - Implement Blob constructor. r=sicking
2012-03-12 21:44:56 -07:00
Jonas Sicking
39ecbe97e4
Bug 735094: Implement new string values (rather than numeric constants) for IndexedDB. r=bent
2012-03-12 21:44:45 -07:00
Olli Pettay
85ef818664
Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, part2, r=jst
2012-03-13 02:56:20 +02:00
Olli Pettay
339e88ba7e
Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, r=jst,bent
2012-03-13 02:56:07 +02:00
Ali Juma
cc0282e9e5
Bug 732091 - Part 2: Add {set,get}IsFirstPaint to nsIDOMWindowUtils and nsIPresShell. r=ehsan
2012-03-12 11:50:11 -04:00
Ms2ger
f86aa6d879
Bug 734481 - Make nsIJSArgArray inherit from nsIArray; r=jst
2012-03-11 09:53:05 +01:00
Ms2ger
51265ab0b6
Bug 734473 - Remove nsIScriptContext::FinalizeContext; r=jst
2012-03-11 09:51:22 +01:00
Ms2ger
584d05b577
Bug 734472 - Pass JSObject to nsIScriptContext::SetProperty; r=jst
2012-03-11 09:50:22 +01:00
Ms2ger
7aad511ab7
Bug 734468 - Make SetTerminationFunction return void; r=jst
2012-03-11 09:49:15 +01:00
Ms2ger
6dbbe95646
Bug 732769 - Remove FileError; r=sicking
2012-03-11 09:47:38 +01: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
Kan-Ru Chen
0463d2d1c5
Bug 697132 - Use nsCOMPtr constructor. r=Ms2ger
2012-03-14 18:00:29 -04: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
Fabrice Desré
5b3cde6f1c
Bug 697006 - Add desktop support for the Open Web Apps API - Part 1 : enable mozApps on desktop [r=gavin]
2012-03-12 17:33:10 -07:00
Fabrice Desré
733a03739b
Bug 735109 - unregister message listeners on shutdown in Webapps.jsm [r=felipe]
2012-03-12 17:33:10 -07:00
Bill McCloskey
d7a654d0c5
Bug 735014 - Wait longer for PAGE_HIDE GCs (r=smaug)
2012-03-12 16:25:03 -07:00
Justin Lebar
0dbaf73150
Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
...
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
David Anderson
67bb3e5986
Remove JS_GetScriptedCaller (bug 732652, r=luke,mrbkap,bholley,smaug,bent).
2012-03-06 15:33:12 -08:00
Ehsan Akhgari
50c889808a
Merge mozilla-central into mozilla-inbound
2012-03-14 13:40:34 -04:00
Blake Kaplan
7a4eeff601
Bug 727884 - Make nsWrapperCache::WrapObject take a JSObject scope instead of XPCWrappedNativeScope. r=peterv
2012-03-14 16:25:40 +01:00
Johnny Stenback
7baa140a51
backout Bug 679971 - remove Navigator.taintEnabled()
2012-01-05 18:24:10 +02:00
Nicholas Nethercote
4ecf193683
Bug 713799 - Rearrange the "window-objects" sub-tree in about:memory to make per-tab memory usage more obvious. r=jst.
...
--HG--
extra : rebase_source : f4e9407ad9a5c20ae8523d2ec087b4ee99c43877
2012-03-12 23:00:18 -07:00
Doug Turner
e323518614
Bug 733652 - Remove geolocation address handling (v2). Little adoption, costly implementation r=jdm
2012-03-08 22:16:25 -08:00
Ed Morley
12222d2d31
Backout 8b74d5ae78c3 & c619bbb2951f (bug 734391), 772c994fa869 (bug 734324), fd23ff0f9dd1 (bug 734325), d1e037a9390e (bug 733653), 3a7bf79b5b2d (bug 733650) & 9d9392fce538 (bug 733652) for OS X M1 & M3 orange
2012-03-13 22:29:29 +00:00
Terrence Cole
620f254a87
Bug 531396 - Expose detailed GC timing information API; r=smaug,billm
...
Extensions such as MemChaser would really like an easier to parse and more
complete record of GC events than what can be gleaned from the message console.
This patch adds GC and CC observer messages formatted as JSON containing
detailed statistics.
2012-03-05 15:33:24 -08:00
Doug Turner
d89616f66d
Bug 733652 - Remove geolocation address handling (v2). Little adoption, costly implementation r=jdm
2012-03-08 22:16:25 -08:00
Peter Van der Beken
c3b954ffff
Add new DOM binding for SVG list classes. r=jst.
...
--HG--
extra : rebase_source : ce84f9457d7b9a14a0a65db5c643938d0e0e05bc
2011-08-22 11:14:13 +02:00
Peter Van der Beken
96b0afb0da
Fix for bug 734508 (Add new DOM binding for SVG list classes). r=jst.
...
--HG--
extra : rebase_source : c32d2fd124093ae437f000655bba7f3a5f17d99d
2011-08-22 11:14:13 +02:00
Peter Van der Beken
7d36526803
Backout 790be8926d50 to fix commit message
...
--HG--
extra : rebase_source : 930b7802b35784ef5d70ed359d5d9932013ad62d
2012-03-12 21:13:23 +01:00
Jacob Holzinger
acfe99c129
Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
...
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Matt Brubeck
465b97cf40
Merge mozilla-central to mozilla-inbound
2012-03-08 16:27:40 -08:00
Olli Pettay
4d4b25de9e
Bug 730891, event ctor for StorageEvent, r=sicking,kyle
2012-03-08 23:27:05 +02:00
Rob Campbell
b13d39e0b9
merge fx-team to m-c
2012-03-08 10:30:11 -04:00
Bill McCloskey
1a94b8704e
Bug 730853 - Make sure we occasionally CC with lots of incremental GCs (r=smaug,mccr8)
2012-03-08 15:37:13 -08:00
Gregor Wagner
342cbbae2a
Bug 733599 - mozContacts should use DOMRequestIpcHelper. r=fabrice
2012-03-07 13:45:24 -08:00
Kan-Ru Chen
255811e424
Bug 697132 - Implement wakelock interfaces. r=jlebar
2012-03-07 12:03:25 +01:00
Bobby Holley
e6b5d5e506
Bug 733606 - Only call FinishInitForWrappedGlobal when we just created a global. r=mrbkap
...
Without this patch, we call the above when restoring things out of the bfcache, which is bad. It must be called exactly once.
2012-03-08 09:33:30 -08:00
Daniel Holbert
3f2d277287
Bug 732877: Remove no-longer-used variable 'oldPrincipal' from nsGlobalWindow.cpp. r=jst
2012-03-08 13:06:38 +01:00
Fabrice Desré
1cb9507de7
Bug 720415 - update navigator.mozApps m-c implementation - DOM + repo [r=gwagner]
2012-03-06 11:50:58 -08:00
Tim Taubert
71e4bec105
Bug 731726 - Moving the parentNode of a focused DOM node does not remove the node's focus ring; r=Enn
2012-03-05 20:59:50 +01:00
Justin Lebar
d77dae5390
Bug 725796 - Make window.{top,parent,frameElement} respect <iframe mozbrowser>. r=bz
2012-03-04 11:02:00 -05:00
Aryeh Gregor
dbb888ac63
Bug 711047 Part 2 - Remove RangeException in favor of DOMException. r=sicking
2012-03-01 13:35:48 -05:00
Bobby Holley
87d7f5f353
Bug 720580 - Do the last bit of wrapped global initialization once the dust has settled. r=mrbkap
2012-03-05 15:22:45 -08:00
Bobby Holley
ccb745bc93
Bug 720580 - Stop passing aExtraPtr to InitClassesWithNewWrapedGlobal. r=mrbkap
...
We only ever pass null here anyway, and this whole infrastructure is going away real soon now.
2012-03-05 15:22:44 -08:00
Bobby Holley
2cb54e998b
Bug 720580 - Remove unnecessary aIID parameter from nsIXPConnect::InitClassesWithNewWrappedGlobal. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
f43e9eb936
Bug 720580 - Introduce a flag for global natives and assert that we have it. r=mrbkap
2012-03-05 15:22:44 -08:00
Andrew McCreight
7c84ed2c56
Bug 728460, part 2: remove childless nodes in slice before CC. r=smaug
2012-03-05 13:48:33 -08:00
Ed Morley
d27ab2302c
Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions
2012-03-05 15:22:28 +00:00
Eric Chou
8f17971cf6
Bug 729991: fix followup problems of bug 713116, r=ben
2012-03-04 19:54:01 -08:00
Justin Lebar
e1a9198917
Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz
2012-03-04 15:58:06 -05:00
Justin Lebar
8f94cc1764
Back out bug 729940 (a108aee:d75775d) due to 32-bit red.
2012-03-04 14:20:34 -05:00
Justin Lebar
169d0f30f5
Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz
2012-03-04 13:49:42 -05:00
Matheus Kerschbaum
89b7db65ac
Bug 687579 part 1: Remove globalStorage implementation. r=jst
...
Bug 687579 part 1: Remove globalStorage implementation. r=jst
2011-10-09 22:14:00 -04:00
David Mandelin
8984e21021
Bug 732306: Remove typedef jsint, r=luke
...
--HG--
extra : rebase_source : 4d15a8514dbd698c114fa688461e533afab68ffa
2012-03-01 18:54:01 -08:00
Peter Van der Beken
52dc54f3e9
Fix for bug 732175 (Generate DOM list bindings that aren't controlled by the dom.new_bindings pref and remove old bindings for NodeList/HTMLCollection/HTMLOptionsCollection). r=jst.
...
--HG--
extra : rebase_source : 2eeeec059fe3467769ebcc5af01c8d472c2afbb6
2012-02-27 18:02:47 +01:00
Nicholas Nethercote
9d7b189319
Bug 730181 (part 2) - Rename nsDOMMemoryReporter. r=khuey.
...
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
extra : rebase_source : f3aca3b1829e03e6f8a5a0607eb437322eb62f7d
2012-02-23 18:43:33 -08:00
Nicholas Nethercote
52e0347a64
Bug 730181 (part 1) - Merge the "dom+style" and "layout" memory reporter trees. r=khuey.
...
--HG--
extra : rebase_source : dabcf525d823639c5ff465c7a21de8ae533e82ff
2012-02-21 07:10:11 -08:00
Nicholas Nethercote
726ecd352b
Bug 723799 - Use mallocSizeOf in the DOM memory reporters. r=mounir.
...
--HG--
extra : rebase_source : 2eb96d2f901bbe4cc1ff6dbccdec4dc4099b08fc
2012-02-01 13:58:01 -08:00
Bas Schouten
4a81f55553
Bug 651192 - Part 6: Implement the AsyncBitmapSurface drawing model support. r=roc
2012-02-16 04:30:22 +01:00
Bas Schouten
a001434e6c
Bug 651192 - Part 2: Update interface and stub implementors which don't have support. r=roc
2012-02-16 04:08:41 +01:00
Bobby Holley
664a6c0d5e
Bug 691178 - Refuse to wrap windows that are on the way out. r=jst
2012-02-29 18:09:16 -08:00
Igor Bukanov
3732e3e290
bug 730281 - remove cx argument from GC and compartment related functions. r=:billm
2012-02-29 13:18:16 +01:00
David Mandelin
0be0db4666
Bug 730511: remove obsolete typedefs intN, uintN, r=luke
2012-02-28 15:11:11 -08:00
Ryan VanderMeulen
127daf870d
Merge m-c to inbound.
2012-05-09 18:42:00 -04:00
Brian Hackett
bf76d70428
Don't throw away JIT code for compartments in web pages displaying animations, bug 750834. r=billm
2012-05-09 14:14:10 -07:00
Ed Morley
1367c1684d
Merge mozilla-central to mozilla-inbound
2012-05-09 18:09:29 +01:00
Dale Harvey
013a7434e0
Bug 719461: Added iconchange event to mozbrowser contained frames. r=jlebar
2012-05-09 09:34:16 -07:00
Peter Van der Beken
b3213dcf89
Fix for bug 637099 (Remove JS_ClearScope calls on windows). r=mrbkap.
...
--HG--
extra : rebase_source : 8bdadc72a0b28c78e21758fab8f1035ee1dd9f3d
2011-03-15 12:06:39 +01:00
Peter Van der Beken
28f90dc67b
Fix for bug 731227 (Fix script object ownership in IDBWrapperCache/IDBCursor). r=bent.
...
--HG--
extra : rebase_source : 86074980306682ebe1c4df8e09c4c2f3c51c4bf2
2012-02-27 17:52:19 +01:00
Ed Morley
bbbd8658b5
Merge mozilla-central to mozilla-inbound
2012-02-28 02:55:32 +00:00
Olli Pettay
ae2af798ac
Bug 730753, call CC after full GC, r=mccr8
2012-02-27 16:49:59 +02:00
Wes Johnston
f236dbc153
Bug 725458 - Dispatch touch events notification, even if window isn't focused. r=felipe,smaug
2012-02-27 13:23:06 -08: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
Jonas Sicking
5e2c35737e
Bug 722626: Implement DOMRequest object. r=mrbkap
2012-02-24 14:19:49 +01:00
Andrew McCreight
0439fbfdb6
Bug 697115 - return detailed CC results. r=smaug
2012-02-23 20:16:37 -08:00
Vivien Nicolas
0bb1089192
Bug 729430 - Expose screen.mozEnabled, screen.mozBrightness to whitelisted applications r=jlebar
2012-02-24 02:55:44 +01:00
Neil Deakin
e74745aeb4
Bug 653230, add panels with focusable elements into the document tab navigation order, r=smaug
2012-02-23 16:02:33 -05:00
Ben Turner
7af9098625
Backed out changeset 1f3643b7de2d
2012-02-23 07:09:11 -08:00
Ben Turner
3dc2527e7f
Bug 717414 - 'Telephony: Make calls array live'. r=sicking.
2012-02-23 03:48:35 -08:00
Florian Boesch
fc9e33241d
Bug 728354 - Implement WebGL EXT_texture_filter_anisotropic extension *proposal* - r=bjacob
...
The spec proposal for this extension is at
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/extensions/proposals/EXT_texture_filter_anisotropic/index.html
This adds a conformance test as well, that will have to be merged upstream.
2012-02-23 08:43:57 -05:00
Luke Wagner
7a0444dc60
Bug 720289 - Back out most of bug 699974 (r=jst)
2012-02-22 19:39:29 -08:00
Ed Morley
ef395cb269
Merge mozilla-central to mozilla-inbound
2012-02-23 01:03:16 +00:00
Masatoshi Kimura
d1bbe6a3ba
Bug 720208 - Implement DOM4 DOMException types and codes. r=smaug,ms2ger
2012-02-23 01:34:14 +01:00
Olli Pettay
6c798e3681
Bug 728577 - nsGlobalWindow::mFocusedNode seems to keep documents alive longer than needed, r=Enn
2012-02-22 19:08:40 +02:00
Ed Morley
ec5a7c5b3d
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-02-21 11:59:33 +00:00
Ms2ger
a8e72a0529
Bug 726968 - Fix some dom/ build warnings; r=mounir
2012-02-21 10:34:01 +01:00
Olli Pettay
77efecd0c1
Backout Bug 704623, a=dromaeo regression
...
--HG--
extra : rebase_source : ab8b467e3aac40a56b5df6d56477603dacfc7c69
2012-02-20 14:54:45 +02:00
Ed Morley
efe21ddd01
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-02-20 12:08:28 +00:00
Chris Pearce
b683a7c0e3
Bug 727303 - Add nsPIDOMWindow::SetFullScreenInteral. r=roc
2012-02-20 10:02:08 +13:00
Olli Pettay
21bbe4cd7b
Bug 728547 - Increase the forgetSkippable timer value, r=mccr8
2012-02-19 20:36:06 +02:00