Commit Graph

2727 Commits

Author SHA1 Message Date
Nicholas Nethercote
e114b226dc Bug 1259194 (part 4) - Separate js::ObjectOps from js::Class. r=efaust,mrbkap,bz.
js::ObjectOps is often all null. When it's not all null, it's often duplicated
many times among classes. By pulling it out into its own struct, and using a
(possibly null) pointer in js::Class, we can save 208 KiB per process on
64-bit, and half that on 32-bit.

--HG--
extra : rebase_source : 5be8fe45f652392571b8a6d7b63777cbafba6ae4
2016-03-24 07:00:29 +11:00
Kyle Machulis
7f4a21d386 Bug 1253957 - Fix e10s race issue for test from bug 1165981; r=bsmedberg 2016-03-28 15:37:26 -07:00
Kyle Huey
20daca1a98 Bug 1258905: Remove a bunch of dead IPC code. r=jld 2016-03-28 10:28:14 -07:00
Arata Furukawa
676913b9bb Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki
MozReview-Commit-ID: 7lBCEVkanvF

--HG--
extra : source : d629f018d02594951b7deccf1e1fce279d04694c
2016-03-28 13:29:42 +09:00
Christoph Kerschbaumer
a7f5240d4b Bug 1206952 - Convert PluginStreamListener to use channel->AsyncOpen2(). r=sicking 2016-03-23 21:47:49 -07:00
Christoph Kerschbaumer
4384c0ed53 Bug 1206952 - Rename MagicRequest to ByteRangeRequest. r=sicking 2016-03-23 20:29:59 -07:00
Jared Wein
445481b3cb Bug 1150036 - Fix leaks within browser_tab_dragdrop.js by making sure references to tabs are deleted and message listeners are removed. r=Felipe
MozReview-Commit-ID: Dz12fmHsJyo

--HG--
extra : rebase_source : 8907a2d3100183d4abf11757335820184d58e9da
2016-03-23 11:32:55 -04:00
Gregory Szorc
a2c55db304 Bug 1124033 - Disable C4312 in dom/plugins/ipc; r=ehsan
This was in a previously reviewed patch. I dropped the change because I
thought the underlying warning had been fixed. I was wrong.

MozReview-Commit-ID: J9B34YhJ3z0

--HG--
extra : source : ea446df75d17331a7c0736ef3303bf9a07d8d9f0
2016-03-23 22:26:04 -07:00
Boris Zbarsky
e3b2de6aa9 Bug 1255817 part 2. Get rid of AutoJSAPI::OwnsErrorReporting and AutoJSAPI::TakeOwnershipOfErrorReporting. r=bholley 2016-03-23 11:44:54 -04:00
Masayuki Nakano
cea0b9cf02 Bug 1256589 part.6 Move the implementation of IsTrusted() from dom::Event to WidgetEvent r=smaug
MozReview-Commit-ID: 1SgMbTL8csl

--HG--
extra : rebase_source : 748fa8a594176edf7b2addd038b8031019d0dd35
extra : source : f4ce36e68ce06c405a6fab31facc120b94709aed
2016-03-17 16:01:30 +09:00
Sebastian Hengst
207a3dd0f5 Backed out changeset f17a9b548316 (bug 1257346) for Windows build bustage. r=backout on a CLOSED TREE 2016-03-21 20:43:32 +01:00
Gregory Szorc
5a77e5b35e Bug 1257346 - Disable C4312 to unblock compilation on VS2015; r=aklotz
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists on fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary.

MozReview-Commit-ID: BgLmpUa09c6

--HG--
extra : rebase_source : bee12f3e67aca3bfd320ee729ea6213dc48576b8
2016-03-16 15:27:32 -07:00
Kyle Machulis
72b3457be7 Bug 1171182 - Mochitest for NPAPI Zoom; r=bsmedberg 2016-03-18 10:50:50 -07:00
Kyle Machulis
869a7a0a24 Bug 1171182 - Browser Zoom Query for NPAPI; r=bsmedberg r=jaas 2016-03-18 10:50:50 -07:00
Mike Hommey
f5e10530d9 Bug 1256988 - Fix #endif comments for MOZ_WIDGET_GTK. r=chmanchester 2016-03-17 06:49:44 +09:00
Mike Hommey
7f131dbc35 Bug 1256988 - Replace tests on MOZ_ENABLE_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester 2016-03-17 06:49:44 +09:00
Blake Kaplan
adba9c694d Bug 1254856 - Add a mochitest to ensure that we send the proper cookies. r=ckerschb 2016-03-16 12:58:56 -07:00
Dylan Roeh
d813962aca Bug 1253011 - Remove Gingerbread flash interfaces. r=snorp 2016-03-11 14:07:26 -06:00
Tooru Fujisawa
50608d5d55 Bug 1256088 - Merge mock app-info implementation into AppInfo.jsm. r=gps 2016-03-16 16:58:29 +09:00
Aaron Klotz
8db796eb11 Bug 1256943: Ensure that BLOCKED_ON_PLUGIN_MODULE_INIT_MS is being recorded in e10s chrome; r=jimm
I also add some missing data to the content version, namely the duration of time that ContentParent::SendLoadPlugin takes.

MozReview-Commit-ID: 8qSZopvY1D7

--HG--
extra : rebase_source : ca717c149a52ed1ece9ac0678dca0c284ab26c5d
2016-03-15 14:04:34 -06:00
Gregory Szorc
f705c33849 Bug 1256024 - Disable C4838 to unblock compilation on VS2015; r=aklotz
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists of fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary.

MozReview-Commit-ID: Gcq3Qna02iB

--HG--
extra : rebase_source : 2ccaa22eb85280cc8d322df87fb759e8dff67cf1
2016-03-14 15:21:09 -07:00
Jim Mathies
ee3a95d698 Bug 1041599 - Maintain a single volume control session between browser, content, and plugins on Windows. r=aklotz
MozReview-Commit-ID: 2LuYciKfsWn
2016-03-13 08:25:23 -05:00
Ryan VanderMeulen
9e8ddc04fc Bug 1253957 - Skip test_bug1165981.html and test_windowless_flash.html on e10s.
--HG--
extra : rebase_source : 1cd95cb87a7bb3d16f49c29e3fe5e24e076ed1a7
2016-03-10 16:04:49 -05:00
Christoph Kerschbaumer
c79819cb84 Bug 1254752 - Remove deprecated functions from nsIIOService. r=mcmanus
MozReview-Commit-ID: 9kvI8nknTA1
2016-03-08 15:51:54 -08:00
Boris Zbarsky
36d4079be7 Bug 1254847 part 3. Make AutoEntryScript always take ownership of error reporting. r=bholley 2016-03-09 19:02:03 -05:00
Boris Zbarsky
6b80989ddf Bug 1254847 part 2. Change nsJSNPRuntime to always use AutoEntryScript and always take ownership of error reporting. r=bholley
The main change is that we move AutoJSExceptionReporter up to before the first
place where we might throw an exception, so we report those exceptions before
returning.  The change to use AutoEntryScript consistently is because all of
these callsites can run JS in practice, and it seems reasonable to allow them
to.
2016-03-09 19:02:03 -05:00
Kyle Machulis
fde34a472d Backout 6397f46b0628 and c6be87916507 (Bug 1171182) due to windows mochitest failures 2016-03-09 14:49:39 -08:00
Kyle Machulis
91e2132559 Bug 1171182 - Mochitests for NPAPI CSS Zoom; r=bsmedberg 2016-03-09 11:55:21 -08:00
Kyle Machulis
75e71bb508 Bug 1171182 - CSS Zoom Query for NPAPI; r=jaas r=bsmedberg 2016-03-09 11:55:21 -08:00
Wes Kocher
32b01c6513 Backed out changeset 65051cc8fc06 (bug 1254752) for browser_dbg_addon-sources.js failures
MozReview-Commit-ID: 8Lg5gJHY6J5

--HG--
extra : rebase_source : def380fa7ce90838e42ad1a63ca1f9f365a868ba
2016-03-09 10:56:28 -08:00
Christoph Kerschbaumer
f0fbe292c5 Bug 1254752 - Remove deprecated functions from nsIIOService (r=mcmanus)
MozReview-Commit-ID: 7ZV7ddKTCK5
2016-03-09 08:58:45 -08:00
Ryan VanderMeulen
54367e83bf Merge fx-team to m-c. a=merge 2016-03-05 19:22:45 -05:00
Drew Willcoxon
f9662f1a06 Bug 1253713 - [e10s] Make widget/tests/test_plugin_scroll_invalidation.html work under e10s. r=mccr8
MozReview-Commit-ID: AZ7MZWHoWhr

--HG--
rename : widget/tests/plugin_scroll_invalidation.html => dom/plugins/test/mochitest/plugin_scroll_invalidation.html
rename : widget/tests/test_plugin_scroll_invalidation.html => dom/plugins/test/mochitest/test_plugin_scroll_invalidation.html
2016-03-04 16:57:04 -08:00
Mike de Boer
c326e059de Bug 1241930: Part 5 - convert all assertion methods used inside content tasks to the Assert.* family in dom tests. r=mconley 2016-03-04 14:32:32 +01:00
sakshi
1af0b67296 Bug 1197311 - Remove PR_snprintf calls in dom/ r=froydnj 2016-02-17 14:23:39 -05:00
Jim Mathies
5bd73efa9b Bug 1253434 - Avoid trying to capture plugin windows that have a zero width or height and a positive value for the other dim. r=aklotz
MozReview-Commit-ID: 8YZZsnqlkdX
2016-03-03 17:23:32 -06:00
Aaron Klotz
094a7b0970 Bug 1161169: Clean up usage of mContentParent and clearly identify it as specifically for async plugin init; r=billm,jimm
mContentParent is really just to be used while handling a synchronous
ContentParent::RecvLoadPlugin call when async plugin init turned on.

In any other context, using it will be unsafe.

This patch adds comments and assertions to ensure that this value isn't set
otherwise, and converts the one use of mContentParent outside of async plugin
init to use an alternative mechanism for identifying the content process.

MozReview-Commit-ID: Esgt1kj0MCt

--HG--
extra : rebase_source : 166b913b401582c6948e4b61efc102dc1b9c8d2f
2016-03-03 00:24:36 -07:00
Dylan Roeh
573869a701 Bug 1243639 - Remove Honeycomb flash-related code. r=snorp
--HG--
extra : rebase_source : e15895b5b672be06fd3a3935824e702a37292545
2016-03-03 10:30:53 -05:00
Ryan VanderMeulen
e2f35b2c75 Bug 1252230 - Skip test_painting.html on OSX e10s. 2016-02-29 15:45:49 -05:00
Wes Kocher
ab36d59168 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 3PWdAnh0hk5
2016-03-01 15:29:43 -08:00
Jonathan Griffin
0b0e0abda1 Bug 1232780 - Adjust test exclusions for win7 debug e10s, a=test-only 2016-03-01 10:36:31 -08:00
Jim Mathies
71b61067c1 Bug 1232181 - Add support for capturing plugin windows on Windows. r=aklotz 2016-03-01 12:48:26 -06:00
Jim Mathies
744331de7b Bug 1232181 - Add an image layer for plugin frames that represent windowed plugins on platforms that support scroll capture. r=roc 2016-03-01 12:48:26 -06:00
Jim Mathies
e1dc9da3f2 Bug 1232181 - Notify plugins about scroll state. r=roc 2016-03-01 12:48:26 -06:00
Jim Mathies
b4cc9c50e1 Bug 1232181 - Plugin module plumbing for retrieving scroll captures and updating plugin instance content scroll state. r=roc 2016-03-01 12:48:25 -06:00
Yury Delendik
347e37204f Bug 1250046 - Remove Shumway references from IPC. r=jmathies 2016-02-23 18:16:42 -06:00
Chris Peterson
785d216548 Bug 1251891 - Fix -Wunreachable-code warnings in testplugin. r=jimm
dom/plugins/test/testplugin/nptest_macosx.mm:278:10: warning: will never be executed [-Wunreachable-code]
dom/plugins/test/testplugin/nptest_macosx.mm:307:10: warning: will never be executed [-Wunreachable-code]
dom/plugins/test/testplugin/nptest.cpp:697:7: warning: will never be executed [-Wunreachable-code]
dom/plugins/test/testplugin/nptest.cpp:2300:15: warning: will never be executed [-Wunreachable-code]
2016-02-10 22:12:19 -08:00
Haik Aftandilian
3cdbeb2bd6 Bug 1237847 - [e10s] Null deref crash when running test_pluginstream_newstream.html; r=bobowen
Modify the Mac sandbox to allow temporary files to be created in a
parent-specified subdirectory of NS_OS_TEMP_DIR. This is similar to the
Windows approach. The parent provides a UUID in a preference which is
used by the content process to form the subdirectory name.

MozReview-Commit-ID: 6BONpfZz8ZI

--HG--
extra : rebase_source : ad18e091918356a1a40c13f1453972b4512ad476
2016-02-25 15:26:13 -08:00
Bogdan Postelnicu
9e5bbf796c Bug 1231130 - added mHadLocalInstance to constructor.r=jaas
MozReview-Commit-ID: DKwjj5yw90I
2016-02-05 09:55:12 +02:00
Phil Ringnalda
1a1ec5b8bb Merge f-t to m-c, a=merge 2016-02-20 17:25:14 -08:00