Commit Graph

2807 Commits

Author SHA1 Message Date
Andrea Marchesini
a9b65ecfb0 Bug 1261094 - Improve how MessageChannel::mInterruptStack is used in IPC code, r=jld 2016-04-28 07:21:49 +08:00
Yoshi Huang
ba1bb72568 Bug 1263496 - Part 3: fix for nsNullPrincipal::Create
This fixed the locations listed by
http://searchfox.org/mozilla-central/search?q=nsNullPrincipal::Create(&redirect=true
that needs to inherit origin attributes.
2016-04-27 18:38:07 +08:00
Kyle Huey
c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Masayuki Nakano
79ea112b87 Bug 1257759 part.10 PluginInstanceChild should consume WM_*CHAR messages which follow consumed WM_*KEYDOWN or WM_*KEYUP message r=jimm
nsWindow for Windows cannot decide if a preceding WM_*KEYDOWN or WM_*KEYUP which is a preceding message of WM_*CHAR is consumed because nsWindow cannot know if WM_*CHAR message came from same window which received the preceding WM_*KEYDOWN or WM_*KEYUP.  Therefore, PluginInstanceChild should do that.

MozReview-Commit-ID: 1uuZ0nTJ5Xb

--HG--
extra : rebase_source : b99f8057d5e93035a769af2506292ff7d2cb8f4a
2016-04-22 14:22:03 +09:00
Masayuki Nakano
ff3ddc1d56 Bug 1257759 part.6 Keep event order between keyboard events and IME events in a plugin process r=jimm
On Windows, applications cannot handle IME messages asynchronously.  Therefore, we cannot put off to send IME messages to plugin even if there are some pending keyboard events which were posted to the parent process.

This patch makes PluginInstanceChild consume all key events which are returned from the parent process during IME composition. And when an IME composition is committed, mark pending key events as outdated.

MozReview-Commit-ID: 7P3LEJ6pDir

--HG--
extra : rebase_source : 42e304c45cd980f339b29526ab65854d196198ad
2016-04-14 17:28:49 +09:00
Masayuki Nakano
b332dc9ff4 Bug 1257759 part.5 PluginInstanceChild should post received native key event to chrome process if the key combination may be a shortcut key r=jimm
When PluginInstanceChild receives native key events, it should post the events to the chrome process first for checking if the key combination is reserved.  However, posting all key events to the chrome process may make damage to the performance of text input.  Therefore, this patch starts to post a key event whose key combination may be a shortcut key.  However, for avoiding to shuffle the event order, it posts following key events until all posted key events are handled by the chrome process.

For receiving response from widget, this patch defines nsIKeyEventInPluginCallback.  It's specified by nsIWidget::OnWindowedPluginKeyEvent() for ensuring the caller will receive the reply.  Basically, the caller of nsIWidget::OnWindowedPluginKeyEvent() should reply to the child process.  However, if the widget is a PuppetWidget, it cannot return the result synchronously.  Therefore, PuppetWidget::OnWindowedPluginKeyEvent() returns NS_SUCCESS_EVENT_HANDLED_ASYNCHRONOUSLY and stores the callback to mKeyEventInPluginCallbacks.  Then, TabParent::HandledWindowedPluginKeyEvent() will call PuppetWidget::HandledWindowedPluginKeyEvent().

MozReview-Commit-ID: G6brOU26NwQ

--HG--
extra : rebase_source : 8140456de278956d2d594e85c7b397ae366b4962
2016-04-19 20:09:37 +09:00
Masayuki Nakano
f19611cb89 Bug 1257759 part.2 Separate Windows' message and related definitions from nsWindowDefs.h to mozilla/widget/WinMessages.h r=jimm
This patch separates Windows' message definition and related definitions from nsWindowDefs.h to mozilla/widget/WinMessages.h because the definitions are useful in plugin module but nsWindowDefs.h cannot be included from plugin module since it depends on some headers in under widget.

MozReview-Commit-ID: KNUAffLMKT1

--HG--
rename : widget/windows/nsWindowDefs.h => widget/windows/WinMessages.h
extra : rebase_source : ae9390e700ca97a0a4eea3b2977d4d5568ce9408
2016-04-09 15:15:31 +09:00
Masayuki Nakano
3a41e70ea1 Bug 1257759 part.1 Use switch-case at the first message handling in PluginInstanceChild::PluginWindowProcInternal() r=m_kato
PluginInstanceChild::PluginWindowProcInternal() should use switch-case statement at checking each message because adding new message handler may make damage to the performance and switch-case statement is easier to read for Windows message handler.

MozReview-Commit-ID: KfL0LtHL6GV

--HG--
extra : rebase_source : 3d729cf0c34990019dcf52fad72c748f31ea4d71
2016-03-18 16:39:42 +09:00
David Anderson
70e16efcdf Remove dead code from nsPluginInstanceOwner::GetPluginPort. (bug 1266513, r=jimm) 2016-04-21 15:02:08 -04:00
Mike Shal
dda205ca4f Bug 1255359 - Remove testplugin.mk; r=ted
MozReview-Commit-ID: 1HRNBn9t5Km
2016-04-01 15:52:43 -04:00
Makoto Kato
9d4015aa91 Bug 1248821 - Force Flash to windowless mode regardless of sandbox level. r=jimm
MozReview-Commit-ID: B6X6DS42tYb

--HG--
extra : rebase_source : e76a22ee8790d67d7416f1a2b38bc00c9abfbc74
extra : histedit_source : dedc94e4adad27e3d1c5cb800da100ed682ef959
2016-04-15 19:59:58 +09:00
Makoto Kato
482910afa8 Bug 1264540 - Turn on test_windowless_ime.html on e10s. r=jimm
Use plugin-utils.js's setTestPluginEnabledState to fix race.

MozReview-Commit-ID: 6eVTDJzdKR0

--HG--
extra : rebase_source : cd9d5d0a186b6b29c9d734cd941137ce15600244
2016-04-15 14:25:39 +09:00
Masayuki Nakano
cbe8f5268a Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
MozReview-Commit-ID: ESWM5ZyBpSR

--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
Phil Ringnalda
5202d4e290 Back out 04d5b31350e4 (bug 1255359) on suspicion of breaking test plugin packaging on clobbered Mac builds, a=CLOSED TREE 2016-04-18 20:50:03 -07:00
Mike Shal
cad677908e Bug 1255359 - Remove testplugin.mk; r=ted
MozReview-Commit-ID: 1HRNBn9t5Km

--HG--
extra : rebase_source : 893832156a0952aee8edd6966b63679893e4b0b1
2016-04-01 15:52:43 -04:00
Masayuki Nakano
07b6f24132 Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
MozReview-Commit-ID: 167PQWJDEHW

--HG--
extra : rebase_source : 6cd44095b9f33e03190972f043087786cbd772f2
2016-04-14 17:03:14 +09:00
Bob Owen
7c9ca07087 Bug 1264240: Allow NPAPI sandbox write access to %LOCALAPPDATA%\Macromedia\Flash Player. r=jimm
MozReview-Commit-ID: C6PMpIcFMUb
2016-04-15 10:25:06 +01:00
Peter Chang
b9897cc163 Bug 1263499 - unify the QuickExit function, r=bsmedberg
MozReview-Commit-ID: DGJbyXULHPe

--HG--
extra : rebase_source : 26ad1fdc609060a578a27f3d44168160ec026c09
2016-04-11 16:12:33 +08:00
Nicholas Nethercote
60dcde7875 Bug 1261723 (part 2) - Separate class ops from js::Class. code=njn,h4writer. r=efaust,bz.
js::Class op are often all null. And when they're not all null, they're often
duplicated among classes. By pulling them out into their own struct, and using a
(possibly null) pointer in js::Class, we can save 114 KiB per process on
64-bit, and half that on 32-bit.
* * *
imported patch separate-ClassOps-2

--HG--
extra : rebase_source : bd751bf247e9491c1966a123dbeffa573657dfb1
2016-04-01 11:00:01 +11:00
Chris Manchester
a77dfaff4a Bug 1262866 - Move crashreport.sjs from browser.ini to TEST_HARNESS_FILES to prevent failure in --disable-crashrepoter builds. r=ted
MozReview-Commit-ID: 6kMEMAmxBhM
2016-04-12 11:19:21 -07:00
Jonathan Watt
9480920b04 Bug 1263785 - Kill off the deprecated nsINode::GetCurrentDoc. r=baku 2016-03-31 12:46:32 +01:00
Benjamin Smedberg
bfb4b7ac45 Bug 1252152 - Make plugin instances destroyed while that instance is on the stack crash earlier and more usefully, r=jimm
MozReview-Commit-ID: EblMTq3CGn9

--HG--
extra : rebase_source : 3f3bf6a7e2f6c8cf70859039ec70da4064f3156c
extra : amend_source : 1b1ee05e3a6444d216af710eb76026da66ef7c22
2016-04-06 16:23:43 -04:00
Andrew McCreight
aaee4c2b6e Bug 1263235, part 4 - Make PBrowserStream::Write's data argument last. r=jimm
This will reduce internal memory fragmentation for the IPC::Message used to make this call.
2016-04-09 06:50:59 -07:00
Ryan VanderMeulen
3f36076406 Bug 1262050 - Remove unneeded assertion and update test annotations accordingly. r=jimm
--HG--
extra : rebase_source : d2471bd4cce2a65b1247d23225c7ccab4bab5f01
2016-04-08 12:11:44 -04:00
Nicholas Nethercote
0faa7a06ba Bug 1261720 (part 2) - Move ClassExtension::isWrappedNative into js::Class::flags. r=jorendorff.
This saves 10 KiB of static data on 64-bit, and half that on 32-bit.

--HG--
extra : rebase_source : f0e9c5cdba7f5a71cda046152691de6a5184a223
2016-04-04 08:47:15 +10:00
Nicholas Nethercote
f7dab46ae8 Bug 1261720 (part 1) - Separate js::ClassExtension from js::Class. r=jorendorff,bz.
js::ClassExtension is often all null. When it's not all null, it's often
duplicated among classes. By pulling it out into its own struct, and using a
(possibly null) pointer in js::Class, we can save 17 KiB per process on
64-bit, and half that on 32-bit.

--HG--
extra : rebase_source : eb78ade09ce268e886d091f6cbc38d7e5e912527
2016-04-04 08:45:07 +10:00
Chris Manchester
f7a1b3fb60 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Masayuki Nakano
1e0825ccd9 Bug 1259664 part.10 Rename WidgetWheelEvent::lineOrPageDeltaY to WidgetWheelEvent::mLineOrPageDeltaY r=smaug
MozReview-Commit-ID: 64lFZosnMbd

--HG--
extra : rebase_source : 1e103c5255a702d46f78c6f544981b0e82e2d23c
2016-04-01 00:10:09 +09:00
Masayuki Nakano
e462919d2b Bug 1259664 part.9 Rename WidgetWheelEvent::lineOrPageDeltaX to WidgetWheelEvent::mLineOrPageDeltaX r=smaug
MozReview-Commit-ID: 1j8SFp6bME4

--HG--
extra : rebase_source : 18b080a4938925547b2f5b7fa66908c75211a345
2016-04-01 00:10:46 +09:00
Masayuki Nakano
a2da982fdb Bug 1259664 part.4 Rename WidgetWheelEvent::deltaMode to WidgetWheelEvent::mDeltaMode r=smaug
MozReview-Commit-ID: Ky3xp2NtBWq

--HG--
extra : rebase_source : 412e2df1c27c37dc76039d1fd3463623b476d81c
2016-03-31 18:35:24 +09:00
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
Dão Gottwald
594c008fcb Bug 1014185 - Remove about:customizing and use about:blank for customize mode instead. r=jaws 2016-02-20 14:03:25 +01:00
Carsten "Tomcat" Book
cab348d1b5 Backed out changeset c34fe673bb97 (bug 1014185) for perma failures in browser_bug1163570.js 2016-02-19 17:19:19 +01:00
Dão Gottwald
4c8a1f54f5 Bug 1014185 - Remove about:customizing and use about:blank for customize mode instead. r=jaws 2016-02-19 00:50:17 +01:00
Kyle Machulis
85ea90d50a Bug 1245545 - Mochitest for plugin unloadTimeoutSecs; r=bsmedberg 2016-02-19 15:07:50 -08:00
Kyle Machulis
57c2013002 Bug 1237834 - Make sure plugin test_getauthenticationinfo adds auth info in both parent and child process; r=mccr8 2016-02-17 21:16:48 -08:00
Carsten "Tomcat" Book
02adb9a826 Merge mozilla-central to mozilla-inbound 2016-02-19 17:21:33 +01:00
Makoto Kato
de72ce5dbe Bug 1246574 - Store sandbox level to nsPluginTag for e10s. r=jimm
When turned on e10s, plugin process creates from chrome process.  So content
process doesn't know current sandbox level.  To rewrite wmode attribute on
contnet process by sandbox level >= 2, we should store sandbox level to
nsPluginTag.

MozReview-Commit-ID: DCQ5g7uCbJF

--HG--
extra : rebase_source : 7064f469e873ea1301e28faeab0bbb27613978db
2016-02-08 20:21:20 +09:00
Jonathan Griffin
12ac75fbf7 Bug 1240825 - s/asserts/asserts-if, a=test-only 2016-02-16 17:00:49 -08:00
Mason Chang
b4c228baec Bug 1246213 - Skia reftest fuzzing for Skia content on OS X. r=jmuizelaar 2016-02-16 09:07:52 -08:00
Aidin Gharibnavaz
6863090c8a Bug 1235830 - Renaming GetInternalNSEvent to WidgetEvent, in nsIDOMEvent r=smaug
MozReview-Commit-ID: Hm8Owq17KXn

--HG--
extra : transplant_source : 2%82%D5%89%19%94%7C%E7%CA1%99%B5%24%1F5%E1%C0%1F%DE%07
2016-02-12 19:10:07 +03:30
ISHIKAWA, Chiaki
be2b50a7f8 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
Karl Tomlinson
2e53e8b7fb bug 1205199 keep the socket alive as long as the plug window r=acomminos
--HG--
extra : rebase_source : 773c5918bbc4b0d032e833e1e0ce7399a5d06c5b
2016-02-10 18:24:40 +13:00
Nicholas Nethercote
85ef8faae4 Bug 1246054 - Fix an erroneous nsNPObjWrapper assertion. r=froydnj.
--HG--
extra : rebase_source : 773edadad38b1a549194d1fa2cfad8d952b55d12
2016-02-05 16:36:05 +11:00
Mike Hommey
155889c4aa Bug 1246779 - Stop disabling optimizations for test plugins on Windows. r=mshal
They were disabled in bug 657569 because of a miscompilation from MSVC,
but back then, we were using one of 2005, 2008 or 2010 (not entirely
sure which). Even if it was the latter, there has been two releases of
MSVC since, if stopping at the one we're currently using.
2016-02-10 07:39:28 +09:00
Ben Kelly
ee176b71a9 Bug 1245724 - Make plugin network requests bypass service worker interception. r=ehsan 2016-02-09 11:14:51 -05:00
Makoto Kato
0ec35c1b85 Bug 1201904 - Add test for force windowless mode. r=aklotz
--HG--
extra : commitid : EIHq0FhJBBW
extra : rebase_source : 16898032d248a50a997a97814a71459e8a72c309
2016-01-15 16:45:50 +09:00
Makoto Kato
a9e2d876b8 Bug 1201904 - Force windowless mode for Flash when sandbox level >= 2. r=bsmedberg
--HG--
extra : commitid : Bi7iElnGJdT
extra : rebase_source : 9e2dcde2410bd089d6fd3f0da77927199c586443
2016-01-15 16:45:15 +09:00
Birunthan Mohanathas
e00f212825 Bug 1235261 - Part 6: Rename AutoInfallibleTArray to AutoTArray. r=froydnj 2016-02-02 17:36:31 +02:00
Birunthan Mohanathas
690e6fe38b Bug 1235261 - Part 3: Switch remaining uses of AutoFallibleTArray to AutoTArray. r=froydnj
This is effectively a no-op because the affected array operations already use
`mozilla::fallible`.
2016-02-02 17:36:30 +02:00
Birunthan Mohanathas
d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00