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

485109 Коммитов

Автор SHA1 Сообщение Дата
Gregory Szorc e4c0cab07e Bug 1291070 - Return process exit code properly; r=glandium
Before, we were returning None, which gets converted to 0.
Derp.

Also fix a flake8 failure introduced by 9f5fbb3066c9.

We'll also need to generate a new decision image. But that will
require someone with TC privileges to be around. That can be done
in a separate commit to unblock this from landing and fixing
consumers of run-task that aren't the decision image.

MozReview-Commit-ID: 6XuoIxjDozF

--HG--
extra : rebase_source : 836f4996cb9be24e19504f73792b159f0ffbdbee
2016-08-01 21:44:22 -07:00
JW Wang 6c38af47f2 Bug 1289976. Part 10 - Remove the IsShutdown() check from MediaDecoder::UpdateDormantState(). r=kaku
1. It is called from DormantTimerExpired(). The timer is canceled in Shutdown().
2. It is called from NotifyOwnerActivityChanged() which happens before Shutdown().
3. It is called from Play() which happens before Shutdown().
4. It is called from Seek() which happens before Shutdown().

MozReview-Commit-ID: EnKHF61FBXf

--HG--
extra : rebase_source : 04df59b6722c8340e5163a00eb916442799cfcf1
2016-07-27 10:56:46 +08:00
JW Wang 6ca3a55b72 Bug 1289976. Part 9 - Remove the IsShutdown() check from MediaDecoder::StartDormantTimer(). r=kaku
We don't need to check IsShutdown() which is a subset of |mPlayState != PLAY_STATE_PAUSED && !IsEnded()|.

MozReview-Commit-ID: BjYoLOLuPfC

--HG--
extra : rebase_source : 0d04b30a8bf955faed4907f77f0da29e0ccc011d
2016-07-27 10:52:01 +08:00
JW Wang 85e1a73473 Bug 1289976. Part 8 - Remove the IsShutdown() check from UpdateReadyState(). The callback is disconnected by the watch manager in Shutdown(). r=kaku
MozReview-Commit-ID: xVSWdj1Q0y

--HG--
extra : rebase_source : 948f622c399e1c072b4c15730a7a8c5fbd2ec696
2016-07-27 10:59:23 +08:00
JW Wang 31dcc3816b Bug 1289976. Part 7 - Remove the IsShutdown() check from MediaDecoder::Seek(). r=kaku
1. It is called from DurationChanged() which returns early when IsShutdown() is true.
2. It is called from Play() when IsEnded() is true.

MozReview-Commit-ID: Ixy5OMZHxIm

--HG--
extra : rebase_source : 4cd7229084c6af8b7123ee6c85156ef4932308f3
2016-07-27 10:49:14 +08:00
JW Wang f3ffeca57a Bug 1289976. Part 6 - Remove the IsShutdown() check from MediaDecoder::RemoveMediaTracks(). r=kaku
1. It is called from ChangeState() when IsEnded() is true.
2. It is called from OnMetadataUpdate(). The callback is disconnected in Shutdown().

MozReview-Commit-ID: 8m4jtcl91hT

--HG--
extra : rebase_source : 0988128ec6d05f07ab7b072cc70a9c2970c829c5
2016-07-27 10:44:43 +08:00
JW Wang a2d26a630a Bug 1289976. Part 5 - Remove the IsShutdown() check from MediaDecoder::Pause(). r=kaku
1. Pause() is called from HTMLMediaElement and happens before Shutdown().
2. Pause() is called from SetPlaybackRate() which is called from HTMLMediaElement.

MozReview-Commit-ID: DDr7Bg8jkF2

--HG--
extra : rebase_source : 8b8a4fdc914d0bce7572d9a1ccb0f530bdba062c
2016-07-27 10:42:20 +08:00
JW Wang 348c35b5dd Bug 1289976. Part 4 - Remove the IsShutdown() check from MediaDecoder::NotifyOwnerActivityChanged() which happens before Shutdown(). r=kaku
MozReview-Commit-ID: 9tWLW4JE0Uv

--HG--
extra : rebase_source : 9f33359f5d8833a8f90319303a96cf029460f3ac
2016-07-27 10:38:25 +08:00
JW Wang 00ce40fb6c Bug 1289976. Part 3 - Remove the IsShutdown() check from MediaDecoder::FireTimeUpdate(). r=kaku
FireTimeUpdate() is only called from UpdateLogicalPositionInternal() which returns early when IsShutdown() is true.

MozReview-Commit-ID: 4GZwrI85aXj

--HG--
extra : rebase_source : 9d7cbd571fd794369c833723ea5fc50a26380e51
2016-07-27 10:36:09 +08:00
JW Wang 61a6cb705b Bug 1289976. Part 2 - Remove the IsShutdown() check from MediaDecoder::DumpDebugInfo() which happens before Shutdown(). r=kaku
MozReview-Commit-ID: HU3ybjFZMsE

--HG--
extra : rebase_source : 15d9adb47be449fdaca6a37587e70ff4f1d013bf
2016-07-27 10:33:50 +08:00
JW Wang 0a748cd015 Bug 1289976. Part 1 - Remove the IsShutdown() check from MediaDecoder::ConstructMediaTracks(). r=kaku
1. ConstructMediaTracks() is called from ChangeState() when |mPlayState == PLAY_STATE_PLAYING|.
2. ConstructMediaTracks() is called from MetadataLoaded() which asserts |!IsShutdown()|.

MozReview-Commit-ID: 6OaPYcCOCii

--HG--
extra : rebase_source : 9db9e841fe8a0d797a39cd527abf4f4e95b67131
2016-07-27 10:31:14 +08:00
JW Wang 50617e1091 Bug 1290338. Part 2 - don't call back to owner functions if the watcher is destroyed. r=bholley
MozReview-Commit-ID: FQkJYtLTBNQ

--HG--
extra : rebase_source : c947ed2de25426815f5260be9b550dfa99f88950
2016-07-29 11:30:16 +08:00
JW Wang 48675814bd Bug 1290338. Part 1 - add a gtest to test WatchManager::Shutdown(). r=bholley
MozReview-Commit-ID: CJ3JJU2zLUF

--HG--
extra : rebase_source : 2495a541366c5baedec3eddf135e2507589824c6
2016-07-29 11:26:41 +08:00
Alastor Wu f7465c56c4 Bug 1290510 - add nightly flag for media control. r=sebastian
MozReview-Commit-ID: EWEpERiy4WQ

--HG--
extra : rebase_source : 955aab7368f4d2623ccd9089daa94c0beefa975c
2016-08-01 18:27:42 +08:00
Wes Kocher 64fba0f0c0 Merge m-c to autoland, a=merge 2016-08-01 17:50:27 -07:00
Wes Kocher 507d36210b Backed out 3 changesets (bug 1213990) for failing a mochitest a=backout
Backed out changeset 846ac5ddba37 (bug 1213990)
Backed out changeset 26bab9c6a89c (bug 1213990)
Backed out changeset 12d7193f1310 (bug 1213990)
2016-08-01 16:56:18 -07:00
ffxbld 3df383b855 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2016-08-01 07:09:05 -07:00
ffxbld 6bba85965d No bug - Tagging mozilla-central 465d150bc8be5bbf9f02a8607d4552b6a5e1697c with FIREFOX_AURORA_50_BASE a=release DONTBUILD CLOSED TREE 2016-08-01 07:05:25 -07:00
Carsten "Tomcat" Book 480c0269ee Backed out changeset 0f6396641036 (bug 1289638) for breaking windows spidermonkey tests/builds 2016-08-01 09:12:55 +02:00
Carsten "Tomcat" Book f850d3a1a1 Backed out changeset ada66cbedd75 (bug 1289638) 2016-08-01 09:12:39 +02:00
Carsten "Tomcat" Book 732be475c8 Backed out changeset 07e0af7fc5d9 (bug 1289638) 2016-08-01 09:12:38 +02:00
Carsten "Tomcat" Book 8321d9897b Backed out changeset a4a381f85dc8 (bug 1290026) 2016-08-01 09:12:37 +02:00
Carsten "Tomcat" Book 2b84fbf042 Backed out changeset 90559af62774 (bug 1290026) 2016-08-01 09:12:36 +02:00
Carsten "Tomcat" Book 8dbb362d18 merge mozilla-inbound to mozilla-central a=merge 2016-07-31 17:44:14 +02:00
Carsten "Tomcat" Book 2b209649d6 merge fx-team to mozilla-central a=merge 2016-07-31 17:41:56 +02:00
Carsten "Tomcat" Book 1b2f34a09a Backed out changeset 6271fac418d6 (bug 1288038) for hazard failures 2016-07-31 14:43:43 +02:00
Dalimil Hajek 46ffcbfa16 Bug 1281206 - Remove ObjectLink and ObjectBox reps. r=lclark 2016-07-30 02:10:00 -04:00
Carsten "Tomcat" Book a918a643a7 Merge mozilla-central to fx-team 2016-07-30 16:24:49 +02:00
Carsten "Tomcat" Book 3c40ac6f0b merge mozilla-inbound to mozilla-central a=merge 2016-07-30 16:20:57 +02:00
Tim Nguyen a8febff931 Bug 1288888 - followup: also fix filter icon for JSONViewer. r=me DONTBUILD
MozReview-Commit-ID: RrHyIjOC4e
2016-07-30 07:13:53 -07:00
Tim Nguyen d8d980430e Bug 1288888 - Followup: fix rule filter icon to be visible on all themes. r=me
MozReview-Commit-ID: GpXdjJC16KC
2016-07-30 06:59:45 -07:00
Mark Banner 81aac3454b Bug 1287827 - Touch CLOBBER as Loop files have been removed. rs=bustage-fix 2016-07-30 08:48:36 +01:00
Mark Banner 8fb8a69d5c Bug 1287827 - Part 5. Remove Loop's special permissions for about:loopconversation from MediaManager. r=jib 2016-07-30 08:48:34 +01:00
Mark Banner 44327fb657 Bug 1287827 - Part 4. Remove the special-case Loop CSP setting. r=mrbkap 2016-07-30 08:48:33 +01:00
Mark Banner c8531f414d Bug 1287827 - Part 3. browser/ cleanups to remove old permissions, uitour and test code related to Loop. r=dmose 2016-07-30 08:48:31 +01:00
Mark Banner 0d47d718ce Bug 1287827 - Part 2. Build changes for removing Loop. r=glandium 2016-07-30 08:48:29 +01:00
Mark Banner 612cb635b9 Bug 1287827 - Part 1. Remove Loop code from Firefox. rs=dmose 2016-07-30 08:48:28 +01:00
Mike Conley d190976dae Bug 1287827 - Fix a race-y test_bug260264.html mochitest. r=mrbkap
In nsGlobalWindow, we have a static counter for how many popups we've seen
recently. We increment it and decrement it when popups open and close - although
the decrement only occurs once the DocShell is detached, which happens asynchronously.

The test uses a utility that returns Promises for window.open and window.close,
but it uses dom-window-destroyed for resolving close, which happens _before_ the
counter is decremented. The dom-window-destroyed observer queues a runnable which
resolves the Promise.

This means that the test is attempting to open windows before the windows from a
previous test have finished detaching their DocShells (and decrementing the counter),
which means that the attempts to open the window hit the popup limit, which blocks
the popups.

This test switches us to waiting for outer-window-destroyed instead, which gives us
a greater certainty that the decrement has occurred.

MozReview-Commit-ID: 3a7QzxelP0a
2016-07-30 08:48:26 +01:00
Chris Peterson 37d77f1683 Bug 1289987 - Part 2: Remove more VS2013 workarounds in js/. r=fitzgen
Take 2.
2016-07-29 20:28:31 -07:00
Boris Zbarsky b5ee45e695 Bug 1290636. Expose iterator stuff on NodeList and DOMStringList. r=qdot 2016-07-30 01:00:18 -04:00
Boris Zbarsky 30fb9d7bd3 Bug 1290636. Fix some bugs in the way single-type (value) iterators are hooked up in the Web IDL bindings. r=qdot
There were two issues:

1) The keys/entries/values/forEach properties were being added no matater what
the value of the 'unforgeable' boolean was.  So we ended up spitting out
unforgeable versions of those, and this confused some Xray cases.

2) The number of args listed for forEach was wrong, which hit assertions in the
JS engine because the same self-hosted function was being instantiated with
different numbers of args from different places.
2016-07-30 01:00:12 -04:00
Boris Zbarsky 61e3a83a14 Bug 1290264. Update handling of '/' target origin of postMessage to spec change to use the incumbent global. r=bholley 2016-07-30 00:59:54 -04:00
George Wright cf7ed9ce47 Bug 1289525 - Grow the pool one at a time instead of in chunk of increment size r=jrmuizel 2016-07-30 00:20:28 -04:00
Chris Peterson 2bfa62386f Backed out changeset 2b9b892d36ff (bug 1289987) for build break 2016-07-29 20:26:28 -07:00
Jarda Snajdr d603d43aeb Bug 1283901 - Intermittent devtools/client/webconsole/test/browser_console_error_source_click.js. r=bgrins 2016-07-29 08:29:00 -04:00
Horatiu 1a07f5562d Bug 1144749 - Add keyboard shortcut to open ReaderView. r=markh 2016-07-29 22:13:56 -04:00
Chris Peterson aab004d66f Bug 1289987 - Part 3: Remove curly braces workaround for VS2013 ICE in ranged for loops in js/. r=fitzgen 2016-07-28 22:23:10 -07:00
Chris Peterson 617a320dfb Bug 1289987 - Part 2: Remove more VS2013 workarounds in js/. r=fitzgen 2016-07-28 22:33:39 -07:00
Andrew Swan 44326f4fae Bug 1213990 Clear storage when webextension is uninstalled r=kmag
MozReview-Commit-ID: BeMOxOCSeru

--HG--
extra : rebase_source : 389e8ab2f444b615e8b1f558b3f9a588b77f3512
2016-07-28 10:01:09 -07:00
Andrew Swan 27dcca4f5e Bug 1213990 Convert getExtensionUUID to UUIDMap r=kmag
MozReview-Commit-ID: 9VVNa0pjx8g

--HG--
extra : rebase_source : befb02708aabf093320d4c6fcd5f70c0b117b087
2016-07-28 10:00:51 -07:00