Commit Graph

1904 Commits

Author SHA1 Message Date
Bobby Holley
8012e2c2c2 Bug 840488 - Remove per-JSContext script toggling. r=bz
Note that the checks in nsJSEnvironment::EvaluateString and EvalInWindow
can safely go away, because we call ssm->ScriptAllowed() in
nsJSUtils::EvaluateString.
2013-11-12 16:43:35 -08:00
Bobby Holley
fcc9169d4f Bug 840488 - Directly mark compartments whose docshells disable script execution. r=bz 2013-11-12 16:43:33 -08:00
Bobby Holley
035fbf805a Bug 840488 - Introduce a mechanism to temporarily or permanently block script for a given scope, and use it for unsafe channels. r=bz 2013-11-12 16:43:33 -08:00
Michael Henretty
9d56789383 Bug 882186 - [System] Replace blue offline error page with new UX. Window.close part. r=fabrice 2013-11-07 17:42:32 -08:00
Vendelin Ruzicka
1410e7df98 Bug 933563 - Consolidate ReportUseOfDeprecatedMethod and WarnOnceAbout. r=sicking, r=ms2ger 2013-11-11 16:12:18 -05:00
Ms2ger
503d7fdd5e No bug - Fix some style issues in DOM code. 2013-11-11 09:04:41 +01:00
Carsten "Tomcat" Book
b396ec169e merge mozilla-inbound to mozilla-central 2013-11-11 08:50:14 +01:00
Tim Taubert
0325d6844d Bug 934091 - Add current process ID to the {++|--}{DOMWINDOW|DOCSHELL} debug output r=smaug
From cbc766c3d5bae69f438bdc096f935c40e23b0f36 Mon Sep 17 00:00:00 2001
2013-11-07 09:53:04 +01:00
Jeff Walden
be96300fce Bug 903332 - Make watch/unwatch into proxy hooks and such, and make watching/unwatching work on DOM proxies and windows (or at least work as much as it ever did, which is to say kinda-sorta-ish). r=bhackett, r=efaust 2013-10-29 16:39:09 -07:00
Vendelin Ruzicka
faca62d8dc Bug 933040 - Warn for showModalDialog uses. r=jst, r=sicking 2013-11-06 08:59:54 -05:00
Kyle Huey
d5105d151b Bug 928312: Convert the worker global object and all remaining EventTargets to new DOM bindings. r=bent,peterv,smaug 2013-11-05 22:16:26 +08:00
Kyle Huey
914b8854b6 Bug 934785: Only change the popup control state on the main thread. r=smaug 2013-11-05 22:16:26 +08:00
Kyle Huey
60de3137b5 Bug 933099: Banish <windows.h> from nsGlobalWindow.cpp. r=bz 2013-11-05 22:16:25 +08:00
Peter Van der Beken
3557f4ec96 Bug 932309 - Don't null out mDoc in nsGlobalWindow::FreeInnerObjects, additional fixes. r=smaug. 2013-11-01 14:31:00 +01:00
Peter Van der Beken
2c2250cdb9 Bug 932309 - Don't null out mDoc in nsGlobalWindow::FreeInnerObjects. r=smaug. 2013-10-16 18:11:24 +02:00
Ryan VanderMeulen
cf79a52cef Backed out 3 changesets (bug 932309, bug 932322) for Linux mochitest-bc timeouts on a CLOSED TREE.
Backed out changeset aea34e69d171 (bug 932322)
Backed out changeset 2b99a0f6ff1b (bug 932309)
Backed out changeset 0e3bcb78784e (bug 932309)
2013-11-04 14:31:21 -05:00
Peter Van der Beken
eea89cfeed Bug 934203 - Windows-only startup crash in JS_WrapValue(JSContext*, JS::MutableHandle<JS::Value>) with Twitter Disconnect / Facebook Disconnect. r=bz. 2013-11-04 14:18:01 +01:00
Peter Van der Beken
2e3f356a1c Bug 932309 - Don't null out mDoc in nsGlobalWindow::FreeInnerObjects, additional fixes. r=smaug. 2013-11-01 14:31:00 +01:00
Peter Van der Beken
9a2cc6abb1 Bug 932309 - Don't null out mDoc in nsGlobalWindow::FreeInnerObjects. r=smaug. 2013-10-16 18:11:24 +02:00
Ryan VanderMeulen
c2f6e87108 Backed out changeset 471db633b20c (bug 903332) for B2G desktop mochitest-1 failures. 2013-11-07 16:10:21 -05:00
Jeff Walden
45a3a85ce6 Bug 903332 - Make watch/unwatch into proxy hooks and such, and make watching/unwatching work on DOM proxies and windows (or at least work as much as it ever did, which is to say kinda-sorta-ish). r=bhackett, r=efaust 2013-10-29 16:39:09 -07:00
Boris Zbarsky
226054774f Bug 932421. Stop including windows.h (via Hal.h) in Screen.h, so we don't screw up our bindings code. r=smaug
Also stops Hal.h bootlegging Observer.h.
2013-10-31 22:07:10 -04:00
Terrence Cole
3cf434d1ff Bug 932466 - Fix two exact rooting hazards in dom; r=smaug 2013-10-28 12:35:52 -07:00
Peter Van der Beken
41f434b995 Bug 931794 - startup crash in mozilla::dom::WindowBinding::get_content with Twitter Disconnect, Facebook Disconnect, or Google Disconnect on 2013-10-28 nightly. r=bz. 2013-10-28 22:03:07 +01:00
Birunthan Mohanathas
fd194c1851 Bug 784739 - Switch from NULL to nullptr in dom/ (1/2); r=ehsan 2013-10-28 10:04:12 -04:00
Kyle Huey
7b7ebb37b7 Bug 904720: Count event listeners. r=njn,smaug 2013-10-28 17:47:18 +08:00
Nicholas Nethercote
0635e6e0e1 Bug 925584 - Remove some unnecessary jsapi.h inclusions from .cpp files. r=Ms2ger. 2013-10-10 15:22:35 -07:00
Peter Van der Beken
e46609f302 Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz. 2013-10-08 17:51:42 +02:00
Tom Schuster
faba4d7d1c Bug 930782 - Handlify JS_WrapValue. r=terrence 2013-10-26 18:19:05 +02:00
Ms2ger
69b50c2dad Backout changeset 2e466ccc7bd0 for devtools test failures. 2013-10-26 17:02:20 +02:00
Peter Van der Beken
d659070fdf Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz. 2013-10-08 17:51:42 +02:00
Olli Pettay
21ef2003c4 Bug 930498 - BarProps should be got from the inner window not from the outer, r=peterv 2013-10-25 14:12:01 +03:00
Terrence Cole
ef4b355c9c Bug 929800 - Handlify the structured clone interface; r=sfink,smaug 2013-10-22 17:18:32 -07:00
Olli Pettay
d137634ec4 Bug 917026, remove few bogus NS_NOTREACHEDs from TabChild and make window.blur() not throw, r=felipe 2013-10-24 23:57:19 +03:00
Peter Van der Beken
32b4689341 Bug 922160 - Bring EventHandler.webidl more in line with the spec, rename BeforeUnloadEventHandler to OnBeforeUnloadEventHandler. r=bz. 2013-10-08 17:51:15 +02:00
Olli Pettay
aef28efb30 Bug 927901, bind .crypto to inner, not outer window, r=khuey 2013-10-24 19:25:39 +03:00
Ed Morley
1112f7ddb6 Backed out changeset fd177e58f30b (bug 922160) 2013-10-23 15:51:21 +01:00
Peter Van der Beken
ed8527749d Bug 922160 - Bring EventHandler.webidl more in line with the spec, rename BeforeUnloadEventHandler to OnBeforeUnloadEventHandler. r=bz 2013-10-08 17:51:15 +02:00
Kyle Huey
e97138cd15 Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-23 07:32:04 +08:00
Nathan Froyd
9bc269e179 Bug 928916 - use services::GetObserverService more in dom/; r=smaug 2013-10-21 08:58:12 -04:00
Masayuki Nakano
385d2f53af Bug 920425 part.28 Use mozilla::WidgetEvent::AsMouseEvent() r=smaug 2013-10-22 17:55:20 +09:00
Steve Fink
56430e4cac Bug 925916 - Random minor code cleanups, r=smaug 2013-10-15 15:34:13 -07:00
Steve Fink
0efbcf5685 Bug 925916 - Handlify WrapNative, r=smaug 2013-10-11 22:02:39 -07:00
Tom Schuster
b6ee9f1bce Bug 8844105 - Handlify JS_WrapObject. r=terrence 2013-10-15 20:02:23 -04:00
Ryan VanderMeulen
a425a08d23 Backed out 2 changesets (bug 915757, bug 919885) for frequent Android Armv6 mochitest-8 crashes.
Backed out changeset 04610078280c (bug 915757)
Backed out changeset db9190b3ce60 (bug 919885)
2013-10-14 14:38:54 -04:00
Kyle Huey
da062a302a Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-14 19:58:25 +08:00
Phil Ringnalda
33fa19b64f Backed out 2 changesets (bug 915757, bug 919885) for xpcshell bustage
Backed out changeset 5d17d90b838d (bug 915757)
Backed out changeset 91495d3a91c8 (bug 919885)
2013-10-13 21:59:58 -07:00
Kyle Huey
4d5f700354 Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-14 11:10:44 +08:00
Ehsan Akhgari
ee862a9525 Bug 924248 - Make nsIDocument.h go on a diet; r=jst
The nsMacShellService code is rewritten to stop using GetLoadContext
which will now only be available in libxul.
2013-10-07 22:21:07 -04:00
Boris Zbarsky
e113ac4720 Bug 817194. Make WebIDL dictionary types sanely initialized by default; add a new Fast subclass to handle cases when we can skip the initialization safely. r=khuey 2013-10-09 12:05:22 -04:00