Bobby Holley
71f1a77169
Bug 1032317 - Make CompartmentPrivate and XPCWrappedNativeScope accessors infallible. r=gabor
2014-07-03 09:40:52 -07:00
Wes Kocher
e62864656c
Backed out 2 changesets (bug 1028187) for mochitest-oth orange
...
Backed out changeset 01cba8ff52dd (bug 1028187)
Backed out changeset caf43baf3306 (bug 1028187)
2014-07-02 17:29:33 -07:00
Tim Taubert
2818af017f
Bug 1028187 - Enable IndexedDB for about:looppanel and about:loopconversation, sharing an origin r=bz
2014-06-28 11:56:06 +02:00
Kyle Huey
4266528680
Bug 1031051: Part 18 - Kill the old XPIDL-based event generator. r=smaug
2014-06-30 16:02:04 -07:00
Kyle Huey
21d8fc32e7
Bug 1031051: Part 17 - Manually implement CustomEvent. r=smaug
...
CustomEvent can't be generated because we still need the XPCOM interface which is used by a11y among others.
2014-06-30 16:02:04 -07:00
Kyle Huey
2d64bf6efa
Bug 1031051: Part 6 - Migrate PopStateEvent to the WebIDL code generator. r=smaug
2014-06-30 16:02:02 -07:00
Kyle Huey
a1d1526ae4
Bug 1031051: Part 5 - Migrate PopupBlockedEvent to the WebIDL code generator. r=smaug
2014-06-30 16:02:01 -07:00
Kyle Huey
f4f09309a4
Bug 1031051: Part 2 - Migrate HashChangeEvent to the WebIDL code generator. r=smaug
2014-06-30 16:00:31 -07:00
Eric Faust
04ec29520a
Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz)
2014-06-27 04:44:06 -07:00
Eric Faust
992c8dde5a
Bug 1027402 - Part 2: Mark Proxy Handler instances as const. (r=bholley, r=bz over IRC)
2014-06-27 04:44:04 -07:00
Ms2ger
2e3f5e7be4
Bug 968804 - Part u: Add outer window assertions to OpenInternal; r=khuey
2014-06-29 17:36:03 +02:00
Ms2ger
6623cab112
Bug 968804 - Part t: Add outer window assertions to OpenNoNavigate; r=khuey
2014-06-29 17:36:03 +02:00
Ms2ger
65a727d2f1
Bug 968804 - Part s: Add inner window assertions to CloneStorageEvent; r=khuey
2014-06-29 17:36:03 +02:00
Ms2ger
91b523c2d5
Bug 968804 - Part q: Add inner window assertions to the gamepad methods; r=khuey
2014-06-29 17:36:02 +02:00
Ms2ger
a4e50b6951
Bug 968804 - Part p: Add outer window assertions to SetFullScreenInternal; r=khuey
2014-06-29 17:36:02 +02:00
Ms2ger
1aae0e2640
Bug 968804 - Part o: Add inner window assertions to RefreshCompartmentPrincipal; r=khuey
2014-06-29 17:36:01 +02:00
Ms2ger
8cacf106f9
Bug 968804 - Part n: Split nsGlobalWindow::GetFullScreen into a forwarding and an asserting part; r=khuey
2014-06-29 17:35:56 +02:00
Ms2ger
bd952bff39
Bug 968804 - Part m: Add outer window assertions to DispatchCustomEvent; r=khuey
2014-06-29 17:31:13 +02:00
Ms2ger
835be66476
Bug 968804 - Part l: Add outer window assertions to DispatchResizeEvent; r=khuey
2014-06-29 17:31:12 +02:00
Ms2ger
e1edc26347
Bug 968804 - Part k: Add outer window assertions to GetScrollXY; r=khuey
2014-06-29 17:31:12 +02:00
Ms2ger
3917460c93
Bug 968804 - Part j: Add inner window assertions to CreatePerformanceObjectIfNeeded; r=khuey
2014-06-29 17:31:12 +02:00
Ms2ger
599d77f7bb
Bug 968804 - Part i: Add inner window assertions to AudioContext methods; r=khuey
2014-06-29 17:31:11 +02:00
Ms2ger
59b3065756
Bug 968804 - Part h: Add inner window assertions to DefineArgumentsProperty; r=khuey
2014-06-29 17:31:09 +02:00
Jim Blandy
e07aaa8185
Bug 800200: Remove references to JSD from outside js/jsd. r=mccr8,bholley,ted,smaug
2014-06-27 11:05:08 -07:00
Carsten "Tomcat" Book
cbe01cdaa8
Backed out changeset 346912776f97 (bug 1027402)
2014-06-27 14:21:22 +02:00
Carsten "Tomcat" Book
76beb8d59f
Backed out changeset 285c853fedfa (bug 1027402)
2014-06-27 14:21:20 +02:00
Eric Faust
62d61ccf3f
Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz)
2014-06-27 04:44:06 -07:00
Eric Faust
6091687271
Bug 1027402 - Part 2: Mark Proxy Handler instances as const. (r=bholley)
2014-06-27 04:44:04 -07:00
Makoto Kato
bb7664bd5c
Bug 1029981 - Observers should use MOZ_UTF16 to compare someData. r=nfroyd
2014-06-27 17:08:13 +09:00
Andrea Marchesini
6197f631af
Bug 827823 - patch 1 - CC in DOMFile class, r=ehsan
2014-06-26 20:46:34 -07:00
Benoit Jacob
ec742680c8
Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan
2014-06-23 15:56:07 -04:00
Bob Owen
30816b5c06
Bug 1025476 - Part 1: Add compulsory Init functions to AutoJSAPI. r=bholley
2014-06-19 08:21:14 +01:00
Olli Pettay
1644f6f5e9
Bug 1025078 - [@nsPerformance::GetDOMTiming()], r=baku
2014-06-13 22:36:25 +03:00
Boris Zbarsky
dfe8c38082
Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv
2014-06-11 16:26:52 -04:00
Boris Zbarsky
bc1e511e33
Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv
2014-06-11 16:26:52 -04:00
Olli Pettay
0040a9cd76
Bug 1023280 - Rename dictionary.ToObject to ToObjectInternal, r=bz
2014-06-11 22:38:55 +03:00
Bobby Holley
699946fc90
Bug 1022016 - Redesign nsDependentJSString API to be less of a footgun. r=gabor
2014-06-10 20:15:56 -07:00
Catalin Badea
288f769975
Bug 1019761 - Fix null dialogArugments deref. r=bz, r=johns
2014-06-06 15:43:00 -04:00
Mike Conley
8697a1814f
Bug 1021466 - Part 2: Make it possible to pass in an nsITabParent when opening windows, and then stash that nsITabParent in the newly created chrome docshell. r=smaug.
2014-06-05 22:51:14 -04:00
Ms2ger
6558df9772
Bug 1018103 - Remove support for the "JavaScript-global-static-nameset" category; r=bholley
...
The only in-tree consumer was removed in bug 1012320; the addons MXR and a web
search suggest that it is unused outside the tree as well.
2014-06-06 10:06:26 +02:00
Ryan VanderMeulen
e05549d430
Backed out changeset 2eb0ae4b9e79 (bug 1019761) for test_dialogArguments.html when run in e10s mode.
...
CLOSED TREE
2014-06-05 15:02:52 -04:00
Catalin Badea
b50d407147
Bug 1019761 - Fix null dialogArguments deref. r=bz
2014-06-03 14:01:00 -04:00
Andrea Marchesini
f003b05320
Bug 984990 - Enable MessageChannel for chrome and resource:// callers, r=bz
2014-06-05 00:58:00 +02:00
Boris Zbarsky
da05bf53a8
Bug 989584. Allow sites to set window.opener to any value. r=peterv
2014-06-03 11:38:37 -04:00
Phoebe Chang
4286f5c0d3
Bug 924692 - Part 4: Hooks up event handling to TouchCaret; r=roc, bugs
2014-06-03 15:08:54 +08:00
Ms2ger
f4f685b62c
Bug 1012320 - Move the code that defines window.netscape into nsGlobalWindow and simplify it; r=bholley
2014-05-30 09:36:52 +02:00
Trevor Saunders
78966cf36b
bug 966059 - add nsIDocShell::GetWindow and GetDocument r=smaug
2014-01-09 21:03:47 -05:00
Tim Taubert
b4db14fef7
Bug 990812 - Add nsIDOMChromeWindow.getGroupMessageManager() API r=smaug
2014-05-23 14:51:56 +02:00
Andrea Marchesini
447dc76d13
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
4349f30b19
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
7d5adedab9
Bug 997440 - Remove cx pushing in SetNewDocument. r=bz
2014-05-20 22:52:20 -07:00
Shu-yu Guo
b02d702198
Bug 717749 - Part 1: Add a slow script debug handler service. (r=smaug)
2014-05-20 18:27:24 -07:00
Boris Zbarsky
003d583e4f
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
d66408293b
Bug 968804 - Part g: Add outer window assertions to AreDialogsEnabled; r=peterv
2014-05-20 21:50:59 +02:00
Ms2ger
6487100cee
Bug 968804 - Part f: Add outer window assertions to DispatchDOMWindowCreated; r=peterv
2014-05-20 21:50:59 +02:00
Ms2ger
cceaae56d4
Bug 968804 - Part e: Add outer window assertions to PreloadLocalStorage; r=peterv
2014-05-20 21:50:58 +02:00
Ms2ger
6bc9e22bcd
Bug 968804 - Part d: Add outer window assertions to SetInitialPrincipalToSubject; r=peterv
2014-05-20 21:50:58 +02:00
Ms2ger
b91e2b5f83
Bug 968804 - Part c: Add outer window assertions to WouldReuseInnerWindow; r=peterv
2014-05-20 21:50:58 +02:00
Ms2ger
529d64e30b
Bug 968804 - Part b: Add outer window assertions to {Can,Force,Final}Close; r=peterv
2014-05-20 21:50:58 +02:00
Ms2ger
d02b9c0ccb
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
4abb64f16f
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
9e342ce37a
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
73a4d96f80
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
c53951f788
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
61f92eb4bd
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
c49e263d0f
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
97a1aa2693
Bug 1006024
- Part 4: Remove context null checks from nsGlobalWindow::GetMessageManager. r=bholley
2014-05-07 09:45:00 +01:00
Jed Davis
7b9e6640da
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
c5cedc3cfd
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
42c32dddca
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
d6f69fd79e
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
bd7cae1e0e
Bug 889335 - Implement navigator.languages and languagechange event. r=sicking,smaug
2014-05-12 13:48:15 +02:00
Olli Pettay
82bd55c1cf
Bug 1007780 - "Better CC log for nsGlobalWindow". r=continuation
2014-05-08 10:58:00 +02:00
Mason Chang
17ad25a9b0
Bug 979949 - Expose compositor fill ratio to JS for automation. r=benwa,mrbkap.
2014-05-08 17:32:00 +02:00
Boris Zbarsky
d11e4b80db
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
5a3bee8d99
Bug 997987 - Remove usage of nsIScriptSecurityManager::GetSubjectPrincipal. r=Ms2ger
2014-05-06 15:43:03 -07:00
Nathan Froyd
84041459a1
Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan
2014-04-29 13:27:26 -04:00
Birunthan Mohanathas
5f1fde8824
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
7ac92ae5ea
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
6e21c723d2
Bug 547140, part 2 - Remove flags argument from JS_GetPropertyDescriptor and friends. r=Waldo.
2014-04-25 16:11:01 -05:00
Olli Pettay
bd7be9901d
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
780bdf4c9b
Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan
2014-04-10 19:09:40 +03:00
Mike Conley
012fc6e157
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
67af54901b
Bug 988383 - Part 6: Replace AutoPushJSContext in nsGlobalWindow::GetMessageManager. r=bholley
2014-03-28 14:38:13 +00:00
Bob Owen
c2740673ae
Bug 988383 - Part 4: Replace AutoPushJSContext in PostMessageEvent::Run. r=bholley
2014-04-18 18:34:33 +01:00
Bob Owen
1e6e98cd5e
Bug 988383 - Part 3: Replace AutoPushJSContext in nsGlobalWindow::DefineArgumentsProperty. r=bholley
2014-03-28 11:42:13 +00:00
Adrian Lungu
864ffca9e7
Bug 822480 - Add in the Resource Timing API. r=honzab, r=jst
2013-10-15 18:35:44 -07:00
Ryan VanderMeulen
c5237849a3
Backed out changeset df8e7a4b86cf (bug 984467) for mochitest-other failures.
2014-04-18 11:13:31 -04:00
Anuj Agarwal
4c3234f270
Bug 984467 - Replace GetNativeOfWrapper + QI bit with xpc::WindowOrNull(scope). r=bz
2014-04-18 09:36:37 -04:00
Bobby Holley
50e05dac95
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
5c862b968a
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
b7b0c47e44
Bug 996069 - Part3: Stop inheriting nsEP when window.open is called. r=bz
2014-04-16 22:29:57 +02:00
Terrence Cole
581c606391
Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
...
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Bobby Holley
3de1018bbe
Bug 989528 - Rename AutoSystemCaller to AutoNoJSAPI, and assert against pre-existing exceptions. r=bz
2014-04-14 20:27:00 -07:00
Gabor Krizsanits
dd4ca3b235
Bug 821809 - Part1: Assert for nsEP in DOMWindow. r=bholley
2014-04-10 19:52:41 +02:00
Peter Van der Beken
a5a294c6c5
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
6252bb3b9f
Bug 993706 - Remove nsGlobalWindow::mInnerWindowHolder. r=bz.
...
--HG--
extra : rebase_source : 30ac7fe2d93df5674dca6d0a1594e05eb7790d82
2014-04-01 21:15:38 +02:00
Peter Van der Beken
c5601a6449
Bug 993688 - Mark Window.document StoreInSlot. r=bz.
...
--HG--
extra : rebase_source : 016a4cfc9945dd83b6f14d9ce6cc12e2cb5d6fe0
2014-02-05 22:09:19 +01:00
Boris Zbarsky
a0bb95a823
Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley
2014-04-10 00:58:41 -04:00
Boris Zbarsky
feebd363fb
Bug 991742 part 9. Remove the "scope" argument of WrapNewBindingObject. r=bholley
2014-04-08 18:27:19 -04:00