Граф коммитов

480849 Коммитов

Автор SHA1 Сообщение Дата
David Anderson 97a92d5d5e Extract a delegate interface out of WinCompositorWidget. (bug 1281998 part 6, r=jimm) 2016-07-01 01:15:16 -07:00
David Anderson 6562af780a Move CompositorWidget construction out of nsIWidget. (bug 1281998 part 5, r=jimm) 2016-07-01 01:15:16 -07:00
David Anderson f0edea202e Move CompositorWidget ownership from nsWindow to CompositorSession. (bug 1281998 part 4, r=jimm) 2016-07-01 01:15:16 -07:00
David Anderson 56c221c4a6 Move InProcessCompositorWidget to its own file. (bug 1281998 part 3, r=jimm)
--HG--
rename : widget/CompositorWidget.cpp => widget/InProcessCompositorWidget.cpp
2016-07-01 01:15:16 -07:00
David Anderson 3f0ea0572d Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm)
--HG--
rename : widget/CompositorWidgetProxy.cpp => widget/CompositorWidget.cpp
rename : widget/CompositorWidgetProxy.h => widget/CompositorWidget.h
rename : widget/windows/WinCompositorWidgetProxy.cpp => widget/windows/WinCompositorWidget.cpp
rename : widget/windows/WinCompositorWidgetProxy.h => widget/windows/WinCompositorWidget.h
2016-07-01 01:15:16 -07:00
David Anderson b36fb329b1 Allow creating WinCompositorWidgetProxy without an nsWindow. (bug 1281998 part 1, r=jimm) 2016-07-01 01:15:15 -07:00
Chris Pearce 4b3a0f0d42 Bug 1267918 - Remove obsolete GMP crash handling code. r=gerald
MozReview-Commit-ID: EqzJagCHk7n

--HG--
extra : rebase_source : e66aa2a4b5939ae8bcf833a5d1a59ef508a679b3
2016-06-29 11:42:14 +12:00
Chris Pearce 0b88ff590f Bug 1267918 - Add GMPCrashHelper for WebAudio buffer decoder. r=karlt
This means if WebAudio is using the Adobe GMP for decoding and it crashes,
we'll get a crash report for the GMP.

MozReview-Commit-ID: FOZoPxvUwq5

--HG--
extra : rebase_source : 0641e4c46619693b2983a7d7297af525f1ac5bea
2016-06-29 11:42:10 +12:00
Chris Pearce de045590ac Bug 1267918 - Add GMPCrashHelper for HTMLMediaElement. r=gerald
This ensures that unencrypted GMP decoding crash reporting works.

MozReview-Commit-ID: 84TAV5F9Ie0

--HG--
extra : rebase_source : c0bf3021be9fa0833a7b375967572f1019e4e279
2016-06-29 11:42:07 +12:00
Chris Pearce 7517d84f1b Bug 1267918 - Add GMPCrashHelper for MediaKeys. r=gerald
So if a GMP crashes while doing EME, we'll get a crash report using the new
mechanism.

MozReview-Commit-ID: G8BlFI9jmiF

--HG--
extra : rebase_source : 1cda5c93ea9e547636b34ec2149ef9cd2506ca73
2016-06-29 11:42:04 +12:00
Chris Pearce 8b965f3eac Bug 1267918 - Add GMPCrashHelperHolder to automatically disconnect crash helpers on actor destory. r=gerald
Disconnecting the GMPCrashHelpers at the right time is hard, because in the
crashing case we're all shutdown before the GMPCrashHelpers can be invoked to
help handle the crash report. So add a class to help the helpers;
GMPCrashHelperHolder. This composes into the GMP content protocol actors, to
help them disconnect the crash helpers at the right time. See the comment in
GMPCrashHelperHolder for the details.


MozReview-Commit-ID: E5rE6e5Jues

--HG--
extra : rebase_source : f688bf727f23f773eb995611cec6412ebf021029
2016-06-29 11:42:00 +12:00
Chris Pearce dcfb0a0d17 Bug 1267918 - Ensure GMPCrashHelper instances are destroyed on the main thread. r=karlt
MozReview-Commit-ID: 7GFx6uoyAi9

--HG--
extra : rebase_source : ceb32673c2ee64b89d090b02cdf48cc615ad1057
2016-06-30 14:19:08 +12:00
Chris Pearce e0a9078a6f Bug 1267918 - Add GMPCrashHelper to GMPService::GetGMP* functions. r=gerald
This enables callers to specify a way to determine the correct window to
dispatch the PluginCrashed event to should the GMP actor crash.

We need a way to determine the correct window at crash time, as the GMP's
window can change at runtime. For example, if the GMP is being used for
unencrypted decoding, the <video> element can be moved to a new browser window
at runtime.

Note: I don't handle disconnecting the GMPCrashHandlers in this patch; we do
delete the GMPCrashHandlers in this patch when their associated GMP crashes, and
in the next patch we handle disconnecting GMPCrashHandlers in the case where
we don't crash.

MozReview-Commit-ID: DrwcZAB6Ys0

--HG--
extra : rebase_source : 8da188b68456914773e6adae8cbccd6bf6a6e7a7
2016-06-29 11:41:56 +12:00
Chris Pearce fed9c17730 Bug 1267918 - Split LoadGMP message into select and load messages. r=gerald
This will allow us to attach a crash handler to a GMP process after deciding
which GMP to load but before actually loading it.


MozReview-Commit-ID: HwBZU2Q4TX6

--HG--
extra : rebase_source : a68b9cbc31c0b886ba491f8f15f02e4d0e32cae7
2016-06-29 11:41:52 +12:00
Chris Pearce ab7252caa2 Bug 1267918 - Add do_AddRef(const RefPtr<T>& aObj). r=froydnj
This means we can return already_AddRefed<T> for any RefPtr<T>s
being held as instance variables easier.

MozReview-Commit-ID: HFHdkF8EUsK

--HG--
extra : rebase_source : df650d39c010386afcb8cb2dd48292c26fbc6501
2016-06-30 10:06:10 +12:00
Phil Ringnalda ef87dff4e9 Back out 14928a6b38f3 (bug 1214824) for leaking an nsStringBuffer in debug e10s devtools 2016-06-30 21:12:11 -07:00
Mantaroh Yoshinaga cb3e27e060 Bug 1277272 - Add crashtests in dom/animation/tests/crash. r=birtles
MozReview-Commit-ID: 7Eqbt4qxYQe

--HG--
extra : rebase_source : 0803c934eaa264b4d34ceceb62822aa8281a77ae
2016-07-01 11:17:43 +09:00
Chris Pearce 0405241de4 Bug 1283666 - Remove code to handle obsolete MediaKeySystemConfiguration attributes. r=jwwang
MozReview-Commit-ID: 1T3DH0JVstQ

--HG--
extra : source : f2d2fd02cdba4bd5c3c60c4005c852c3ee12ee9e
2016-07-01 11:26:29 +12:00
Chris Pearce 4bada5f9a0 Bug 1283666 - Remove obsolete MediaKeySystemConfiguration attributes. r=smaug
They're no longer in the spec, and we and Chrome have supported the up to date
versions for a while.

MozReview-Commit-ID: 3OBpPuua7GW

--HG--
extra : source : d9122e818c36fc0e2381ae469988a96324e5557d
2016-07-01 11:25:42 +12:00
Chris Pearce 8e789d39c5 Bug 1283630 - Remove remaining MOZ_WIDEVINE_EME define checks. r=jwwang
I had meant to remove all of these in bug 1276132, but I missed a couple. We
should now check whether Widevine is enabled before hitting these code paths
by checking the preference.

MozReview-Commit-ID: FmAdlgbF0Py

--HG--
extra : source : 586eff45c5479c7efc86435add5f6e9edd5e43b0
extra : amend_source : 65a9902374155d9e3180f0510b1d1434b986dc83
2016-07-01 09:39:48 +12:00
Cervantes Yu c196afcb21 Bug 1283017 - Fix ContentParent::GetAll() returning a dead ContentParent instance if it's the first in the list. r=billm
MozReview-Commit-ID: HqkNRsAcHlP
2016-07-01 10:50:14 +08:00
Phil Ringnalda 1835ee2f20 Bug 1260177 - skip browser_social_chatwindowfocus.js on ASan for constant failures 2016-06-30 19:36:19 -07:00
Phil Ringnalda f95b09aadd Bug 1230018 - skip browser_compartments.js on Linux opt e10s for constant failures 2016-06-30 19:36:17 -07:00
Mason Chang 02f263e5b9 Bug 1282496 - memset unoptimized images with RGBX surface format to 0xFF. r=seth 2016-06-30 18:59:29 -07:00
Bill McCloskey 3f712641d1 Bug 1214824 - Forbid CPOW usage if add-on declares it is multiprocessCompatible (r=mrbkap) 2016-06-30 17:38:54 -07:00
Matt Woodrow e6469da752 Bug 1269321: Part 4 - Add tests. r=thinker
--HG--
extra : rebase_source : 4a6756ea08ac3f949fd2ad3a50aa5160921e446e
2016-06-30 18:10:49 +02:00
Matt Woodrow 4f7d3bf72f Bug 1269321: Part 3 - Create a wrapper layer for masking when we can't support it on the normal layer. r=thinker
--HG--
extra : rebase_source : 2ad8ec40082c3cea7b811190a91b0324a4b0d8a2
2016-06-30 18:10:25 +02:00
Matt Woodrow 420e856aa7 Bug 1269321: Part 2 - Add a new constructor option to nsDisplayOwnLayer that doesn't force active layers. r=thinker
--HG--
extra : rebase_source : b972a28220de54eb3f2af6ef4dc1c748860b11f9
2016-06-30 18:09:08 +02:00
Matt Woodrow 8882773da0 Bug 1269321: Part 1 - Add a way to check if the current clip has rounded corners. r=mstange
--HG--
extra : rebase_source : ebdb701125fb1ec910f09af938dcea9d95fe442f
2016-06-30 18:08:35 +02:00
Matt Woodrow 6a070f7366 Bug 1276897 - r=tlee
--HG--
extra : rebase_source : e8c023027c9d94c25b90dd14b843d0ca83df4c4b
2016-06-01 13:23:20 +12:00
Olli Pettay 437d8cd427 bug 1282985, don't try to notify about page load of already stopped page, r=khuey
--HG--
extra : rebase_source : aa3369235aa3eb3e4f315ddb85f12791d10c021a
2016-06-30 13:04:01 +03:00
Steve Fink 17949f19d3 Bug 1283309 - Fix the hazard output, fix a local build problem with new build checking, and point to hazard analysis docs on failure, r=terrence
--HG--
extra : rebase_source : 9c6df115f24bbae9da21a6529debbde0b815a34a
extra : amend_source : 890ad99d2bbe571b47cd1e344ab92e4b06169060
2016-06-29 00:14:39 +01:00
Benjamin Dahse 2400e065d1 Bug 988831 - support memory mapped files in Windows. r=ehoogeveen
--HG--
extra : rebase_source : faf8d37b0d4d517b8a859b3fa57f8cd7f914de8f
2016-06-30 14:32:13 +02:00
Sebastian Hengst 0642c8d7d3 Backed out changeset 04d79227660a (bug 1267879) for failing talos glterrain on Windows. r=backout 2016-07-01 00:35:32 +02:00
Sebastian Hengst 4c9f3f326e Backed out changeset ebf87300031f (bug 1267879) 2016-07-01 00:34:55 +02:00
Sebastian Hengst 50b73a3ff3 Backed out changeset f9d32d5fc19a (bug 1276352) for OSX build bustage. r=backout on a CLOSED TREE 2016-07-01 00:15:56 +02:00
Gabriele Svelto 35b1fc1eb3 Bug 1262852 - Create a minidump of the plugin process as soon as possible during hang r=jimm 2016-06-24 14:25:08 +02:00
Mike Shal 8d93701b0a Bug 1276352 - Fix platforms to match buildbot convention; r=dustin, garndt
MozReview-Commit-ID: 62fKVy2UEUd
2016-06-02 14:23:09 -04:00
Geoff Brown 7259bba456 Bug 1275963 - Use desktop-test-xlarge for linux x64 mochitest-clipboard tests; r=jmaher 2016-06-30 15:39:22 -06:00
Bill McCloskey b8ababd5ee Bug 1282153 - Remove retaining outparam to GetLayerManager (r=dvander) 2016-06-30 14:30:30 -07:00
Terrence Cole a0867f7269 Bug 1283256 - Make GC stats per GCCycle; r=jonco
--HG--
extra : rebase_source : c8589e74b23e634e05f8921af5bbafc4d5b9751d
2016-06-28 12:29:39 -07:00
Jeff Gilbert a2a360130b Bug 1280508 - Add regression test. - r=jrmuizel
MozReview-Commit-ID: B4DimyTYdoc
2016-06-30 13:56:47 -07:00
Kyle Huey ebc76ad30d Bug 1283328: Clean up some thread shutdown stuff and remove CameraUtils. r=froydnj 2016-06-30 13:54:06 -07:00
Kyle Huey 902d2d23ef Bug 1283327: Factor out SynchronouslyCreatePBackground. r=billm 2016-06-30 13:54:06 -07:00
Jeff Gilbert 5ab2e8878e Bug 1267879 - Only check robustness if it's supported. - r=jrmuizel
MozReview-Commit-ID: 4RNjnWFccID
2016-06-30 13:51:53 -07:00
Jeff Gilbert 91b80dc1c5 Bug 1267879 - Fix WGL robustness. - r=jrmuizel
MozReview-Commit-ID: IpstmnnGM0N
2016-06-30 13:51:49 -07:00
Daniel Holbert 3996555d1a Bug 1282670, part 3: Make several imagelib .cpp files #inclue their corresponding .h file as their very first #include, per Gecko convention. r=seth
(In some cases, I've left "ImageLogging.h" being included before the corresponding .h file, because I ran across a warning comment saying that it needs to be included before any IPDL-generated files & anything that includes prlog.h; and it seems possible that Foo.cpp's corresponding Foo.h file could include such headers now or in the future.)

MozReview-Commit-ID: HPvUVj8YuKc
2016-06-30 10:27:03 -07:00
Daniel Holbert 17deb8bb7c Bug 1282670, part 2: Remove unnecessary/redundant string-related #include & "using" declarations in imagelib. r=seth
MozReview-Commit-ID: 1hgnUosiOFU
2016-06-30 10:25:35 -07:00
Daniel Holbert c1e322c6c5 Bug 1282670, part 1: Add missing #include & "using" declarations in imagelib. r=seth
I found these issues locally by moving all of imagelib's .cpp files to SOURCES instead of UNIFIED_SOURCES.  (That change isn't part of this patch, though.)

MozReview-Commit-ID: 97Xpfu8eFE6
2016-06-30 10:24:27 -07:00
Nick Fitzgerald 08e44f904f Bug 1283308 - Use js::Mutex instead of PRLock for the js shell's `sharedArrayBufferMailboxLock`; r=terrence 2016-06-30 13:13:31 -07:00