Commit Graph

486311 Commits

Author SHA1 Message Date
Jean-Yves Avenard
32b6210842 Bug 1293159: Do not use timer when there's only one callback pending. r=jwwang
It is invalid to assume that no other actions can be performed between the time setTimout is called with a timeout value of 0 and the task actually runs.
This causes events to be regularly missed.

MozReview-Commit-ID: 70dtFsTwETf

--HG--
extra : rebase_source : 15ee481266ec1c8a0db10ee70cc44eefbd8129c5
2016-08-08 18:14:31 +10:00
Phil Ringnalda
0cb80d4c47 Bug 1281360 - Skip test_popup_button.xul on ASan, where it mostly fails 2016-08-07 23:06:50 -07:00
Kris Maglione
93814e012e Bug 1293036: Prevent BasePopup._resizeBrowser from being called recursive from MozScrolledAreaChanged events. r=robwu
This doesn't include tests for this behavior, because I'm not sure there's a
good way to test it reliably.

MozReview-Commit-ID: CM5rj1f9YiG

--HG--
extra : rebase_source : 11608a2d0b78802021a4f8aec39f0caa2f75af2c
2016-08-07 12:44:15 -07:00
Seth Fowler
ba8bb5de9d Bug 1292747 (Part 3) - Clean up some comments in imgFrame related to Optimize()'s behavior. r=edwin 2016-08-08 16:25:50 -07:00
Seth Fowler
ad2f26e773 Bug 1292747 (Part 2) - Remove the 565 optimization from imgFrame. r=edwin 2016-08-08 16:25:48 -07:00
Seth Fowler
55d13bdddf Bug 1292747 (Part 1) - Remove 565 optimization telemetry. r=edwin 2016-08-08 16:25:46 -07:00
Wes Kocher
d418284da4 Backed out 8 changesets (bug 1288626) for conflicting with bug 1291280, which merged to m-c first a=backout
Backed out changeset caee616ea09c (bug 1288626)
Backed out changeset eebda25d85cd (bug 1288626)
Backed out changeset 07e9cb8a46fd (bug 1288626)
Backed out changeset c5e4865819ff (bug 1288626)
Backed out changeset 74633b2735e0 (bug 1288626)
Backed out changeset 17f63bb7be11 (bug 1288626)
Backed out changeset 654556e45f5a (bug 1288626)
Backed out changeset be2c56decd65 (bug 1288626)
2016-08-08 16:19:30 -07:00
Kris Maglione
947c1cf7ba Bug 1289527: Hide browserAction and pageAction namespaces when relevant manifest entries are missing. r=aswan
MozReview-Commit-ID: 2gx0pLkHaVJ

--HG--
extra : rebase_source : 94ab5fbc632aedee4dc8261145bc8832ae31f53d
2016-08-06 14:43:58 -07:00
Luke Wagner
312d869101 Bug 1284155 - Baldr: improve tracing of wasm::Table (r=terrence)
MozReview-Commit-ID: CPMOmVGNFZb

--HG--
extra : rebase_source : cff0f4924cf5ddb81aa794bc4cfea8c62fe03f25
2016-08-08 08:53:07 -05:00
Kyle Machulis
28447218eb Bug 1291988 - Allow arbitrary number of axes/buttons in Windows Gamepad API; r=ted r=cleu
MozReview-Commit-ID: HNf5MwwFKEG
2016-08-08 15:58:05 -07:00
Olli Pettay
06c2ac8e59 Bug 1292699 - Add a small helper to deal with cases when native side needs to ensure that slow script dialog shows up, r=bholley
--HG--
extra : rebase_source : ab0fc332e5b54921d7a05e0c008c65b29947ee27
2016-08-08 23:29:05 +03:00
Jean-Yves Avenard
72c9f81302 Bug 1128069: [MSE] P7. Adjust webref expected results. r=gerald
MozReview-Commit-ID: GuCLiS2FfnS

--HG--
extra : rebase_source : 7cb47ccc33297bdeb744e8c8f134e33d85e44d88
2016-08-05 16:05:58 +10:00
Jean-Yves Avenard
57bcb09a90 Bug 1128069: [MSE] P6. Call NotifyDataArrived from MediaDecoder. r=gerald
Calling NotifyDataArrived from each sourcebuffer will cause multiple unnecessary NotifyDataArrived to the MediaFormatReader when it could only be done once. Additionally, it ensures that the media duration is updated prior to the reader actioning on the notification.

Extra: mEnded is only ever accessed on the main thread, there's no need to make it atomic.

MozReview-Commit-ID: IKq7IRBbWic

--HG--
extra : rebase_source : 6cf18b1f71f5ee6c8e82c73bdd2857e783f343b8
2016-08-08 13:56:38 +10:00
Jean-Yves Avenard
41f815e7fa Bug 1128069: [MSE] P5. Adjust currentTime to end position in MediaDecoder. r=jwwang
The duration in the MediaDecoder is the canonical. It has as such a more up to date value than the mirror.
Under some circumstances, the MDSM may have reached the end of media playback before the duration mirror had time to update. So perform the currentTime adjustment in the MediaDecoder instead.

MozReview-Commit-ID: 1RFr4mT5LpA

--HG--
extra : rebase_source : 3151d86561b53d5d1922c7c16f042792bfd47283
2016-08-08 13:49:51 +10:00
Jean-Yves Avenard
5b0b40ef42 Bug 1128069: [MSE] P4. Do not adjust duration to what data we may have been seen in the past. r=jwwang
With MediaSource, the duration is always known and exact. It is entirely possible that we have played data at some point, then removed that data and adjusted the duration.

MozReview-Commit-ID: HZe2yXtQfIL

--HG--
extra : rebase_source : be1b57575c28142d6b3091b23894a7e4e1c9b405
2016-08-05 16:03:01 +10:00
Jean-Yves Avenard
a46933d6e9 Bug 1128069: Update webref MSE tests according to updated spec. r=gerald
See w3c/MSE Issue 19, 20 & 26.

    Changing the duration now can never call the range removal algorithm. An explicit call to remove must be used for range removal.
    This spec change performed the following:
    - Require remove() for all Range Removals

MozReview-Commit-ID: 860PnQ9yrbc

--HG--
extra : rebase_source : 31591e537706979cccedfedb2f2320b0c9681d22
2016-08-05 16:01:03 +10:00
Jean-Yves Avenard
26e86a653d Bug 1128069: [MSE] P2. Change webref expectations now that the test is valid. r=jwwang
Test is failing on Linux Opt, see https://bugzilla.mozilla.org/show_bug.cgi?id=1128069
MozReview-Commit-ID: kaRQMtvEjN

--HG--
extra : rebase_source : 38cacead34e3bebdd8324af6faa5017ecaaff812
2016-08-05 14:52:44 +10:00
Jean-Yves Avenard
2f8b741212 Bug 1128069: Correct invalid test. r=jwwang
It is incorrect to assume that the seeking attribute will still be true once the seeking event handler gets to run. Seeking may have completed between the time the seeking event was queued and the time the seeking env is fired.

MozReview-Commit-ID: CZFFotMyaIu

--HG--
extra : rebase_source : 32f9b56520020aaad26cc4564cf9f15ddad8d055
2016-08-05 14:51:15 +10:00
Alexandre Lissy
fcee4935f4 Bug 1293054 - Update Mulet tooltool with rustc and cargo r=fabrice
MozReview-Commit-ID: 3Vu6548R7vw

--HG--
extra : rebase_source : 940b01fd118e051a6ad16467ef1c57e9d4c51874
2016-08-07 19:25:32 +02:00
Hiroyuki Ikezoe
acc70a71bd Bug 1292441 - Part 2: Reftest for backround-position-x animation. r=mstange
MozReview-Commit-ID: q7m7szmavl

--HG--
extra : rebase_source : 3dc0785fad4693dbe0cf9eb6ab70d8ab691b1f53
2016-08-08 12:54:05 +09:00
Hiroyuki Ikezoe
c4cce17f20 Bug 1292441 - Part 1: Avoid crashes when 'reftest-opaque-layer' is specified against an element having an display item which is not assigned to a PaintedLayer. r=mstange
MozReview-Commit-ID: HISvrzIwUZ2

--HG--
extra : rebase_source : da0c2e25d529ce6bf82d38f434301eb0f0f62503
2016-08-08 09:41:50 +09:00
Mike Hommey
50a4467ec3 Bug 1282256 - Make MozbuildObject.resolve_config_guess an instance method. r=gps
The last use that didn't have an existing instance was just removed.

--HG--
extra : rebase_source : 81f99e8a8d8046c9741e8a27072a6c4773fa7292
2016-08-04 13:43:47 +09:00
Mike Hommey
e6fb85ebb3 Bug 1282256 - Make MozbuildObject.resolve_mozconfig_topobjdir an instance method. r=gps
The only use that didn't have an existing instance was just removed.

--HG--
extra : rebase_source : 47891a9bd5c6ecef31d8a2c7053c1ae8efe36fa5
2016-08-04 13:41:57 +09:00
Mike Hommey
ad5e3fa4c4 Bug 1282256 - Remove MozbuildObject._config_guess. r=gps
Back when it was added, it was used, but it is not anymore, outside
test_base.py.

--HG--
extra : rebase_source : f0b9a4dab2985e89e9950eda774ae853c7de764c
2016-08-04 10:07:56 +09:00
Mike Hommey
6168f0df5b Bug 1282256 - Avoid loading mozconfig in MozbuildObject.from_environment. r=gps
We've been reading the mozconfig in MozbuildObject.from_environment to
check whether the mozconfig topobjdir matches the detected topobjdir.

Since bug 1278415, everything using the buildconfig python module now
calls MozbuildObject.from_environment, which reads the mozconfig. A lot
of things to that during the build. But none of them actually need the
data from the mozconfig, and the topobjdir match test has been breaking
things randomly on multiple occasions.

The topobjdir match test, however, really only needs to happen once:
when a mach command starts. So we can move the test to MachCommandBase,
where it belongs, and anything actively using MozbuildObject.mozconfig
will have the mozconfig read, but everything else won't.

On a Linux64 opt build, this brings down the number of times the
mozconfig is read during `mach build` from 979 to 9.

--HG--
extra : rebase_source : 6b340f1fcf73a3c3987033c37f8f14ef06a44f04
2016-08-04 11:17:41 +09:00
JW Wang
2d84b3c90e Bug 1291633 - Don't call MediaDecoder::SeekingStarted when visibility is Suppressed. r=kaku
MozReview-Commit-ID: 15YOmFCoXGp

--HG--
extra : rebase_source : b5269f7a4883ff08dbfdb797df9eb78334315108
2016-08-03 17:18:54 +08:00
cku
e32ee56058 Bug 1291280 - Part 3. Create mask local-ref test cases. r=heycam
MozReview-Commit-ID: H9frrUaTFKx

--HG--
extra : rebase_source : c584be44c021f84a44309e039317ce6c65175b04
2016-08-06 16:47:36 +08:00
cku
e39570c057 Bug 1291280 - Part 2. Declare nsStyleImageLayers::Layer::mSourceURI as FragmentOrURI r=heycam
MozReview-Commit-ID: 6KFb7MjlLqj

--HG--
extra : rebase_source : 24ac046807f12e3bea6717baab962de94d8fafc5
2016-08-06 06:38:44 +08:00
cku
6fc952395d Bug 1291280 - Part 1. Move the definition of FragmentOrURL up. r=heycam
MozReview-Commit-ID: 3TtUtnE2ZBh

--HG--
extra : rebase_source : dd22cfab1da88550bb3c6fa8459827c53d6e5bd0
2016-08-06 06:16:50 +08:00
Jeff Walden
bedc4de0a4 Bug 1291076 - Reorder Intl initialization to be both OOM-safe *and* smaller. r=sfink 2016-08-01 17:24:04 -07:00
Andrew Swan
fa3c0fac00 Bug 1213990 Clear storage when webextension is uninstalled r=kmag
MozReview-Commit-ID: BeMOxOCSeru

--HG--
extra : rebase_source : 3eb7fc4e61fe1ce698e22e25bd05fc779a6cf7a8
2016-08-01 16:30:18 -07:00
Andrew Swan
d7af10177b Bug 1213990 Convert getExtensionUUID to UUIDMap r=kmag
MozReview-Commit-ID: 9VVNa0pjx8g

--HG--
extra : rebase_source : d62e8289c127afe762a6af71fecb4e15c08272ca
2016-08-07 09:53:36 -07:00
Franziskus Kiefer
7943c27406 Bug 1290037 - Update keybits in H2, r=mt
MozReview-Commit-ID: 35oWoDMqe1Y

--HG--
extra : rebase_source : 020fbd93c190131eb04eed2d583787d6e5954a5a
2016-07-28 16:48:00 +02:00
Jon Coppeard
30cadf6976 Bug 1292664 - Improve GC state assertion in JitcodeGlobalTable r=terrence
--HG--
extra : rebase_source : 98f9142b15a4685ce7dadfd1741437852d7c4145
2016-08-09 10:27:00 +01:00
Jon Coppeard
5bdb3ddba7 Bug 1292529 - Fix assertion used by GCPtr destructor to not assume referent is still allocated r=terrence
--HG--
extra : rebase_source : 08e0aa0d95f6a25818a16f30c453d7be60ae4ef0
2016-08-09 10:26:00 +01:00
Jon Coppeard
eecd67a0ff Bug 1293262 - Always pre-tenure objects after minor GC r=terrence
--HG--
extra : rebase_source : 899e56975eb9c2e0c73e8510e2b4a2a9c284247f
2016-08-09 10:23:01 +01:00
Jon Coppeard
03687f37c9 Bug 1293260 - Improve ObjectGroup hash in TenureCountCache in 64 bit builds r=terrence
--HG--
extra : rebase_source : adba3718d1a646b1446c12f16f969068aae0907d
2016-08-09 10:22:21 +01:00
Lee Salzman
bf9dba5653 Bug 1278957 - enable Skia content for Linux and Android. r=mchang
MozReview-Commit-ID: KFb81rVM0ik
2016-08-09 05:33:15 -04:00
Karl Tomlinson
1a85ce6cf7 bug 1288702 suppress all GTK3 deprecated warnings r=glandium
Functions deprecated in GTK3 are often used for compatibility with GTK2
builds.

MozReview-Commit-ID: F220phw3wVO

--HG--
extra : rebase_source : 128e885652b184c5a7916378d9cebb067ab97eb0
2016-07-27 13:17:00 +12:00
JW Wang
6d1ce3ea1a Bug 1292449. Part 3 - Assert IsShutdown() is false in MediaDecoder::Shutdown(). Shutdown() should be only called once. r=kaku
MozReview-Commit-ID: 6iFKkTTb7qD

--HG--
extra : rebase_source : 773cdf796a11a0ca7b6577c348ec411c422a0342
2016-08-01 16:11:20 +08:00
JW Wang
862e36e74c Bug 1292449. Part 2 - Assert IsShutdown() is false in NotifyBytesDownloaded(). r=jya
1. Called from SourceBuffer::AppendDataCompletedWithSuccess() where mMediaSource->GetDecoder() is not null.
2. Called from MediaDecoder::ResourceCallback::NotifyBytesDownloaded() which is disconnected in Shutdown().

MozReview-Commit-ID: 103pxZP02Bb

--HG--
extra : rebase_source : 72e8a9c29d5ca6a4932de3a119497b05bfadbe68
2016-08-01 16:01:16 +08:00
JW Wang
63442be770 Bug 1292449. Part 1 - Assert IsShutdown() is false in NotifyDataArrived(). r=jya
1. Called from SourceBuffer::AppendDataCompletedWithSuccess() where mMediaSource->GetDecoder() is not null so this must happen before Shutdown().
2. Called from SourceBuffer::Ended() where mMediaSource->GetDecoder() is not null.
3. Called from MediaDecoder::ResourceCallback::TimerCallback() which is canceled in Disconnect().

MozReview-Commit-ID: 5dqVuOcrABy

--HG--
extra : rebase_source : a134f552c4fae2317cbf93dc1e861199d4c91346
2016-08-01 15:58:10 +08:00
JW Wang
aace2f0c8d Bug 1290809 - Remove MediaDecoder::IsEndedOrShutdown(). r=gerald
MozReview-Commit-ID: 4XUcJyQlmfk

--HG--
extra : rebase_source : fc2a044ca2776744ef0fff32300faf647666e73c
2016-08-01 15:22:32 +08:00
Henry Chang
40cb773d8f Bug 1274112 - Part 2: Use protobuf API to parse v4 update response. r=francois
MozReview-Commit-ID: 3sjR3Feq4ua

--HG--
extra : rebase_source : 0c3ef1b0b0d564190c8e2e410a1201216cdbf53c
2016-08-04 18:10:12 +08:00
Henry Chang
019c6a51fd Bug 1274112 - Part 1: Make update request v4. r=francois
MozReview-Commit-ID: NgV4QYbDll

--HG--
extra : rebase_source : 0c6c000e81e73617c6616dfa39fa868e35a43f9c
2016-08-04 18:10:06 +08:00
JW Wang
8ce157e06f Bug 1290364 - clear mOwner in Shutdown(). r=cpearce
MozReview-Commit-ID: 2CsYKcSrEOJ

--HG--
extra : rebase_source : 3fd60ea1dbbf57c168fa8cebb9bb5594ee8c19fb
2016-07-29 14:44:22 +08:00
Mantaroh Yoshinaga
ae2e808431 Bug 911987 part 4 - Add onwebkitanimation** and onwebkittransitionend event handlers. r=smaug
Add the onwebkit prefixed event handler attributes of CSS-Animation
and CSS-Transition.

We need to support both content attributes and IDL attributes like
onanimation** attributes.

We should support attribute of lower-case and mixed-case. But currently
Gecko defined as mixed-case only. [1][2]

[1] https://dxr.mozilla.org/mozilla-central/rev/6608e5864780589b25d5421c3d3673ab30c4c318/dom/base/nsContentUtils.cpp#747
[2] https://dxr.mozilla.org/mozilla-central/rev/6608e5864780589b25d5421c3d3673ab30c4c318/dom/events/EventNameList.h#977

So we can't find the related Atom when we set content attributes as lower-case. [3]

[3] https://dxr.mozilla.org/mozilla-central/rev/6608e5864780589b25d5421c3d3673ab30c4c318/dom/base/nsGlobalWindow.h#818

In this patch, I add two Atoms in order to support mixed and lower case.

MozReview-Commit-ID: 8nOfVGQ8h7R

--HG--
extra : rebase_source : fe954eb5c79d305660bdc3ef95b14e55cdb34534
2016-08-05 14:12:38 +09:00
Mantaroh Yoshinaga
1dca1eac31 Bug 911987 part 3 - Add onwebkit prefixed event handler tests. r=birtles
MozReview-Commit-ID: B9SmsyXjLil

--HG--
extra : rebase_source : 8abbd729c099668d32d7c256a4d7435edc02fa40
2016-08-05 14:03:51 +09:00
Mantaroh Yoshinaga
8ca50a27e0 Bug 911987 part 2 - Add the onanimation** and ontransition end tests. r=birtles
MozReview-Commit-ID: 7n5d4c01T8p

--HG--
extra : rebase_source : 8c57dc62b499c0c54de8b98c1f87fadf50b1a01b
2016-08-05 08:12:15 +09:00
Mantaroh Yoshinaga
bd81fb18be Bug 911987 part 1 - Add onanimation** and ontransitionend event handlers. r=masayuki,smaug
This event handler is defined CSS-Animation and CSS-Transition.
https://drafts.csswg.org/css-animations-1/#event-animationevent
https://github.com/w3c/csswg-drafts/pull/344

MozReview-Commit-ID: ARgsibd7wST

--HG--
extra : rebase_source : 7b4f366a8661508185d60ead9ce68fb234959577
2016-08-05 08:12:14 +09:00