Masatoshi Kimura
cbb92d2685
Bug 730161 - Implement IDBRequest.error. r=sicking
2012-04-11 17:55:21 -04:00
Philipp von Weitershausen
269a26647e
Bug 734018 - Don't patch DOMRequestService into Services.jsm. r=gavin,fabrice
2012-04-11 13:55:54 +08:00
Mounir Lamouri
641e4dc04c
Bug 743217 - Do not allow iframes to lock the screen if a parent window's element is fullscreened. r=smaug
...
--HG--
extra : rebase_source : f3384491fbfc1a756917516ad15f5d93d05f624b
2012-04-10 15:38:59 +02:00
Olli Pettay
adf238dbcd
Bug 743199 - Unmark Document's and Window's ELM, r=mccr8
2012-04-07 10:12:03 +03:00
Bill McCloskey
210b823250
Bug 742570 - Remove the compartment option for gczeal (r=igor)
2012-04-03 11:41:56 -07:00
Bill McCloskey
ede17c11db
Bug 739810 - Make cycle collector traverse nsGlobalWindow::mLocalStorage (r=smaug)
...
--HG--
extra : rebase_source : 7da46b5d1e5871dbd59078aa93f0f1d8da75799e
2012-04-05 15:38:01 -07:00
Gabor Krizsanits
74922f0040
Bug 733035 - postMessage support for sandboxes. r=khuey
2012-04-05 18:33:20 -04:00
Brad Lassey
d0e11c8d01
backout b51259905d85 because it needs sr
2012-04-05 02:02:52 -04:00
Brad Lassey
4a02ab3916
bug 738528 - still photo support for getUserMedia r=dougt
2012-04-04 23:32:38 -04:00
Justin Lebar
e25a776ebd
Bug 742448 - Don't return xray-waived objects in BrowserElementAPI, and don't use the parent window's content-overridable top property for implementing window.top. r=bholley
...
--HG--
extra : rebase_source : 0c81c1f605aaf73f01b47077be11345ee64955e1
2012-04-04 20:32:39 -04:00
Nathan Froyd
648b4d2f3d
Bug 732708 - remove nsIDOMStorageList; r=honzab
2012-03-28 12:33:41 -04:00
Marco Bonardo
ee37f02006
Merge central to inbound
2012-04-04 13:39:52 +02:00
Marco Bonardo
047806e61c
Merge last green PGO from inbound to central
2012-04-04 13:36:36 +02:00
Olli Pettay
14fb10f69b
Bug 742183 - Handle MicroTasks correctly with showModalDialog, r=sicking
2012-04-04 09:23:45 +03:00
Marco Bonardo
9da76e99e1
Merge central and inbound
2012-04-03 14:36:57 +02:00
Ms2ger
d5ec912ad4
Bug 532062 - localStorage/sessionStorage should return undefined (not null) for undefined keys through property access; r=mayhemer
2012-04-03 09:25:39 +02:00
Justin Lebar
8f1a69a0ab
Bug 737857 - Report number of ghost windows in telemetry. r=njn
...
--HG--
extra : rebase_source : 0139099de839f77405ec1e606fc0540fc892cbd5
2012-04-02 22:28:13 -04:00
Justin Lebar
e71332b560
Bug 738624 - Add ghost windows to about:compartments. r=njn
...
--HG--
extra : rebase_source : c16cdfc4c06b363f54f1d0f37bb006cf977b079a
2012-04-02 22:28:05 -04:00
Justin Lebar
3494c5ed8e
Bug 738011 - Separate "detached" from "ghost" windows in about:memory. r=njn,mccr8
...
--HG--
extra : rebase_source : 02d563277907231953728a0a99847c466665dbb0
2012-04-02 22:28:04 -04:00
Matt Brubeck
678b0cfe89
Back out bug 738011, bug 738624, and bug 737857 because of WinXP debug reftest log errors
...
--HG--
extra : rebase_source : 965c755f6416e2ca102b38633fe7a2c7267e956e
2012-04-02 12:44:31 -07:00
Masayuki Nakano
eb57a32930
Bug 668157 part.2 mozilla/dom should use mozilla::Preferences r=jst
2012-04-04 13:09:20 +09:00
Ryan VanderMeulen
8a1ce69485
Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst
2012-04-03 20:22:42 -04:00
Matt Brubeck
8771612c40
Merge mozilla-central to mozilla-inbound
2012-04-02 11:03:29 -07:00
Matt Brubeck
6c039eb840
Merge last green changeset from inbound to mozilla-central
2012-04-02 10:41:37 -07:00
Kyle Huey
a19142cede
Bug 722428: Fix leaks in mochitest by reworking SpecialPowers and nsDOMWindowUtils. r=mounir,ctalbert
2012-04-01 19:23:51 -07:00
Tim Taubert
4d09e65fb8
merge m-c to fx-team
2012-04-01 18:52:12 +02:00
Ed Morley
651aa424a1
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-03-31 22:41:59 +01:00
Olli Pettay
f198500ad9
Bug 641821, MutationObserver, r=sicking
...
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Johnny Stenback
8bf8680df4
Removing windows newlines. no bug and DONTBUILD
2012-03-30 22:34:16 -07:00
Ed Morley
c7a3740e33
Merge mozilla-central to mozilla-inbound
2012-03-31 15:28:55 +01:00
Peter Van der Beken
09128a75d3
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
e0d6ef4e96
Bug 740707 - Fix crash in mozilla::dom::Navigator::GetMozBattery. r=jlebar
2012-03-30 18:58:12 -07:00
Tim Taubert
35c66981b6
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
d3b8a6debe
Merge central to inbound
2012-03-30 12:27:55 +02:00
Ms2ger
09e5acca2c
Bug 738761 - Remove nsIScriptTimeoutHandler::GetScriptVersion and pass JSVersion to nsIScriptContext::EvaluateString; r=jst
2012-03-29 23:09:13 +02:00
Mounir Lamouri
46903d4f81
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
8356eff220
Bug 740188 - Screen Orientation API locking (2/3): security model. r=smaug
2012-03-29 09:31:29 -07:00
Mounir Lamouri
d8342fc658
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
315c82925b
Bug 738868 - Switch JSObject2JSObjectMap to new HashTable; r=mrbkap
2012-03-27 09:55:55 -07:00
Peter Van der Beken
31bd546579
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
02027b882a
Bug 740268 - DisableDeviceSensor doomedElement isn't being set correctly. r=mwu
2012-03-28 23:54:53 -07:00
Mark Capella
5b2f534388
Bug 738380 - Remove nsINode::{GetScriptTypeID, SetScriptTypeID}, nsIScriptContext::GetScriptTypeID, nsIScriptRuntime::GetScriptTypeID; r=jst
2012-04-01 14:47:48 +02:00
Justin Lebar
e118a51dca
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
3be96b596d
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
5dfa9d4b7a
Merge mozilla-central to mozilla-inbound
2012-03-28 17:37:32 +01:00
Kyle Huey
f690aa730d
Merge the last good pgo-green cset on mozilla-inbound to mozilla-central.
2012-03-28 07:40:52 -07:00
Neil Rashbrook
8cc5335d19
Bug 737022 Re-enable debug chrome strict warnings r=jst
2012-03-28 12:09:33 +01:00
Eric Chou
2769592846
Bug 731361 - Change bluetooth firmware loading to use a DOMRequest based API. r=bent
2012-03-27 19:17:35 -04:00
Jared Wein
642a4f48c0
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
e34baf2131
Backed out changeset 8e42ba558f07 (bug 730318) CLOSED TREE
2012-03-27 15:23:53 -07:00
Gregor Wagner
746c6fda8d
Bug 678695 - Settings API. r=sicking, fabrice, smaug
2012-03-26 14:49:38 -07:00
Igor Bukanov
3a859b7a76
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
26e9a6a204
Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger
2012-04-04 11:15:10 +02:00
Benoit Jacob
1ae2806ea3
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
27f43955f9
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
d8022c463a
Bug 737857 - Report number of ghost windows in telemetry. r=njn
2012-04-02 10:37:04 -04:00
Justin Lebar
007d8115b5
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
f5815cc539
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
59d0282757
Bug 734855 - Rename DeviceMotion to DeviceSensors. Review comments address r=mwu
2012-03-24 17:30:03 -07:00
Doug Turner
d24b5a906e
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
46f2d3abe9
Bug 734855 - Device Orientation - Make EnableDeviceMotion finer grain. r=mwu
2012-03-24 17:29:49 -07:00
Matt Brubeck
21e24f0ef9
Merge mozilla-central and mozilla-inbound
2012-03-24 09:05:27 -07:00
Peter Van der Beken
4c5904d14e
Bug 738593 - Rename IsProxy to IsDOMBinding; r=mrbkap
2012-03-16 16:44:09 +01:00
Ms2ger
d1ba1fe158
Bug 734724 - Inline nsIScriptContext::ConnectToInner into its only caller; r=jst
2012-03-24 09:18:22 +01:00
Ms2ger
57b8d41a26
Bug 734029 - Move nsJSContext::{Set,Create}OuterObject to nsGlobalWindow; r=bholley
2012-03-24 09:18:21 +01:00
Vivien Nicolas
4e3a4fa2e2
Bug 736193 - Use the offline cache to load applications [r=fabrice] DONTBUILD because NPOTB
2012-03-23 16:39:15 -07:00
Jared Wein
4920fd9f8d
Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage
2012-03-23 11:46:12 -07:00
Marco Bonardo
8b41ce4e56
Merge central to inbound
2012-03-23 02:02:03 +01:00
Marco Bonardo
e0389c6f8a
Merge last green PGO from inbound to central
2012-03-23 01:59:29 +01:00
David Flanagan
10e29d77c0
Bug 738439 - typo in Webapps.jsm [r=fabrice]
2012-03-22 14:26:36 -07:00
Marco Bonardo
508dc27a5b
Merge last green PGO from inbound to central
2012-03-22 13:04:29 +01:00
Neil Rashbrook
198703fe5f
Bug 737022 Re-enable strict warnings when parsing XUL r=jst
2012-03-22 08:36:36 +00:00
Jared Wein
589f9135f9
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
6ca839eb6c
Bug 672175 part.15 Add new API nsIDOMWindowUtils.sendNativeMouseScrollEvent() r=roc, sr=smaug
2012-03-22 09:59:12 +09:00
Henri Sivonen
3dfb9fb844
Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug.
2012-03-22 16:42:42 +02:00
Marco Bonardo
1dfd7fb932
Merge central to inbound
2012-03-22 13:09:22 +01:00
Boris Zbarsky
11b852e1bf
Bug 622491. Make the global scope polluter work in standards mode too. r=jst
2012-03-22 00:10:50 -04:00
Blake Kaplan
0b7d1e15a2
Bug 737029 - Use DOMRequestHelper.jsm in DOMWifiManager.js. r=fabrice DONTBUILD
2012-03-20 16:59:38 +01:00
Mounir Lamouri
71d5cfc5d5
Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt
2012-03-20 14:09:45 +01:00
Adam Dane [:hobophobe]
3c986b3780
Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc
2012-03-19 21:09:50 -05:00
Hessam Salehi
7d69570885
Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg
2012-03-21 14:07:31 -04:00
Eric Chou
aa6940f2c6
Bug 730990 - Device object boilerplate for DOM Bluetooth - r=qDot
2012-03-23 14:58:12 -07:00
Kyle Machulis
35235ab6bd
Backing out a44ac6895a2f
2012-03-23 14:50:47 -07:00
Eric Chou
241b42bb8c
Bug 730990 - Device object boilerplate for DOM Bluetooth - r=qDot
2012-03-23 14:18:03 -07:00
Jared Wein
30d9fd445e
Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage
2012-03-23 11:11:31 -07:00
Mark Capella
08d7239a5d
Bug 734023 - Remove language arguments from nsIScriptGlobalObject methods, r=jst, f=ms2ger
2012-03-23 18:13:29 +01:00
Shriram Kunchanapalli
a0a99e8f8a
Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt
2012-02-18 19:17:01 +05:30
Kan-Ru Chen
bcddd7d2c9
Bug 710135 - Move screen.enabled/brightness to mozPower. r=jlebar,mounir sr=cjones,sicking
2012-04-03 01:51:00 -04:00
Igor Bukanov
5542df3342
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
Steve Fink
f05afcc260
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
5843a0733d
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
c7443b0f63
Bug 744910 - Remove FileException from workers. r=bent
2012-04-24 19:50:00 -04:00
Mark Capella
2577075a7a
Bug 744332 - Remove nsXULPrototypeScript::ScriptObjectHolder::mLangID. r=jst, f=Ms2ger
2012-04-24 18:31:28 -04:00
Timothy Nikkel
b9a7468478
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
ff4859867a
Bug 739038 - Disable window.print on Fennec [r=jst]
2012-04-13 12:45:06 -07:00
Myk Melez
8bb862f4ba
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
f9e587495d
Bug 677194 - Change assertion to an early-return bailout. r=jst, a=akeybl
2012-02-29 12:11:03 -05:00
Boris Zbarsky
d1a2ce74b8
Bug 740811. Make SVGElement.prototype be Element.prototype again. r=peterv, a=akeybl
2012-04-20 21:44:35 -04:00
Mounir Lamouri
37cde3b716
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
a0c55021dc
Bug 735261 - navigator.mozConnection should be an instance of EventTarget. r=smaug
2012-03-14 19:50:11 +01:00