Commit Graph

1444 Commits

Author SHA1 Message Date
Andrea Marchesini
29df09f67c Bug 1014657 - Port DOMStorageEvent to WebIDL and remove nsIDOMStorageEvent, r=smaug, f=ms2ger 2014-05-23 08:33:24 +01:00
Peter Van der Beken
e2650539c4 Bug 1012723 - Stop preserving Window reflectors in WindowStateHolder. r=bz.
--HG--
extra : rebase_source : 9be2ebcd765d5cb2fb8cb0a196c0d00f6752f492
2014-05-16 12:33:16 +02:00
Bobby Holley
b1cc46dd2d Bug 997440 - Remove cx pushing in SetNewDocument. r=bz 2014-05-20 22:52:20 -07:00
Shu-yu Guo
6e40fc005f Bug 717749 - Part 1: Add a slow script debug handler service. (r=smaug) 2014-05-20 18:27:24 -07:00
Boris Zbarsky
8c61f72f11 Bug 999315. Revert alert(undefined) to showing the string "undefined" again, like it used to, pending the spec getting sorted out. r=peterv 2014-05-20 16:07:17 -04:00
Ms2ger
50eed20628 Bug 968804 - Part g: Add outer window assertions to AreDialogsEnabled; r=peterv 2014-05-20 21:50:59 +02:00
Ms2ger
cabf378984 Bug 968804 - Part f: Add outer window assertions to DispatchDOMWindowCreated; r=peterv 2014-05-20 21:50:59 +02:00
Ms2ger
e291d34d50 Bug 968804 - Part e: Add outer window assertions to PreloadLocalStorage; r=peterv 2014-05-20 21:50:58 +02:00
Ms2ger
30085d357e Bug 968804 - Part d: Add outer window assertions to SetInitialPrincipalToSubject; r=peterv 2014-05-20 21:50:58 +02:00
Ms2ger
7cc7df7d24 Bug 968804 - Part c: Add outer window assertions to WouldReuseInnerWindow; r=peterv 2014-05-20 21:50:58 +02:00
Ms2ger
6c45d84d45 Bug 968804 - Part b: Add outer window assertions to {Can,Force,Final}Close; r=peterv 2014-05-20 21:50:58 +02:00
Ms2ger
d8679d7f9c Bug 968804 - Part a: Add inner window assertions to DETH and {Add,Remove}EventTargetObject; r=peterv 2014-05-20 21:50:57 +02:00
Boris Zbarsky
23eb84ed8f Bug 1004458. Maintain modal state on outer windows only instead of relying on forwarding from inner to outer. r=peterv 2014-05-15 10:26:23 -07:00
Ryan VanderMeulen
96ed00e142 Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE. 2014-05-16 12:29:37 -04:00
Boris Zbarsky
e2d61d13fb Bug 1004458. Maintain modal state on outer windows only instead of relying on forwarding from inner to outer. r=peterv 2014-05-15 10:26:23 -07:00
Ryan VanderMeulen
686a50e920 Backed out 4 changesets (bug 1008236, bug 1010344, bug 1004458, bug 1008719) for mochitest crashes on a CLOSED TREE.
Backed out changeset 28ecab881472 (bug 1008719)
Backed out changeset 7eebcecb7e26 (bug 1004458)
Backed out changeset 17ea7f2276ac (bug 1010344)
Backed out changeset 184ead7f6e37 (bug 1008236)
2014-05-15 14:24:12 -04:00
Boris Zbarsky
f4a9a7d018 Bug 1004458. Maintain modal state on outer windows only instead of relying on forwarding from inner to outer. r=peterv 2014-05-15 10:26:23 -07:00
Nick Lebedev
b7223435b4 Bug 998002 - Rename nsContentUtils::Get{Subject,Object}Principal to nsContentUtils::{Subject,Object}Principal. r=bholley 2014-05-13 11:58:00 +02:00
Bob Owen
4ca1dde9bf Bug 1006024 - Part 4: Remove context null checks from nsGlobalWindow::GetMessageManager. r=bholley 2014-05-07 09:45:00 +01:00
Jed Davis
8941c86fdd Bug 1009289 - Fix printf type mixup in nsGlobalWindow CC logging. r=mccr8
mWindowID is uint64_t; PR_snprintf's interpretation of %ld is int32_t.
Currently this results in a crash on ARM, and probably fails to print
the window URI on 32-bit x86.  Additionally, on ARM, this was probably
printing garbage instead of the window ID since it was added in 2012.
2014-05-12 18:35:00 -04:00
Peter Van der Beken
4d6aa6b856 Bug 1005980 - Make nsGlobalWindow::OuterObject throw when it fails. r=bz.
--HG--
extra : rebase_source : a1a8ab7cec08cdd8ece3feb6f3c8868efdc743d5
2014-05-02 15:03:17 +02:00
Peter Van der Beken
8119bfc066 Bug 1005978 - Add infrastructure to create main-thread WebIDL globals with XPConnect. r=bz.
--HG--
extra : rebase_source : 08c6f04e050bdd801a15883bb57d21ff93626024
2014-04-08 20:48:37 +02:00
Peter Van der Beken
e66849dff6 Bug 1005966 - Add a pref to control whether to use WebIDL bindings for Window. r=bz.
--HG--
extra : rebase_source : ff51d647d6454d4cfbea0a967e64abe00dd74b77
2014-03-10 18:06:01 +01:00
Mounir Lamouri
ff3629d7e7 Bug 889335 - Implement navigator.languages and languagechange event. r=sicking,smaug 2014-05-12 13:48:15 +02:00
Olli Pettay
a5feaa6c21 Bug 1007780 - "Better CC log for nsGlobalWindow". r=continuation 2014-05-08 10:58:00 +02:00
Mason Chang
fe741519a1 Bug 979949 - Expose compositor fill ratio to JS for automation. r=benwa,mrbkap. 2014-05-08 17:32:00 +02:00
Boris Zbarsky
4d9480f493 Bug 1007458. Actually check for errors when converting a Value to a variant in showModalDialog. r=smaug 2014-05-08 22:20:54 -04:00
Bobby Holley
5c9d904093 Bug 997987 - Remove usage of nsIScriptSecurityManager::GetSubjectPrincipal. r=Ms2ger 2014-05-06 15:43:03 -07:00
Nathan Froyd
4c20a67b0d Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan 2014-04-29 13:27:26 -04:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Birunthan Mohanathas
4de1915f30 Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
Jason Orendorff
d50e6f5a9b Bug 547140, part 2 - Remove flags argument from JS_GetPropertyDescriptor and friends. r=Waldo. 2014-04-25 16:11:01 -05:00
Olli Pettay
2bf7b03799 Bug 1001134 - "Gamepad service leaks windows if a page goes into bfcache". r=ted r=continuation 2014-04-24 14:51:00 +02:00
Aryeh Gregor
45fbfe5e45 Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan 2014-04-10 19:09:40 +03:00
Mike Conley
79137ae17c Bug 100180 - Modal dialogs should try to cancel any drag sessions in progress. r=roc. 2014-04-23 12:35:00 -04:00
Bob Owen
df004f7792 Bug 988383 - Part 6: Replace AutoPushJSContext in nsGlobalWindow::GetMessageManager. r=bholley 2014-03-28 14:38:13 +00:00
Bob Owen
9aac2a4c5d Bug 988383 - Part 4: Replace AutoPushJSContext in PostMessageEvent::Run. r=bholley 2014-04-18 18:34:33 +01:00
Bob Owen
d77698f45d Bug 988383 - Part 3: Replace AutoPushJSContext in nsGlobalWindow::DefineArgumentsProperty. r=bholley 2014-03-28 11:42:13 +00:00
Adrian Lungu
ad51575296 Bug 822480 - Add in the Resource Timing API. r=honzab, r=jst 2013-10-15 18:35:44 -07:00
Ryan VanderMeulen
852a072062 Backed out changeset df8e7a4b86cf (bug 984467) for mochitest-other failures. 2014-04-18 11:13:31 -04:00
Anuj Agarwal
3515582e33 Bug 984467 - Replace GetNativeOfWrapper + QI bit with xpc::WindowOrNull(scope). r=bz 2014-04-18 09:36:37 -04:00
Bobby Holley
ee7c8202be Bug 997067 - Remove the special behavior for chrome navigating non-chrome windows. r=bz
Considering what is actually done with sourceWindow here, I don't think this
check is doing anything useful in the modern world.
2014-04-17 00:02:36 -07:00
Bobby Holley
ae9818372b Bug 997067 - Build BuildURIFromBase into SecurityCheckURL and condense logic. r=bz
This has a tiny behavior change in the case of self-navigation by a non-current
inner, but I think that the new behavior is more correct.
2014-04-17 00:02:36 -07:00
Gabor Krizsanits
bc997f54ab Bug 996069 - Part3: Stop inheriting nsEP when window.open is called. r=bz 2014-04-16 22:29:57 +02:00
Terrence Cole
c97877c686 Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Bobby Holley
f223b1107f Bug 989528 - Rename AutoSystemCaller to AutoNoJSAPI, and assert against pre-existing exceptions. r=bz 2014-04-14 20:27:00 -07:00
Gabor Krizsanits
21ccafe63b Bug 821809 - Part1: Assert for nsEP in DOMWindow. r=bholley 2014-04-10 19:52:41 +02:00
Peter Van der Beken
55e3ea6b39 Bug 993710 - Don't return names when enumerating Navigator/Window if they wouldn't be resolved. r=bz.
--HG--
extra : rebase_source : e7fe3b2da1c2e1a00c02828d220545c83dedd554
2014-02-15 22:12:34 +01:00
Peter Van der Beken
f90baee1c4 Bug 993706 - Remove nsGlobalWindow::mInnerWindowHolder. r=bz.
--HG--
extra : rebase_source : 30ac7fe2d93df5674dca6d0a1594e05eb7790d82
2014-04-01 21:15:38 +02:00
Peter Van der Beken
ee04132a64 Bug 993688 - Mark Window.document StoreInSlot. r=bz.
--HG--
extra : rebase_source : 016a4cfc9945dd83b6f14d9ce6cc12e2cb5d6fe0
2014-02-05 22:09:19 +01:00