Commit Graph

51163 Commits

Author SHA1 Message Date
Andrea Marchesini
8723eb439d Bug 1278816 - Move Performance API into dom/performance, r=smaug
--HG--
rename : dom/base/PerformanceEntry.cpp => dom/performance/PerformanceEntry.cpp
rename : dom/base/PerformanceEntry.h => dom/performance/PerformanceEntry.h
rename : dom/base/PerformanceMark.cpp => dom/performance/PerformanceMark.cpp
rename : dom/base/PerformanceMark.h => dom/performance/PerformanceMark.h
rename : dom/base/PerformanceMeasure.cpp => dom/performance/PerformanceMeasure.cpp
rename : dom/base/PerformanceMeasure.h => dom/performance/PerformanceMeasure.h
rename : dom/base/PerformanceObserver.cpp => dom/performance/PerformanceObserver.cpp
rename : dom/base/PerformanceObserver.h => dom/performance/PerformanceObserver.h
rename : dom/base/PerformanceObserverEntryList.cpp => dom/performance/PerformanceObserverEntryList.cpp
rename : dom/base/PerformanceObserverEntryList.h => dom/performance/PerformanceObserverEntryList.h
rename : dom/base/PerformanceResourceTiming.cpp => dom/performance/PerformanceResourceTiming.cpp
rename : dom/base/PerformanceResourceTiming.h => dom/performance/PerformanceResourceTiming.h
rename : dom/base/nsPerformance.cpp => dom/performance/nsPerformance.cpp
rename : dom/base/nsPerformance.h => dom/performance/nsPerformance.h
rename : dom/base/test/performance_observer.html => dom/performance/tests/performance_observer.html
rename : dom/base/test/test_performance_observer.html => dom/performance/tests/test_performance_observer.html
rename : dom/base/test/test_performance_observer.js => dom/performance/tests/test_performance_observer.js
rename : dom/base/test/test_performance_user_timing.html => dom/performance/tests/test_performance_user_timing.html
rename : dom/base/test/test_performance_user_timing.js => dom/performance/tests/test_performance_user_timing.js
2016-06-09 12:42:21 +02:00
Dan Minor
967be91752 Bug 1261168 - Add AlignedAutoTArray type in Web Audio; r=padenot
MozReview-Commit-ID: uQfTWkzKKB

--HG--
extra : rebase_source : c733e8bd17db57acaa0f0be4eefbf144ed2629af
2016-05-17 15:47:56 -04:00
Bob Owen
7c3321c672 Bug 1277475 Part 1: Add a chrome and XBL accessor for the sandboxed scripts flag to Document WEBIDL. r=bz
This also incldues changes to use the new function instead of getting and checking the sandbox flags in most places.

MozReview-Commit-ID: Cv0vJCdLH4D
2016-06-09 11:22:22 +01:00
Paul Adenot
c29cb7b0f6 Bug 845648 - Use shortBrand for the name of cubeb streams. r=kinetik
MozReview-Commit-ID: 1PUY8wHVOxy
2016-06-08 17:29:38 +02:00
Makoto Kato
cadf9d8f77 Bug 1257731 - Part 1. Send HaveBidiKeyboards information to content process. r=masayuki
MozReview-Commit-ID: 87J4hE79e3n

--HG--
extra : rebase_source : fbfb473ebfd28a0f19b81b8030a0dfe60bc310a9
extra : histedit_source : e8b2ab1c0da578be8170ed5380d43cb4503ab299
2016-06-03 18:56:04 +09:00
Bill McCloskey
4c22980cdc Bug 1268559 - Wait to finish nested event loops before shutdown (r=bsmedberg) 2016-06-08 22:10:44 -07:00
James Andreou
7c273b3eb3 Bug 1276328 - Remove private browsing flags r=baku
--HG--
extra : rebase_source : e13f6b834ae22986776ca7cc3dd0cee3fc945992
2016-06-07 13:50:00 +02:00
Phil Ringnalda
7270ed519a Back out 4 changesets (bug 1276132) for browser_gmpProvider.js failures
CLOSED TREE

Backed out changeset 511a2389ca48 (bug 1276132)
Backed out changeset 91b3cdd0640a (bug 1276132)
Backed out changeset 09b9972e36f9 (bug 1276132)
Backed out changeset 69052d4e3dbb (bug 1276132)
2016-06-08 20:36:22 -07:00
Sotaro Ikeda
6ec321d0df Bug 1256475 - Use libyuv for non scaling YUV color conversion r=jrmuizel 2016-06-08 18:46:42 -07:00
Masayuki Nakano
77f6ee4369 Bug 1278084 part.3 TextComposition shouldn't decide composition string which is only an ideographic space as a placeholder r=m_kato
Currently, when TextComposition tries to forcibly commit composition synchronously, it cancels the composition if there is only an ideographic space since legacy Chinese IMEs for Windows were used an ideographic space as a placeholder and shows actual composition string in its owning window (called reading window).

However, Japanese TIPs basically use composition to input an ideographic space. Unfortunately, this intentional input of an ideographic space is always canceled if an editor commits to composition at every input event in TSF mode because TSF cannot commit during a call of ITextStore::RequestLock().  Additionally, we will enable e10s mode, then, on all platforms, requesting commit composition is handled asynchronously.

Therefore, we should make the hack disabled in default settings now. If we'll find a way to distinguish if an ideographic space is a placeholder, we should recover this hack. Note that such input fields cannot handle such legacy IMEs, so, disabling the hack in default settings must be fine.

MozReview-Commit-ID: IdBcfBxeJum

--HG--
extra : rebase_source : 18ca5cd1083ade8813703cec05c020dc03f09f63
2016-06-07 21:25:24 +09:00
Jeff Gilbert
cc716a2cf9 Bug 1111689 - Remark failures.
MozReview-Commit-ID: 6SsnoDXPdvO
2016-06-08 17:28:49 -07:00
Kearwood (Kip) Gilbert
8a50416d83 Bug 1111689 - Part 1: Let EXT_shader_texture_lod play when ARB_shader_texture_lod can play. r=jgilbert 2016-06-08 17:28:49 -07:00
Brian Birtles
5aaca3d44e Bug 1276688 part 1 - Handle entries arrays where we don't have a property value at the 0.0/1.0 offset; r=heycam
MozReview-Commit-ID: GCCF4taOC6z

--HG--
extra : rebase_source : b2238ce7aa1fde865810ca70774d51cd1f5b7c8b
2016-06-09 08:12:52 +09:00
Chris Pearce
57fa470692 Bug 1276132 - Make more Widevine class constructors explicit to keep gcc happy. r=jwwang
Fixes compile errors on Linux when Widevine is compiled.

MozReview-Commit-ID: 19qQw02CqdQ

--HG--
extra : rebase_source : ebb98b25738e0438d873834f07c72be1f4eb71db
2016-05-31 12:05:24 +12:00
Chris Pearce
64f7e2a1c9 Bug 1276132 - Remove use of #ifdef MOZ_{KEYSYSTEM}_EME in dom/media code. r=jwwang
Instead of controlling visibility of EME keysystems by build config, do it by
preference. This means keysystems can be turned on easier.


MozReview-Commit-ID: Ky1zrHPubOJ

--HG--
extra : rebase_source : 7d68ad8389afdac8fcfffd2c505f8467107c05a5
2016-05-31 11:00:55 +12:00
Botond Ballo
4cd8a55cfc Bug 1277298 - Store the 'scrollgrab' property in a NODE_FLAG_BIT rather than a new field of nsGenericHTMLElement. r=smaug
MozReview-Commit-ID: 7DV33kG2KNt

--HG--
extra : source : 3f7ad60ae16bce8cac317aee8d3ec6445354733c
2016-06-06 17:45:46 -04:00
Mike Conley
f13dfb3a18 Bug 1278989 - Make parent outer window available on TabParent. r=mrbkap
MozReview-Commit-ID: 9nS1zQkGmu3

--HG--
extra : rebase_source : 29a22118d6670669b98ee4506ec1a2e4ed25521d
2016-04-27 15:40:36 -04:00
Andrew Sutherland
af016de2cb Bug 1272436 - P0: Implement "only-if-cached" RequestCache mode. r=mayhemer, r=bkelly, r=bzbarsky for WebIDL change
The fetch spec has re-introduced "only-if-cached" mode which loads only from
the cache.  There are privacy implications to this so for the time being it
is required that "same-origin" mode is used.
2016-06-08 12:10:15 -04:00
Eugen Sawin
778760ed81 Bug 1214710 - [2.5] Recover decode seek position when resuming suspended playback. r=jwwang 2016-06-08 18:04:33 +02:00
Eugen Sawin
a368c596cb Bug 1214710 - [1.11] Implement ReaderQueue for simultaneous decoder limit enforcement. r=jya,jwwang 2016-06-08 18:04:32 +02:00
Kit Cambridge
2cd19df30d Bug 1278435 - Update DOM interface tests to reflect shipping Push on Android. r=baku
MozReview-Commit-ID: AvTW8zDPjAY

--HG--
extra : rebase_source : 2f644946ea21d3e9b1becb1f314a71c5ac41e078
extra : source : 3a4cd59e97b5100b2b14185a068271531b80c68d
2016-06-07 13:25:21 -07:00
Kit Cambridge
a9df8d4d3f Bug 1278851 - Enable service worker notifications everywhere except for non-release B2G. r=baku
MozReview-Commit-ID: InG420vpNtA

--HG--
extra : rebase_source : 0523697466cb8f438b1af129c5d74a1b0c8df499
2016-06-07 14:25:59 -07:00
Andrea Marchesini
501b078b36 Bug 1278799 - Moving Console API into dom/console, r=smaug
--HG--
rename : dom/base/Console.cpp => dom/console/Console.cpp
rename : dom/base/Console.h => dom/console/Console.h
rename : dom/base/ConsoleAPI.manifest => dom/console/ConsoleAPI.manifest
rename : dom/base/ConsoleAPIStorage.js => dom/console/ConsoleAPIStorage.js
rename : dom/base/ConsoleReportCollector.cpp => dom/console/ConsoleReportCollector.cpp
rename : dom/base/ConsoleReportCollector.h => dom/console/ConsoleReportCollector.h
rename : dom/base/nsIConsoleAPIStorage.idl => dom/console/nsIConsoleAPIStorage.idl
rename : dom/base/nsIConsoleReportCollector.h => dom/console/nsIConsoleReportCollector.h
rename : dom/base/test/test_bug659625.html => dom/console/tests/test_bug659625.html
rename : dom/base/test/test_bug978522.html => dom/console/tests/test_bug978522.html
rename : dom/base/test/test_bug979109.html => dom/console/tests/test_bug979109.html
rename : dom/base/test/test_bug989665.html => dom/console/tests/test_bug989665.html
rename : dom/base/test/test_console.xul => dom/console/tests/test_console.xul
rename : dom/base/test/test_consoleEmptyStack.html => dom/console/tests/test_consoleEmptyStack.html
rename : dom/base/test/test_console_binding.html => dom/console/tests/test_console_binding.html
rename : dom/base/test/test_console_proto.html => dom/console/tests/test_console_proto.html
2016-06-08 14:46:50 +02:00
Andrea Marchesini
3844ccedea Bug 1278453 - Console API should be able to deal with arguments that close the window in toString(), r=smaug 2016-06-08 12:49:51 +02:00
bechen
6193b9598d Bug 1274884 - Add/Remove cue into MediaElement when TextTrack::mMode changed. r=rillian
MozReview-Commit-ID: 9PGEV5g8iv3

--HG--
extra : transplant_source : b%06Jsa%B8%08%A3%A2aS%0F%5C%C5T%9B%C9y%B5%C8
2016-06-02 16:08:32 +08:00
Alfredo Yang
baf7982f87 Bug 1257107 - set video seek thresohld on mac PDM. r=jya
MozReview-Commit-ID: 1nlO0cyXBEb

--HG--
extra : rebase_source : a1347a5caa3b55c3f46b7df2d295c05a91480ff0
2016-06-08 10:59:57 +08:00
Alfredo Yang
254d49c5f6 Bug 1257107 - discard decoded data if its pts is smaller than seek time. r=jya
MozReview-Commit-ID: 70rbBsor8lp

--HG--
extra : rebase_source : 7f88969e1c5f19aa1651080dd5b1985d0b718592
2016-06-08 10:59:57 +08:00
Carsten "Tomcat" Book
d8feaef998 Backed out changeset 74a7d364f5a3 (bug 1214710) for bustage on a CLOSED TREE 2016-06-08 12:08:53 +02:00
Carsten "Tomcat" Book
6a323f91ff Backed out changeset d64ca44c11ce (bug 1214710) 2016-06-08 12:08:40 +02:00
Carsten "Tomcat" Book
dde29ee8a5 Backed out changeset 8a796ebc560f (bug 1214710) 2016-06-08 12:08:39 +02:00
Eugen Sawin
b7f8c7606f Bug 1214710 - [3.1] Reset video decode suspend timer when resuming reader. r=jwwang 2016-06-08 11:31:20 +02:00
Eugen Sawin
590ee15d1a Bug 1214710 - [2.4] Recover decode seek position when resuming suspended playback. r=jwwang 2016-06-08 11:31:20 +02:00
Eugen Sawin
5a015f6bec Bug 1214710 - [1.11] Implement ReaderQueue for simultaneous decoder limit enforcement. r=jya,jwwang 2016-06-08 11:29:11 +02:00
Sebastian Hengst
f8ebb731be Backed out changeset e2881c49e123 (bug 382721) for crashtest failures in 730559.html. r=backout on a CLOSED TREE 2016-06-08 11:08:32 +02:00
Tooru Fujisawa
eaa08acdfa Bug 382721 - Part 3: Improve spacing and corner interaction of dashed/dotted border. r=jrmuizel 2015-08-06 11:42:09 +09:00
Nicholas Nethercote
26dee45a45 Bug 1278452 - Avoid a null deref in dom/media/platforms/omx/. r=ayang.
|aData| can be null, because FindAndRemoveBufferHolder() can return null.

--HG--
extra : rebase_source : 033d1e574919b0a02f2f1390795a0c18f9d1de7d
2016-06-08 10:28:31 +10:00
Nicholas Nethercote
a06aec9a0b Bug 1278452 - Avoid a null deref in dom/events/. r=mccr8.
--HG--
extra : rebase_source : 2ea15ae1cc93409d3657a820a74ba750223a93e2
2016-06-07 16:03:34 +10:00
Nicholas Nethercote
509ff29387 Bug 1278452 - Add some null checks when getting streams. r=froydnj.
--HG--
extra : rebase_source : 92d6792f23599f51f65022f61539b84faefe9c6b
2016-06-07 16:03:32 +10:00
Nicholas Nethercote
3c7909e181 Bug 1278452 - Fix some null checks in dom/xbl/. r=mrbkap.
--HG--
extra : rebase_source : 2ffe1b24834ee863705b36085da44cefe331f951
2016-06-07 15:24:48 +10:00
Nicholas Nethercote
f4199d3aca Bug 1278452 - Move a null check earlier in ConvertSourceSurfaceToNV12(). r=kamidphish.
The patch also avoids printing the surface format twice in some error messages.

--HG--
extra : rebase_source : 91ae32a527ad3220cea36db9271c18a7b8aa14c1
2016-06-07 14:56:36 +10:00
Nicholas Nethercote
e8ac055da1 Bug 1278452 - Remove unnecessary null checks in dom/media/. r=kamidphish.
|audio| and |video| are both dereferenced beforehand.

--HG--
extra : rebase_source : a91f5cf039f5e3d54a91d39eb4527a13e83ced7c
2016-06-07 14:50:39 +10:00
Chris Peterson
d9b23a6140 Bug 1277009 - Switch assert() to MOZ_RELEASE_ASSERT() in WebAudio compiled tests. r=padenot
And fix -Wstring-conversion clang warning about always-true assert("Buffer is a sequence."):

dom/media/compiledtest/TestAudioPacketizer.cpp:48:10 [-Wstring-conversion] implicit conversion turns string literal into bool: 'const char [22]' to 'bool'

--HG--
extra : rebase_source : abc53a0c1edcb0808fa7557f87552fe855d360b6
2016-06-07 22:09:05 -07:00
Andrea Marchesini
43a1cd6c16 Bug 1277226 - Implement MainThreadWorkerRunnable, r=sicking 2016-06-08 07:12:05 +02:00
Dan Glastonbury
eaa1d08d90 Bug 1276570: Replace TargetQueues enum with bitwise-or flags. r=jwwang
MozReview-Commit-ID: 95rnjumeBf

--HG--
extra : rebase_source : bffaaa632cbe2f9d27f82746a85f2089ede6301a
2016-05-31 14:32:37 +10:00
Kit Cambridge
9960b60842 Back out changeset f7e1ab1bd99c (bug 1207744) for X(3) failures.
MozReview-Commit-ID: 5mgyh20yXiI

--HG--
extra : rebase_source : d3adb0098eb1615fdd134cbb4f0afd8a151a5066
2016-06-07 20:34:54 -07:00
Cameron McCormack
97ad9d5793 Bug 1277154 - Remove bitfields from nsStyleSVG to help with rust bindgen. r=xidorn 2016-06-03 17:16:39 +10:00
Nicholas Nethercote
4e8f3b6d6e Bug 1276824 (part 2) - Fix up checks for calls to gfxContext::Create{,PreservingTransform}OrNull(). r=milan.
--HG--
extra : rebase_source : 80644c1a6658da553c13ae1ab3b8d03e916ee6e7
2016-06-07 11:17:48 +10:00
Nicholas Nethercote
a02611e830 Bug 1276824 (part 1) - Rename gfxContext::ForDrawTarget{,WithTransform}(). r=milan.
The new names Create{,PreservingTransform}OrNull() better communicate that
these functions (a) do object creation, and (b) are fallible.

--HG--
extra : rebase_source : a36bd9a2bcdfae281868959403f811f2bc690ad4
2016-06-07 09:39:56 +10:00
JW Wang
6e099bf9a4 Bug 1274466 - per discussion move some functions back to public. r=jya.
MozReview-Commit-ID: BoTB5IKjuDD

--HG--
extra : rebase_source : 4b81ed7365b560f3a9b1567fd182685daa601389
2016-06-06 16:17:15 +08:00
Dave Huseby
f4337b6262 Bug 1237080 - adds deprecation msg for chrome scripted DOMParser without principal. r=baku
MozReview-Commit-ID: FuolzJOcslX
2016-06-07 18:57:45 -07:00