Commit Graph

1424 Commits

Author SHA1 Message Date
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
Boris Zbarsky
79dab91ff6 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
f1102b2af3 Bug 990158 - Remove line from bad merge in f1e4f0f82a9a.
--HG--
extra : rebase_source : ad5cddb57ed8acb125b9b9f164c4682b16bcd8f1
2014-04-08 20:47:55 +02:00
Peter Van der Beken
073e442f7f Bug 993047 - Fix some style nits from f6b0e518f6d2.
--HG--
extra : rebase_source : 9cb1f3c793b066aed1836c08cce786554d61cfd2
2014-04-08 20:39:38 +02:00
Peter Van der Beken
ff7b3636c3 Bug 993047 - Support outerizing and addProperty hooks on globals with WebIDL bindings. r=bz.
--HG--
extra : rebase_source : cc8f013525dca74a4d7926f3cbb301ac42aab406
2014-02-15 22:12:33 +01:00
Peter Van der Beken
65e4bfa394 Bug 983619 - Add Window.getInterface/QueryInterface to WebIDL. r=bz.
--HG--
extra : rebase_source : 4a4f368ba4f84e6e5104522181eb3043efd7ed38
2014-02-15 22:12:33 +01:00
Peter Van der Beken
9bbd30a4ac Bug 990158 - Make inner windows use their wrapper cache. r=bz.
--HG--
extra : rebase_source : bc040c75280bb45ae7ab0ed302130ff5d7178153
2013-11-09 11:20:22 +01:00
Peter Van der Beken
3aacc729a0 Fix rooting hazards from 4fbe5c6db773 (Bug 990475). 2014-04-08 13:40:37 +02:00
Peter Van der Beken
f684f5c97e Bug 990475 - Add WebIDL APIs for WindowModal. r=bz.
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : c2d23e5c973c117ab3fb66b2a98a451acfabc7e5
2014-02-05 22:09:18 +01:00
Steve Fink
12001268c0 Bug 912456 - transferable MessagePorts, r=jorendorff
--HG--
extra : rebase_source : 5b8a2a9b261c53f0ff5a860e1dc2e7ede711105f
2013-11-14 20:42:34 -08:00
Peter Van der Beken
a5967a49cb Back out 75c95dac7fe0 (bug 984497) and f1b0d3d13755 (bug 990475) to fix bustage on a CLOSED TREE.
--HG--
extra : rebase_source : a63315cd428faeb95464f6ad76946d1c0c6d36c3
2014-04-07 22:18:53 +02:00
Peter Van der Beken
af56e76f7c Bug 990475 - Add WebIDL APIs for WindowModal. r=bz.
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : f21f16a257d39a108233dd8106b33543110df9b5
2014-02-05 22:09:18 +01:00
Blake Kaplan
266c6f17eb Bug 971222 - Small cleanup around prompt code. r=bzbarsky 2014-04-04 14:50:42 -07:00
Masayuki Nakano
3cc4e99fc0 Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
--HG--
rename : dom/events/nsEventStates.h => dom/events/EventStates.h
2014-04-03 13:18:36 +09:00
Matthew Gregan
69f11197c5 Bug 927245 - Remove deprecated Audio Data API implementation. r=cajbir,smaug 2014-04-03 10:53:39 +13:00
Jon Coppeard
92f0d66be8 Bug 959787 - Handlify remaining JS APIs r=sfink r=bholley r=smaug 2014-04-02 15:28:03 +01:00
Masayuki Nakano
f7c91f6586 Bug 989213 part.2 Rename nsEventNameList.h to mozilla/EventNameList.h r=smaug
--HG--
rename : dom/events/nsEventNameList.h => dom/events/EventNameList.h
2014-04-01 20:42:12 +09:00
Jon Coppeard
fb6ccb11db Bug 959787 - Handlify JS_ExecuteScript and JS::Evaluate APIs r=terrence r=bz 2014-04-01 11:34:39 +01:00
Masayuki Nakano
930436ef24 Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +09:00