Commit Graph

2479 Commits

Author SHA1 Message Date
Bob Owen
89f39ad39a Bug 1182411 Part 1: Make plugin quirks available to the Parent as well as the Child. r=jimm 2015-08-12 16:00:25 +01:00
Terrence Cole
de72ab688b Bug 1191529 - Remove JSIdArray and AutoIdArray and replace with Rooted<IdVector>; r=mccr8, r=jonco
* * *
imported patch 2_remove_AutoIdArray_gk

--HG--
extra : rebase_source : f4492f209248c7ae4b74d7d0345c51fa893167da
2015-08-05 11:02:00 -07:00
Jan de Mooij
eed2b5bfff Bug 1185653 - Fix enumerate hook on unboxed objects to skip non-enumerable properties. r=jorendorff
--HG--
extra : rebase_source : 4f359cb0b34ee5a92afcb983ec765c92eaa1d162
2015-08-11 17:42:56 +02:00
Bob Owen
e00cc89ee9 Bug 1185529: On Windows, ensure that NPAPI child window has the correct parent before setwindow is called. r=jimm 2015-08-07 08:48:16 +01:00
Xidorn Quan
815ed861e5 Bug 1188322 - Always hide menubar as well as dock for fullscreen on OS X whatever the screen is. r=mstange
--HG--
extra : source : 9beba24463ba85ab0ca12d0c80786a9d7915f208
2015-08-07 13:49:12 +10:00
Ehsan Akhgari
f22dea9a72 Bug 1190040 - Part 2: Teach the audio channel service how to not notify audio-playback, and do that when a media element has no audio track; r=padenot 2015-08-06 10:26:27 -04:00
Wes Kocher
6fe397ef93 Backed out changeset a2f3a6818c4d (bug 1189887) for test_instance_re-parent.html failures CLOSED TREE 2015-08-05 13:09:08 -07:00
Aaron Klotz
3e8b0857ab Bug 1189887: Enable async plugin init by default except when e10s is on; r=jimm
--HG--
extra : rebase_source : 4dd7903fa5d9ab588f5cb1bf36df0c57701ae1bd
2015-07-31 13:39:42 -06:00
Christoph Kerschbaumer
e5e3756c82 Bug 1182543 - Use channel->ascynOpen2 in dom/plugins/base/nsPluginHost.cpp - simplifications in instanceowner (r=sicking) 2015-08-04 20:06:03 -07:00
Christoph Kerschbaumer
221df08158 Bug 1182543 - Use channel->ascynOpen2 in dom/plugins/base/nsPluginHost.cpp (r=sicking) 2015-08-04 20:05:37 -07:00
Matt Woodrow
d2d5e5b9a3 Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert 2015-07-29 16:35:55 -04:00
Wes Kocher
ec1078c65a Backed out 6 changesets (bug 1150944, bug 1034370) for build failures in WebGLContext.cpp CLOSED TREE
Backed out changeset e2a6160242e5 (bug 1150944)
Backed out changeset 1c510537d20b (bug 1150944)
Backed out changeset 7ae813666ed5 (bug 1150944)
Backed out changeset 2f29ac2e31cd (bug 1150944)
Backed out changeset bf7681b1567e (bug 1150944)
Backed out changeset 79c6b8d014d2 (bug 1034370)
2015-07-29 14:16:17 -07:00
Matt Woodrow
501c8bec02 Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert 2015-07-29 16:35:55 -04:00
Ehsan Akhgari
b5b0a74540 Bug 1167690 - Part 4: Add support for testing plugin audio channel integration to the test plugin; r=josh 2015-07-29 08:26:46 -04:00
Ehsan Akhgari
bbe6c58f8c Bug 1167690 - Part 3: Hook up NPNVmuteAudioBool to the plugin process; r=josh 2015-07-29 08:26:44 -04:00
Andrea Marchesini
40b1251673 Bug 1167690 - Part 2: Integrate plugins which support the NPAPI audio extensions with the Audio Channel Service; r=BenWa 2015-07-29 08:26:42 -04:00
Benoit Girard
61e92462cb Bug 1167690 - Part 1: Hook up NPPVpluginIsPlayingAudio to the plugin process; r=josh 2015-07-29 08:26:40 -04:00
Wes Kocher
bbaddcb217 Backed out changeset 7d5d2d96f19b (bug 1188052) because it turned m(oth) permafail in various ways CLOSED TREE 2015-07-27 20:03:47 -07:00
Wes Kocher
8ecfae7042 Backed out changeset 2e835ae56ddd (bug 1188052) 2015-07-27 20:03:15 -07:00
Wes Kocher
06e7c8d55e Skip dom/plugins tests on OSX 10.6 even harder (bug 1188052) a=me 2015-07-27 15:40:19 -07:00
Ryan VanderMeulen
7322d17cc4 Bug 1188052 - Skip dom/plugins tests on OSX 10.6 debug due to frequent timeouts. rs=aklotz, a=me 2015-07-27 15:43:58 -04:00
John Schoenick
d91deee76b Bug 1178963 part 3. Make nsPluginHost aware of fake plugins. r=peterv 2015-05-20 15:30:05 +02:00
John Schoenick
8860237328 Bug 1178963 part 2. Implement nsFakePluginTag to represent a non-NPAPI "plugin" that is actually implemented in JavaScript. r=peterv 2015-05-20 15:30:05 +02:00
John Schoenick
6601080d53 Bug 1178963 part 1. Use nsIPluginTagInternal instead of nsPluginTag in cases where it may be nsFakePluginTag. r=peterv 2015-05-20 15:30:05 +02:00
Aaron Klotz
6331d6f7c0 Bug 1184068: Ensure that mShutdown is not incorrectly set from true to false if plugin crashes during CallNP_Shutdown; r=jimm 2015-07-22 17:39:32 -06:00
Myk Melez
63e3fa8967 Bug 1131368 - test plugin.allowed_types pref; r=josh 2015-07-23 10:41:57 -07:00
Jim Mathies
f93c97ac46 Bug 1128454 - When plugin bridging fails, propagate the error back to the content process without aborting tabs. r=billm
--HG--
extra : rebase_source : dbe95e294a973f52b3015f1b1f7c0cd229a745c2
2015-07-20 10:20:15 -05:00
Birunthan Mohanathas
3d57c66d5e Bug 1182979 - Part 2: Use nsTHashtable::Iterator in PluginScriptableObjectChild. r=jimm 2015-07-16 10:59:36 -07:00
Birunthan Mohanathas
314776cd4e Bug 1182979 - Part 1: Use nsTHashtable::Iterator in PluginInstanceChild. r=jimm 2015-07-16 10:55:12 -07:00
Kyle Machulis
4274ebeef0 Bug 1165981 - Mochitests and test plugin for Win64 plugin disabling; r=bsmedberg 2015-07-21 08:55:18 -07:00
Kyle Machulis
5f9983ed6f Bug 1165981 - Only allow flash as a plugin on Windows 64-bit builds; r=bsmedberg 2015-07-21 08:55:08 -07:00
Brad Lassey
341abc46ae Bug 1160166 - Disabled plugin meta information often isn't available to content processes. r=jimm 2015-07-14 09:21:14 -04:00
Jim Mathies
a1ff6f2c30 Bug 1128454 - When plugin bridging mysteriously fails, log the ipc channel state along with the nsresult error code. r=billm 2015-07-15 14:47:14 -05:00
Boris Zbarsky
f9793d505e Bug 1181965. Remove uses of mozRequestAnimationFrame from dom and parser tests. r=bkelly 2015-07-14 15:28:57 -04:00
Birunthan Mohanathas
a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
ISHIKAWA, Chiaki
a3e872ff3f Bug 1172304 - Fix to handle short read in Plugin code. r=johns 2015-07-07 11:29:00 -04:00
Andrew Comminos
54e637406e Bug 1178896 - Add support for determining if a plugin is OOP to nsIPluginHost. r=aklotz 2015-07-11 19:08:00 +02:00
Jim Mathies
9a5c8328b9 Bug 1128454 - Add crash report annotations for plugin bridge operation failures. r=billm 2015-07-09 19:07:49 -05:00
Boris Zbarsky
11acb3521f Bug 1181619. Make sure we've entered a microtask before we call nsJSUtils::EvaluateString, and put those microtasks outside the relevant AutoEntryScripts so we report any possible exceptions before doing the microtask checkpoint. r=bholley 2015-07-09 02:41:43 -04:00
Daniel Holbert
08e61a1e4e Bug 1158561 followup: Add 'override' annotations to overriding methods added in this bug: Callback(), SitesWithData(), RecvReturnClearSiteData(), & RecvReturnSitesWithData(). rs=ehsan 2015-07-07 21:10:32 -07:00
Nicholas Nethercote
f976bf5495 Bug 1179071 - Merge RemovingIterator into Iterator. r=froydnj.
The original motivation for the Iterator/RemovingIterator split was that
PLDHashTable Checker class would treat them differently. But that didn't end up
happening (see bug 1131308). So this patch merges them. This is a small code
size win now but it will become bigger when I add iterators to nsTHashTable and
nsBaseHashtable.

The only complication is that PLDHashTable::Iter() is now non-const, which is
a problem if you use it in a const method. So I added PLDHashTable::ConstIter()
which is used in just two places. It's a bit of a hack -- effectively a
const_cast -- but I don't think it's too bad.
2015-07-06 22:02:26 -07:00
Brad Lassey
857ea25644 bug 1158561 - [e10s] Browser hang in PluginModuleParent::NPP_ClearSiteData() r=jimm,mak 2015-06-30 18:08:19 -04:00
Jim Mathies
ed992e839c Bug 1177367 - Don't fall through to non-e10s plugin widget creation when e10s creation fails. r=aklotz 2015-07-06 13:10:46 -05:00
Emanuel Hoogeveen
7d1e52f2ff Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Robert O'Callahan
691cbe2607 Bug 1143575. Let callers of ImageContainer::SetCurrentImages specify frame IDs. r=nical
--HG--
extra : commitid : DuR1A0ZlwdV
extra : rebase_source : 5f3c7c819038bd300ad34b90b830686448308039
2015-07-03 22:13:48 +12:00
Robert O'Callahan
04dc05db17 Bug 1143575. Pass a list of timestamped images to ImageContainer::SetCurrentImages. r=nical
--HG--
extra : commitid : 2JD9zKhyZMo
extra : rebase_source : f5276dee70345e932daca7a4d082f5917e09bf9e
2015-07-07 09:58:18 +12:00
Robert O'Callahan
77c34a416d Bug 1143575. Convert SetCurrentImage(nullptr) callers to call ClearAllImages instead. r=nical
--HG--
extra : commitid : BN8G7I6BhiD
extra : rebase_source : 19fba64a55316faa5350274b21b4ee772c9cdad6
2015-03-26 11:40:36 +13:00
Robert O'Callahan
c85ce2add1 Bug 1143575. Remove unused CompositionNotifySink. r=nical
--HG--
extra : commitid : KLg81j7yveG
extra : rebase_source : d2a2af5c722a81632fcf4644d429bb2995fcba1e
2015-03-22 01:02:25 +13:00
Robert O'Callahan
84a1b0dd5a Bug 1143575. Android's screenshotting code should invalidate the LayerManagerComposite to ensure composition will actually happen. r=nical
There is some ambiguity about whether ScheduleComposite will necessarily
trigger a composite all the way to nsWindow::DrawWindowUnderlay. Android
robocop tests assume it will, because they rely on DrawWindowOverlay
being called so they can take a screenshot and make progress,
but this is a very fragile assumption. They also rely on the entire
window being painted, which is also a fragile assumption.

This patch improves the situation by explicitly invalidating the current
window area when Android Java code needs to trigger a composite. This avoids
regressions from future patches in this series which make composition bail
out when there is nothing invalid.

The resulting setup is still a bit fragile for my taste but I'm not sure
what the ideal solution would be.

--HG--
extra : commitid : 3t3xqRdZs24
extra : rebase_source : b23749613663ca805484776ccf5e36b4ff00e3fe
2015-06-12 03:20:04 +12:00
Jim Mathies
a10d0c34c0 Bug 1178998 - Identify which hang detector reports a hang. r=billm 2015-07-06 12:39:25 -05:00
Jim Mathies
39d0eb3c1f Bug 1179972 - Avoid send message hangs via WM_CHILDACTIVATE in PluginInstanceChild. r=aklotz 2015-07-06 12:39:25 -05:00
Lee Salzman
97d3a0fc71 Bug 1180246 - Part 1 - remove dependencies on gfxD2DSurface. r=bas
--HG--
extra : rebase_source : 199520a80f8d904f2034fa39d9640d271078a6ac
2015-07-02 08:02:51 -04:00
Juan Gomez
258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Benoit Girard
f99fbdd017 Bug 1167690 - Add NPAPI:AudioControl enums to npapi.h. r=josh
--HG--
extra : commitid : 6FO3OUAgoa3
extra : rebase_source : 0d97bb8167d71fb50e3f3c8f14802fbc65e5fa49
2015-05-22 14:32:14 -04:00
Wes Kocher
9e61cb09b7 Backed out changeset 9e0475a23d21 (bug 1158561) for assertions in test_clear_site_data.html CLOSED TREE 2015-07-01 16:25:26 -07:00
Nicholas Nethercote
f4b6494f31 Bug 1175810 (part 2) - Remove PL_DHashTableEnumerate() uses from nsJSNPRuntime. r=bz.
Also, remove the |AutoSafeJSContext| because it wasn't being used.

--HG--
extra : rebase_source : 7b03383f37ca92e8df455132c1993d44f092121a
2015-06-18 17:59:42 -07:00
Brad Lassey
8caec1b14a bug 1158561 - [e10s] Browser hang in PluginModuleParent::NPP_ClearSiteData() r=jimm,mak 2015-06-30 18:08:19 -04:00
Andrew McCreight
53e8d2ac49 Bug 958641 - De-holder nsIXPConnect::WrapNative. r=gabor 2015-07-01 11:17:17 -07:00
Terrence Cole
620b712967 Bug 1178581 - Interning does not and should not imply infinite lifetime; r=sfink
--HG--
extra : rebase_source : f6fb6b881bffe5af0dfde6a45e9e0c29932c8885
2015-06-30 07:58:31 -07:00
Ryan VanderMeulen
9483a612e8 Backed out changesets 57bbe09f18f2 and 8353c823b8b5 (bug 1158561) for win32 build bustage.
CLOSED TREE
2015-07-01 12:11:41 -04:00
Brad Lassey
d72e70b196 bug 1158561 - follow up to fix win build r=bustage CLOSED TREE 2015-07-01 11:14:45 -04:00
Brad Lassey
9ddc8315be bug 1158561 - [e10s] Browser hang in PluginModuleParent::NPP_ClearSiteData() r=jimm,mak 2015-06-30 18:08:19 -04:00
Jan de Mooij
303b210317 Bug 1177892 part 3 - Remove OBJECT_TO_JSVAL. r=evilpie 2015-06-30 21:09:46 -07:00
Jan de Mooij
155b1afd35 Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie 2015-06-30 11:20:56 -07:00
Ryan VanderMeulen
7483c0563e Backed out changesets ad58c270ce87 and 849151330d60 (bug 1177892) for B2G bustage.
CLOSED TREE
2015-06-30 15:48:11 -04:00
Jan de Mooij
731f441d6e Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie
--HG--
extra : rebase_source : f7ae63c351c82516e7db48a12c4cfb2048a81805
2015-06-30 11:20:56 -07:00
Nathan Froyd
974d8120f2 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Jan de Mooij
976586cb5f Bug 1177825 - Remove JSVAL_* constants. r=evilpie 2015-06-29 18:36:44 -07:00
Andrew McCreight
898cb90713 Bug 886459, part 4 - Remove nsIJSRuntimeService. r=bholley,aklotz 2015-06-26 18:44:14 -07:00
Aaron Klotz
7b26ea1860 Bug 1172627: Increase the threshold for retrying plugin destroy checks; r=jimm
--HG--
extra : rebase_source : 9777a29fb0cdd5917378ae0697e72aa3aefc865f
2015-06-24 11:46:10 -07:00
Ryan VanderMeulen
5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Aaron Klotz
cc91cf8d71 Bug 1169457 - Add null check in OnWrapperDestroy. r=jimm
--HG--
extra : rebase_source : 389c94ac76def0520415facab467267f939b4c7e
2015-06-23 18:49:55 -07:00
Juan Gomez
702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Chris Peterson
aafa5f2541 Bug 554186 - Part 2: Remove unused nsPluginInstanceOwner::ShowNativeContextMenu(). r=josh 2015-06-14 22:11:06 -07:00
Chris Peterson
041ccf4347 Bug 554186 - Part 1: Unimplement NPN_Status API. r=josh 2015-06-13 22:50:03 -07:00
Chris Peterson
c93d730108 Bug 554178 - Remove unused member variable PluginModuleChild::mUserAgent. r=jimm 2015-06-14 23:02:54 -07:00
Bill McCloskey
f303b72911 Bug 1164543 - Make plugin shutdown async in e10s (r=jimm) 2015-06-19 17:35:05 -07:00
Bill McCloskey
7315c6828e Bug 1164543 - Remove gAllInstances from PluginModuleChild (r=jimm) 2015-06-19 17:35:05 -07:00
Bill McCloskey
c04deb201e Bug 1164543 - Add HasLocalInstance support (r=jimm) 2015-06-19 17:35:05 -07:00
Bill McCloskey
5a3098de24 Bug 1175975 - Null crash fix in ProcessHangMonitor (r=jimm) 2015-06-19 17:35:04 -07:00
Bob Owen
bef4807107 Bug 1165895: Add NPAPI sandbox rule for the crash server pipe and x64 Temp dir write access. r=bbondy 2015-06-18 12:01:38 +01:00
Bob Owen
dce35c582d Bug 1165903: For Windows NPAPI do window re-parenting in the chrome process to allow for sandboxing. r=jimm 2015-06-15 16:08:51 +01:00
Benjamin Smedberg
cd6a039640 Bug 1175147 - Don't do threadsafety asserts for NPN_MemAlloc and friends, r=jimm
--HG--
extra : rebase_source : d7c9f481c6e0dcd492b341c8889dfde45b5e21c9
2015-06-16 12:04:04 -04:00
Boris Zbarsky
3437c1a714 Bug 1174486 part 4. Stop reporting exceptions in nsJSUtils::EvaluateString and have its consumers use AutoJSAPIs that take ownership of error reporting instead. r=bholley 2015-06-15 20:11:06 -04:00
Ted Mielczarek
fca5598e0a bug 1174414 - Fix build without profiler. r=mconley
--HG--
extra : commitid : 9feSETPZSKa
extra : rebase_source : 025c9a8bdfee42be8926a87b8e6f9da51c0134c5
2015-06-13 20:55:33 -04:00
Ted Mielczarek
86eb9ee311 bug 1171131 - Make dom/plugins/ipc build for iOS. r=jimm
--HG--
extra : commitid : 9gARYEpGccj
extra : rebase_source : 115f75c208649b3d62e7b33b35f44aa7af5ffa72
2015-06-12 08:46:43 -04:00
Ted Mielczarek
744968efa0 bug 1170584 - fix PluginMessageUtils on iOS. r=jimm
--HG--
extra : commitid : DH7ZYdphBB5
extra : rebase_source : 4fbc43d53e807eea7f8951fa7a935ad4b05bb603
2015-01-28 15:13:24 -05:00
Randall Barker
1fc136e380 Bug 1163664 - Don't check for plugin blocklist state on Android. r=jimm, r=jchen 2015-06-01 17:05:00 -04:00
Mike Conley
883b7ff2db Bug 1116188 - Add async ProfileGatherer as the mechanism for gathering profiles from subprocesses. r=bgirard,bz
--HG--
extra : commitid : 3ssrVzrWpIy
extra : rebase_source : 5d389ada8f7e4c453c0b7e6a965ee46a7526e06f
2015-06-10 17:58:30 -04:00
Wes Kocher
c07c3dd3d8 Merge fx-team to central, a=merge 2015-06-11 17:18:11 -07:00
Aaron Klotz
70530b4506 Bug 1171453: Make ParentNPObjects aware of AsyncNPObject wrappers; r=jimm
--HG--
extra : rebase_source : 185651f571495b6b4313d335359a9d60b35074fa
2015-06-10 12:20:56 -06:00
Jim Mathies
ebf8adc0a6 Bug 1160142 - For e10s plugin hangs take the minidump of the browser process before we message the chrome UI about the hang. r=billm 2015-06-11 12:25:45 -05:00
Wes Kocher
4eedce1509 Merge inbound to central, a=merge 2015-06-10 18:29:39 -07:00
Aaron Klotz
5b59e17534 Bug 1170676: Fix null dereference in PluginModuleParent::StreamCast; r=jimm 2015-06-10 11:08:46 -06:00
Aaron Klotz
c4cf8b9679 Bug 1172627: Update test_instance_re-parent to account for bug 1158761; r=jimm
--HG--
extra : source : ee501cdf2f116cf17d70fe93e3a25d6266f0ba5c
extra : amend_source : 523410abb5af98a7f0b82c3f6c0d6c80ac3a2e18
2015-06-08 19:57:54 -06:00
Benjamin Smedberg
0d5f4e64e8 Bug 1170343 - Use release-mode asserts when plugins making NPAPI calls on the wrong thread, r=mccr8
--HG--
extra : rebase_source : ac8a277e4130cd1264697f084bd974e206d832e9
extra : histedit_source : 5f92fbc5b3aef2773615322a397544ee17cf284f
2015-06-09 15:55:21 -04:00
Jacek Caban
3afa0b8221 Bug 1151318 - Fixed wchar_t/char16_t mismatch on mingw. 2015-06-11 13:12:11 +02:00
Chris Peterson
e5b1ce7ce4 Bug 1169945 - Remove unused plugins.enumerable_names whitelist. r=bsmedberg 2015-05-29 22:42:23 -07:00
Eric Rahm
75c4bebb79 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Eric Rahm
606b18ac10 Bug 1165515 - Part 12: Convert nsPluginLogging to use PR_LOG levels. r=bsmedberg
PLUGIN_LOG_MAX is removed as it's unused. PLUGIN_LOG_ALWAYS is mapped to
PR_LOG_ERROR which will have the value of '1' now that PR_LOG_ALWAYS is
removed.
2015-06-03 15:22:38 -07:00