Justin Lebar
46ec89c38b
Bug 802366 - Prelude, part 2: Rename GetParentIgnoreBrowserFrame to GetSameTypeParentIgnoreBrowserAndAppBoundaries. r=bz
...
It's a long name, but at least it's clear.
2012-11-09 16:37:38 -08:00
Peter Van der Beken
4b67a43418
Fix for bug 807330 (Make xpc_qsUnwrapThis/xpc_qsUnwrapArg deal with new DOM bindings). r=jst.
...
--HG--
extra : rebase_source : 3553f82516bfaa0764185f94e2eef616d9cd696d
2012-09-26 16:17:46 +02:00
Boris Zbarsky
4e328798b1
Bug 807226 part 7. Move creation of our event handlers out to the relevant API methods. r=smaug
...
Note that once we switch all these guys to WebIDL bindings they'll
automatically get the callback objects passed in from binding code.
2012-11-09 08:00:25 -08:00
Boris Zbarsky
3e87d4c861
Bug 807226 part 6. Centralize our IMPL_EVENT_HANDLER macro definitions in nsDOMEventTargetHelper. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
700dc9227b
Bug 807226 part 5. Allow event handlers to have a null scope object if they don't have to compile from a string. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
9cd29d2f98
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
beb6a36d0f
Bug 807226 part 2. Change event handlers to store WebIDL callback functions. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
30a5c69587
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
d8fee95886
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
05e4e3b75a
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
63fb55a443
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
2f4c5183a5
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
b38f788032
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
bcd798914e
Bug 809290 - Fix nsLocation::CheckURL. r=bz
2012-11-08 08:26:49 -08:00
Nathan Froyd
f4ba419a2e
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
0fb97bb8ee
Bug 803665 - convert nsGlobalWindow's timeout list to use mozilla::LinkedList; r=bz
2012-11-01 10:06:22 -04:00
Nathan Froyd
7dfe7c3184
Bug 803665 - part 0 - make nsTimeout properly initialize its fields; r=bz
2012-11-01 12:27:37 -04:00
Andrea Marchesini
64d6829083
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
3e7ccdc3eb
Backed out changeset 3566ba4296f7 because of wrong bug number.
...
--HG--
extra : rebase_source : c5d189308a555c7235d6cd405aa44d36c9b7db9a
2012-11-08 15:56:48 +00:00
Andrea Marchesini
6e439d8833
Bug 809567 - Hide ArchiveReader feature behind a pref (disabled by default), r=mounir
2012-11-08 15:54:26 +00:00
Robert O'Callahan
8950403bd5
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
953ac1301a
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
ab861f5738
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
4ab9ce9903
Merge backout on a CLOSED TREE.
2012-11-08 09:20:52 +01:00
Ms2ger
3345abbb79
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
cfe9f42302
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
7742c1eb59
Bug 803665 - convert nsGlobalWindow's timeout list to use mozilla::LinkedList; r=bz
2012-11-01 10:06:22 -04:00
Nathan Froyd
aa34b7b2b5
Bug 803665 - part 0 - make nsTimeout properly initialize its fields; r=bz
2012-11-01 12:27:37 -04:00
Bobby Holley
a209826b20
Bug 808611 - Move valueOf to nsIDOMLocation. r=mrbkap
2012-11-07 08:27:23 -08:00
Mounir Lamouri
5a334278ca
Bug 795715 - Remove B2G-specific stuff from nsIDOMWindow. r=khuey,fabrice sr=smaug
2012-11-07 18:10:40 +00:00
Ehsan Akhgari
82448818ee
Backed out changeset 5042f0a60460 (bug 805766) on the suspicion of causing bug 808287
2012-11-06 19:54:43 -05:00
Bobby Holley
9213a086b6
Bug 808612 - Wrapper cache and cycle collect nsLocation. r=smaug
2012-11-06 14:29:09 -08:00
Boris Zbarsky
ba9815c96a
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
1ab893634e
Bug 803129. Convert DOMStringMap to WebIDL. r=peterv
2012-11-05 11:58:03 -05:00
Boris Zbarsky
17e8e17ce0
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
8fc14742bc
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
6fc19ec25b
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
404d9ab987
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
b0d460cbbb
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
d9cdcd3130
bug 805017 - Disable screen timeout when DOMFullscreen is enabled r=jst
2012-11-01 08:40:11 -04:00
Nicholas Nethercote
e03f6bee47
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
b903541457
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
af22942dae
Bug 807410 - Part a: Pass the global object to the nsJSContext constructor; r=jst
2012-11-04 09:04:04 +01:00
Ms2ger
1494a04258
Bug 807926 - Don't handle outer windows in nsWindowSH::NewResolve; r=bholley
2012-11-04 09:00:06 +01:00
Masayuki Nakano
86d75d937c
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
d21a5d8004
Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan
2012-11-01 20:57:25 -04:00
Boris Zbarsky
51460ee660
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
9d5df74579
Bug 807311 - Add a CompileScript profile label. r=ehsan
...
--HG--
extra : rebase_source : 34ad974b46270487d6ae47c50d63479096413653
2012-11-01 14:50:56 -04:00
Boris Zbarsky
ab8ad9588a
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
8a78b3c63d
Back out both patches for bug 647216 due to regression documented in bug 806244.
2012-11-01 09:19:24 -04:00