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

496808 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 0427462aa8 Bug 1308075 - Remove support for accessing the Cache API from app:// URLs and also for storing requests/responses with app:// URLs within it; r=bkelly
This is backing out bug 1243849.
2016-10-18 11:47:04 -04:00
Ehsan Akhgari c31db08864 Backout bug 1309867 for test failures 2016-10-18 11:35:07 -04:00
Jan de Mooij 6b23604d39 Bug 1309174 - Handle lazy self-hosted functions in optimization tracking debug spew. r=shu 2016-10-18 17:08:47 +02:00
Gijs Kruitbosch 8d23ab9355 Bug 1311043 - make eslint much more strict in browser/components/migration/, and fix issues, r=mikedeboer
MozReview-Commit-ID: RXO68w3Kv3

--HG--
extra : rebase_source : b25a1976f2be89f12c2ad14e649270bacd17d174
2016-10-18 16:03:06 +01:00
JW Wang 6325e94bc6 Bug 1311267 - DecodingFirstFrameState should override HandleDormant(). r=kikuo
MozReview-Commit-ID: LGcvRJF3cNC

--HG--
extra : rebase_source : 486f363e33756eaeea8336811fa4c9d3753da1b6
2016-10-19 14:25:42 +08:00
Luke Wagner b01eb31083 Bug 1311019 - Baldr: use currentOffset() instead of size() for current offset (r=bbouvier)
MozReview-Commit-ID: 9SSCWfua4zj

--HG--
extra : rebase_source : 03f822b7e4d1f3d2bf16666ea06e30dac3308772
2016-10-18 09:46:27 -05:00
Ehsan Akhgari 3c4317ab39 Bug 1307491 follow-up: Remove two remaining declarations of NS_IsAppOffline 2016-10-18 09:56:01 -04:00
Ehsan Akhgari e3186e29a7 Bug 1310910 - Remove ChromeNotifications; r=baku
This partially backs out bug 967475.
2016-10-18 09:41:56 -04:00
Ehsan Akhgari ee0b46b80e Bug 1310905 - Remove some b2g specific code from DOM notifications; r=baku 2016-10-18 09:41:35 -04:00
Ehsan Akhgari f13c011369 Bug 1310895 - Remove support for app default and manifest CSP enforcement; r=baku 2016-10-18 09:40:41 -04:00
Bill McCloskey 3697917fc4 Bug 1309867 - Part 2: Lazily create FontFace::mLoaded; r=heycam 2016-10-18 09:39:27 -04:00
Ehsan Akhgari 225c6de9ba Bug 1309867 - Part 1: Create FontFaceSet's ready promise lazily; r=heycam
This should help avoid calling into the JS engine in the middle of
painting.
2016-10-18 09:39:27 -04:00
Benjamin Smedberg 07b45aaa26 Fix merge conflict bustage for removed file from bug 1307445 part A.
MozReview-Commit-ID: LQ5tZclbtb6

--HG--
extra : rebase_source : 01447300d41eaa074cf11658ceb8f135c7aeb27e
2016-10-18 09:32:57 -04:00
Paul Yang 3d548216f0 Bug 1295093 - [mozharness] Allow excluding flavors when determining whether to use StructuredOutputParser, r=ahal
This refactors the mozharness configs such that a specific flavor of an overall suite can still use the old
DesktopUnittestOutputParser. This is necessary because mochitest-jetpack still does not use the structured
logger.

MozReview-Commit-ID: E8EpSLH4xt2

--HG--
extra : rebase_source : be18e3e4aa1f693b563a82b90fdda2f93201d9ee
2016-10-18 09:16:03 -04:00
ffxbld 74c5c967e1 No bug, Automated HPKP preload list update from host bld-linux64-spot-1050 - a=hpkp-update 2016-10-18 06:07:00 -07:00
ffxbld e0ebfa5961 No bug, Automated HSTS preload list update from host bld-linux64-spot-1050 - a=hsts-update 2016-10-18 06:06:58 -07:00
Andi-Bogdan Postelnicu b91bc4c721 Bug 1308868 - Add ignore-initialization-check annotation to time from RecentURIKey. r=adw
MozReview-Commit-ID: ZDCY7i19x5
2016-10-18 15:27:46 +03:00
Yoshi Huang 3e74d36035 Bug 1308938: skip check for about: pages. r=baku 2016-10-19 15:16:34 +08:00
Matthew Gregan b123dc8ba5 Bug 1308418 - Avoid double-constructing owned_critical_section via copy constructor. r=jya
This uplifts the upstream change 22557d466eceb6ff6ba70ae30d2dcd87648cde0b from
https://github.com/kinetiknz/cubeb as a standalone patch suitable for uplift.
2016-10-19 14:42:03 +13:00
Mason Chang cd84eadb22 Bug 1258751: Delete the CoreGraphics backend. r=mstange 2016-10-18 23:22:44 -04:00
Phil Ringnalda 8377010e6a Merge m-c to m-i
MozReview-Commit-ID: Ihd0iacfcIW

--HG--
rename : devtools/.eslintrc => devtools/.eslintrc.js
2016-10-18 19:45:02 -07:00
Kilik Kuo 4eecda6d84 Bug 1310958 - Reject promise with correct error in MediaKeySession::Load. r=cpearce
MozReview-Commit-ID: JuWGZCMfW6x

--HG--
extra : rebase_source : 59a9957cd3d37c0ef81cd6bc09f7b6eda3afac7b
2016-10-18 17:31:51 +08:00
Carsten "Tomcat" Book 5c08a87874 merge mozilla-inbound to mozilla-central a=merge 2016-10-18 10:38:37 +02:00
Carsten "Tomcat" Book 5cb0520667 merge fx-team to mozilla-central a=merge 2016-10-18 10:35:30 +02:00
Cameron McCormack 4378d41370 Bug 1310939 - Pass $(CARGOFLAGS) to cargo invocations so cargo flags can be passed from a .mozconfig file. r=froydnj
MozReview-Commit-ID: A5GNTzS0BTM

--HG--
extra : amend_source : 01749f41a239949510bbc1e90a3324c934cfe86a
2016-10-18 16:04:57 +08:00
Mats Palmgren 115e333d54 Bug 1302541 part 6 - [css-grid] Add more reftests for percentage track sizes and grid-gaps. 2016-10-19 04:20:49 +02:00
Mats Palmgren 2c24c06a3b Bug 1302541 part 5 - [css-grid] Back-compute percentages when calculating the number of auto-fill/fit tracks. r=dholbert 2016-10-19 04:20:48 +02:00
Mats Palmgren 5e3a5a5414 Bug 1302541 part 4 - [css-grid] Back-compute percentages for the intrinsic block size. r=dholbert 2016-10-19 04:20:48 +02:00
Mats Palmgren a0ff5cb15a Bug 1302541 part 3 - [css-grid] Back-compute percentages for the intrinsic inline size. r=dholbert 2016-10-19 04:20:48 +02:00
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