Commit Graph

45914 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
73da51a3e1 Backed out changeset debd1ce280de (bug 1214148) 2015-12-15 14:44:50 +01:00
Carsten "Tomcat" Book
8d77622bde Backed out changeset eb3d458624eb (bug 1214148) 2015-12-15 14:44:48 +01:00
Carsten "Tomcat" Book
5a86bca15a merge mozilla-inbound to mozilla-central a=merge 2015-12-15 12:16:29 +01:00
Chris Pearce
f212540c95 Bug 1232527 - Remove GMPVideoDecoderTrialCreator and friends. r=jwwang
Remove GMPVideoDecoderTrialCreator, and the tests and IPC/IDL supporting it.

--HG--
extra : commitid : HlbJPl2gPAl
extra : rebase_source : fe1773014e5d09da264f85d464e408aca46a60c4
2015-12-15 15:17:22 +13:00
Chris Pearce
966cf53003 Bug 1232527 - Call into WMF PDM to determine if WMF can decode instead of using GMPVideoDecoderTrialCreator. r=jwwang
Resurrect WMFDecoderModule::HasAAC() and HasH264(), and use those in
MediaKeySystemAccess.cpp to figure out whether we gmp-clearkey can decode,
rather than assuming Vista and later is always able to decode, as that's not
a valid assumption; Vista may not have the required Platfor Update installed,
or we may be on Windows N or KN without the Media Feature Pack.

--HG--
extra : commitid : 2QrVAGQ5OJa
extra : rebase_source : 8ad6e5c5f87cf2b2489f049543c021723927901a
2015-12-15 14:50:59 +13:00
Chris Pearce
7529a96ada Bug 1232514 - Make GMPDecryptsAndDecodesH264() actually check for H.264 rather than AAC. r=jwwang
--HG--
extra : commitid : 1Gg4YjcvZXp
extra : rebase_source : 47153d7c9d865947f86845891d83a774ee41884b
2015-12-15 14:07:01 +13:00
Nicholas Nethercote
550252abf1 Bug 1231256 (part 3) - Remove unused parameter from TryToOuterize(). r=roc.
--HG--
extra : rebase_source : 0376ed10b93d69cd6545acdd20315610f4d2833c
2015-12-07 14:03:18 -08:00
Nicholas Nethercote
9c93b28807 Bug 1231256 (part 2) - Remove unused BlobDirState parameters from SetLazyData(). r=jld.
--HG--
extra : rebase_source : f88823ad01734efedf275dc67c1e4e1d2bc6a3ba
2015-12-07 14:00:51 -08:00
Carsten "Tomcat" Book
6740a394d8 Merge mozilla-central to fx-team 2015-12-15 14:54:46 +01:00
Alexandre Poirot
da5ef790fb Bug 1228382 - Expose an API to relate nsIWorkerDebugger to its nsIServiceWorkerInfo instance. r=ejpbruel 2015-12-15 03:10:53 -08:00
Joel Maher
6a93b47c8a Bug 1220658 - disable unexpected pass gl tests until new MESA library is used everywhere. r=jgilbert 2015-12-15 13:27:46 -08:00
Fernando Jimenez
a3d950d1bd Bug 1225121 - [B2G] All the rest of content processes crash if user tries to run app that uses Service Workers after restart. r=baku 2015-11-24 19:38:48 +01:00
Kit Cambridge
f9c7a31d28 Bug 1219030 - Collect notification management telemetry. r=wchen,MattN; p=ally
--HG--
extra : commitid : JvHyMCNBrk9
extra : amend_source : 72c46fbd3ead7ed3f101dd98114cb435a691c706
2015-11-13 21:22:59 -08:00
Carsten "Tomcat" Book
95a1a37ae6 Backed out changeset 9b7df7c7adc1 (bug 1224892) for m13 test failures
--HG--
extra : rebase_source : 267dd2cda5873c38b6ebb9b53075675bbae9969c
2015-12-17 10:28:33 +01:00
Alfredo Yang
514b142f92 Bug 1231353 - Release buffers at IDLE state. r=sotaro 2015-12-16 16:38:00 +01:00
Aidin Gharibnavaz
86899e610d Bug 1224892 - Caching oscpu' and buildID' like other attributes related to User Agent. r=smaug
--HG--
extra : transplant_source : %7E%FBbs56%E92%40%14%23%D2dY%A1%10%FD%0CV%06
2015-12-15 21:05:05 +03:30
Ethan Tseng
caf218fa3e Bug 1030936 - [CSP] remove fast-path for certified apps once the C++ backend is activated. r=ckerschb 2015-12-17 12:07:37 +08:00
Francois Marier
6ca26efb5f Bug 1233902 - Check the TP list in sendBeacon(). r=gcp 2015-12-18 17:28:00 +01:00
Randell Jesup
f955d91200 Bug 1226200: Don't assume a TCPSocket has only one managee (and rename LoneManagedOrNull) r=jdm 2015-12-22 10:14:23 -05:00
James Willcox
81f323775e Bug 1230784 - Don't copy SurfaceTexture contents when presenting video on Android r=esawin,jya 2015-12-22 08:44:46 -06:00
Jean-Yves Avenard
de7c0385a1 Bug 1230054: Remove unused WebMReader. r=kinetik 2015-12-23 01:15:46 +11:00
Jean-Yves Avenard
8f79430f0e Bug 1234092: P1. Remove GStreamer support. r=kentuckyfriedtakahe
It was now unused by default.
2015-12-23 01:14:22 +11:00
Carsten "Tomcat" Book
1b186ddd18 Backed out changeset 9441286007c4 (bug 1211903) for assertion failures/crashes 2015-12-22 14:11:27 +01:00
Eddy Bruel
681fe21ff9 Bug 1211903 - WorkerDebugger should live on the main thread;r=khuey 2015-12-22 12:46:57 +01:00
Carsten "Tomcat" Book
717016fa6e Merge mozilla-central to mozilla-inbound 2015-12-22 11:47:56 +01:00
Andrea Marchesini
0b73efd883 Bug 1214148 - patch 3 - correct window for nested iframes, r=alwu 2015-12-11 11:17:33 -05:00
Andrea Marchesini
f64dd19a60 Bug 1214148 - patch 2 - from toplevel iframe to the nested iframe, r=alwu 2015-12-11 11:17:33 -05:00
Andrea Marchesini
52e65f89d8 Bug 1214148 - patch 1 - propagation from the nested iframe back to the toplevel iframe, r=alwu 2015-12-11 11:17:33 -05:00
Ting-Yu Lin
00f0ffd013 Bug 1221459 - Remove SelectionStateChangedEvent. r=mtseng, r=smaug
SelectionStateChangedEvent is dispatched only by SelectionCarets. Hence
the removal. The modification in mochitest browserElement_CopyPaste.js
is effectively the reverting of [1] with AccessibleCaret enabled.

The DoCommandHelper is shell.js is removed as well, which handles the
'do-command' event dispatched from old text_selection_dialog.js in Gaia.

[1] https://bugzilla.mozilla.org/page.cgi?id=splinter.html&bug=1155493&attachment=8612154

DONTBUILD

--HG--
extra : amend_source : 1348306b0eee27ae08cef1b947e383dfded7798c
2015-12-22 14:14:12 +08:00
Ting-Yu Lin
097bf2b9b7 Bug 1221459 - Remove TouchCaret and SelectionCarets prefs in test files. r=mtseng, r=roc
For test_bug648573.html and test_bug644768.html, we no longer need to
create an iframe to turn off the preferences. I move the content of
iframe.src back to the test files.

--HG--
extra : amend_source : eec926c474be934b99faeb604493c01c471066e7
2015-12-22 14:14:12 +08:00
Ting-Yu Lin
d477595b16 Bug 1221459 - Remove TouchCaret and SelectionCarets. r=mtseng, r=roc
All the files modified are straightforward deletion except TouchManager
and ZoomConstraintsClient. I add some includes and wrap TouchManager by
mozilla namespace to fix build errors due to the removal of TouchCaret.
2015-12-22 14:14:12 +08:00
Nigel Babu
fd9c9b233f Backed out changeset 9f30d3caa231 (bug 1221459) 2015-12-22 14:03:21 +05:30
Nigel Babu
ca777970e8 Backed out changeset b61190bd4069 (bug 1121459) 2015-12-22 14:03:19 +05:30
Nigel Babu
87cf2dd471 Backed out changeset c97319b5cb12 (bug 1221459) 2015-12-22 14:03:16 +05:30
Ting-Yu Lin
69a670793a Bug 1221459 - Remove SelectionStateChangedEvent. r=mtseng,smaug
SelectionStateChangedEvent is dispatched only by SelectionCarets. Hence
the removal. The modification in mochitest browserElement_CopyPaste.js
is effectively the reverting of [1] with AccessibleCaret enabled.

The DoCommandHelper is shell.js is removed as well, which handles the
'do-command' event dispatched from old text_selection_dialog.js in Gaia.

[1] https://bugzilla.mozilla.org/page.cgi?id=splinter.html&bug=1155493&attachment=8612154

--HG--
extra : commitid : GWwMqChxnUT
extra : source : 3f2c650804415aa98f42369bc2061ab2ada98661
extra : amend_source : b8f3a445248397f140723a07ea5bc85ed67d6054
2015-12-22 14:14:12 +08:00
Ting-Yu Lin
010e08ad0b Bug 1121459 - Remove TouchCaret and SelectionCarets prefs in test files. r=mtseng,roc
For test_bug648573.html and test_bug644768.html, we no longer need to
create an iframe to turn off the preferences. I move the content of
iframe.src back to the test files.

--HG--
extra : rebase_source : 5cf321bf3280e032cc6645810e3e7faa7a6ff615
2015-12-22 14:14:12 +08:00
Ting-Yu Lin
0fd840e0d8 Bug 1221459 - Remove TouchCaret and SelectionCarets. r=mtseng,roc
All the files modified are straightforward deletion except TouchManager
and ZoomConstraintsClient. I add some includes and wrap TouchManager by
mozilla namespace to fix build errors due to the removal of TouchCaret.

--HG--
extra : rebase_source : b31db322130f665e7dda53d1061cfc40f81ce411
2015-12-22 14:14:12 +08:00
Mats Palmgren
99ddfe3021 Bug 1203668 part 1 - Setting the value of a <select> to a non-matching option should deselect all options and set selectedIndex to -1. r=bz 2015-09-12 12:34:37 +02:00
Brad Kotsopoulos
7a8310686c Bug 1228676 - WebGL2 VertexAttrib funcs should match WebGL 1 patterns. - r=jgilbert 2015-12-14 17:48:55 -08:00
Jeff Gilbert
10befa1b39 Bug 1229944 - Add glClear for zeroing texture data. - r=kamidphish 2015-12-14 16:14:03 -08:00
Jeff Gilbert
30a228420f Bug 1229585 - Add helpful error text for fb incompleteness. - r=kamidphish 2015-12-14 16:11:59 -08:00
Kartikaya Gupta
84dccc6676 Bug 1229052 - Add a telemetry histogram to gather data on the number of top-level pages with scroll-linked positioning effects. r=vladan 2015-12-14 14:47:28 -05:00
Kartikaya Gupta
0dcf99f8a4 Bug 1229052 - Log a warning when we detect a scroll-linked effect based on the scroll event. r=roc 2015-12-14 14:47:24 -05:00
Jeff Gilbert
7f34e60540 Bug 1228885 - Implement WebGLTexture::MemoryUsage. - r=kamidphish 2015-12-14 15:58:29 -08:00
Kartikaya Gupta
6b0c32286a Back out 5 csets from bug 1229052 on a CLOSED TREE for failing to fix the nonunified build error even after many attempts. r=backout 2015-12-14 15:52:31 -05:00
Kartikaya Gupta
4c9c388520 Bug 1229052 - Update warning message for scroll-linked effects. r=me and DONTBUILD 2015-12-14 15:28:42 -05:00
Kartikaya Gupta
4e9e4989ed Bug 1229052 - Add a telemetry histogram to gather data on the number of top-level pages with scroll-linked positioning effects. r=vladan 2015-12-14 14:47:28 -05:00
Kartikaya Gupta
fcb193563c Bug 1229052 - Log a warning when we detect a scroll-linked effect based on the scroll event. r=roc 2015-12-14 14:47:24 -05:00
Jeff Muizelaar
b2cb03074c Bug 1231832. Make IsActive work on Querys that have not begun. r=jgilbert
This fixes deqp/functional/gles3/lifetime.html
2015-12-14 13:47:46 -05:00
Christoph Kerschbaumer
93de65860e Bug 1223743 - Test CSP enforcement for multipart channels (r=sicking) 2015-12-14 10:06:47 -08:00
Christoph Kerschbaumer
9666152c0e Bug 1223743 - CSP: Check baseChannel for CSP when loading multipart channel (r=sicking) 2015-12-14 10:06:56 -08:00
Sam Foster
30f28029a4 Bug 1229838 - rel=apple-touch-icon-precomposed should fire mozbrowsericonchange. r=fabrice 2015-12-14 10:03:08 -08:00
Andrea Marchesini
20194be4f5 Bug 1232291 - Non-used header in MessagePortService.*, r=smaug 2015-12-14 14:36:17 +00:00
Carsten "Tomcat" Book
5d5bb29645 Backed out changeset 7b7521d752a2 (bug 524109) for test regressions 2015-12-14 10:57:19 +01:00
Carsten "Tomcat" Book
4e46689636 Backed out changeset 2dba896ba45b (bug 864780) 2015-12-14 10:56:35 +01:00
JW Wang
9477651c83 Bug 1230882. Part 2 - remove DecodedStream::BeginShutdown() and other unused code. r=roc. 2015-12-14 11:32:19 +08:00
JW Wang
f8c0036f90 Bug 1230882. Part 1 - destroy DecodedStreamData properly when dispatch fails. r=roc. 2015-12-14 11:32:18 +08:00
Gerald Squelart
840a670aa1 Bug 1183972 - No sync-dispatch of new GMPParent - r=cpearce
Thanks to bug 1121676, GMPParent does not need to be created and destroyed
on the main thread. Main-thread constraints have been removed.

Also, this means that GeckoMediaPluginServiceParent::ClonePlugin() and
AddOnGMPThread (running on the GMP thread) do not need to sync-dispatch the
creation on the main thread.
This should remove the deadlock that prevents
GeckoMediaPluginServiceParent::UnloadPlugins() from running on the GMP thread.
2015-12-13 14:26:00 +01:00
Louis Christie
005c16d197 Bug 864780 - Changed the format chunk reader to skip any extention. r=cpearce 2015-12-14 15:30:57 +13:00
Louis Christie
1b5c5943f2 Bug 524109 - Added support for 24 bit wav files. r=cpearce 2015-12-14 15:07:10 +13:00
Sotaro Ikeda
3b7e8e6d1e Bug 1229234 - Enable audio_is_output_device() on ICS r=alwu 2015-12-13 18:13:02 -08:00
Robert Longson
ebdab47988 Bug 1145195 part 2 - SVGFragmentIdentifier::ProcessSVGViewSpec() shouldn't actually let #svgView() affect attribute values r=dholbert 2015-12-14 00:58:01 +00:00
Ben Kelly
252fa2e981 Bug 1226443 P6 Ignore update() called during top level service worker script evaluation. r=ehsan 2015-12-11 14:53:11 -05:00
Ben Kelly
bcdf732eeb Bug 1226443 P5 Always use first scheduled update timer instead of rescheduling on new events. r=ehsan 2015-12-11 14:53:11 -05:00
Ben Kelly
f63f1e236a Bug 1226443 P4 Cleanup ServiceWorkerScriptCache objects when initialization fails. r=ehsan 2015-12-11 14:53:11 -05:00
Ben Kelly
6078977989 Bug 1226443 P2 Make service worker fetch and functional events used scheduled timer updates. r=ehsan 2015-12-11 14:53:11 -05:00
Ben Kelly
3a28ef3617 Bug 1226443 P1 Add a timer based mechanism for firing service worker updates. r=ehsan 2015-12-11 14:53:10 -05:00
Ben Kelly
98ec7b6543 Bug 1227015 P7 Supress unused ErrorResult exception if the worker runnable failed to dispatch. r=catalinb 2015-12-11 14:53:10 -05:00
Ben Kelly
8e14f1b4ad Bug 1227015 P6 Abort updates if the script spec has changed. r=ehsan 2015-12-11 14:53:10 -05:00
Ben Kelly
a27a88c3ed Bug 1227015 P5 Remove ServiceWorkerRegistrationInfo mScriptSpec. r=ehsan 2015-12-11 14:53:10 -05:00
Ben Kelly
a1d2468c31 Bug 1227015 P4 Make register job always require an explicit script spec. r=ehsan 2015-12-11 14:53:10 -05:00
Ben Kelly
b26016abd0 Bug 1227015 P3 Require a script spec on install jobs. r=ehsan 2015-12-11 14:53:10 -05:00
Ben Kelly
08fa8d6ccd Bug 1227015 P2 Move mScriptSpec from registration job into script job base. r=ehsan 2015-12-11 14:53:10 -05:00
Ben Kelly
6fa639dd7a Bug 1227015 P1 Create ServiceWorkerScriptJobBase as parent class to register and install jobs. r=ehsan 2015-12-11 14:53:10 -05:00
Catalin Badea
6e247e4c81 Bug 1221992 - Fix test using GetMostRecentWindow from the child process. r=smaug 2015-12-11 13:32:15 -05:00
Catalin Badea
54a27691d4 Bug 1221992 - Prevent ServiceWorkerClients.OpenWindow from opening tabs in private mode windows. r=smaug 2015-12-11 13:32:15 -05:00
Andrea Marchesini
a1a56f1e5f Bug 1214148 - patch 3 - correct window for nested iframes, r=alwu 2015-12-11 11:17:33 -05:00
Andrea Marchesini
4f57cd1c8f Bug 1214148 - patch 2 - from toplevel iframe to the nested iframe, r=alwu 2015-12-11 11:17:33 -05:00
Andrea Marchesini
7271d1d622 Bug 1214148 - patch 1 - propagation from the nested iframe back to the toplevel iframe, r=alwu 2015-12-11 11:17:33 -05:00
Carsten "Tomcat" Book
8c8e1c0526 Merge mozilla-central to mozilla-inbound 2015-12-11 11:42:10 +01:00
Carsten "Tomcat" Book
b25476080d merge mozilla-inbound to mozilla-central a=merge 2015-12-11 11:38:17 +01:00
Phil Ringnalda
45242f7699 Back out 4 changesets (bug 1229987) for ASan e10s timeout in test_playback.html, Mac timeouts in test_BufferingWait_mp4.html, and Win8 failures in test_WaitingToEndedTransition_mp4.html
Backed out changeset 707a87454058 (bug 1229987)
Backed out changeset 37003d495f20 (bug 1229987)
Backed out changeset c8f4e1eaf884 (bug 1229987)
Backed out changeset 42ca05d8546d (bug 1229987)
2015-12-10 23:10:20 -08:00
Masayuki Nakano
4d21fa83d0 Bug 1179632 part.6 KeyboardEvent.isComposing shouldn't expose IME state on different document r=smaug 2015-12-04 18:50:43 +09:00
Masayuki Nakano
3d27dcecfa Bug 1179632 part.5 WidgetCompositionEvent::mNativeIMEContext should be used at looking for a TextComposition instance for a WidgetCompositionEvent r=smaug 2015-12-04 18:50:34 +09:00
Masayuki Nakano
6a05ca7e0d Bug 1179632 part.4 Clean up the code to request IME to commit composition across process boundary r=smaug 2015-12-11 15:15:58 +09:00
Masayuki Nakano
618611d2c2 Bug 1179632 part.3 TabParent::RecvEndIMEComposition() shouldn't return true with aNoCompositionEvent when there is no widget r=smaug 2015-12-04 18:38:28 +09:00
Masayuki Nakano
da7a2f4f8d Bug 1179632 part.2 WidgetCompositionEvent should store NativeIMEContext which caused the event and PuppetWidget should store it for GetNativeIMEContext() r=smaug, sr=smaug 2015-12-11 15:15:57 +09:00
Masayuki Nakano
6cad726628 Bug 1179632 part.1 native IME context should not be stored in InputContext but should be able to retrieve with nsIWidget::GetNativeData() r=smaug 2015-12-11 15:15:57 +09:00
Phil Ringnalda
9229dc1d27 Back out 13 changesets (bug 1226443, bug 1227015) for a variety of serviceworker web-platform-test failures
CLOSED TREE

Backed out changeset d518261eb3b1 (bug 1226443)
Backed out changeset a7def186c1d3 (bug 1226443)
Backed out changeset e2f21ee1cd4c (bug 1226443)
Backed out changeset 8c4aff8bbfaf (bug 1226443)
Backed out changeset 4c85bf5e9bf5 (bug 1226443)
Backed out changeset 8fbc71a2912a (bug 1227015)
Backed out changeset 00ac71165014 (bug 1227015)
Backed out changeset e261f601b14d (bug 1227015)
Backed out changeset 78896c0bcb95 (bug 1227015)
Backed out changeset 244093d57c03 (bug 1227015)
Backed out changeset 03abf4d48e38 (bug 1227015)
Backed out changeset 2090c1e30933 (bug 1227015)
Backed out changeset 84e011be4e35 (bug 1227015)
2015-12-10 18:49:48 -08:00
Phil Ringnalda
ef25b0a2b7 Back out 5a889d2cc25b (bug 1230428) for Windows 7 failures in 1230428.html
CLOSED TREE
2015-12-10 18:45:07 -08:00
Bob Owen
cb3fdf73ba Bug 1217185: To allow for sandboxing, use null HWNDs when creating the D3D device for video decoding. r=mattwoodrow 2015-12-11 01:23:00 +00:00
Ben Kelly
48021845a7 Bug 1226443 P5 Always use first scheduled update timer instead of rescheduling on new events. r=ehsan 2015-12-10 18:08:14 -05:00
Ben Kelly
04ebcb1626 Bug 1226443 P4 Cleanup ServiceWorkerScriptCache objects when initialization fails. r=ehsan 2015-12-10 18:08:14 -05:00
Ben Kelly
33b46308aa Bug 1226443 P2 Make service worker fetch and functional events used scheduled timer updates. r=ehsan 2015-12-10 18:08:14 -05:00
Ben Kelly
7c8d5aa8c3 Bug 1226443 P1 Add a timer based mechanism for firing service worker updates. r=ehsan 2015-12-10 18:08:14 -05:00
Ben Kelly
1caaf57e47 Bug 1227015 P7 Supress unused ErrorResult exception if the worker runnable failed to dispatch. r=catalinb 2015-12-10 18:08:14 -05:00
Ben Kelly
e591e4d6d5 Bug 1227015 P6 Abort updates if the script spec has changed. r=ehsan 2015-12-10 18:08:14 -05:00
Ben Kelly
5488438bfc Bug 1227015 P5 Remove ServiceWorkerRegistrationInfo mScriptSpec. r=ehsan 2015-12-10 18:08:13 -05:00
Ben Kelly
e1a8ce4de7 Bug 1227015 P4 Make register job always require an explicit script spec. r=ehsan 2015-12-10 18:08:13 -05:00
Ben Kelly
54ff721dfe Bug 1227015 P3 Require a script spec on install jobs. r=ehsan 2015-12-10 18:08:13 -05:00
Ben Kelly
07fda7bc97 Bug 1227015 P2 Move mScriptSpec from registration job into script job base. r=ehsan 2015-12-10 18:08:13 -05:00
Ben Kelly
5a2acd2b46 Bug 1227015 P1 Create ServiceWorkerScriptJobBase as parent class to register and install jobs. r=ehsan 2015-12-10 18:08:13 -05:00
Blake Kaplan
4093ae92b1 Bug 1231695 - Don't use contentWindow on remote browsers. r=mccr8 2015-12-10 16:50:58 -05:00
Gijs Kruitbosch
297357597f Bug 1224605 - also show the OSK when tapping in focused inputs, r=masayuki
--HG--
extra : commitid : Dk5EQ4MMs4X
extra : rebase_source : 3bfa3f930a95904d2b179b58f3735f2e1cae1dc0
2015-12-08 09:56:27 -05:00
Jan de Mooij
1762bca503 Bug 1225396 part 4 - Remove @@iterator workaround in Codegen.py. r=bz 2015-12-09 22:56:17 -05:00
Phil Ringnalda
631f58c4f9 Back out 3 changesets (bug 1214148) for b2g test_browserElement_inproc_AudioPlayback.html, test_browserElement_oop_AudioChannel.html, etc. failures
CLOSED TREE

Backed out changeset e716d9ac93d7 (bug 1214148)
Backed out changeset 5f693237c8c1 (bug 1214148)
Backed out changeset 3a4865d79416 (bug 1214148)
2015-12-09 18:19:33 -08:00
Ben Kelly
3e447dafea Bug 1229970 Abort script loading start requests if a load has been canceled. r=khuey 2015-12-09 18:21:00 -05:00
Kartikaya Gupta
e0c2c8e4f0 Bug 1228597 - Clean up code paths that (un)apply a pres shell resolution. r=tn,botond
A clear separation is introduced between paths that deal with a root
document resolution (at the process boundary in e10s setups) and paths
that deal with a non-root document resolution (elsewhere in Layout code).

This allows both code paths to run on all platforms.

--HG--
extra : source : 22bf09630803392dba3052a3f79691475af0c5e2
2015-11-30 19:13:20 -05:00
Botond Ballo
1cb64f6960 Bug 1228597 - Remove the MOZ_SINGLE_PROCESS_APZ define. r=tn
Code previously guarded by this (added in bug 1224015) will now run
unconditionally.

--HG--
extra : source : ce0f51f55572334002ddf1878db447540d4c9b82
2015-11-27 21:39:07 -05:00
David Anderson
d8db9b6470 Add Telemetry for the drawing models that plugins use. (bug 1229961 part 1, r=aklotz,vladan)
--HG--
extra : rebase_source : 235694f543026a0b55d8ed65bb1489a3cf97b04d
2015-12-10 13:16:30 -08:00
Boris Zbarsky
a67ee2ad2f Bug 1230698. Make NS_CreateJSTimeoutHandler with a string propagate out exceptions from the nsJSScriptTimeoutHandler constructor if they happen. r=peterv 2015-12-10 16:14:10 -05:00
Blake Kaplan
8dfc60e1e7 Bug 1225829 - Use a temporary string to avoid string type confusion via references. r=jimm 2015-12-10 15:31:17 -05:00
Jean-Yves Avenard
ad5e2f804f Bug 1230527: P2. Add mochitest. r=jwwang
It's also another way to check for 1130237: we make sure that seeking starts after playback when we have a gap at the beginning of the data
2015-12-10 14:08:06 -05:00
Jean-Yves Avenard
9621f06057 Bug 1230527: P1. Ensure seeked event is fired prior loadeddata. r=jwwang 2015-12-10 14:08:05 -05:00
Makoto Kato
6580374e9a Bug 1230428 - Part 2. Add crashtest. r=eeejay 2015-12-10 13:46:46 -05:00
Makoto Kato
2f8f4466aa Bug 1230428 - Part 1. Check mTask since end event is posted asynchronized. r=eeejay 2015-12-10 13:45:26 -05:00
Jean-Yves Avenard
b8bef7f3f2 Bug 1229987: P4. Stop pre-rolling when encountering WAITING_FOR_DATA. r=cpearce
This allows to start displaying frames even when we have less than 5 frames.
2015-12-10 12:17:29 -05:00
Jean-Yves Avenard
ce54507b17 Bug 1229987: P3. Update mochitests and add new one verifying behavior. r=cpearce 2015-12-10 12:17:26 -05:00
Jean-Yves Avenard
085e65d064 Bug 1229987: P2. Drain decoder when encountering gap. r=cpearce
This allows for all buffered frames to be playable.
2015-12-10 12:17:25 -05:00
Jean-Yves Avenard
18c2b9cb12 Bug 1229987: [MSE] P1. Ensure next random access point properly calculated after seek. r=gerald
When seeking, the next keyframe time would always be set to the seek time (as the next sample to be retrieved would be a keyframe). This could lead to the next key frame logic to be activated too aggressively.
2015-12-10 12:17:25 -05:00
Chris Pearce
f51937602c Bug 1230295 - Add telemetry to report when Ogg chaining is used. r=rillian,r=vladan 2015-12-10 12:10:41 -05:00
Michael Layzell
316de91dc0 Bug 1231193 - Restore the onselectionchange property to the document object, r=ehsan 2015-12-10 11:48:05 -05:00
Carsten "Tomcat" Book
8431613ae5 Backed out changeset bcb4ebf6ffac (bug 1198459) for bustage 2015-12-10 11:14:27 +01:00
Fischer Liu
15acb7cf77 Bug 1230091 - ReferenceError on using not defined aApp variable in OfflineCacheInstaller.jsm, r=fabrice 2015-12-09 13:57:00 +01:00
Alastor Wu
4b8677c514 Bug 1228559 - get MSG by audio channel type. r=roc
--HG--
extra : transplant_source : %0Fe%B6%D5%BA6%88%A0Y%8A%5D%9C%9E%B5%A9%20%EC%A1%24n
2015-12-02 07:36:42 -05:00
Jim Mathies
33f95db847 Bug 1198459 - Prevent accessibility from initializing in content processes when e10s is running. r=tbsaunde
--HG--
extra : transplant_source : %BA%D2uF7%D5%C1jg%0E%BA%9B%84u%3D%10n%C0%93%8B
2015-12-09 08:35:06 -05:00
peter chang
877c081880 Bug 1018527 - test for clearRect API with input in double precision, r=jmuizelaar 2015-12-09 01:09:00 +01:00
peter chang
e0b4369755 Bug 1018527 - bypass canvas API calls when inputs are out of float precision, r=jmuizelaar 2015-12-09 01:08:00 +01:00
Andrea Marchesini
1b682e94be Bug 1214148 - patch 3 - correct window for nested iframes, r=alwu 2015-12-09 16:46:25 -05:00
Andrea Marchesini
4ddcd9bade Bug 1214148 - patch 2 - from toplevel iframe to the nested iframe, r=alwu 2015-12-09 16:46:25 -05:00
Andrea Marchesini
f342b66a2e Bug 1214148 - patch 1 - propagation from the nested iframe back to the toplevel iframe, r=alwu 2015-12-09 16:46:25 -05:00
Andrea Marchesini
32580a380e Bug 1231100 - Get rid of nsIDOMFileReader - patch 2, r=sicking 2015-12-09 15:52:38 -05:00
Andrea Marchesini
c2230f21f8 Bug 1231100 - Get rid of nsIDOMFileReader - patch 1, r=sicking 2015-12-09 15:52:15 -05:00
Brian Birtles
c70be15294 Bug 1230056 part 1 - Add EffectCompositor::HasAnimationsForCompositor; r=dholbert 2015-12-09 16:28:10 -05:00
Kyle Machulis
7c9986e33b Bug 1221448 - Leak instead of crashing on off-main-thread NPAPI _releaseobject; r=jandem r=jst r=bsmedberg 2015-12-09 07:59:39 -08:00
Jean-Yves Avenard
e786add25c Bug 1130237: [MSE] P3. Add mochitest testing behavior. r=gerald
We load data from [2ish, 4] and ensure that playback didn't start before data [0, 2ish] is loaded.
2015-12-09 09:55:37 -05:00
Carsten "Tomcat" Book
ce725e397c Merge mozilla-central to mozilla-inbound 2015-12-09 12:27:47 +01:00
Andrea Marchesini
519ac75376 Bug 1231094 - patch 2 - Get rid of FileIOObject, r=sicking 2015-12-09 06:23:16 -05:00
Andrea Marchesini
f503703375 Bug 1231094 - patch 1 - nsDOMFileReader to mozilla::dom::FileReader, r=sicking
--HG--
rename : dom/base/nsDOMFileReader.cpp => dom/base/FileReader.cpp
rename : dom/base/nsDOMFileReader.h => dom/base/FileReader.h
2015-12-09 06:22:40 -05:00
Carsten "Tomcat" Book
0eda110956 merge mozilla-inbound to mozilla-central a=merge 2015-12-09 12:02:12 +01:00
Mike Hommey
158e08c29b Bug 1230355 - Remove include_deps. r=mshal
We used to use include_deps to trigger a fast-path in pymake, but we don't
use pymake anymore, so we can use normal includes now.
2015-12-09 19:23:53 +09:00
Phil Ringnalda
9af3731499 Back out 7 changesets (bug 1227015) for serviceworker bustage
CLOSED TREE

Backed out changeset a267542e8cb7 (bug 1227015)
Backed out changeset 03c28b711e1f (bug 1227015)
Backed out changeset 5fc6fca28ddf (bug 1227015)
Backed out changeset 7fb0c56916d2 (bug 1227015)
Backed out changeset 4bef51e9c8ae (bug 1227015)
Backed out changeset c46b5abddec5 (bug 1227015)
Backed out changeset fb4554bd3bde (bug 1227015)
2015-12-08 20:37:16 -08:00
Bogdan Postelnicu
ac6c0718c7 Bug 1231124 - addded mCurve to constructor. r=smaug 2015-12-09 00:00:00 +01:00
Ben Kelly
9227b3237b Bug 1227015 P7 Supress unused ErrorResult exception if the worker runnable failed to dispatch. r=catalinb 2015-12-08 17:52:16 -05:00
Ben Kelly
0698a4728b Back out rev 4faa4cf68052 (bug 1227015 P7) for bustage 2015-12-08 17:49:05 -05:00
Reuben Morais
b51e2336d8 Bug 1212679 - Handle KitKat default messaging app intents. r=fabrice r=snorp 2015-12-08 14:43:09 -05:00
Bogdan Postelnicu
a32d8ac57a Bug 1231107 - add an assert on animationProperty. r=heycam 2015-12-08 05:13:00 +01:00
Salah
158db1411f Bug 1222079. Fix the behavior of Object.getOwnPropertyNames for nsDOMAttributeMap. r=bzbarsky 2015-12-07 18:42:36 -05:00
Boris Zbarsky
602de001f4 Bug 1230692. Fix WebAudioDecodeJob to properly suppress exceptions from its callbacks. r=ehsan 2015-12-07 18:42:11 -05:00
Boris Zbarsky
0ad0a0ccb7 Bug 1230700. Make Notification::ShowInternal explicitly suppress the exception from GetPermissionInternal. r=smaug 2015-12-07 18:41:59 -05:00
Boris Zbarsky
a999ef253a Bug 1230704. Change AbortablePromise::DoAbort to not worry about the result of calling its callback. r=smaug 2015-12-07 18:41:41 -05:00
Nicholas Nethercote
16cd9db041 Bug 1230863 - Remove unused nsPresContext args from many functions. r=roc. 2015-12-06 17:15:53 -08:00
Xidorn Quan
cc43119a67 Bug 1040668 followup 3 - Wrap lang attribute mapping code in NS_STYLE_INHERIT_BIT test. r=dbaron
--HG--
extra : source : 08c7fa7f0d4563c69b3a17ae676eaddfed237034
2015-12-08 03:12:44 +11:00
Carsten "Tomcat" Book
2257530fee Backed out changeset b8a9e34748f1 (bug 1130237) for m2 test failures 2015-12-07 11:20:35 +01:00
Dan Glastonbury
856e41412c Bug 1169212 - Part 2: Advertise support for ADTS via DecoderTraits. r=jya
for mimetype audio/aacp
2015-12-07 15:48:59 +10:00
Dan Glastonbury
5a8ca1d0d5 Bug 1169212 - Part 1: Implemented ADTS Decoder & Demuxer. r=jya
Implemented based upon MP3 Demuxer & Decoder.
2015-12-07 15:48:59 +10:00
Ben Kelly
ac0381ca84 Bug 1227015 P7 Suppress unused ErrorResult exception if the worker runnable failed to dispatch. r=catalinb 2015-12-08 17:15:55 -05:00
Martin Thomson
0a36983413 Bug 1225968 - Adding more messages to the push message tests, r=kitcambridge
--HG--
extra : commitid : DKvDzgHBTd7
extra : rebase_source : 953a864bb23b9b24d14957e49490fdcf1ed36818
2015-12-05 21:51:59 +11:00
Martin Thomson
0b2ee432a6 Bug 1225968 - Refactoring to move some of the push crypto logic, r=kitcambridge
--HG--
extra : commitid : DCuRgytkyJI
extra : rebase_source : de8696757ea1ae71071f8e53bed51eb218a6f20e
2015-12-04 08:24:47 +11:00
Nicholas Nethercote
53b8d741ea Bug 1230047 (part 1) - Make SynthesizeNativeTouch{Point,Tap}() take ScreenIntPoints. r=kats.
--HG--
extra : rebase_source : f9a4490edf840b0b506d33076d1b4738bb705fd5
2015-12-02 21:45:38 -08:00
Jonas Sicking
0bb4231605 Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb 2015-12-06 18:33:15 -05:00
Jonas Sicking
f7193fdf30 Bug 1226909 part 4: Make AsyncOpen2 set taining information on channels. Use this information in XHR and fetch(). r=bkelly 2015-12-06 18:33:15 -05:00
Jonas Sicking
28de02f687 Bug 1226909 part 3: Move logic of when to initiate CORS preflight into channels. Allow CORS preflight to happen when doing a same-origin to cross-origin redirect. r=ckerschb 2015-12-06 18:33:14 -05:00
Jonas Sicking
0e0c8c52ea Bug 1226909 part 2: Let CORS preflight logic grab information from nsILoadInfo rather than duplicate it. r=ckerschb 2015-12-06 18:33:14 -05:00
Jonas Sicking
6cc5074df0 Bug 1226909 part 1: Do security checks in a redirect handler rather than when opening the redirected channel. r=ckerschb 2015-12-06 18:33:14 -05:00
L. David Baron
5d4db53387 Merge mozilla-central to mozilla-inbound. 2015-12-06 16:08:06 -05:00
Francois Marier
aacefe1c5c Bug 1217236 - Block trackers loaded by Flash movies. r=gcp 2015-12-06 01:20:56 -08:00
L. David Baron
5bcd1d1b44 Back out changeset 9ebcec50fefa (bug 1223261) for causing unacceptable levels of intermittent orange (bug 1230015, bug 1230020). a=orange 2015-12-05 15:18:32 -08:00
Carsten "Tomcat" Book
8d69e722ff merge mozilla-inbound to mozilla-central a=merge 2015-12-04 11:57:23 +01:00
Carsten "Tomcat" Book
e523d63b9f merge fx-team to mozilla-central a=merge 2015-12-04 11:56:25 +01:00
Phil Ringnalda
a54f2a1eda Back out ce4623289f7f (bug 1230054) for crashtest bustage in 789075-1.html/795892-1.html, Android mochitest-chrome bustage in test_texttrack_chrome.html, and probably Gij video_list_test.js
CLOSED TREE
2015-12-03 22:12:01 -08:00
Jean-Yves Avenard
7b1c9931c6 Bug 1230054: Add missing headers ON A CLOSED TREE. r=me 2015-12-04 15:56:46 +11:00
Chris Pearce
0840e7ba6a Bug 1230272 - Remove version suffix from keySystem string reported by MediaKey*.keySystem attribute. r=gerald 2015-12-04 17:35:40 +13:00
Jean-Yves Avenard
5800cccc88 Bug 1230353: P1. Ensure type and subtype of MIME are lowercase. r=bz
As per RFC 2616 section 3.7, which states "The type, subtype, and parameter attribute names are case-insensitive". So ensure the type and subtype are always lower-case as all our comparisons assume that they are.
2015-12-04 15:24:24 +11:00
Jean-Yves Avenard
b2545f9af0 Bug 1230054: Remove unused WebMReader. r=kinetik 2015-12-04 15:23:43 +11:00
Mark Capella
e43c1dcf7f Bug 1215959 - (GeckoCarets2) - skip-if overlooked perma-orange test 2015-12-03 22:58:08 -05:00
Jean-Yves Avenard
d6b653ae10 Bug 1229605: [MSE] Allow webm/audio independently of video. r=kentuckyfriedtakahe
This adds a media.mediasource.webm.audio.enabled preference (true by default) to disable opus or vorbis audio in webm mediasource.
2015-12-04 14:43:47 +11:00
Jean-Yves Avenard
72d555ab40 Bug 1191833: P1. Properly check webm mimetype against codec type. r=cpearce
Also move the logic inside WebMDecoder, this continue on with the logic used by MP4Decoder
2015-12-04 14:43:46 +11:00
Ben Tian
e6557e5b56 Bug 1230066 - Add missing STATUS_AUTH_REJECTED into enum BluetoothStatus,r=tzimmermann 2015-12-03 18:25:03 +08:00
Wes Kocher
c40454e094 Merge fx-team to central, a=merge
--HG--
extra : commitid : 4Zjf9SresVg
2015-12-03 16:07:50 -08:00
Chris Pearce
ff1b756ddd Bug 1230026 - Add test for 'webm' initDataType for ClearKey initData. r=gerald
--HG--
rename : dom/media/test/test_eme_key_ids_initdata.html => dom/media/test/test_eme_initDataTypes.html
2015-12-04 07:24:32 +13:00
Chris Pearce
9654972991 Bug 1230026 - Support 'webm' initDataType format for MP4 ClearKey initData. r=gerald 2015-12-04 07:24:11 +13:00
Olli Pettay
c1987714e7 Bug 1229760 - CustomElement registry keeps strong reference to the unresolved elements, r=wchen 2015-12-03 18:21:04 +02:00
Mark Capella
0a752a77f3 Bug 1215959 - (GeckoCarets2) - Flip on by default in nightly, r=snorp 2015-12-03 13:33:15 -05:00
David Rajchenbach-Teller
186f04cf6f Bug 1219150 - EventStateManager::{LatestUserInputStart, UserInputCount};r=smaug
To detect slow behaviors, it is useful to find out whether a user
input was handled between two instants.

This patch introduces EventStateManager::UserInputCount, which lets
client code determine whether user input was handled between two
points of execution, and EventStateManager::LatestUserInputStart,
which lets client code find out when the altest user input was
handled.

--HG--
extra : commitid : uK1v8pj0fi
2015-12-03 17:40:45 -08:00
Jan Beich
814acd7ab8 Bug 1228208 - Make sure ICU flags are prepended before system flags. r=glandium 2015-12-02 09:40:50 +00:00
Chris Peterson
46bb7c80dd Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc
--HG--
extra : rebase_source : 4ab2c4a917ea90055e48bd6adcb53904f2266ee0
2015-11-27 20:49:55 -08:00
JW Wang
84171dfe8c Bug 1230004. Part 2 - have MDSM::BeginShutdown return a promise and remove MDSM::mDecoder. r=cpearce. 2015-12-03 15:59:44 +08:00
JW Wang
a62c25461b Bug 1230004. Part 1 - cache data in MDSM so it won't need to ask MediaDecoder. r=cpearce. 2015-12-03 15:59:30 +08:00
Bogdan Postelnicu
4d0c1bf1a0 Bug 1227119 - Set a default value for variable ret. r=dougt 2015-11-23 06:03:00 -05:00
Sebastian Hengst
114ca318d6 Backed out 2 changesets (bug 1221992) for almost permafailing M-e10s(2) on Linux debug. r=backout
Backed out changeset ad20808dd3c4 (bug 1221992)
Backed out changeset 7cdcda3e65fb (bug 1221992)
2015-12-05 21:13:41 +01:00
Sebastian Hengst
774236075d Backed out changeset 09d64535bcda (bug 1216687), a7f1a289dd78, 4dbf06183e6c, 26318a5e3006, 9ae2af3cf86d (bug 1226909) for M(1,2,5) oranges. r=backout 2015-12-05 16:34:47 +01:00
Jonas Sicking
993136c2c9 Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb 2015-12-05 01:46:21 -08:00
Jonas Sicking
7fae3fd853 Bug 1226909 part 4: Make AsyncOpen2 set taining information on channels. Use this information in XHR and fetch(). r=bkelly 2015-12-05 01:46:20 -08:00
Jonas Sicking
ff12f48c5a Bug 1226909 part 3: Move logic of when to initiate CORS preflight into channels. Allow CORS preflight to happen when doing a same-origin to cross-origin redirect. r=ckerschb 2015-12-05 01:46:20 -08:00
Jonas Sicking
918c689657 Bug 1226909 part 2: Let CORS preflight logic grab information from nsILoadInfo rather than duplicate it. r=ckerschb 2015-12-05 01:46:20 -08:00
Jonas Sicking
df33e62850 Bug 1226909 part 1: Do security checks in a redirect handler rather than when opening the redirected channel. r=ckerschb 2015-12-05 01:46:20 -08:00
Andrea Marchesini
ac93740bb2 Bug 1198095 - FileReader should dispatch an error if the blob changes size in the meantime the read is executed, r=bz 2015-12-05 09:37:35 +00:00
Andrea Marchesini
ebc5b1a50f iBug 1122788 - patch 2 - nsMultiplexInputStream should not use Tell() in debug builds, r=bz 2015-12-05 09:36:51 +00:00
Jonas Sicking
50083808c2 More test bustage from bug 1222624 2015-12-05 00:42:48 -08:00
Jonas Sicking
230c846819 Fix test bustage due to platform line-endings. Bug 1222624 2015-12-04 23:10:03 -08:00
Jean-Yves Avenard
7084f9ab9c Bug 1130237: [MSE] P3. Add mochitest testing behavior. r=gerald
We load data from [2ish, 4] and ensure that playback didn't start before data [0, 2ish] is loaded.
2015-12-05 17:28:38 +11:00
Jean-Yves Avenard
9ae0949e75 Bug 1130237: P2. Reset decoder state even if no decoder has been created yet. r=gerald 2015-12-05 17:28:37 +11:00
Jean-Yves Avenard
a080f16503 Bug 1130237: [MSE] P1. Only ever return a frame if we have data. r=gerald
After a Reset() the definition is that the resource was seeked to 0. As such we should only return a frame if there's data at time==0.
2015-12-05 17:28:37 +11:00
Jonas Sicking
fb82efc07a Bug 1222624: Make xpath document() function use nsIPrincipals and nsIURIs rather than strings. r=peterv 2015-12-04 21:06:47 -08:00
Jonas Sicking
1087e47ca1 Bug 1222624: Make XSLT stylesheet parsing use nsIPrincipals and nsIURIs rather than strings. r=peterv 2015-12-04 21:06:46 -08:00
Martin Thomson
d8c0edad16 Bug 1225968 - Refactor data delivery tests to support addition of new tests, r=kitcambridge
--HG--
extra : commitid : BDX6sCt4cbd
extra : rebase_source : b13732d37c0fce50816f7e96a03f9bf3a8e76458
2015-11-20 14:21:24 -08:00
Martin Thomson
6e6387eecb Bug 1225968 - Add authentication secret to push API, r=kitcambridge,smaug
--HG--
extra : commitid : 5qD0xsj9DLR
extra : rebase_source : 407d4152f897f87fa9b5fae8b6b93ef510cce59f
2015-12-09 07:26:42 +11:00
Kyle Machulis
7d22143e1d Bug 1229971 - Change name and logic of youtube embed telemetry probe; r=vladan, r=cpeterson 2015-12-08 10:04:08 -08:00
Ben Kelly
4db1035d1b Bug 1227015 P6 Abort updates if the script spec has changed. r=ehsan 2015-12-08 11:58:45 -05:00
Ben Kelly
58de757508 Bug 1227015 P5 Remove ServiceWorkerRegistrationInfo mScriptSpec. r=ehsan 2015-12-08 11:58:45 -05:00
Ben Kelly
d40ef59cb0 Bug 1227015 P4 Make register job always require an explicit script spec. r=ehsan 2015-12-08 11:58:45 -05:00
Ben Kelly
00c0e624e5 Bug 1227015 P3 Require a script spec on install jobs. r=ehsan 2015-12-08 11:58:45 -05:00
Ben Kelly
3e15fcaa7d Bug 1227015 P2 Move mScriptSpec from registration job into script job base. r=ehsan 2015-12-08 11:58:45 -05:00
Ben Kelly
48d0ba6249 Bug 1227015 P1 Create ServiceWorkerScriptJobBase as parent class to register and install jobs. r=ehsan 2015-12-08 11:58:44 -05:00
Alfredo Yang
92abcfb61c Bug 1224887: new PlatformDecoderModule based on OpenMax IL. r=jya, sotaro 2015-12-08 15:57:58 +05:30
Bogdan Postelnicu
ae22c83be6 Bug 1230902 - initialize mSampleRate and mMicrophoneActive. r=cpearce 2015-12-07 02:17:00 +01:00
Bogdan Postelnicu
a3215ffb22 Bug 1192982 - increase buffer size, memset it to 0 and then do the right way strncpy. r=jaas 2015-11-27 06:24:00 +01:00
Matt Woodrow
6ef854d267 Bug 1230338 - Record video frames dropped by the compositor, or while flushing during skip-to-keyframe. r=jya 2015-12-04 13:33:21 +13:00
Wes Kocher
caf5976449 Merge m-c to inbound, a=merge
--HG--
extra : commitid : EpefkAb2K9L
2015-12-03 16:11:01 -08:00
Andrew McCreight
ba894c4313 Bug 1230110 - HTMLImageElement should call its superclass's DestroyContent(). r=smaug
--HG--
extra : commitid : 6PKR4a9fssr
extra : source : b9d8d05aa4ee1cca71192d4d6c00900e8d1169b6
2015-12-03 14:03:12 -08:00
Wes Kocher
bfbadfd96d Backed out 2 changesets (bug 1221992) for windows debug assertions in browser_perf-categories-js-calltree.js
Backed out changeset bcd90e591038 (bug 1221992)
Backed out changeset 6affaa386b9b (bug 1221992)

--HG--
extra : commitid : 4w08gUrbqQr
2015-12-03 15:56:59 -08:00
Jeff Gilbert
26dafe015c Bug 1228711 - Cubemap images must be square. - r=benwa 2015-12-03 15:38:06 -08:00
Wes Kocher
286a265f77 Backed out 2 changesets (bug 1230118, bug 1230110) for windows debug assertions in browser_perf-categories-js-calltree.js
Backed out changeset a9ce85f77af9 (bug 1230118)
Backed out changeset b9d8d05aa4ee (bug 1230110)

--HG--
extra : commitid : 9wnrd9NnBlp
2015-12-03 15:38:04 -08:00
Brian Birtles
3cd1347f35 Bug 1226118 part 15 - Remove no-longer-necessary delays from test_running_on_compositor.html; r=hiro
Since part 3 in this patch series updated the way we clear the "running on
compositor" flag, we can update these tests so they no longer wait for this
flag (see bug 1226118 comment 21).
2015-12-04 08:34:18 +09:00
Brian Birtles
f82ce867cf Bug 1226118 part 12b - Rename CommonAnimationManager::GetAnimations to GetAnimationCollection; r=dholbert
This is to align with the existing GetAnimationCollection method that takes
a frame. Also, by making this name more specific hopefully it will be used less
since we are trying to move as much code as possible over to using EffectSet
instead of AnimationCollection.
2015-12-04 08:34:17 +09:00
Brian Birtles
7806ce3d5d Bug 1226118 part 8 - Add EffectCompositor::GetAnimationsForCompositor that uses the EffectSet rather than AnimationCollection; r=dholbert
This added method should behave in an equivalent manner to the existing
CommonAnimationManager::GetAnimationsForCompositor except for the following
differences:

* It uses the EffectSet attached to a target element rather than one of the
  AnimationCollection object on the owning element.

* It returns an array of Animation objects consisting of only those Animations
  that actually have the specified property as opposed to the
  AnimationCollection consisting of *all* CSS animations or *all* CSS
  transitions for the element regardless of whether they run on the compositor
  or not.

It may not be obvious why these two methods otherwise behave in an equivalent
fashion so the following explains how the existing code is mirrored in the new
method.

The existing code is as follows:

> AnimationCollection*
> CommonAnimationManager::GetAnimationsForCompositor(const nsIFrame* aFrame,
>                                                    nsCSSProperty aProperty)
> {
>   AnimationCollection* collection = GetAnimationCollection(aFrame);
>   if (!collection ||
>       !collection->HasCurrentAnimationOfProperty(aProperty) ||
>       !collection->CanPerformOnCompositorThread(aFrame)) {
>     return nullptr;
>   }
>
>   // This animation can be done on the compositor.
>   return collection;
> }

The new EffectCompositor::GetAnimationsForCompositor begins with two checks
performed at the beginning of CanPerformOnCompositorThread: the checks for
whether async animations are enabled or not and whether the frame has refused
async animations since these are cheap and it makes sense to check them first.

The next part of EffectCompositor::GetAnimationsForCompositor checks if there is
an EffectSet associated with the frame. This is equivalent to the check whether
|collection| is null or not above.

Following, we iterate through the effects in the EffectSet.

We first check if each effect is playing or not. In the above code,
HasCurrentAnimationOfProperty only checks if the effect is *current* or not.
However, CanPerformOnCompositorThread will only return true if it finds an
animation that can run on the compositor that is *playing*. Since playing is
a strict subset of current we only need to perform the more restrictive test.

Next we check if the effect should block running other animations on the
compositor. This is equivalent to the remainder of CanPerformOnCompositorThread.
Note that the order is important here. Only playing animations should block
other animations from running on the compositor. Furthermore, this needs to
happen before the following step since animations of property other than
|aProperty| can still block animations from running on the compositor.

Finally, we check if the effect has an animation of |aProperty|. This is
equivalent to the remainder of HasCurrentAnimationOfProperty.

If all these checks succeed, we add the effect's animation to the result to
return.
2015-12-04 08:34:12 +09:00
Brian Birtles
40c6c207b0 Bug 1226118 part 7 - Rename and rework KeyframeEffectReadOnly::CanAnimatePropertyOnCompositor to ShouldBlockCompositorAnimations; r=hiro
KeyframeEffectReadOnly::CanAnimatePropertyOnCompositor has a comment that says
it, "Returns true |aProperty| can be run on compositor for |aFrame|" but it
does nothing of the sort.

What it *does* do is check answer the question, "If there happened to be an
animation of |aProperty| on |aFrame|, should we still run animations on the
compositor for this element?".

This patch renames the method accordingly and moves the step where we iterate
over a given effect's animated properties from
AnimationCollection::CanPerformOnCompositor to inside this method, making this
method a class method rather than a static method at the same time.

As noted in the expanded comment, the approach of blocking opacity animations
in these situations seems unnecessary but for now this patch just preserves the
existing behavior.
2015-12-04 08:32:53 +09:00
Brian Birtles
fd98de719c Bug 1226118 part 5 - Move LogAsyncAnimationFailure to AnimationUtils; r=dholbert
This patch also moves AnimationUtils out of the dom namespace since it seems
unnecessary. We typically only put actual DOM interfaces in the dom namespace.
2015-12-04 08:32:53 +09:00
Brian Birtles
a92b5ec6ab Bug 1226118 part 3 - Use EffectSet in CommonAnimationManager::ClearIsRunningOnCompositor; r=hiro, r=dholbert 2015-12-04 08:32:53 +09:00
Brian Birtles
5ea3caedb7 Bug 1226118 part 1 - Add EffectSet::GetEffectSet(const nsIFrame*); r=dholbert 2015-12-04 08:32:52 +09:00
Blake Kaplan
0bb2b116eb Bug 1116478 - Open web content handlers in the proper tab in e10s. r=billm
--HG--
extra : rebase_source : 9ce04d3a3b30ecdcef4c4781639f0e5ea22d8b22
2015-12-03 15:04:28 -08:00
Andrew McCreight
5e1c30c848 Bug 1230110 - HTMLImageElement should call its superclass's DestroyContent(). r=smaug
--HG--
extra : commitid : L6Z2VdVTfXK
extra : rebase_source : fad68a186e8124cab5beffa34e9db960fe5d2d38
2015-12-03 14:03:12 -08:00
Nicholas Nethercote
5a37352d4a Bug 1229665 - Convert widget clip regions to LayoutDevicePixels. r=botond.
--HG--
extra : rebase_source : 315ac98884f84f3b5d53f156f3e02ddde3a57dbc
2015-12-02 14:32:55 -08:00
Catalin Badea
6c1a994648 Bug 1221992 - Fix test using GetMostRecentWindow from the child process. r=smaug 2015-12-03 23:19:29 +02:00
Catalin Badea
889982d7af Bug 1221992 - Prevent ServiceWorkerClients.OpenWindow from opening tabs in private mode windows. r=smaug 2015-12-03 23:19:29 +02:00
Ralph Giles
7723ca9104 Bug 1228721 - Conditionalize other webvtt navigator access. r=kinetik
Missed this in the previous commit.
2015-12-03 09:32:00 -08:00
Jeff Muizelaar
303885a832 Bug 1207288. Ask ANGLE for the correct output version. r=jgilbert 2015-12-03 14:37:02 -05:00
Carsten "Tomcat" Book
df451fe7b0 merge mozilla-inbound to mozilla-central a=merge 2015-12-03 12:00:42 +01:00
Matthew Noorenberghe
d77a8d39c1 Bug 1216986 - Fix usage of nsIURI.host in password manager and prompt code to support IPv6. r=dolske,liuche,kanru
--HG--
extra : commitid : zwoW6hAPKy
extra : rebase_source : 183b3f29af92860fbe232427e9e8f1cdd7116707
2015-12-02 16:13:18 -08:00
Carsten "Tomcat" Book
5adcabb340 merge mozilla-inbound to mozilla-central a=merge 2015-12-02 15:20:57 +01:00
Carsten "Tomcat" Book
541bf4c5e1 merge fx-team to mozilla-central a=merge 2015-12-02 15:17:31 +01:00
Carsten "Tomcat" Book
8230cd1d11 Backed out changeset fdbc50946db3 (bug 1223297) for test failures
--HG--
extra : rebase_source : 0ca7ee0d62d633bc7462fae75787050e8d6463d5
2015-12-02 11:56:45 +01:00
Carsten "Tomcat" Book
1e57fae9f1 Backed out changeset 720b3adb1df5 (bug 1137681) since this need to be out too on a CLOSED TREE 2015-12-02 11:50:27 +01:00
Nigel Babu
cc17273b85 Backed out changeset 1e400c0266e5 (bug 1224887) for build bustage
ON A CLOSED TREE
2015-12-02 14:51:30 +05:30
JW Wang
e4cbe0c128 Bug 1228939 - 1. add mSeekable to MediaInfo. 2. use MediaEventSource to notify the decoder when the media is not seekable. 3. remove unused code. r=jya. 2015-12-02 15:42:32 +08:00
Ethan Lin
c257b89d86 Bug 1228949 - Fix WebGLBuffer content type when the target is LOCAL_GL_COPY_READ_BUFFER or LOCAL_GL_COPY_WRITE_BUFFER. r=jgilbert 2015-11-30 01:30:00 +01:00
Makoto Kato
0e56a625b2 Bug 1228462 - "PluginQuirks.* uses DOS CRLF". r=jmathies 2015-11-26 17:52:00 +01:00
Alfredo Yang
d0c13c6363 Bug 1224887 - new PlatformDecoderModule based on OpenMax IL. r=jya, sotaro 2015-12-01 06:12:00 +01:00
Alastor Wu
1fe60ea737 Bug 1223297 - Multiple audio channel test. r=baku.
--HG--
extra : transplant_source : R%03%ABL%7C%21%BFt%C7%7EM%E4%9D%0CWON%0E%BDJ
2015-11-18 10:01:14 +08:00