Граф коммитов

944 Коммитов

Автор SHA1 Сообщение Дата
David Dahl cd4de3d8d1 Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - revert nsIWindowCrypto patch - r=jst 2013-02-16 22:43:19 -06:00
David Dahl e04136004d Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - window.crypto patch - r=jst
--HG--
rename : dom/interfaces/base/nsIDOMCrypto.idl => dom/interfaces/base/nsIDOMCryptoLegacy.idl
2013-02-16 22:43:16 -06:00
Phil Ringnalda c71c586441 Back out 236ba87c0a9f (bug 440046) and d3b7606d94a6:895a7efc978d (bug 683262) for b2g mochitest failures 2013-02-15 23:33:45 -08:00
David Dahl 52c440b803 Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - revert nsIWindowCrypto patch r=jst 2013-02-15 23:34:18 -06:00
David Dahl a29fc61d9f Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - window.crypto patch r=jst
--HG--
rename : dom/interfaces/base/nsIDOMCrypto.idl => dom/interfaces/base/nsIDOMCryptoLegacy.idl
2013-02-15 23:34:15 -06:00
Trevor Saunders fda9efaa98 bug 841430 - nuke nsIEditorDocShell r=bz 2013-02-13 17:39:30 -05:00
Trevor Saunders c4d231052a bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Bobby Holley 424b997531 Bug 819158 - Introduce stopAtOuter for UnwrapObjectChecked. r=mrbkap
We need to simultaneously stop marking outers as unsafe to unwrap, otherwise
we'll end up with paradoxical behavior whereby stopAtOuter=true returns null
but stopAtOuter=false returns an object. This is fine, because we're now
handling outer explicitly.
2013-02-14 01:11:32 +01:00
Ryan VanderMeulen 141f9389ce Backed out 12 changesets (bug 834732) for b2g bustage and OSX mochitest-1 crashes on a CLOSED TREE. 2013-02-12 20:54:48 -05:00
Bobby Holley 00465dba63 Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-13 00:22:26 +01:00
Bobby Holley 8a446dd113 Bug 834732 - Remove PushBehavior. r=mrbkap
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-13 00:22:26 +01:00
Bobby Holley fbadb5c010 Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-13 00:22:26 +01:00
Josh Matthews a2efaede2d Bug 838541 - Only dispatch storage events to windows of the same privacy status. r=mayhemer 2013-02-12 14:24:23 -05:00
Nicholas Nethercote d9f49c3dc8 Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
Ding dong!  The witch is dead!
2013-01-24 21:24:57 -08:00
Phil Ringnalda 15ecedac46 Back out 66882ea6f8c7 (bug 788293) and 32f09cb3c7b6 (bug 834090) for bustage
CLOSED TREE
2013-01-31 22:29:30 -08:00
Nicholas Nethercote e4944dd40a Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
Ding dong!  The witch is dead!

--HG--
extra : rebase_source : 7574f5620e303c25120fcfc8ceb2099ad75c8f1b
2013-01-24 21:24:57 -08:00
Ryan VanderMeulen d47f9bc40a Merge m-c to inbound. 2013-01-29 10:50:01 -05:00
Boris Zbarsky 27b4736d69 Bug 829252 part 2. Make nsGlobalWindow inherit from dom::EventTarget and ensure that all the things that inherit from it correctly QI to it. r=peterv 2013-01-29 08:44:01 -05:00
Boris Zbarsky 94a48e89d4 Bug 829252 part 1. Change nsGlobalWindow to use nsIDOMEventTarget as the canonical isupports instead of nsIScriptGlobalObject. We'll need this to be able to cast to it properly in binding code. r=peterv 2013-01-29 08:44:01 -05:00
Boris Zbarsky e5d317697d Bug 834785. Make sure to not ask the JS engine for return values in toplevel scripts, so it'll be able to ion-compile them as needed. r=bholley 2013-01-29 08:44:00 -05:00
Olli Pettay 33258062d0 Bug 835503 - Remove nsCycleCollector::ShouldBeFreed/WasFreed, r=mccr8 2013-01-29 12:45:38 +02:00
Boris Zbarsky cc38c59fa3 Bug 828787. Stop allowing indexed expandos on windows. r=peterv 2013-01-22 15:29:53 -05:00
Nicholas Nethercote 23f321407b Bug 826521 (part 2) - Report memory used by event targets, especially XHRs. r=bz.
--HG--
extra : rebase_source : 543f0e367ce73477d62eca544137a101108a97be
2013-01-17 21:21:43 -08:00
Boris Zbarsky 06072bf404 Bug 823228 part 2. Move indexed property access on windows from nsWindowSH::GetProperty to the outer window proxy. r=bholley 2013-01-17 12:30:37 -05:00
Bobby Holley 9fce3b092f Bug 824864 - Pass EvaluateString out-param as a pointer, not a reference. r=bz 2013-01-16 18:50:27 -08:00
Bobby Holley 5515799556 Bug 824864 - Rename EvaluateStringWithValue to EvaluateString. r=bz
Now that there's only one of them, we can get rid of the silly suffix. \o/
2013-01-16 18:50:26 -08:00
Bobby Holley 1f2a4747c6 Bug 824864 - Move existing consumers of EvaluateString over to EvaluateStringWithValue. r=bz 2013-01-16 18:50:26 -08:00
Trevor Saunders 83bcbe0d6b bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Gary Kwong 521929f375 Bug 831472 - Add another null check to nsGlobalWindow::GetInnerScreenRect(). r=smaug 2013-01-16 13:44:26 -08:00
Olli Pettay b70de8d5a7 Bug 830948, null check mDocshell before using it, r=bz
--HG--
extra : rebase_source : ea20dabe0ec39b3b98fab07e72b0f1f51f9d32a8
2013-01-16 01:12:14 +02:00
Mats Palmgren b7ae90666d Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Andrew McCreight 336d6d78cf Bug 827541 - Traverse/Unlink nsGlobalWindow::mAudioContexts. r=ehsan 2013-01-14 15:22:00 -08:00
Trevor Saunders 0e12472abd bug 828138 - GetCurrentSelection() should return Selection* r=smaug 2012-12-19 17:55:44 -05:00
Nathan Froyd 04f573d9f8 Bug 827356 - make DOMWINDOW debugging messages use consistent addresses; r=bz 2013-01-07 10:56:24 -05:00
Boris Zbarsky 29436c441d Back out bug 810644 for now to fix bug 827035, until we manage to fix bug 765780. r=stuff-is-broken 2013-01-07 10:29:00 -05:00
Robert O'Callahan 970988bc3c Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda d44dff5096 Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan 0bda13504b Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
Trevor Saunders 09f3b656b4 bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug 2012-12-28 20:56:42 -05:00
Daniel Holbert 009f9d03bc Bug 825949 followup: in nsGlobalWindow::SetTimeoutOrInterval, make |realInterval| unsigned, since it's known-nonnegative and is passed elsewhere as an unsigned integer. r=smaug 2013-01-03 13:48:52 -08:00
Robert O'Callahan 943cb99eff Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.

--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Boris Zbarsky 8a9421c372 Bug 810644 followup to fix -Werror red in opt builds. r=bustage 2013-01-03 14:41:02 -05:00
Boris Zbarsky 7cfdd2ca05 Bug 810644 part 1. Switch setTimeout and setInterval to using WebIDL callback functions. r=smaug, sr=peterv 2013-01-03 14:02:36 -05:00
Boris Zbarsky 71e5c36a75 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 349f5245b9 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 8ddafbd406 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 51aee98e93 Bug 824517. Quickstub window.performance. r=peterv 2012-12-25 14:00:15 -08:00
Ms2ger f96f32cdf5 Bug 823107 - Make nsIDOMEvent::SetTrusted return void; r=smaug 2012-12-22 09:18:08 +01:00
Masatoshi Kimura b8635ff1f9 Bug 822094 - Part 2: Add transfer parameter to window.postMessage. r=sicking 2012-12-17 17:43:45 -05:00
Masayuki Nakano bbb1282d70 Bug 813445 part.12 Remove NS_EVENT_FLAG_ONLY_CHROME_DISPATCH and nsEvent::flags r=smaug 2012-12-16 10:26:05 +09:00