Commit Graph

1834 Commits

Author SHA1 Message Date
Ms2ger
bef4398890 Bug 968804 - Part b: Add outer window assertions to {Can,Force,Final}Close; r=peterv 2014-05-20 21:50:58 +02:00
Ms2ger
213cac6260 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
2759c99655 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
be6ccfea53 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
5a9f20f00b 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
60a495241a 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
9bd8eb181f 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
73bcee2ac4 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
fb1d236c50 Bug 1006024 - Part 4: Remove context null checks from nsGlobalWindow::GetMessageManager. r=bholley 2014-05-07 09:45:00 +01:00
Jed Davis
b35463f1d9 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
816f670fd4 Bug 1005980 - Make nsGlobalWindow::OuterObject throw when it fails. r=bz. 2014-05-02 15:03:17 +02:00
Peter Van der Beken
b972223634 Bug 1005978 - Add infrastructure to create main-thread WebIDL globals with XPConnect. r=bz. 2014-04-08 20:48:37 +02:00
Peter Van der Beken
479087163a Bug 1005966 - Add a pref to control whether to use WebIDL bindings for Window. r=bz. 2014-03-10 18:06:01 +01:00
Mounir Lamouri
f0dc689be6 Bug 889335 - Implement navigator.languages and languagechange event. r=sicking,smaug 2014-05-12 13:48:15 +02:00
Olli Pettay
a65e71d457 Bug 1007780 - "Better CC log for nsGlobalWindow". r=continuation 2014-05-08 10:58:00 +02:00
Mason Chang
773924dcae Bug 979949 - Expose compositor fill ratio to JS for automation. r=benwa,mrbkap. 2014-05-08 17:32:00 +02:00
Boris Zbarsky
ed02579302 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
d05a2ea8f9 Bug 997987 - Remove usage of nsIScriptSecurityManager::GetSubjectPrincipal. r=Ms2ger 2014-05-06 15:43:03 -07:00
Nathan Froyd
0989adf8a1 Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan 2014-04-29 13:27:26 -04:00
Birunthan Mohanathas
eeb9aaaa94 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
e2b133b310 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
d3d65bb33a Bug 547140, part 2 - Remove flags argument from JS_GetPropertyDescriptor and friends. r=Waldo. 2014-04-25 16:11:01 -05:00
Olli Pettay
46832fb8ba 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
366b23e568 Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan 2014-04-10 19:09:40 +03:00
Mike Conley
400396d867 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
fe8772567b Bug 988383 - Part 6: Replace AutoPushJSContext in nsGlobalWindow::GetMessageManager. r=bholley 2014-03-28 14:38:13 +00:00
Bob Owen
981dc76f8b Bug 988383 - Part 4: Replace AutoPushJSContext in PostMessageEvent::Run. r=bholley 2014-04-18 18:34:33 +01:00
Bob Owen
f9db07b531 Bug 988383 - Part 3: Replace AutoPushJSContext in nsGlobalWindow::DefineArgumentsProperty. r=bholley 2014-03-28 11:42:13 +00:00
Adrian Lungu
53c9888d1b Bug 822480 - Add in the Resource Timing API. r=honzab, r=jst 2013-10-15 18:35:44 -07:00
Ryan VanderMeulen
88edad1437 Backed out changeset df8e7a4b86cf (bug 984467) for mochitest-other failures. 2014-04-18 11:13:31 -04:00
Anuj Agarwal
434e255f21 Bug 984467 - Replace GetNativeOfWrapper + QI bit with xpc::WindowOrNull(scope). r=bz 2014-04-18 09:36:37 -04:00
Bobby Holley
5e5eb6c175 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
d1ac260068 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
148b34801f Bug 996069 - Part3: Stop inheriting nsEP when window.open is called. r=bz 2014-04-16 22:29:57 +02:00
Terrence Cole
ccf4d8dd9b Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz 2014-01-21 18:11:17 -08:00
Bobby Holley
efd3ebcfce Bug 989528 - Rename AutoSystemCaller to AutoNoJSAPI, and assert against pre-existing exceptions. r=bz 2014-04-14 20:27:00 -07:00
Gabor Krizsanits
bde11d2f5e Bug 821809 - Part1: Assert for nsEP in DOMWindow. r=bholley 2014-04-10 19:52:41 +02:00
Peter Van der Beken
bd6438b6a3 Bug 993710 - Don't return names when enumerating Navigator/Window if they wouldn't be resolved. r=bz. 2014-02-15 22:12:34 +01:00
Peter Van der Beken
04bfc5eeeb Bug 993706 - Remove nsGlobalWindow::mInnerWindowHolder. r=bz. 2014-04-01 21:15:38 +02:00
Peter Van der Beken
71d5381f98 Bug 993688 - Mark Window.document StoreInSlot. r=bz. 2014-02-05 22:09:19 +01:00
Boris Zbarsky
a9fc4aaa02 Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley 2014-04-10 00:58:41 -04:00
Boris Zbarsky
9462dfc340 Bug 991742 part 9. Remove the "scope" argument of WrapNewBindingObject. r=bholley 2014-04-08 18:27:19 -04:00
Boris Zbarsky
b95c359828 Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Peter Van der Beken
b14b8f5f84 Bug 990158 - Remove line from bad merge in f1e4f0f82a9a. 2014-04-08 20:47:55 +02:00
Peter Van der Beken
e9ad386eec Bug 993047 - Fix some style nits from f6b0e518f6d2. 2014-04-08 20:39:38 +02:00
Peter Van der Beken
ce11cbd2d8 Bug 993047 - Support outerizing and addProperty hooks on globals with WebIDL bindings. r=bz. 2014-02-15 22:12:33 +01:00
Peter Van der Beken
24d04f8dba Bug 983619 - Add Window.getInterface/QueryInterface to WebIDL. r=bz. 2014-02-15 22:12:33 +01:00
Peter Van der Beken
67b4e82263 Bug 990158 - Make inner windows use their wrapper cache. r=bz. 2013-11-09 11:20:22 +01:00
Peter Van der Beken
df4dc98e52 Fix rooting hazards from 4fbe5c6db773 (Bug 990475). 2014-04-08 13:40:37 +02:00
Peter Van der Beken
d37f9810d3 Bug 990475 - Add WebIDL APIs for WindowModal. r=bz. 2014-02-05 22:09:18 +01:00