Boris Zbarsky
78475a57dc
Bug 823225. Move .wrappedJSObject from nsWindowSH::GetProperty to the outer window get hook. r=mrbkap
2013-01-02 22:03:41 -05:00
Daniel Holbert
ffbbeabdb2
Bug 558306 followup: Remove one straggling instance of stale comment about (no longer used) PR_USEC_PER_MSEC and PRTime. (comment-only, DONTBUILD)
2013-01-02 10:52:19 -08:00
Masatoshi Kimura
708fff2827
Bug 820841 - Cache the document URI on the window so that DOMParser() can refer. r=bz
2012-12-26 20:00:05 +09:00
Boris Zbarsky
712812f5ce
Bug 824517. Quickstub window.performance. r=peterv
2012-12-25 14:00:15 -08:00
Ms2ger
794e24ef39
Bug 823107 - Make nsIDOMEvent::SetTrusted return void; r=smaug
2012-12-22 09:18:08 +01:00
Masatoshi Kimura
677a95a1b2
Bug 822094 - Part 2: Add transfer parameter to window.postMessage. r=sicking
2012-12-17 17:43:45 -05:00
Masayuki Nakano
1175347f1f
Bug 813445 part.12 Remove NS_EVENT_FLAG_ONLY_CHROME_DISPATCH and nsEvent::flags r=smaug
2012-12-16 10:26:05 +09:00
Masayuki Nakano
dd4680eca9
Bug 813445 part.3 Remove NS_EVENT_FLAG_CANT_CANCEL and NS_EVENT_FLAG_CANT_BUBBLE r=smaug
2012-12-16 10:26:03 +09:00
Masayuki Nakano
baacb610a5
Bug 813445 part.1 Make widget::EventFlags and remove NS_EVENT_FLAG_TRUSTED r=roc+smaug, feedback=emk
2012-12-16 10:26:03 +09:00
Kyle Huey
2e895ae996
Bug 770844: Add a window.mozIndexedDB to work around this bug for now. r=sicking a=akeybl
2012-09-20 08:50:16 -07:00
Benoit Girard
91202a1581
Bug 818296 - Don't NukeCrossCompartment on optimized shutdown. r=khuey
2012-12-07 11:54:46 -05:00
Peter Van der Beken
10cdb20170
Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods). r=bz.
2012-11-26 15:19:02 +01:00
Peter Van der Beken
5e8230e9a9
Back out 79fc9d732bf7 (bug 818219) for orange.
2012-12-06 16:09:55 +01:00
Peter Van der Beken
cb66aa394f
Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods). r=bz.
2012-11-26 15:19:02 +01:00
Trevor Saunders
0dc85f40ea
bug 801466 - part 3.1 remove some prmem usage from dom/ and content/ r=mounir
2012-12-05 02:55:37 -05:00
Trevor Saunders
6ede65f56a
backout 2bb432c47170 for debug asserts
2012-12-05 04:19:33 -05:00
Trevor Saunders
1defb24f0a
bug 801466 - part 3 1/2 remove some prmem usage from dom/ and docshell/ r=mounir
2012-12-05 02:55:37 -05:00
Andrew McCreight
12917d18a5
Bug 792861 - Make HoldJSObjects/DropJSObjects infallible. r=smaug
2012-11-12 17:15:00 -08:00
Ms2ger
b30e8522ae
Bug 814898 - Part d: Cleanup CC goop in some more parts of dom/; r=mccr8
2012-12-02 09:54:51 +01:00
Mounir Lamouri
725bc17683
Bug 798446 - Attempt to fix startup crash in nsGlobalWindow ctor. r=bz
2012-11-27 18:29:49 +00:00
Ehsan Akhgari
a96b86a914
Bug 814789 - Tie the life-time of the AudioContext to the life-time of the document owning it; r=bzbarsky
2012-11-23 18:33:41 -05:00
Daniel Holbert
fb637b210c
Backed out changeset 704c91d3e7fa (Bug 814789) because of mac build-bustage
2012-11-26 20:34:10 -08:00
Ehsan Akhgari
1b71b1831f
Bug 814789 - Tie the life-time of the AudioContext to the life-time of the document owning it; r=bzbarsky
2012-11-23 18:33:41 -05:00
Andrew McCreight
6cfadb6817
Bug 814453 - Eliminate NS_IMPL_CYCLE_COLLECTION_UNLINK_NATIVE_0 and NS_IMPL_CYCLE_COLLECTION_TRACE_NATIVE_BEGIN. r=smaug
2012-11-23 11:27:06 -08:00
Andrew McCreight
c5bd85c9f9
Bug 814738 - Modernize Traverse for nsTObserverArray. r=smaug
2012-11-23 11:13:39 -08:00
Benoit Jacob
54e2c39602
Bug 814444 - Remove now-useless TRAVERSE_NATIVE_BEGIN and UNLINK_BEGIN_NATIVE macros - r=mccr8
2012-11-22 12:15:38 -05:00
Bobby Holley
bb8585294b
Bug 776497 - Check for null currentInner when deciding to reuse inner windows. r=smaug
2012-11-20 16:32:06 -08:00
Mounir Lamouri
624a7d041c
Bug 764240 - Clamp window.sizeToContent() the same way we clamp other resizing methods. r=bz
2012-11-19 23:18:21 +00:00
Phil Ringnalda
065ebc8d6d
Back out 204665ad4a24 (bug 764240) for Android M4 failures
2012-11-19 14:40:32 -08:00
Mounir Lamouri
838adb160a
Bug 764240 - Clamp window.sizeToContent() the same way we clamp other resizing methods. r=bz
2012-11-19 18:15:23 +00:00
Benoit Jacob
c995bc9e1e
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Bobby Holley
fa9c5529aa
Bug 800915 - Add infrastructure to flag security wrappers as unsafe to unwrap. r=mrbkap
2012-11-14 09:56:25 -08:00
Justin Lebar
f4dad2e81e
Bug 802366 - 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.
2012-11-10 10:32:37 -08:00
Justin Lebar
1099f1f0fe
Bug 802366 - Prelude, part 2: Rename GetParentIgnoreBrowserFrame to GetSameTypeParentIgnoreBrowserAndAppBoundaries. r=bz
...
It's a long name, but at least it's clear.
2012-11-10 10:32:35 -08:00
Ryan VanderMeulen
65c1f3f21c
Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
2012-11-09 20:14:40 -05:00
Justin Lebar
3f9133d4e7
Bug 802366 - 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.
2012-11-09 16:37:39 -08:00
Justin Lebar
319b46402a
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
Boris Zbarsky
b558bce7a5
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
53a2425c6f
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
Nathan Froyd
b062330351
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
99d8f11800
Bug 803665 - convert nsGlobalWindow's timeout list to use mozilla::LinkedList; r=bz
2012-11-01 10:06:22 -04:00
Nathan Froyd
0d9c1b3828
Bug 803665 - part 0 - make nsTimeout properly initialize its fields; r=bz
2012-11-01 12:27:37 -04:00
Robert O'Callahan
bac0aef69c
Bug 792675. Part 1: Make the URL interface use WebIDL. r=bz
2012-09-25 15:24:43 +12:00
Ms2ger
aabfbca863
Merge backout on a CLOSED TREE.
2012-11-08 09:20:52 +01:00
Ms2ger
5a00f4e724
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
f09087bad9
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
003b3fe4c8
Bug 803665 - convert nsGlobalWindow's timeout list to use mozilla::LinkedList; r=bz
2012-11-01 10:06:22 -04:00
Nathan Froyd
980e4e9f9a
Bug 803665 - part 0 - make nsTimeout properly initialize its fields; r=bz
2012-11-01 12:27:37 -04:00
Mounir Lamouri
151ae8fcea
Bug 795715 - Remove B2G-specific stuff from nsIDOMWindow. r=khuey,fabrice sr=smaug
2012-11-07 18:10:40 +00:00
Brad Lassey
10b6dc44b0
bug 805017 - Disable screen timeout when DOMFullscreen is enabled r=jst
2012-11-01 08:40:11 -04:00