Boris Zbarsky
2daa94afcd
Bug 807226 part 4. Allow event handlers to have a null nsIScriptContext if they won't have to compile from a string. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
bf51164dc8
Bug 807226 part 2. Change event handlers to store WebIDL callback functions. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
081200f74b
Bug 807226 part 0.5. More undefs to stop Windows headers from messing with our GetClassName. r=peterv
2012-11-09 07:59:41 -08:00
Boris Zbarsky
b44862af8b
Bug 779048 part 10. Start using the new callback codegen in argument and return value conversion. r=peterv,smaug
2012-11-09 07:43:58 -08:00
Boris Zbarsky
7399600c6f
Bug 779048 part 1. Implement a parent class for C++ reflections of callback functions in WebIDL. r=bholley,smaug
2012-11-09 07:43:57 -08:00
Boris Zbarsky
f05491aec8
Bug 779048 part 0.5. Don't require a JSContext argument for nsJSUtils::GetStaticScriptGlobal. r=bholley
2012-11-09 07:43:57 -08:00
Gabriele Svelto
91897bc0f6
Bug 808756 - Adjust all memory-pressure observers to cope with the new low-memory-no-forward events. r=jlebar
2012-11-08 20:15:23 +01:00
Benjamin Chen
c334e43e26
Bug 802564 - Can't set window.location in inline disposition web activity when its App frame is opened. r=fabrice
...
1. SystemMessageInternal: Handle the "_listeners" correctly by using "manifest" and "winID"
2. SystemMessageManager: Remove cpmm message listerners when receiving "inner-window-destroyed"; Add winID for the reg/unreg message.
3. DOMRequestIpcHelper: Check aTopic in observe method
2012-11-07 10:32:09 +08:00
Bobby Holley
195bcc0e9f
Bug 809290 - Fix nsLocation::CheckURL. r=bz
2012-11-08 08:26:49 -08:00
Nathan Froyd
63943e9c43
Bug 803665 - followup - dispense with nsGlobalWindow::{First,Last}Timeout and nsTimeout::{Next,Previous}; r=bz
2012-11-01 10:07:22 -04:00
Nathan Froyd
e9be51deb8
Bug 803665 - convert nsGlobalWindow's timeout list to use mozilla::LinkedList; r=bz
2012-11-01 10:06:22 -04:00
Nathan Froyd
f84b7b466f
Bug 803665 - part 0 - make nsTimeout properly initialize its fields; r=bz
2012-11-01 12:27:37 -04:00
Andrea Marchesini
10c8366adf
Bug 795930 - Hide ArchiveReader feature behind a pref (disabled by default), r=mounir
...
--HG--
extra : rebase_source : fc267035c0eb85bb08b9da91bf79ecbb816da1b3
2012-11-08 15:57:17 +00:00
Mounir Lamouri
2c4f8c0fac
Backed out changeset 3566ba4296f7 because of wrong bug number.
...
--HG--
extra : rebase_source : c5d189308a555c7235d6cd405aa44d36c9b7db9a
2012-11-08 15:56:48 +00:00
Andrea Marchesini
2751e6fb32
Bug 809567 - Hide ArchiveReader feature behind a pref (disabled by default), r=mounir
2012-11-08 15:54:26 +00:00
Robert O'Callahan
8e76b2dcac
Bug 792675. Part 6: Extend createObjectURL to support MediaStreams. r=sicking
...
--HG--
extra : rebase_source : ffec7b146552362b576e88c6dea24d612a5860b9
2012-09-25 15:24:45 +12:00
Robert O'Callahan
d723594f8f
Bug 792675. Part 4: Refactor nsBlobURI/nsBlobProtocolHandler to nsHostObjectURI/nsHostObjectProtocolHandler. r=sicking
...
The code to handle MediaStream URIs is almost the same as for Blobs, so share it.
nsHostObjectProtocolHandler is modified a bit to simplify method names. Also
we make nsHostObjectProtocolHandler::AddDataEntry take responsibility for
generating the URI to avoid duplicating that code later.
We need separate subclasses for each kind of host object protocol handler,
but we don't need separate subclasses for each kind of host object URI.
--HG--
rename : content/base/public/nsBlobProtocolHandler.h => content/base/public/nsHostObjectProtocolHandler.h
rename : content/base/src/nsBlobProtocolHandler.cpp => content/base/src/nsHostObjectProtocolHandler.cpp
rename : content/base/src/nsBlobURI.cpp => content/base/src/nsHostObjectURI.cpp
rename : content/base/src/nsBlobURI.h => content/base/src/nsHostObjectURI.h
extra : rebase_source : bfb1d7ea2813100a35f9a2054a67584e38f5f330
2012-09-25 15:24:44 +12:00
Robert O'Callahan
cd4b7e8862
Bug 792675. Part 1: Make the URL interface use WebIDL. r=bz
...
--HG--
extra : rebase_source : dbb7a3158b71446930400ad523a2896b6306de40
2012-09-25 15:24:43 +12:00
Ms2ger
1458c5086e
Merge backout on a CLOSED TREE.
2012-11-08 09:20:52 +01:00
Ms2ger
e7adc51bbe
Bug 809756 - Backout bug 803665, bug 803668, bug 803666 and bug 803669 on a CLOSED TREE.
2012-11-08 09:20:25 +01:00
Nathan Froyd
3fe7c0dc6e
Bug 803665 - followup - dispense with nsGlobalWindow::{First,Last}Timeout and nsTimeout::{Next,Previous}; r=bz
2012-11-01 10:07:22 -04:00
Nathan Froyd
fdfe7bdd60
Bug 803665 - convert nsGlobalWindow's timeout list to use mozilla::LinkedList; r=bz
2012-11-01 10:06:22 -04:00
Nathan Froyd
4f53eee1c0
Bug 803665 - part 0 - make nsTimeout properly initialize its fields; r=bz
2012-11-01 12:27:37 -04:00
Bobby Holley
0d4bc850b4
Bug 808611 - Move valueOf to nsIDOMLocation. r=mrbkap
2012-11-07 08:27:23 -08:00
Mounir Lamouri
7805230a8b
Bug 795715 - Remove B2G-specific stuff from nsIDOMWindow. r=khuey,fabrice sr=smaug
2012-11-07 18:10:40 +00:00
Ehsan Akhgari
4fcd226fb1
Backed out changeset 5042f0a60460 (bug 805766) on the suspicion of causing bug 808287
2012-11-06 19:54:43 -05:00
Bobby Holley
ce74d3f31d
Bug 808612 - Wrapper cache and cycle collect nsLocation. r=smaug
2012-11-06 14:29:09 -08:00
Boris Zbarsky
2e34a9a752
Bug 807222 part 6. Fix getOwnPropertyNames to work correctly on Window. r=jst
...
One note: it might be better to change the signature of Enumerate() to
indicate whether we're enumerating just the enumerable properties or
all of them, so we can skip doing this when someone does for...in on
the window.
2012-11-01 13:51:57 -04:00
Boris Zbarsky
bad3a03ce9
Bug 803129. Convert DOMStringMap to WebIDL. r=peterv
2012-11-05 11:58:03 -05:00
Boris Zbarsky
51ea2f70a7
Back out rev 6d36471ab3ca (part 5 of bug 807222) because now Android is shipping busted stuff on the global.
2012-11-05 11:54:37 -05:00
Boris Zbarsky
06fca213bc
Bug 807222 part 5. Fix getOwnPropertyNames to work correctly on Window. r=jst
...
One note: it might be better to change the signature of Enumerate() to
indicate whether we're enumerating just the enumerable properties or
all of them, so we can skip doing this when someone does for...in on
the window.
2012-11-01 13:51:57 -04:00
Boris Zbarsky
bd608c57ef
Bug 807222 part 3. Make sure we enter the right compartment before we try to define interface constants on a constructor. r=bholley
2012-11-05 10:20:04 -05:00
Boris Zbarsky
8fa9f91ba7
Bug 807222 part 2. Condition MozTimeManager classinfo so we don't stick it on the global in builds that don't ship the xpt for it. r=jlebar
2012-11-05 10:20:03 -05:00
Boris Zbarsky
c074df3e75
Bug 807222 part 1. Propertly condition MozActivity so we don't stick it on the global in builds that we don't ship the xpt for it in. r=fabrice
2012-11-05 10:20:03 -05:00
Brad Lassey
180cc08e90
bug 805017 - Disable screen timeout when DOMFullscreen is enabled r=jst
2012-11-01 08:40:11 -04:00
Nicholas Nethercote
bd6c82fd52
Bug 807850 - Add a memory reporter for the nsScriptNameSpaceManager. r=jst.
...
--HG--
extra : rebase_source : bd6e263678aab5477ba11c70015b1537278914b3
2012-11-04 14:18:44 -08:00
Ms2ger
5ffd0edacd
Bug 807410 - Part b: Pass the "GC on destruction" flag to the nsJSContext constructor; r=jst
2012-11-04 09:05:23 +01:00
Ms2ger
ca9e7e960f
Bug 807410 - Part a: Pass the global object to the nsJSContext constructor; r=jst
2012-11-04 09:04:04 +01:00
Ms2ger
75d16999b0
Bug 807926 - Don't handle outer windows in nsWindowSH::NewResolve; r=bholley
2012-11-04 09:00:06 +01:00
Masayuki Nakano
8429aecf4b
Bug 805766 nsFocusManager should change IME state before dispatching focus event at activating different document r=enndeakin
2012-11-03 15:32:26 +09:00
Andrew Quartey
96949afbbf
Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan
2012-11-01 20:57:25 -04:00
Boris Zbarsky
3b02694d09
Back out rev 2682f9a1fc58, bug 807222, because it assumes that people aren't putting completely broken stuff on Window, which b2g does. CLOSED TREE
2012-11-01 15:19:08 -04:00
Benoit Girard
535c354737
Bug 807311 - Add a CompileScript profile label. r=ehsan
...
--HG--
extra : rebase_source : 34ad974b46270487d6ae47c50d63479096413653
2012-11-01 14:50:56 -04:00
Boris Zbarsky
542d9a7c0c
Bug 807222. Fix getOwnPropertyNames to work correctly on Window. r=jst
...
One note: it might be better to change the signature of Enumerate() to
indicate whether we're enumerating just the enumerable properties or
all of them, so we can skip doing this when someone does for...in on
the window.
2012-11-01 13:51:57 -04:00
Josh Aas
4c7422ffc4
Back out both patches for bug 647216 due to regression documented in bug 806244.
2012-11-01 09:19:24 -04:00
Jason Duell
799c77afee
Bug 804495 - Allow nsGlobalWindow to support GetInterface(nsILoadContext) r=bz
2012-10-24 21:25:00 -07:00
Nathan Froyd
083390c43e
Backout 57d8f6cd245a (bug 803669), fb673c95d56b (bug 803665), 24d8e0cb73f2 (bug 803665), ac46bd0d9fba (bug 803669), c9c67b62799b (bug 803666), b3314c0ddaac (bug 803668) for debug build test failures
2012-10-31 13:23:17 -04:00
Doug Turner
4ee2adc832
Bug 806472 - NS_CONTENT_PERMISSION_PROMPT_CONTRACTID is used both as a service and an instance. r=bent
2012-10-31 10:06:42 -07:00
Kyle Huey
1482122303
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
...
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Nathan Froyd
6db8e72565
Bug 803665 - part 2 - dispense with nsGlobalWindow::{First,Last}Timeout and nsTimeout::{Next,Previous}; r=bz
2012-10-22 11:24:27 -04:00
Nathan Froyd
a837cd5d23
Bug 803665 - convert nsGlobalWindow's timeout list to use mozilla::LinkedList; r=bz
2012-10-19 12:22:35 -04:00
Vicamo Yang
8297cdabd6
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Nicholas Nethercote
ba984ea26b
Bug 802894 - Add a memory reporter for nsEffectiveTLDService. r=jduell.
...
--HG--
extra : rebase_source : 32cdfbf060c963d6a16875af406949b8eef50453
2012-10-19 05:07:13 -07:00
Justin Lebar
c867b89b40
Backed out changeset e710acd6ef11 (bug 802366)
2012-10-30 21:36:32 -04:00
Justin Lebar
d75eb03310
Backed out changeset a6a847452dbf (bug 802366)
2012-10-30 21:36:29 -04:00
Boris Zbarsky
7cb30ff9c6
Bug 801819. Remove nsIDOMCSS2Properties and the classinfo bits for CSS declarations. r=peterv,dbaron
2012-10-30 17:14:06 -04:00
Justin Lebar
7e748f5b3a
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones DONTBUILD
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
(Re-landing changeset a6a847452dbf, backed out in 5091aa6083c4, because it was originally landed with the incorrect bug number.)
2012-10-30 16:13:21 -04:00
Justin Lebar
6bd563b2ee
Backed out changeset a6a847452dbf due to incorrect bug number (should be bug 802366, but was bug 802367). DONTBUILD
2012-10-30 16:13:20 -04:00
Justin Lebar
c936f604ec
Bug 802367 - The main event: Let a browser process inherit its app's id. r=bz,cjones
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
--HG--
extra : rebase_source : f3ef9475e21204da10bf39c6cca506bc08096949
2012-10-30 15:55:05 -04:00
Justin Lebar
8eb0aa0ed6
Bug 802366 - Prelude, part 2: Rename GetParentIgnoreBrowserFrame to GetSameTypeParentIgnoreBrowserAndAppBoundaries. r=bz
...
It's a long name, but at least it's clear.
--HG--
extra : rebase_source : fdf13259e0b0cc3b0f5d1760f5ced512dee2c28b
2012-10-30 15:55:05 -04:00
Kyle Huey
bdf47895bb
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 08:26:12 -07:00
Jan Varga
52c04ab469
Bug 786688 - Part 2: Code cleanup. r=sicking
2012-10-30 07:11:58 +01:00
Jonas Sicking
534f67d717
Bug 786688 - Part 1: Add chrome only openForPrincipal() and deleteForPrincipal(). r=bent
2012-10-30 07:07:09 +01:00
Jacek Szpot
0b35b0e3d8
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Peter Van der Beken
1ef60a85a4
Fix for bug 778152 (Content window does not have an XMLHttpRequest property when accessed via an Xray wrapper in a subscript). r=bz.
...
Switch from using the interface objects from the Xrays compartment to wrapping
interface objects and interface prototype objects in Xrays. Make dom binding
Xrays deal with both instance objects and interface and interface prototype
objects.
2012-10-09 20:50:27 +02:00
Bobby Holley
b4461f0bed
Bug 803068 - Merge DirectWrapper and Wrapper. r=ejpbruel
...
--HG--
extra : rebase_source : a2b98a9585c6f7761747cfaf55684e6eeed91344
2012-10-29 16:52:53 +01:00
Gabor Krizsanits
f83543b9ea
Bug 804120 - Offer a way to apply author stylesheet on a given document. r=bz
2012-10-29 12:21:15 +01:00
Ryan VanderMeulen
57a69e0741
Backout b6089a8b78d3 (bug 782547) to see if it fixes Flash hangs.
2012-10-28 00:24:02 -04:00
Gregor Wagner
94f2e887b4
Bug 800063 - Make GC_ALLOCATION_THRESHOLD dynamic. r=billm
2012-10-26 16:06:19 -07:00
Eitan Isaacson
25b41701c7
Bug 805670 - Introduce nsIDOMWindowUtils.getResolution. r=dholbert sr=smaug
2012-10-26 14:09:38 -07:00
Markus Stange
9e63676c33
Bug 647216: Allow testing of MozMouseHittest window dragging. r=enndeakin
2012-10-26 15:40:11 -04:00
Masayuki Nakano
072949e794
Bug 805306 Get rid of nsIMEStateManager::OnTextStateBlur() and nsIMEStateManager::OnTextStateFocus() r=smaug
2012-10-26 09:49:13 +09:00
Nikhil Marathe
36f99c3113
Bug 804174 - Inline IsCallerTrustedForWrite with IsCallerChrome. r=mccr8
2012-10-25 16:10:54 -07:00
Nikhil Marathe
17ccba841b
Bug 804174 - Inline IsCallerTrustedForRead with IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Nikhil Marathe
1ded83c0cc
Bug 804174 - Inline IsUniversalXPConnectCapable with nsContentUtils::IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Nikhil Marathe
453b3dce5f
Bug 804174 - Inline CallerHasUniversalXPConnect with IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Ryan VanderMeulen
130a50c2ca
Merge m-c to inbound.
2012-10-25 17:43:19 -04:00
Tim Taubert
101d75524c
merge m-c to fx-team
2012-10-25 21:23:58 +02:00
Fabrice Desré
12098e7a72
Bug 782766 - [WebActivities] support blobs - Part 1: System Messages changes [r=gene]
...
--HG--
extra : rebase_source : bff9c5c4745493b652a6218a60d5840e09f7235e
2012-10-25 11:45:14 -07:00
Bobby Holley
6bae1ef04d
Bug 797821 - Address Ms2ger's review comments. r=me
2012-10-25 17:01:09 +02:00
Bobby Holley
c562949e50
Bug 797821 - Hoist XPConnect-y stuff out of the compartment private and into the XPCWrappedNativeScope. r=mrbkap
...
This change means we no longer have to keep around a set of XPConnect compartments.
We keep the compartment private around for non-xpconnecty stuff like about:memory
instrumentation that needs to happen on non-xpconnect compartments.
2012-10-25 17:01:09 +02:00
Mihai Sucan
ff15ba270c
Bug 803964 - Cannot show window object with inspect viewer in remote web console; r=bz
2012-10-24 13:01:54 +03:00
Randell Jesup
b7a4ba499c
Bug 803976: Implementation of LocalMediaStreams for .stop() r=roc,anant
2012-10-24 19:21:32 -04:00
Ehsan Akhgari
cab6e9af53
Backed out changeset 165208ecd591 (bug 803976)
2012-10-24 20:29:32 -04:00
Randell Jesup
8865bcac96
Bug 803976: Implementation of LocalMediaStreams for .stop() r=roc,anant
2012-10-24 19:21:32 -04:00
Neil Deakin
5c3be470f7
Bug 782547, allow killfocus and deactivate messages to arrive in any order, remove blur suppression code, r=jmathies
2012-10-24 16:05:29 -04:00
Bobby Holley
29e21a9717
Bug 747607 - Remove GetContextFromStack. r=bz
2012-10-19 23:26:17 +02:00
Bobby Holley
c2219d0e69
Bug 747607 - Don't throw when we fail to find a source document. r=bz
2012-10-19 23:26:17 +02:00
Benjamin Peterson
1adbee29f9
Bug 804404 - Set source hook in XPC initialization. r=bz
2012-10-23 18:09:00 -04:00
Chuck Lee
ddac623d6a
Bug 780142 - Rewrite MozWifiConnectionInfoEvent. r=smaug
2012-10-22 18:18:26 +08:00
Chuck Lee
a7168749c9
Bug 780142 - Rewrite WifiStatusChangeEvent. r=smaug
2012-10-22 17:17:18 +08:00
Peter Van der Beken
57adeb4354
Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
...
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
Abhishek Potnis
2509c81393
Bug 795511: Removed usages of PR_BIT and PR_BITMASK from the tree; r=ehsan
2012-10-20 07:31:43 +05:30
Boris Zbarsky
2c0d8809e7
Bug 801712 part 2. Switch ImageData to WebIDL bindings. r=peterv
2012-10-22 13:08:52 -04:00
Boris Zbarsky
98124699eb
Bug 776242. Remove now-unused 2d canvas classinfo. r=peterv
2012-10-22 13:08:52 -04:00
Bobby Holley
cbd9a55d15
Bug 789224 - Remove miscellaneous UniversalXPConnect checks sprinkled throughout gecko. r=mrbkap
2012-10-22 08:29:55 +02:00
Ryan VanderMeulen
c876d90f69
Merge m-c to inbound.
2012-10-18 21:44:09 -04:00
Benjamin Peterson
632234f58e
Bug 803358 - Remove JSOPTION_RELIMIT. r=luke
2012-10-18 21:06:42 -04:00