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

496537 Коммитов

Автор SHA1 Сообщение Дата
Mats Palmgren e54565d5d4 Bug 1302541 part 2 - [css-grid] Propagate track state bits and store the union of all tracks in each axis. r=dholbert 2016-10-19 04:20:48 +02:00
Mats Palmgren 8b31c38aac Bug 1302541 part 1 - [css-grid] Add a track state bit for percentage min-sizing that is treated as 'auto'. r=dholbert 2016-10-19 04:20:48 +02:00
Mats Palmgren 5c23ea1c25 Bug 1309407 - [css-grid] Reftest for track flex max-sizing with min/max-sizes. 2016-10-19 04:20:48 +02:00
Mats Palmgren 32e97d17ca Bug 1309407 - [css-grid] Apply min/max-sizes after stretching <flex> grid items with an indefinite CB size and re-run the algo with a definite size if the grid size changed. r=dholbert 2016-10-19 04:20:48 +02:00
Xue Fuqiao bb162e2027 Bug 1111599 - Shift-click while in picker mode selects the element but doesn't stop the picker; r=pbro
MozReview-Commit-ID: 2yUKBJylxF1

--HG--
extra : histedit_source : 07084537fffa5a61a703d01c196ade647d9b70e1
2016-10-18 15:50:51 +08:00
Ting-Yu Lin 7c761e8be7 Bug 1309445 - Convert FrameConstructionItemList::mItems to use mozilla::LinkedList. r=dholbert
The major change to the Iterator is due to the fact that the end of a
LinkedList is represented by nullptr.

Also delete the type conversion functions which are no longer needed.

MozReview-Commit-ID: 2lYtFW9pSon

--HG--
extra : rebase_source : c822e937679e57a9f2d3ab034e5147fc3aea9e8e
2016-10-18 15:50:27 +08:00
Masayuki Nakano 2773c4d0ef Bug 1310618 Replace nsresult variables |res| with |rv| under editor/ r=Ehsan
In our coding rules, variable names of nsresult should be rv.  Indeed, when you see |rv| in the code, you must assume that its type if nsresult.

However, a lot of code under editor/ uses |res| for the variables of nsresult.  Let's replace |res| with |rv|.

And this patch improves following points:

1. When |rv| is set in both |if| and |else| block and they are check outside of them, this moves the check into each |if| and |else| block because even if the failure is notified with warning, you cannot see which case was performed and failed.  This change makes it clear.

2. When |return rv;| returns non-error code because |rv| is checked with NS_ENSURE_SUCCESS() immediately before, setting replacing it with |return NS_OK;| is clearer.

3. Move declaration of |nsresult rv| into smaller scope as far as possible.  This prevents setting rv to unexpected value and easier to check its value at reading the code.

MozReview-Commit-ID: 9MAqj7sFey3

--HG--
extra : rebase_source : 0fd316b851ea616b3a95d8c1afc111ff55e11993
2016-10-19 18:09:33 +09:00
Masayuki Nakano 701f3b7c7a Bug 1311235 part.3 Rename NS_EDITOR_ELEMENT_NOT_FOUND to NS_SUCCESS_EDITOR_ELEMENT_NOT_FOUND r=Ehsan
MozReview-Commit-ID: KBeqo2WwOBY

--HG--
extra : rebase_source : b8263ea2bbad63bcbea056b1c11240a28bb4bfb2
2016-10-19 14:35:21 +09:00
Masayuki Nakano 015e1b9d89 Bug 1311235 part.2 Rename NS_FOUND_TARGET to NS_EDITOR_FOUND_TARGET and make it a success code r=Ehsan
NS_FOUND_TARGET is now declared as an error code.  However, making it as a success code makes the code simpler.

First, this patch renames it to NS_SUCCESS_EDITOR_FOUND_TARGET because it's usual naming rule (according to the other declarations).

Next, FindTargetNode() should return it when a nest call of itself returns NS_SUCCESS_EDITOR_FOUND_TARGET as it does now.

Finally, removing the code overwriting NS_FOUND_TARGET with NS_OK from HTMLEditor::CreateDOMFragmentFromPaste() since it doesn't cause hitting NS_ENSURE_SUCCESS() and the variable, rv, will be overwritten with other method's result.

MozReview-Commit-ID: 6GgZptrXXQa

--HG--
extra : rebase_source : 79418fc83fb087e559221f895c59c7c334980456
2016-10-19 14:15:24 +09:00
Masayuki Nakano 3f60f85201 Bug 1311235 part.1 Remove NS_ERROR_EDITOR_NO_SELECTION and NS_ERROR_EDITOR_NO_TEXTNODE since nobody uses them r=Ehsan
MozReview-Commit-ID: LHzlHSGMM2u

--HG--
extra : rebase_source : 43c3dfdc44bff4548243afb3462dfd7686a0a5e3
2016-10-19 13:09:32 +09:00
Chris Pearce ba2ce7a971 Bug 1310879 - Disable Web Platform Tests for persistent session types. r=kikuo
MozReview-Commit-ID: cc8UG4Cee

--HG--
extra : rebase_source : 7d07ee22538427f3b2b6a5fffa1c015974a8ab45
2016-10-18 16:31:54 +13:00
Chris Pearce a8a56efe47 Bug 1310879 - Remove persistent license support from gmp-clearkey. r=kikuo
MozReview-Commit-ID: LlBUD4xPpRC

--HG--
extra : rebase_source : 3cec8951cee990271d724c59b4c7f9d517a820a2
2016-10-18 16:10:05 +13:00
Chris Pearce 3e93e729a6 Bug 1310879 - Remove EME persistent-license sessions. r=kikuo
This removes the ability for ClearKey to instantiate persistent-license
sessions using the EME APIs.

MozReview-Commit-ID: KXyuRNMJKIZ

--HG--
extra : rebase_source : fd5c66f8929dfdb28ceb5cb82a75181a9168ca81
2016-10-18 15:42:02 +13:00
JW Wang 95a229468e Bug 1310140. Part 13 - handle resuming video decoding in various state objects. r=kaku,kamidphish
Note StateObject::HandleResumeVideoDecoding() doesn't check mIsReaderSuspended
because if the reader is suspended, MDSM must be in the dormant state and won't
resume video decoding.

MozReview-Commit-ID: FY4rdFmk56C

--HG--
extra : rebase_source : 000837b59944ad3f2efb12a367d7cc12c7a6deab
extra : source : a11fd583471f8a8e496a3152bb73bc17c6345a63
2016-10-18 14:56:36 +08:00
JW Wang 9f67fc7996 Bug 1310140. Part 12 - move the HasVideo() check into HandleVideoSuspendTimeout(). r=kaku,kamidphish
If MDSM becomes invisible while decoding metadata, VisibilityChanged() will return early
because mInfo is still nothing. And MDSM will never suspend video decoding if there are no
visibility changes later. We should delay the check util the timer goes off and MDSM
needs to switch on the blank decoder.

MozReview-Commit-ID: Ids9MncpC2l

--HG--
extra : rebase_source : 77ab76b09bae3dec3447950a8f0a7fcffff565b7
extra : source : 4527aed6f0b4f3ac11981df4517adacf9a43b4a2
2016-10-18 14:07:07 +08:00
JW Wang 7290b9911b Bug 1310140. Part 11 - make StateObject::HandleVideoSuspendTimeout() pure virtual for all sub-classes override it. r=kaku,kamidphish
MozReview-Commit-ID: 2uZHm3NZIFV

--HG--
extra : rebase_source : a6896a66d27a5ec79d9b0ef947d21d4a4d68e540
extra : source : c6f485abfafe186ac2ebf098e1079700e5c9ae8f
2016-10-18 13:58:34 +08:00
JW Wang d616baaf20 Bug 1310140. Part 10 - have SeekingState handle suspend-video-decoding. r=kaku,kamidphish
MozReview-Commit-ID: DRGfP3VN2OG

--HG--
extra : rebase_source : 6bca452d4612a1af4c929108dd9e21bf4d00465b
extra : source : a73b62cfa9b3dec2010c551a235affb7650603d4
2016-10-18 11:11:38 +08:00
JW Wang 7d1e644a36 Bug 1310140. Part 9 - add ShutdownState::HandleVideoSuspendTimeout(). r=kaku,kamidphish
MozReview-Commit-ID: GBXL3U1uxFW

--HG--
extra : rebase_source : bf9321aa3092a9191b6611d7a8649184b2947932
extra : source : 7bbb6ab44a58373f6fba7c3020a7420a71336c9c
2016-10-18 10:55:56 +08:00
JW Wang 8654f08816 Bug 1310140. Part 8 - add CompletedState::HandleVideoSuspendTimeout(). r=kaku,kamidphish
MozReview-Commit-ID: LOrecImz2Cr

--HG--
extra : rebase_source : e5b4033e8dc20589feb3f2da29b6d94eb62b48f2
extra : source : c3525d516776f45a7a64167a531baa32e408a516
2016-10-18 10:54:39 +08:00
JW Wang 74368ea173 Bug 1310140. Part 7 - add BufferingState::HandleVideoSuspendTimeout(). r=kaku,kamidphish
MozReview-Commit-ID: IAhR9v3svpT

--HG--
extra : rebase_source : 5805eca3e39b935e94d4c6f74bea7a9e8ad4fd3c
extra : source : b3b13ceea5ec88616eab1b0562816ac5bb5240c0
2016-10-18 10:52:24 +08:00
JW Wang c55316ec90 Bug 1310140. Part 6 - have DecodingState handle suspend-video-decoding. r=kaku,kamidphish
MozReview-Commit-ID: 3GxHdxZCiwE

--HG--
extra : rebase_source : f20e140c43b186b2c97a348e9e4517cdb67d9d0c
extra : source : 666b4bf34139383276cde9f91c6210274319e344
2016-10-18 10:48:46 +08:00
JW Wang 18399ecab8 Bug 1310140. Part 5 - add DecodingFirstFrameState::HandleVideoSuspendTimeout(). r=kaku,kamidphish
MozReview-Commit-ID: 9CAE5XOQFtQ

--HG--
extra : rebase_source : a4f227c1d3eb6e1e2fe1a353e565ea06447faea4
extra : source : ffe3c6d1e9dd68835cacd0f56ae0bf461f1e843c
2016-10-18 10:40:52 +08:00
JW Wang c74a365db4 Bug 1310140. Part 4 - add DormantState::HandleVideoSuspendTimeout(). r=kaku,kamidphish
MozReview-Commit-ID: GYBC3nS1PlF

--HG--
extra : rebase_source : 2cace04086029d37344e90fc25c284a398791025
extra : source : 019fa0c99035662e848b8f994b170669cf69c77c
2016-10-18 10:35:23 +08:00
JW Wang 6f363fd560 Bug 1310140. Part 3 - add WaitForCDMState::HandleVideoSuspendTimeout(). r=kaku,kamidphish
MozReview-Commit-ID: 9fPBDrt8Tgi

--HG--
extra : rebase_source : 2d10b4635cf1c4a832fdcdf404355b262974bd15
extra : source : 3bd862c75a34a93f26065b50204a4c7520ed2ebe
2016-10-18 10:33:37 +08:00
JW Wang 9a08090a96 Bug 1310140. Part 2 - add DecodeMetadataState::HandleVideoSuspendTimeout(). r=kaku,kamidphish
MozReview-Commit-ID: 5NCo9ooQEvU

--HG--
extra : rebase_source : 7ee8a78ea67a87a856fa2c9aa2ffcc39c0102cf9
extra : source : 9a6fa8c9893d4e7fd341e9d31846ff8992a1001b
2016-10-18 10:31:17 +08:00
JW Wang ba2f2c6e8e Bug 1310140. Part 1 - add StateObject::HandleVideoSuspendTimeout(). r=kaku,kamidphish
MozReview-Commit-ID: 1qyDJzogSR8

--HG--
extra : rebase_source : 7fe959ad96e27e6badda324838443cc05d155133
extra : source : a473724082b2f25601846bbf0ca8c796857a70ae
2016-10-18 10:29:14 +08:00
Wes Kocher e5ad2b9e1e Merge m-c to fx-team, a=merge 2016-10-17 15:39:29 -07:00
Wes Kocher 9abb1e1c41 Merge m-c to inbound, a=merge 2016-10-17 15:37:34 -07:00
Wes Kocher 573dc19393 Merge inbound to central, a=merge 2016-10-17 15:34:14 -07:00
Wes Kocher 6e39e47451 Merge autoland to central, a=merge 2016-10-17 15:11:40 -07:00
stefanh@inbox.com 4efcc85bc7 Bug 1310808 - Make use of the new 10.12 constant NSVisualEffectMaterialSelection. r=mstange. 2016-10-17 22:45:02 +02:00
Shu-yu Guo dc1c20cfdd Bug 1287047 - ExposeToActiveJS the callee when creating a hollow CallObject for Debugger.Environment. (r=jimb) 2016-10-17 14:05:54 -07:00
James Willcox 632ab10f06 Bug 1308534 - Use e10s in GeckoView r=jchen 2016-10-17 15:05:35 -05:00
Eitan Isaacson b69aa4a817 Bug 1310448 - Wait for narrate button to appear before starting tests. r=Gijs
MozReview-Commit-ID: 8MPzdZvAT1

--HG--
extra : rebase_source : 8b28455d6da601582252674d3092845857b1d0cf
2016-10-17 12:17:39 -07:00
Hiroyuki Ikezoe a0f9171658 Bug 1310605 - Part 4: Drop gRecordPromiseResolvers. r=boris
MozReview-Commit-ID: 7CrVgGJQjRV

--HG--
extra : rebase_source : 789bb90aa4793fc58f0a4befcac72dc10784aff7
2016-10-18 18:45:35 +09:00
Hiroyuki Ikezoe fa753fd6ca Bug 1310605 - Part 3: Move test case for pseudo element that can be rewritten to synchronous test. r=boris
tree_ordering test can not be moved because the test waits for animationend
event.

createPseudo() were picked from
testing/web-platform/tests/web-animations/testcommon.js .

MozReview-Commit-ID: EZ2sGEgdMFM

--HG--
extra : rebase_source : 1ebf46dd91f42ba75f5711e781d72e77948e6150
2016-10-18 18:44:53 +09:00
Hiroyuki Ikezoe 9df35ab563 Bug 1310605 - Part 2: Move test cases for CSS animation that can be rewriten to synchronus test. r=boris.
All of cleaning up code were dropped. Also some trivial comments were dropped.

Note that test cases can not be rewritten to synchronous test.
* Waiting for events, e.g. transitionend.
 * single_transition
 * single_animation

* Manipulated by style, e.g. style.animationDuraton = "0.5s".
 * single_transition_cancelled_property
 * single_transition_cancelled_value
 * single_transition_cancelled_noninterpolable
 * single_transition_reversed
 * multiple_transitions
 * single_animation_cancelled_name
 * single_animation_cancelled_duration
 * single_animation_cancelled_delay
 * single_animation_cancelled_fill
 * single_animation_cancelled_iteration_count
 * single_animation_change_XXX
 * coalesce_change_cancel

* Falling into a pending state, e.g. play() or pause().
 * finish_from_pause
 * finish_from_pause_pending
 * play
 * play_filling_forwards
 * play_after_finish
 * pause
 * pause_while_pause_pending
 * aborted_pause

MozReview-Commit-ID: 5bTzO7GtEHF

--HG--
extra : rebase_source : 905f5144706e20c743030b4bcff428ef124abfff
2016-10-18 18:44:42 +09:00
Hiroyuki Ikezoe 5b264f1aac Bug 1310605 - Part 1: Rname test_observers_for_script_animation.html to test_observers_for_sync_api.html. r=boris
MozReview-Commit-ID: K9QJgcdcJu8

--HG--
rename : dom/animation/test/chrome/test_observers_for_script_animation.html => dom/animation/test/chrome/test_observers_for_sync_api.html
extra : rebase_source : 76a7e60e2a60eb307874c6c2b6765977c04405ce
2016-10-18 18:05:41 +09:00
Neil Deakin 9214951d19 Bug 1305362, skip disabled menuitems in menulists on all platforms, r=ksteuber 2016-10-17 11:56:34 -04:00
Ted Mielczarek e9130abab5 bug 1305731 - Revert workaround from bug 1301751 now that we have updated to Rust 1.12. r=froydnj
MozReview-Commit-ID: 3akbELExfKT

--HG--
extra : rebase_source : 0308214bae6eb683df65991fc91d41679acd3530
2016-10-17 10:47:30 -04:00
Aaron Klotz 22d38ae56d Bug 1308397: Fix stack overflow by ensuring that ProxyAccessible::GetCOMInterface uses its real MSAA ID to lazily resolve its COM proxy, instead of using CHILDID_SELF; r=tbsaunde
MozReview-Commit-ID: 20xdOlcCXed
2016-10-17 12:39:16 -06:00
Ehsan Akhgari ea467855d3 Bug 1310721 - Remove support for the b2g PAC generator; r=mcmanus
This effectively backs out bug 1115495.
2016-10-17 14:10:45 -04:00
Ehsan Akhgari c1d2c29601 Bug 1310094 - Part 2: Remove UserCustomizations.jsm; r=myk 2016-10-17 14:08:30 -04:00
Ehsan Akhgari 1c4461d57a Bug 1310094 - Part 1: Remove support for loading b2g extensions from AllocPRemoteOpenFileParent; r=mcmanus 2016-10-17 14:08:30 -04:00
Neil Deakin d7672f7711 Bug 1273371, don't use the searchbar for this test, instead use a separate textbox, r=gijs 2016-10-17 13:55:16 -04:00
J. Ryan Stinnett e9bd285a20 Bug 1296736 - Exit RDM when loading non-remote URLs. r=ochameau
MozReview-Commit-ID: 8GUZkq2fsZb
2016-10-17 12:57:19 -05:00
Ehsan Akhgari 4a51ebacfa Bug 1310378 - Remove support for mozwidget; r=baku 2016-10-17 13:15:36 -04:00
Ehsan Akhgari e2fdfd7548 Bug 1310366 - Remove support for app redirects; r=baku 2016-10-17 13:15:36 -04:00
Ehsan Akhgari 2680a1d8e9 Bug 1310097 - Remove MessageBroadcaster.jsm; r=myk 2016-10-17 13:15:36 -04:00
ffxbld bf78a6ebaf No bug, Automated blocklist update from host bld-linux64-spot-156 - a=blocklist-update 2016-10-17 06:25:26 -07:00