Commit Graph

471989 Commits

Author SHA1 Message Date
Andrea Marchesini
392b98b4bc Bug 1266701 - some header missing in dom/events, r=jwatt 2016-04-22 15:37:28 +02:00
Edwin Flores
a3618f3ddb Bug 1253995 - Display stale image in nsImageFrame if we have a new src but haven't decoded it yet - r=seth 2016-04-22 14:08:25 +01:00
Andreas Pehrson
54d652f0b5 Bug 1266685 - Don't pass too many frames to the MediaPipelineTransmit VideoFrameConverter. r=jesup
MozReview-Commit-ID: 4XwcfBW9nkY

--HG--
extra : rebase_source : 80a61240a214633f1023043b9cc3846df3fc2df9
extra : source : b9e6df3042ec08778f3c5f85d093367f8f9bce52
2016-04-15 16:00:09 +02:00
Tooru Fujisawa
91929ffd64 Bug 1264264 - Add optimized path for RegExp.prototype[@@replace] with functional replace and substitution. r=till 2016-04-22 21:30:41 +09:00
Edwin Flores
74950cfa47 Bug 1256678 - Re-add nightly-only crash if ScaledFontWin::GetFontFileData fails to find a matching TrueType collection font - r=jfkthame 2016-04-22 13:23:25 +01:00
Edwin Flores
cdd3b63026 Bug 1256678 - Fall back to loading GDI fonts from system in DrawTargetRecording - r=bas 2016-04-22 13:23:25 +01:00
Edwin Flores
4a167320a0 Bug 1256678 - Account for truncated font names in ScaledFontWin::GetFontFileData() - r=jfkthame 2016-04-22 13:23:25 +01:00
Edwin Flores
aab6e566af Bug 1256678 - Backout diagnostic patch rev 39c895b67af2 - r=me 2016-04-22 13:23:25 +01:00
Ting-Yu Lin
87d7ee9f5c Bug 1262755 - Enlarge caret touch target by 59% for Fennec. r=capella,snorp
Enlarge the touch target of the caret to the left, bottom, and right by
59% (13px) per bug 1262755 comment 7.

Since the touch target becomes larger, the carets on the <input> in
previous test might cause the next test to fail on <textarea> because it
will press on the caret when trying to focus on <textarea>. Add <br>
elements to testAccessibleCarets.html to separate these test fields.

MozReview-Commit-ID: JIwmuHJ2QsQ

--HG--
extra : rebase_source : 6fbfede7cc0e395402b5858d74480dcdd5606c35
2016-04-22 18:23:47 +08:00
Jonathan Watt
debbbba148 Bug 752638, part 1 - Move SVGTextFrame::SetupContextPaint to nsSVGUtils. r=heycam 2016-04-22 11:52:19 +01:00
Jonathan Watt
22c58476c8 Bug 1266101, part 2 - Remove most of the GLYPH_STROKE/GLYPH_STROKE_UNDERNEATH checking code. r=heycam 2016-04-22 11:52:13 +01:00
Ting-Yu Lin
bcbf8175b8 Bug 1249201 Part 2 - Show carets continuously when panning or zooming. r=mats,sebastian
Add a pref "layout.accessiblecaret.always_show_when_scrolling" defaults
to true on all platforms except b2g. When it is set to false, the carets
will be hidden during scrolling, which is the current behavior before
applying this change.

The pref "layout.accessiblecaret.extendedvisibility" was added for
Fennec to keep ActionBar open when carets temporarily hiding during
panning or zooming. Now we make carets always show by default, so the
pref can be removed. However, the floating toolbar still need to be
notified when the scrolling begins, so we dispatch "scroll" instead.

In gtest, the preference changes were in the middle of the test
function. To make the preference change clearer, I add new pref changes
or move the existing ones to the beginning of the test functions.

The 250ms transition effect added in ua.css is per request of UX
designer in bug 1249201 comment 12.

MozReview-Commit-ID: 8NGvDLPbtNY

--HG--
extra : rebase_source : 3f7a9ebdf4c70b0282dbf9e8f18cbe5cca656dbe
2016-04-21 16:53:40 +08:00
Ting-Yu Lin
012b5d0a33 Bug 1249201 Part 1 - Add "scroll" reason to CaretStateChangedEvent. r=smaug
When the carets are scrolled by APZ, they will hide and dispatch a
"visibilitychange" reason. The floating toolbar (ActionBarHandler.js) on
Android listens to the event to update its visibility.

Now we want to show carets continuously when scrolling the page, so it
make no sense to dispatch a "visibilitychange" reason. However we still
need to notify the toolbar that the carets are scrolling by apz.
Therefore, we need a this new "scroll" reason. It will be dispatch in
AccessibleCaretManager::OnScrollStart() in Part 2.

MozReview-Commit-ID: F9znxHV3xCZ

--HG--
extra : rebase_source : 89914ebe5ed4cbcb5a3fd792a9f260e4c389fe84
2016-04-21 16:43:11 +08:00
Brian Birtles
a9c3d15f51 Bug 1255683 - Rewrite some animation performance string to refer to compositor animations instead of 'Async animations', r=helenvholmes, r=hiro
MozReview-Commit-ID: G1p8uCK8sS6
2016-04-22 18:02:35 +09:00
Mantaroh Yoshinaga
6e9350947b Bug 1266650 - Revert the test_legacy_event.html tests to previous version. r=birtles
In bug 1260064, I injected the investigation code about this bug incorrectly.
https://hg.mozilla.org/mozilla-central/rev/1b9787fb3e8b

MozReview-Commit-ID: KOaRjjmYLA4

--HG--
extra : rebase_source : a7005d3f076c0c91747da04cba48e7b4b0363c6e
2016-04-22 15:56:17 +09:00
JW Wang
35257991e7 Bug 1265978. Part 3 - invoke mozDumpDebugInfo() from JS. r=jya.
MozReview-Commit-ID: EHNKeFwNlvl
2016-04-22 14:18:41 +08:00
JW Wang
823e6216e3 Bug 1265978. Part 2.5 - also dump reader data. r=jya.
MozReview-Commit-ID: 3m71yGg6lbN
2016-04-22 14:18:34 +08:00
JW Wang
94b009f556 Bug 1265978. Part 2 - add methods to MediaDecoder and MDSM to dump debugging info. r=jya.
MozReview-Commit-ID: Dbc5FT627uL
2016-04-22 14:18:26 +08:00
JW Wang
6bfff83925 Bug 1265978. Part 1 - add mozDumpDebugInfo() to HTMLMediaElement.webidl. r=bz.
MozReview-Commit-ID: E0RZRyWnZrF
2016-04-11 12:02:43 +08:00
Thomas Zimmermann
4aca86822b Bug 1266320: Add 'aFailureId' parameter to Gonk's |GfxInfo::GetFeatureStatusImpl|, r=milan 2016-04-22 09:26:13 +02:00
JW Wang
67a95734d1 Bug 1266304. Part 2 - remove unnecessary template parameters. r=kaku.
MozReview-Commit-ID: E2TnNbMvJaR
2016-04-22 14:16:56 +08:00
JW Wang
69b738fc15 Bug 1266304. Part 1 - Merge MediaDecoderReader::AudioDataPromise and MediaDecoderReader::VideoDataPromise. r=kaku.
MozReview-Commit-ID: BhhA7sjCTtQ
2016-04-22 14:16:49 +08:00
Carsten "Tomcat" Book
55fea48a3f Backed out changeset 637e80ab4fca (bug 1262755) for rc4 android perma failures
--HG--
extra : rebase_source : 26893c1afaa1c4fc23808b92d8738d847d9ff5f3
2016-04-22 09:12:50 +02:00
Chris Peterson
93583fc60f Bug 1160368 - Part 5: Clean up some confusing browser_storage_listings.js checks. r=jdm
Also fix a reference error about undeclared variable i.
2016-03-27 00:17:46 -07:00
Chris Peterson
7f019cfba6 Bug 1160368 - Part 2: Clean up some cruft in nsCookie.h from PRBool/bool conversions. r=jdm
Also make nsCookie's member variables private.
2016-02-20 22:22:35 -08:00
Ryo Kato
3cfacb8444 Bug 1244591 - Part 3: Add web-platform tests for KeyframeEffect.setFrames r=birtles
Some tests are expected to fail until Bug 1216843 and 1216844 are resolved, so that
we specify that on the meta file `setFrames.html.ini`.

MozReview-Commit-ID: 6z2P1KkGJhb

--HG--
extra : rebase_source : 4e679d322a6d772de6488b58f70117908633433a
2016-04-16 23:39:51 +09:00
Ryo Kato
5ff375fd14 Bug 1244591 - Part 2: Extract useful keyframes tests to a new file r=birtles
Extract a lot of tests from keyframe-effect/constructor.html and add some
documentation so that we can reuse them in other tests. This helper will
be used when we want to test these API:

* KeyframeEffect(ReadOnly) Constructor
* KeyframeEffect.setFrames()
* SharedKeyframeList Constructor
* Animatable.animate()

and so on.

MozReview-Commit-ID: 5jZbXyPFHih

--HG--
extra : rebase_source : 63f4afc865378be3ae67cad5d6a389564c67c6fe
2016-04-16 23:38:02 +09:00
Ryo Kato
ed3e9e9db3 Bug 1244591 - Part 1: Implement KeyframeEffect.setFrames r=birtles,smaug
WebIDL referes to KeyframeEffect::SetFrames(), which is derived from
KeyframeEffectReadOnly::SetFrames() in terms of implementation.

In addition, make KeyframeEffectReadOnly::ConstructKeyframeEffect call
KeyframeEffectReadOnly::SetFrames() to simplify the code.

MozReview-Commit-ID: 7ASbtoN7Tnp

--HG--
extra : rebase_source : c398ff7154c4533255f56c7ca13314e440eb6258
2016-04-09 15:33:34 +09:00
Chris Peterson
c2fe3cc9ea Bug 1266295 - Remove unnecessary compiler version checks for gcc <= 4.8.0 in xpcom. r=froydnj 2016-04-17 17:10:00 -07:00
Chris Peterson
1999c10d91 Bug 1266294 - Remove unnecessary compiler version checks for gcc <= 4.8.0 in mfbt. r=froydnj 2016-04-17 17:08:10 -07:00
Chris Peterson
78f3e767ba Bug 1266293 - Remove unnecessary compiler version check and stdint polyfill for MSVS 2010 in webrtc/signaling/. r=drno 2016-04-18 22:51:47 -07:00
Chris Peterson
d95cf073f8 Bug 1266292 - Remove unnecessary compiler checks for MSVS 2010 in gfx/2d/. r=bas 2016-04-18 22:48:31 -07:00
Timothy Nikkel
7157850587 Bug 1251150. Back out crash annotations used to try to diagnose crash.
They didn't find any problems.
2016-04-22 00:17:15 -05:00
Timothy Nikkel
077c1af430 Bug 1264183. Remove unused argument to nsView::InvalidateHierarchy. r=mats 2016-04-22 00:17:15 -05:00
Timothy Nikkel
d5ab4ae492 Back out changesets 4bbf54c1bcd9 and ffcc3708103a from bug 1259246.
Backed out to see if they caused bug 1262027.
2016-04-21 23:14:37 -05:00
Maire Reavy
462309d5a8 Bug 1260979: Add MiriadaX to screensharing whitelist; remove example.com r=jesup 2016-04-22 01:00:27 -04:00
Brian Birtles
14ae45c97e Bug 1245000 part 4 - Enable the Animation constructor when Element.animate is enabled; r=bz
This also makes the constructor slightly more presentable with regards to its
current limitations.
2016-04-22 13:41:59 +09:00
Brian Birtles
1b1f9193a2 Bug 1245000 part 3 - Turn on Element.animate in release channels too; r=bz
Intent to ship: https://groups.google.com/d/topic/mozilla.dev.platform/2INRr96R3IU/discussion
2016-04-22 13:41:58 +09:00
Brian Birtles
62aa09461a Bug 1245000 part 2 - Don't ship Animation.ready; r=bz
Like Animation.finished, this will likely change to a cancelable promise in the
future (assuming such things materialize) so we should not ship it for the
time being.
2016-04-22 13:41:58 +09:00
Nicholas Nethercote
d3a0dd609f Bug 1266630 - Make fallible the orphan node table used during memory reporting. r=mccr8.
This fixes some OOM crashes.

MozReview-Commit-ID: LqWlpIzYTGM

--HG--
extra : rebase_source : aab0e9a2a59d5a914d46766f40d557bbd1da7291
2016-04-22 14:03:54 +10:00
Tracy Walker
c660026541 Bug 1265436 - modernize dom/tests/browser/browser_bug396843.js to work in e10s, also re-enable dom/tests/browser/browser_bug1238427.js as it works as is. r=jimm 2016-04-21 16:12:40 -05:00
Thomas Nguyen
3f10b1a2de Bug 1260664 - W3C Reflect referrerPolicy as a limited enumerated attribute. r=franziskuskiefer . r=smaug
MozReview-Commit-ID: Dppj4iuZnFp
2016-04-18 18:35:47 +08:00
David Newton
f44103a43f Bug 1160200 - APNG can't be used with type switching. r=mcaceres,r=jrmuizel 2016-04-20 23:57:00 +02:00
Gerald Squelart
9f570eb4fa Bug 848994 - p7. Filter front-end notifications - r=cpearce
Pref "media.decoder-doctor.notifications-allowed" defines which notifications
may be forwarded to the front-end (based on the web-console message ID for
that situation). This allows fine-grained filtering.

The current default is to only notify the user about Widevine requests when WMF
and Silverlight are missing (because Widevine does not include an AAC decoder).

MozReview-Commit-ID: KPFH5XjuwnZ
2016-04-22 13:42:11 +10:00
Gerald Squelart
e23866c192 Bug 848994 - p6. Analyze Windows issues - r=cpearce
Analyze the diagnostics information gathered so far, and dispatch
notifications as appropriate.
The most important case in this bug is when Widevine is requested but WMF and
Silverlight are missing.
The generic case of WMF missing (when needed to play) is there too.

Note: Currently no notifications are actually sent to the front-end by default,
the following patch will add filtering to allow/prevent targeted notifications.

MozReview-Commit-ID: EB9PKrMgKSr
2016-04-22 13:42:11 +10:00
Gerald Squelart
04d6608e8c Bug 848994 - p5. Check Silverlight presence - r=cpearce
MozReview-Commit-ID: JRzyIWmMTtf
2016-04-22 13:42:11 +10:00
Gerald Squelart
b1be604d62 Bug 848994 - p4. Record GMP diagnostics - r=cpearce
Record diagnostics information about whether the GMP CDM failed to load
(though currently impossible!), and which GMP is used in the current media
format check.

MozReview-Commit-ID: 4B8kDTAiV6b
2016-04-22 13:42:11 +10:00
Gerald Squelart
5853b8739b Bug 848994 - p3. Check MediaKeySystem requests - r=cpearce
Media Key System access requests are now recorded with their success/failure,
as well as accompanying issues of importance.
In this bug we focus on the Widevine-with-no-WMF case.

MozReview-Commit-ID: ElBN6cXKwAW
2016-04-22 13:42:11 +10:00
Gerald Squelart
6494d247f8 Bug 848994 - p2. Detect when WMF is not found - r=cpearce
MozReview-Commit-ID: IHvgJNjuyQA
2016-04-22 13:42:11 +10:00
Gerald Squelart
0451e54ac6 Bug 848994 - p1. Refactor Decoder Doctor - r=cpearce
Some refactoring, clean-ups, etc.

The main change is that the can-play status is passed when diagnostics are
finally recorded. This will help when introducing different types of
diagnostics in future patches (e.g., Key System issues).

MozReview-Commit-ID: 182ePlrMqn4
2016-04-22 13:42:11 +10:00