Commit Graph

364 Commits

Author SHA1 Message Date
Benjamin Smedberg
694253ff89 Bug 941908 - Crash in nsIDocument::IsActive becuse of a null document. This would assert in debug builds, but use a wallpaper null-check in release builds also, r=johns 2013-11-25 12:08:37 -05:00
John Schoenick
e650d63ad1 Bug 904835 - Don't stomp on the new plugin's prototype if we load a plugin nested inside unloading a plugin. r=josh 2013-11-08 13:00:47 -08:00
John Schoenick
1383b35b3b Bug 883404 - Add a object.reload() call for chrome to de-activate plugins. r=josh 2013-11-08 13:00:46 -08:00
Benjamin Smedberg
8a383581f6 Bug 934774 - Intermittent exception is killing mochitests (primarily browser_pluginnotification.js) because we're dispatching an event to a document which is already dead. Check it's aliveness before dispatching, r=johns
--HG--
extra : rebase_source : b12ee9219793da46ebec5b1a770f3a1d80ea4c66
2013-11-05 16:43:53 -05:00
Tom Schuster
306cb13efc Bug 930782 - Handlify JS_WrapValue. r=terrence 2013-10-26 18:19:05 +02:00
Masayuki Nakano
15be48ff2e Bug 602787 part.10 Create TextRange.h for separating TextEvents.h r=roc 2013-10-22 22:27:36 +09:00
Wes Kocher
6559234e89 Backed out 9 changesets (bug 602787) on suspicion of breaking mochitest-metro on a CLOSED TREE
Backed out changeset 1730bcae2c45 (bug 602787)
Backed out changeset 70606b9b1e42 (bug 602787)
Backed out changeset 57ca2861ea30 (bug 602787)
Backed out changeset 3b9f1062d915 (bug 602787)
Backed out changeset 3ee56eacc84b (bug 602787)
Backed out changeset 1c35693be3d3 (bug 602787)
Backed out changeset ef095c3aef98 (bug 602787)
Backed out changeset 4827bdae97fd (bug 602787)
Backed out changeset fa0f355e7871 (bug 602787)
2013-10-22 13:11:53 -04:00
Masayuki Nakano
381b632044 Bug 602787 part.10 Create TextRange.h for separating TextEvents.h r=roc 2013-10-22 22:27:36 +09:00
Sebastian Wong
34ef7cfead Bug 827160 - added HTMLObjectElement typemustmatch check as well as unit tests. r=johns,sr=bz 2013-10-21 15:22:12 -07:00
Tom Schuster
a513788fdb Bug 8844105 - Handlify JS_WrapObject. r=terrence 2013-10-15 20:02:23 -04:00
Masayuki Nakano
648570f10b Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Kyle Huey
27e346e22d Bug 911258: Part 5 - Use the unified exception handling mechanism on workers. r=bz 2013-09-08 20:29:21 -07:00
Boris Zbarsky
24c69b775f Bug 909642. Don't include nsNPAPIPluginInstance in headers so much, since it pulls in lots of gunk. r=bsmedberg 2013-08-27 01:05:29 -04:00
Doug Turner
805876c713 Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
Ehsan Akhgari
80d135155d Bug 907883 - Minimize #includes in layout/generic; r=roc
--HG--
extra : rebase_source : 5e87b764a12b05aff477c71547e2131be67ca93b
2013-08-22 14:32:52 -04:00
John Schoenick
75c88795c6 Bug 902375 - Actually use the optional parameter added explicitly for this purpose. r=bsmedberg 2013-08-21 14:47:53 -07:00
Ehsan Akhgari
3ec2c9b451 Bug 905353 - Minimize the #includes in dom/base; r=jst
--HG--
extra : rebase_source : e7a1d2262bf6d8c9b78057b8eb6cdbfd98262f68
2013-08-15 14:17:48 -04:00
David Zbarsky
d0e051e4b7 Bug 901060 - Make nsGenericHTMLElement implement nsIDOMHTMLElement r=bz 2013-08-07 16:23:08 -04:00
Bob Owen
d12e2d913c Bug 886262 - Ensure sandbox flags and, where necessary, null principal are set for child objects. r=bz 2013-08-06 11:01:23 +01:00
Daniel Holbert
7255b73424 Bug 901645: Mark some variables in content/base/src as DebugOnly. r=smaug 2013-08-05 21:35:08 -04:00
Boris Zbarsky
acdf381c53 Bug 707564 part 3. Give WebIDL bindings with NewResolve hooks Enumerate hooks as well, so enumerating them correctly resolves all the properties. r=smaug 2013-08-03 23:38:54 -04:00
Tom Schuster
0b021a6fa2 Bug 884410 - Handlify JS_GetPrototype. r=terrence 2013-07-31 12:20:33 -04:00
John Schoenick
6e04b0893e Bug 889614 - Followup, don't erroneously cancel other events. r=josh 2013-07-29 13:50:55 -07:00
John Schoenick
ef97434481 Bug 889614 - Fix regression in plugin reparenting. r=josh 2013-07-25 14:02:33 -07:00
Ms2ger
4f51466484 Bug 896280 - Pass MutableHandleValue to JS::Call(); r=terrence 2013-07-24 09:40:01 +02:00
Benjamin Smedberg
c416701cd3 Bug 889788 - Plugin doorhanger breaks when plugins are dynamically removed from a page. This implements the short-term solution of hiding the plugin doorhanger when no more plugins are on the page (the better long-term solution will keep showing the UI and track all the plugins a page ever uses). This also implements a short-term solution when a user enables a plugin. Also bug 887088 - Short-term UI solution: when a user loads multiple tabs from a site and enables a plugin on one of them, the plugins are not enabled on other tabs but the "continue allowing" button does nothing. This patch makes the "Continue Allowing" button enable existing plugins of that type. r=jaws r=jschoenick
--HG--
extra : rebase_source : a60ae3259579ea63d51921dc3c70836da2d7ab3a
2013-07-19 10:02:48 -04:00
Boris Zbarsky
145e2ef11a Bug 838146 part 9. Make Xrays play nice with WebIDL resolve hooks. r=bholley 2013-07-16 01:31:03 -04:00
Nicholas Nethercote
0d3b60738e Bug 887558 (part 3) - Use JSObject::{is,as} for JSObject itself. r=sfink.
--HG--
extra : rebase_source : 510677697603e6502c738f5460b7bea4bffd7f27
2013-07-04 00:50:50 -07:00
John Schoenick
4ddb403a04 Bug 889821 - Extend interface shim to allow nsIStreamListener callbacks to object/embed/applet tags to be used from script. r=bz 2013-07-10 15:15:41 -04:00
John Schoenick
c497b9a417 Bug 788031 - For object/embed/applet tags, pass baseURI to shouldProcess if mURI is null. r=josh 2013-07-10 12:55:26 -04:00
John Schoenick
f60e63eca2 Bug 888834 - Java sees no-explicit-codebase as . not baseURI. r=josh 2013-07-02 16:40:40 -07:00
John Schoenick
ca8c9cb156 Bug 406541 - Add check for java file codebase security. r=bsmedberg 2013-07-02 16:40:40 -07:00
Justin Lebar
6c46d0633d Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
75c400493b Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
John Schoenick
5f2fbccd09 Bug 738396 - Only pass canonicalized codebase to Java. r=bsmedberg sr=jst 2013-06-27 13:59:37 -07:00
John Schoenick
f5b3708515 Bug 738396 - Construct codebase URI for Java plugins as java would. r=bsmedberg sr=jst 2013-06-27 13:59:36 -07:00
Benjamin Smedberg
71c97abfa3 Bug 880735 part E - Use the new permissionmanager.updateExpireTime method to make sure that plugin permissions are renewed properly, r=johns 2013-06-24 08:51:07 -04:00
Benjamin Smedberg
d2813956df Bug 880735 part C - Disabled plugins should be always disabled, site-specific permissions do not override them. I'm sorry for the churn from bug 875454. At least the logic is in one place and easy to fix! r=johns 2013-06-24 08:51:07 -04:00
Benjamin Smedberg
35c0784726 Bug 880735 part A - Add a .defaultFallbackType to plugins so that we can avoid re-implementing the ShouldPlay logic in the frontend code. r=johns 2013-06-24 08:51:07 -04:00
Gabor Krizsanits
756a8f8c8c Bug 864335 - Remove GetScriptGlobalObject. r=mrbkap 2013-06-21 16:25:20 +02:00
Jon Coppeard
4b40ce1453 Bug 885310 - 1 Rename JSHandleFoo in the browser r=bz 2013-06-21 14:12:46 +01:00
Boris Zbarsky
52641f95fc Bug 883968. Give <object>/<embed>/<applet> channels notification callbacks that can actually be used from script. r=johns 2013-06-19 10:24:37 -04:00
Benjamin Smedberg
167df5915e Bug 875454 - Rework handling of per-site plugin permissions in objectloadingcontent such that users can disable or enable plugins per-site no matter what their "global" permission is (currently only plugins marked click-to-activate globally honor per-site overrides). Also change the pageInfo UI such that "use default" is separate from the explicit click-to-play setting. r=jschoenick/jaws
--HG--
extra : rebase_source : e5bfba45eaa5619d695c484573b90303cc113181
2013-06-11 10:58:43 -04:00
John Schoenick
c8c753f060 Bug 871942 - Don't synchronously stop plugins in DestroyContent. r=benjamin 2013-05-23 16:22:28 -07:00
Bobby Holley
91448a9dac Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
54ef3d2952 Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor 2013-05-22 10:05:26 -06:00
Bobby Holley
c65c7d599a Bug 868130 - Use an AutoSafeJSContext in nsObjectLoadingContent::TeardownProtoChain. r=gabor 2013-05-22 10:05:24 -06:00
John Schoenick
953e5b39a3 Bug 870216 - Fire SetWindow on plugins twice to make Adobe Reader happy. r=josh 2013-05-16 11:38:40 -07:00
Boris Zbarsky
4f17ea0254 Bug 869311. More rooting in dom/bindings and content/base. r=smaug 2013-05-07 22:34:56 -04:00
Boris Zbarsky
eca92dda6d Bug 867844 part 1. Fix rooting hazards in LegacyCall. r=smaug 2013-05-06 08:30:40 -04:00