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

568710 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner c9b01d9a02 Bug 1415345 - Fix undefined variable in error message in FxAccountsStorageManager#getAccountData. r=markh
MozReview-Commit-ID: 4mCdPfKX5lz

--HG--
extra : rebase_source : 898771109c879f950d607273bc469734a9a0f99d
2017-11-07 23:00:26 +00:00
JW Wang 1e7878c69a Bug 1415069 - Add a member to ChannelMediaResource to remember seekability of the channel. r=bechen,gerald
So it doesn't need to call mCacheStream.IsTransportSeekable() which needs to
take the lock and might block the main thread.

MozReview-Commit-ID: 99QVcSxzjCz

--HG--
extra : rebase_source : be71b065ce0334987efbfb67a5cf010ab0373d80
extra : source : 2de3f0baf1475e8ae3228a33cf4cf139cf923c37
2017-11-07 14:26:10 +08:00
JW Wang c51610e0e4 Bug 1415766. P2 - move Seek() to private and tighten up some assertions. r=bechen,gerald
MozReview-Commit-ID: BBsXqKUrOi1

--HG--
extra : rebase_source : 1b785f50254ba824037b983896fc40e91eff801a
extra : intermediate-source : 6971ed66e78c4e1956bf0e382a04c1c8816dbaf8
extra : source : 6590c3f4691e9730858689839a5eb7b7143ceafb
2017-11-02 14:46:24 +08:00
JW Wang cd5164d38d Bug 1415766. P1 - we never pass anything other than NS_SEEK_SET to Seek(). r=bechen,gerald
MozReview-Commit-ID: AgvapCwwSpr

--HG--
extra : rebase_source : 2ba05b44f228c3d9a9440202c024abbd5487282f
extra : intermediate-source : f2ec0fec7c544171e7567beed322349dfb8e59a8
extra : source : 8e34a87b250f800897a761d2ccd408959007d02b
2017-11-02 14:26:24 +08:00
JW Wang f53f02fb3e Bug 1415397 - use Span<> to replace low level pointer arithmetic in ReadFromCache(). r=bechen,gerald
MozReview-Commit-ID: HH6KXtMfSIJ

--HG--
extra : rebase_source : a6fe803e3e89a0f89c225e2415a233a945a6a716
extra : intermediate-source : 8c37409d77f675c89fd9b2fb276aa80c57d4eb7f
extra : source : 1f0e76b45b7d89bcc10d59e302fe4b08e87cc96c
2017-11-02 11:36:56 +08:00
Emilio Cobos Álvarez ecc1a99b7d servo: Merge #19139 - style: Get rid of parse_specified (from emilio:bye-parse-specified); r=jdm
It has a single use, and I don't think we should use it in the future.

Source-Repo: https://github.com/servo/servo
Source-Revision: 4a2103b9e600a3b372d2770669b3f9f597d1e4b3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1eeb00ce680cf49ce752a0d8c8ed5fc8fad2d0df
2017-11-07 23:44:17 -06:00
Makoto Kato 5edeee8f72 Bug 1414581 - Part 2. Add crashtest. r=masayuki
MozReview-Commit-ID: 3H4DSubkt0q

--HG--
extra : rebase_source : e34e609f0056398f799dc6dbdf769cca89a412df
2017-11-06 17:06:09 +09:00
Makoto Kato 44e777349b Bug 1414581 - Part 1. Require more nullptr check of parent node. r=masayuki
Bug 1402904 added nullptr check for parent node, but I forgot to add this
nullptr check of selected node for outdent command.
So I need to add more nullptr check.

MozReview-Commit-ID: Au9wrG6htk8

--HG--
extra : rebase_source : bd73b1b667b6dc869ebcea3fdfbe1eb3b04a8cde
2017-11-06 17:05:37 +09:00
Sylvestre Ledru 79a24b6820 Bug 1414631 - Remove the Chromium Process class r=jld
MozReview-Commit-ID: B5NmJPQhGYm

--HG--
extra : rebase_source : 686a0877def17a2d79b33f912f20ccbd7228a4cf
2017-11-07 14:57:23 +01:00
Alfredo.Yang 6816c396dc Bug 1393045 - support QT AudioSampleEntry v2. r=kinetik
MozReview-Commit-ID: GchJJBrdKYm

--HG--
extra : rebase_source : a74d0c4a944802e1905c6e16d052d2675322fc3e
2017-11-08 09:21:58 +08:00
JW Wang f9f14101f3 Bug 1415397 - use Span<> to replace low level pointer arithmetic in ReadFromCache(). r=bechen,gerald
MozReview-Commit-ID: HH6KXtMfSIJ

--HG--
extra : rebase_source : 4d08fa14e2e218ad3e6b45ef240f3ced75321bd4
extra : intermediate-source : 6c2577bd71024ad031a86836c9c604bfef726b5a
extra : source : 1f0e76b45b7d89bcc10d59e302fe4b08e87cc96c
2017-11-02 11:36:56 +08:00
James Cheng 6b5c220e19 Bug 1413427 - Part5 - Fix cross origin test failure. r=bz,jgraham
Bug 1322517 will make the EME APIs only run on secure context.
This bug will try to make WPT test run with https.
According to the spec https://www.w3.org/TR/secure-contexts/#is-url-trustworthy
I got "TypeError: navigator.requestMediaKeySystemAccess is not a function" by the original code.
So I need this patch to make the test work as expected.

MozReview-Commit-ID: Gp23IcscXHE

--HG--
extra : rebase_source : bf6a56c86666338d735f42cdbd137febaceacfd0
2017-11-03 17:57:52 +08:00
James Cheng 224e4a9994 Bug 1413427 - Part4 - Rename the content of the .ini file and update the MANIFEST.JSON files by command. r=jgraham
MozReview-Commit-ID: It2X2FG8iS1

--HG--
extra : rebase_source : 7da135684d30a427363f42ab45ef13f8f9db1906
2017-11-03 21:17:29 +08:00
James Cheng 5e84e11e0a Bug 1413427 - Part3 - Change the file extension from .html.ini to .https.html.ini. r=jgraham
MozReview-Commit-ID: LnJkmoyTYX5

--HG--
rename : testing/web-platform/meta/encrypted-media/clearkey-events-session-closed-event.html.ini => testing/web-platform/meta/encrypted-media/clearkey-events-session-closed-event.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-destroy-persistent-license.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-destroy-persistent-license.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-persistent-license-events.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-persistent-license-events.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-persistent-license.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-persistent-license.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-persistent-usage-record-events.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-persistent-usage-record-events.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-persistent-usage-record.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-persistent-usage-record.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-retrieve-destroy-persistent-license.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-retrieve-destroy-persistent-license.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-retrieve-persistent-license.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-retrieve-persistent-license.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-retrieve-persistent-usage-record.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-retrieve-persistent-usage-record.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-clear-encrypted.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-clear-encrypted.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear-sources.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear-sources.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-events.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-events.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-multikey-sequential-readyState.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-multikey-sequential-readyState.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-multikey.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-multikey.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-multisession.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-multisession.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-src.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-src.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-update.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-update.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-immediately.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-immediately.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-onencrypted.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-onencrypted.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-two-videos.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-two-videos.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-waitingforkey.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary-waitingforkey.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-playback-temporary.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-requestmediakeysystemaccess.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-requestmediakeysystemaccess.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-reset-src-after-setmediakeys.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-reset-src-after-setmediakeys.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-setmediakeys-again-after-resetting-src.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-setmediakeys-again-after-resetting-src.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-setmediakeys-multiple-times-with-different-mediakeys.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-setmediakeys-multiple-times-with-different-mediakeys.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-setmediakeys-multiple-times-with-the-same-mediakeys.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-setmediakeys-multiple-times-with-the-same-mediakeys.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-syntax-mediakeys.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-syntax-mediakeys.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-syntax-mediakeysystemaccess.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-syntax-mediakeysystemaccess.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-unique-origin.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-unique-origin.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-mp4-waiting-for-a-key.html.ini => testing/web-platform/meta/encrypted-media/clearkey-mp4-waiting-for-a-key.https.html.ini
rename : testing/web-platform/meta/encrypted-media/clearkey-update-non-ascii-input.html.ini => testing/web-platform/meta/encrypted-media/clearkey-update-non-ascii-input.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-check-initdata-type.html.ini => testing/web-platform/meta/encrypted-media/drm-check-initdata-type.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-events-session-closed-event.html.ini => testing/web-platform/meta/encrypted-media/drm-events-session-closed-event.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-events.html.ini => testing/web-platform/meta/encrypted-media/drm-events.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-expiration.html.ini => testing/web-platform/meta/encrypted-media/drm-expiration.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-generate-request-disallowed-input.html.ini => testing/web-platform/meta/encrypted-media/drm-generate-request-disallowed-input.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-invalid-license.html.ini => testing/web-platform/meta/encrypted-media/drm-invalid-license.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-keystatuses-multiple-sessions.html.ini => testing/web-platform/meta/encrypted-media/drm-keystatuses-multiple-sessions.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-keystatuses.html.ini => testing/web-platform/meta/encrypted-media/drm-keystatuses.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-onencrypted.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-onencrypted.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-destroy-persistent-license.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-destroy-persistent-license.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-persistent-license-events.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-persistent-license-events.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-persistent-license.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-persistent-license.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-persistent-usage-record-events.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-persistent-usage-record-events.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-persistent-usage-record.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-persistent-usage-record.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-retrieve-destroy-persistent-license.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-retrieve-destroy-persistent-license.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-retrieve-persistent-license.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-retrieve-persistent-license.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-retrieve-persistent-usage-record.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-retrieve-persistent-usage-record.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-clear-encrypted.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-clear-encrypted.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-encrypted-clear-sources.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-encrypted-clear-sources.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-encrypted-clear.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-encrypted-clear.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-events.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-events.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-expired.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-expired.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-multikey-sequential-readyState.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-multikey-sequential-readyState.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-multikey-sequential.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-multikey-sequential.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-multikey.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-multikey.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-multisession.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-multisession.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-after-src.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-after-src.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-after-update.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-after-update.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-immediately.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-immediately.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-onencrypted.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-onencrypted.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-two-videos.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-two-videos.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-waitingforkey.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary-waitingforkey.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-playback-temporary.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-requestmediakeysystemaccess.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-requestmediakeysystemaccess.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-reset-src-after-setmediakeys.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-reset-src-after-setmediakeys.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-setmediakeys-again-after-playback.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-setmediakeys-again-after-playback.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-setmediakeys-again-after-resetting-src.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-setmediakeys-again-after-resetting-src.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-setmediakeys-at-same-time.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-setmediakeys-at-same-time.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-setmediakeys-multiple-times-with-different-mediakeys.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-setmediakeys-multiple-times-with-different-mediakeys.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-setmediakeys-multiple-times-with-the-same-mediakeys.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-setmediakeys-multiple-times-with-the-same-mediakeys.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-setmediakeys-to-multiple-video-elements.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-setmediakeys-to-multiple-video-elements.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-setmediakeys.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-setmediakeys.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-syntax-mediakeys.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-syntax-mediakeys.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-syntax-mediakeysession.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-syntax-mediakeysession.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-syntax-mediakeysystemaccess.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-syntax-mediakeysystemaccess.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-unique-origin.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-unique-origin.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-mp4-waiting-for-a-key.html.ini => testing/web-platform/meta/encrypted-media/drm-mp4-waiting-for-a-key.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-not-callable-after-createsession.html.ini => testing/web-platform/meta/encrypted-media/drm-not-callable-after-createsession.https.html.ini
rename : testing/web-platform/meta/encrypted-media/drm-temporary-license-type.html.ini => testing/web-platform/meta/encrypted-media/drm-temporary-license-type.https.html.ini
extra : rebase_source : 70b9c941616bb4ec410b7bc994701723d539a5c6
2017-11-03 21:20:25 +08:00
James Cheng 5dc11fd42c Bug 1413427 - Part2 - Change the file extension from .html to .https.html. r=jgraham
MozReview-Commit-ID: IfLOOM85WyL

--HG--
rename : testing/web-platform/tests/encrypted-media/clearkey-check-initdata-type.html => testing/web-platform/tests/encrypted-media/clearkey-check-initdata-type.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-events-session-closed-event.html => testing/web-platform/tests/encrypted-media/clearkey-events-session-closed-event.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-events.html => testing/web-platform/tests/encrypted-media/clearkey-events.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-generate-request-disallowed-input.html => testing/web-platform/tests/encrypted-media/clearkey-generate-request-disallowed-input.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-invalid-license.html => testing/web-platform/tests/encrypted-media/clearkey-invalid-license.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-keystatuses-multiple-sessions.html => testing/web-platform/tests/encrypted-media/clearkey-keystatuses-multiple-sessions.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-keystatuses.html => testing/web-platform/tests/encrypted-media/clearkey-keystatuses.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-destroy-persistent-license.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-destroy-persistent-license.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-persistent-license-events.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-persistent-license-events.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-persistent-license.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-persistent-license.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-persistent-usage-record-events.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-persistent-usage-record-events.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-persistent-usage-record.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-persistent-usage-record.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-retrieve-destroy-persistent-license.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-retrieve-destroy-persistent-license.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-retrieve-persistent-license.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-retrieve-persistent-license.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-retrieve-persistent-usage-record.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-retrieve-persistent-usage-record.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-clear-encrypted.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-clear-encrypted.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear-sources.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear-sources.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-encrypted-clear.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-events.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-events.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-sequential-readyState.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-sequential-readyState.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-sequential.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-multikey-sequential.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-multikey.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-multikey.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-multisession.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-multisession.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-src.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-src.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-update.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-update.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-immediately.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-immediately.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-onencrypted.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-onencrypted.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-two-videos.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-two-videos.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-waitingforkey.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary-waitingforkey.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-playback-temporary.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-requestmediakeysystemaccess.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-requestmediakeysystemaccess.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-reset-src-after-setmediakeys.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-reset-src-after-setmediakeys.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-setmediakeys-again-after-playback.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-setmediakeys-again-after-playback.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-setmediakeys-again-after-resetting-src.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-setmediakeys-again-after-resetting-src.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-setmediakeys-at-same-time.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-setmediakeys-at-same-time.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-setmediakeys-multiple-times-with-different-mediakeys.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-setmediakeys-multiple-times-with-different-mediakeys.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-setmediakeys-multiple-times-with-the-same-mediakeys.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-setmediakeys-multiple-times-with-the-same-mediakeys.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-setmediakeys-to-multiple-video-elements.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-setmediakeys-to-multiple-video-elements.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-setmediakeys.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-setmediakeys.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-syntax-mediakeys.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-syntax-mediakeys.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-syntax-mediakeysession.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-syntax-mediakeysession.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-syntax-mediakeysystemaccess.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-syntax-mediakeysystemaccess.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-unique-origin.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-unique-origin.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-update-disallowed-input.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-update-disallowed-input.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-mp4-waiting-for-a-key.html => testing/web-platform/tests/encrypted-media/clearkey-mp4-waiting-for-a-key.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-not-callable-after-createsession.html => testing/web-platform/tests/encrypted-media/clearkey-not-callable-after-createsession.https.html
rename : testing/web-platform/tests/encrypted-media/clearkey-update-non-ascii-input.html => testing/web-platform/tests/encrypted-media/clearkey-update-non-ascii-input.https.html
rename : testing/web-platform/tests/encrypted-media/drm-check-initdata-type.html => testing/web-platform/tests/encrypted-media/drm-check-initdata-type.https.html
rename : testing/web-platform/tests/encrypted-media/drm-events-session-closed-event.html => testing/web-platform/tests/encrypted-media/drm-events-session-closed-event.https.html
rename : testing/web-platform/tests/encrypted-media/drm-events.html => testing/web-platform/tests/encrypted-media/drm-events.https.html
rename : testing/web-platform/tests/encrypted-media/drm-expiration.html => testing/web-platform/tests/encrypted-media/drm-expiration.https.html
rename : testing/web-platform/tests/encrypted-media/drm-generate-request-disallowed-input.html => testing/web-platform/tests/encrypted-media/drm-generate-request-disallowed-input.https.html
rename : testing/web-platform/tests/encrypted-media/drm-invalid-license.html => testing/web-platform/tests/encrypted-media/drm-invalid-license.https.html
rename : testing/web-platform/tests/encrypted-media/drm-keystatuses-multiple-sessions.html => testing/web-platform/tests/encrypted-media/drm-keystatuses-multiple-sessions.https.html
rename : testing/web-platform/tests/encrypted-media/drm-keystatuses.html => testing/web-platform/tests/encrypted-media/drm-keystatuses.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-onencrypted.html => testing/web-platform/tests/encrypted-media/drm-mp4-onencrypted.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-destroy-persistent-license.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-destroy-persistent-license.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-persistent-license-events.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-persistent-license-events.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-persistent-license.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-persistent-license.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-persistent-usage-record-events.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-persistent-usage-record-events.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-persistent-usage-record.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-persistent-usage-record.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-retrieve-destroy-persistent-license.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-retrieve-destroy-persistent-license.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-retrieve-persistent-license.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-retrieve-persistent-license.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-retrieve-persistent-usage-record.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-retrieve-persistent-usage-record.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-clear-encrypted.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-clear-encrypted.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-encrypted-clear-sources.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-encrypted-clear-sources.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-encrypted-clear.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-encrypted-clear.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-events.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-events.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-expired.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-expired.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-multikey-sequential-readyState.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-multikey-sequential-readyState.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-multikey-sequential.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-multikey-sequential.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-multikey.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-multikey.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-multisession.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-multisession.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-after-src.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-after-src.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-after-update.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-after-update.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-immediately.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-immediately.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-onencrypted.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-setMediaKeys-onencrypted.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-two-videos.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-two-videos.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-waitingforkey.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary-waitingforkey.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary.html => testing/web-platform/tests/encrypted-media/drm-mp4-playback-temporary.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-requestmediakeysystemaccess.html => testing/web-platform/tests/encrypted-media/drm-mp4-requestmediakeysystemaccess.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-reset-src-after-setmediakeys.html => testing/web-platform/tests/encrypted-media/drm-mp4-reset-src-after-setmediakeys.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-setmediakeys-again-after-playback.html => testing/web-platform/tests/encrypted-media/drm-mp4-setmediakeys-again-after-playback.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-setmediakeys-again-after-resetting-src.html => testing/web-platform/tests/encrypted-media/drm-mp4-setmediakeys-again-after-resetting-src.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-setmediakeys-at-same-time.html => testing/web-platform/tests/encrypted-media/drm-mp4-setmediakeys-at-same-time.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-setmediakeys-multiple-times-with-different-mediakeys.html => testing/web-platform/tests/encrypted-media/drm-mp4-setmediakeys-multiple-times-with-different-mediakeys.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-setmediakeys-multiple-times-with-the-same-mediakeys.html => testing/web-platform/tests/encrypted-media/drm-mp4-setmediakeys-multiple-times-with-the-same-mediakeys.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-setmediakeys-to-multiple-video-elements.html => testing/web-platform/tests/encrypted-media/drm-mp4-setmediakeys-to-multiple-video-elements.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-setmediakeys.html => testing/web-platform/tests/encrypted-media/drm-mp4-setmediakeys.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-syntax-mediakeys.html => testing/web-platform/tests/encrypted-media/drm-mp4-syntax-mediakeys.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-syntax-mediakeysession.html => testing/web-platform/tests/encrypted-media/drm-mp4-syntax-mediakeysession.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-syntax-mediakeysystemaccess.html => testing/web-platform/tests/encrypted-media/drm-mp4-syntax-mediakeysystemaccess.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-unique-origin.html => testing/web-platform/tests/encrypted-media/drm-mp4-unique-origin.https.html
rename : testing/web-platform/tests/encrypted-media/drm-mp4-waiting-for-a-key.html => testing/web-platform/tests/encrypted-media/drm-mp4-waiting-for-a-key.https.html
rename : testing/web-platform/tests/encrypted-media/drm-not-callable-after-createsession.html => testing/web-platform/tests/encrypted-media/drm-not-callable-after-createsession.https.html
rename : testing/web-platform/tests/encrypted-media/drm-temporary-license-type.html => testing/web-platform/tests/encrypted-media/drm-temporary-license-type.https.html
rename : testing/web-platform/tests/encrypted-media/idlharness.html => testing/web-platform/tests/encrypted-media/idlharness.https.html
extra : rebase_source : f8b66673938fd23c98e36e275dba609c6b670deb
2017-11-03 21:23:35 +08:00
James Cheng 0b728954aa Bug 1413427 - Part1 - Make Mochitest runs EME with https. r=cpearce,kikuo
MozReview-Commit-ID: 8EfJTXdQkZG

--HG--
extra : rebase_source : 74999a928db7651e370fc44a551b723c401ef9f5
2017-11-03 12:30:58 +08:00
Mike Hommey e68ddaa1c2 Bug 1415454 - Replace log2 lookup table with FloorLog2. r=njn
FloorLog2 expands to, essentially, a compiler builtin/intrinsic, that,
in turn, expands to a single machine instruction on tier 1 and other
platforms. On platforms where that's not the case, we can expect the
compiler to generate fast code anyways. So overall, this is all better
than manually using a log2 lookup table.

Also replace a manual power-of-two check with mozilla::IsPowerOfTwo,
which does the same test.

--HG--
extra : rebase_source : e8164c254723c74ef83e798073327ec6afa6f1fb
2017-11-08 16:20:40 +09:00
Mike Hommey 3a2a081a07 Bug 1415454 - Remove the unused arena_bin_t* argument to arena_t::AllocRun. r=njn
--HG--
extra : rebase_source : 6c01dad41bc348237f1ee099bc4bd8138738dfde
2017-11-03 15:54:20 +09:00
Mike Hommey 2b7e3e93bd Bug 1415454 - Inline MallocBinEasy and MallocBinHard. r=njn
They are both only used once, are trivial wrappers, and even repeat the
same assertions.

--HG--
extra : rebase_source : b40b26e303cb69a451e63937efd8a666053954e5
2017-11-03 15:48:40 +09:00
steveck-chung 6153bf3f6c Bug 1403881 - Add credit card update doorhanger. r=lchang
MozReview-Commit-ID: BUd70UyLC9c

--HG--
extra : rebase_source : 1f7fccbfcafc13282b180c2f8ed01317d43fc36e
2017-11-07 16:50:35 +08:00
Mike Hommey 80c65dc086 Bug 1414168 - Rename arena_run_t fields. r=njn
--HG--
extra : rebase_source : 2d80b0a7e3634a84f8b7b6dd229d6cd42d59d290
2017-11-03 15:23:44 +09:00
Mike Hommey b6fb21eb81 Bug 1414168 - Move bin initialization to a method of the arena_bin_t class. r=njn
--HG--
extra : rebase_source : f21ff1f44bf8b47185b08652f10d9b77e29dcd64
2017-11-08 15:53:24 +09:00
Mike Hommey 2489970e52 Bug 1414168 - Change how run sizes are calculated. r=njn
There are multiple flaws to the current code:
- The loop calculating the right parameters for a given run size is
  repeated.
- The loop trying different run sizes doesn't actually work to fulfil
  the overhead constraint: while it stops when the constraint is
  fulfilled, the values that are kept are those from the previous
  iteration, which may well be well over the constraint.

In practice, the latter resulted in a few surprising results:
- most size classes had an overhead slightly over the constraint
  (1.562%), which, while not terribly bad, doesn't match the set
  expectations.
- some size classes ended up with relatively good overheads only because
  of the additional constraint that run sizes had to be larger than the
  run size of smaller size classes. Without this constraint, some size
  classes would end up with overheads well over 2% just because that
  happens to be the last overhead value before reaching below the 1.5%
  constraint.

Furthermore, for higher-level fragmentation concerns, smaller run sizes
are better than larger run sizes, and in many cases, smaller run sizes
can yield the same (or even sometimes, better) overhead as larger run
sizes. For example, the current code choses 8KiB for runs of size 112,
but using 4KiB runs would actually yield the same number of regions, and
the same overhead.

We thus change the calculation to:
- not force runs to be smaller than those of smaller classes.
- avoid the code repetition.
- actually enforce its overhead constraint, but make it 1.6%.
- for especially small size classes, relax the overhead constraint to
  2.4%.

This leads to an uneven set of run sizes:
 size class    before   after
   4            4 KiB    4 KiB
   8            4 KiB    4 KiB
   16           4 KiB    4 KiB
   32           4 KiB    4 KiB
   48           4 KiB    4 KiB
   64           4 KiB    4 KiB
   80           4 KiB    4 KiB
   96           4 KiB    4 KiB
   112          8 KiB    4 KiB
   128          8 KiB    8 KiB
   144          8 KiB    4 KiB
   160          8 KiB    8 KiB
   176          8 KiB    4 KiB
   192         12 KiB    4 KiB
   208         12 KiB    8 KiB
   224         12 KiB    4 KiB
   240         12 KiB    4 KiB
   256         16 KiB   16 KiB
   272         16 KiB    4 KiB
   288         16 KiB    4 KiB
   304         16 KiB   12 KiB
   320         20 KiB   12 KiB
   336         20 KiB    4 KiB
   352         20 KiB    8 KiB
   368         20 KiB    4 KiB
   384         24 KiB    8 KiB
   400         24 KiB   20 KiB
   416         24 KiB   16 KiB
   432         24 KiB   12 KiB
   448         28 KiB    4 KiB
   464         28 KiB   16 KiB
   480         28 KiB    8 KiB
   496         28 KiB   20 KiB
   512         32 KiB   32 KiB
   1024        64 KiB   64 KiB
   2048       132 KiB  128 KiB

* Note: before is before this change only, not before the set of changes
  from this bug; before that, the run size for 96 could be 8 KiB in some
  configurations.

In most cases, the overhead hasn't changed, with a few exceptions:
- Improvements:
 size class   before   after
   208         1.823%   0.977%
   304         1.660%   1.042%
   320         1.562%   1.042%
   400         0.716%   0.391%
   464         1.283%   0.879%
   480         1.228%   0.391%
   496         1.395%   0.703%
- Regressions:
   352         0.312%   1.172%
   416         0.130%   0.977%
   2048        1.515%   1.562%

For the regressions, the values are either still well within the
constraint or very close to the previous value, that I don't feel like
it's worth trying to avoid them, with the risk of making things worse
for other size classes.

--HG--
extra : rebase_source : fdff18df8a0a35c24162313d4adb1a1c24fb6e82
2017-11-08 14:04:10 +09:00
Mike Hommey 16459608dd Bug 1414168 - Base run offset calculations on the fixed header size, excluding regs_mask. r=njn
On 64-bit platforms, sizeof(arena_run_t) includes a padding at the end
of the struct to align to 64-bit, since the last field, regs_mask, is
32-bit, and its offset can be a multiple of 64-bit depending on the
configuration. But we're doing size calculations for a dynamically-sized
regs_mask based on sizeof(arena_run_t), completely ignoring that
padding.

Instead, we use the offset of regs_mask as a base for the calculation.

Practically speaking, this doesn't change much with the current set of
values, but could affect the overheads when we squeeze run sizes more.

--HG--
extra : rebase_source : a3bdf10a507b81aa0b2b437031b884e18499dc8f
2017-11-08 10:08:37 +09:00
Mike Hommey f3daece337 Bug 1414168 - Avoid padding near the beginning of arena_run_t. r=njn
This makes the run header larger than necessary, which happens to make
the current arena_bin_run_calc_size pick 8KiB runs for size class 96
when MOZ_DIAGNOSTIC_ASSERT_ENABLED is set. This change makes it pick
4KiB runs, making MOZ_DIAGNOSTIC_ASSERT_ENABLED builds use the same set
of run sizes as non-MOZ_DIAGNOSTIC_ASSERT_ENABLED builds.

--HG--
extra : rebase_source : fd7ef2d58ec601186647799e9dcf8146e723241c
2017-11-08 09:56:08 +09:00
Mike Hommey 87faa92489 Bug 1414168 - Change and move the relaxed calculation rule for small size classes. r=njn
First and foremost, the code and corresponding comment weren't in
agreement on what's going on.

The code checks:
  RUN_MAX_OVRHD * (bin->mSizeClass << 3) <= RUN_MAX_OVRHD_RELAX
which is equivalent to:
  (bin->mSizeClass << 3) <= RUN_MAX_OVRHD_RELAX / RUN_MAX_OVRHD
replacing constants:
  (bin->mSizeClass << 3) <= 0x1800 / 0x3d

The left hand side is just bin->mSizeClass * 8, and the right hand side
is about 100, so this can be roughly summarized as:
  bin->mSizeClass <= 12

The comment says the overhead constraint is relaxed for runs with a
per-region overhead greater than RUN_MAX_OVRHD / (mSizeClass << (3+RUN_BFP)).
Which, on itself, doesn't make sense, because it translates to
61 / (mSizeClass * 32768), which, even for a size class of 1 would mean
less than 0.2%, and this value would be even smaller for bigger classes.
The comment would make more sense with RUN_MAX_OVRHD_RELAX, but would
still not match what the code was doing.

So we change how the relaxed rule works, as per the comment in the new
code, and make it happen after the standard run overhead constraint has
been checked.

--HG--
extra : rebase_source : cec35b5bfec416761fbfbcffdc2b39f0098af849
2017-11-07 14:36:07 +09:00
Mike Hommey 1117bc02f4 Bug 1414168 - Demystify the last test in the main arena_bin_run_size_calc loop. r=njn
The description above the RUN_* constant definitions talks about binary
fixed point math, which is one way to look at the problem, but a clearer
one is to look at it as comparing ratios in a way that doesn't use
divisions.

So, starting from the current expression:
  (try_reg0_offset << RUN_BFP) <= RUN_MAX_OVRHD * try_run_size

This can be rewritten as
  try_reg0_offset * (1 << RUN_BFP) <= RUN_MAX_OVRHD * try_run_size

Dividing both sides with ((1 << RUN_BFP) * try_run_size), and
simplifying, gives us:
  try_reg0_offset / try_run_size <= RUN_MAX_OVRHD / (1 << RUN_BFP)

Replacing the constants:
  try_reg0_offset / try_run_size <= 0x3d / (1 << 12)
or
  try_reg0_offset / try_run_size <= 61 / 4096

61 / 4096 is roughly 1.5%.

So what the check really intends to do is check that the overhead is
below 1.5%.

So we introduce a helper class and a user-defined literal that makes the
test more self-descriptive, while producing identical machine code.

This is a lot of code to add, but I think it's one of those cases where
abstraction can help make the code clearer.

--HG--
extra : rebase_source : 3d4a94f524a60e40ba75859c4f761f59d689e81a
2017-11-07 08:55:37 +09:00
Mike Hommey 1329eac959 Bug 1414168 - Split the condition for the main arena_bin_run_size_calc loop into pieces. r=njn
This is, practically speaking, a no-op, and will hopefully help make the
following changes clearer.

--HG--
extra : rebase_source : b704bdf2ae46c2408e0061363822b9744ef449cb
2017-11-07 07:42:21 +09:00
Edouard Oger 1acd495e05 Bug 1415707 - Remove about:accounts redirector. r=markh
MozReview-Commit-ID: JslMt32G1AS

--HG--
extra : rebase_source : 59a2d59cdea94252e72c6a3efe3a3666d95e61c6
2017-11-08 18:23:55 -05:00
Kartikaya Gupta 8a6d61d886 Bug 1415225 - Add a couple of mochitests for event-regions overrides. r=botond
These two tests exercise the codepaths where an event regions override
is set on (a) the root layer of a layer tree and (b) on an in-process
subdocument. I verified that case (b) was failing with webrender enabled
without the patchset and passes now.

MozReview-Commit-ID: GMwk5iQstj

--HG--
extra : rebase_source : c80c4a890ac37ed691310e541ac1347deb21090f
2017-11-08 20:47:19 -05:00
Kartikaya Gupta be01b429eb Bug 1415225 - Small early-exit optimization. r=botond
MozReview-Commit-ID: 8h1kYevQUtT

--HG--
extra : rebase_source : 8d529c1f48d6655e2b90d12ddb9e8c7845bded6f
2017-11-08 20:47:19 -05:00
Kartikaya Gupta f07bd076ed Bug 1415225 - Move the EventRegionsOverride field to be on RefLayers only. r=botond
We now set EventRegionsOverride flags on ref layers only, so
there's no need to have the APIs to set it on container layers in
general.

MozReview-Commit-ID: EX57VvaZv8A

--HG--
extra : rebase_source : 7ea4c8bb2716821bf7069158fdf9729fb6137a35
2017-11-08 20:47:19 -05:00
Kartikaya Gupta 536af04afe Bug 1415225 - Stop setting the EventRegionsOverride flag on root layers. r=botond,mattwoodrow
As with the previous patch, instead of setting the override on the root
layer, we set the flag on the nsDisplayListBuilder before building the
display list, and the flag automatically forces all event regions
display items to use their dispatch-to-content region instead of any
other regions.

Both the WebRender and non-WebRender codepaths were setting the override
flag on their root layers and don't need to any more.

MozReview-Commit-ID: KQV3w2nvlgs

--HG--
extra : rebase_source : 5be30af2d928117519296ec238eac91139986531
2017-11-08 20:47:18 -05:00
Kartikaya Gupta 0e18ce302a Bug 1415225 - Stop setting the EventRegionsOverride flag on in-process subdocument layers. r=botond
The mechanics of this change is fairly straightforward - instead of setting the
override on the layer corresponding to the in-process subdocument, we just set
the flag on the display list builder; that flag is already checked when building
the layer event regions for descendant nsIFrames.

As a side-effect, we also don't need to force a layer for in-process subdocuments
just because they have document-level APZ-aware listeners. One of reasons we were
doing so before was so that we would have a layer to stash the override flags on
but now we don't need that any more.

Note that out-of-process subdocuments are not affected; for those cases
the nsSubDocumentFrame delegates BuildDisplayList to
RenderFrameParent/nsDisplayRemote, which will still set the overrides on
the RefLayer that is created.

MozReview-Commit-ID: GTy9BmVVZ9q

--HG--
extra : rebase_source : be321091d6b5fe4b66738f2deeffbcfa6af0b521
2017-11-08 20:47:18 -05:00
Kartikaya Gupta 7b31712d93 Bug 1415225 - Remove dead code. r=jrmuizel
This code has been unused since the removal of layers-full WR codepaths.

MozReview-Commit-ID: EAhRrZXLKKr

--HG--
extra : rebase_source : c33f915461c724c61b11804a9cecb960728fd6df
2017-11-08 20:47:18 -05:00
James Cheng 66e09cf477 Bug 1413480 - Check mCDM in ChromiumCDMChild::RecvXXX before dereferencing it. r=cpearce,kikuo
MozReview-Commit-ID: Dp4FOtZ8Yok

--HG--
extra : rebase_source : d22a854a9b883d008357ba6bbe5337f8eaf9fe8b
2017-11-08 15:44:34 +08:00
J. Ryan Stinnett f88990e5d9 Bug 1394841 - Test WebExt messaging with RDM. r=kmag,ochameau
This test verifies that WebExt messaging works as expected for both the
background page scripts and content scripts when RDM is used.

MozReview-Commit-ID: 3fODg3nYLr7

--HG--
extra : rebase_source : ad0051f6c377f15dbe27cf6cac5c3fd07af6fac7
2017-11-01 17:40:16 -05:00
J. Ryan Stinnett 0b32106c92 Bug 1394841 - Add WebExt messaging to RDM tunnel. r=ochameau
WebExt messaging sends several new message types to content that should be
tunneled by RDM.

This change allows them to reach content as expected in RDM mode.

MozReview-Commit-ID: GKelgOGBUKI

--HG--
extra : rebase_source : 77288fc586efbaeb9b4c344a291c7c5f815e1a15
2017-11-01 17:36:58 -05:00
J. Ryan Stinnett 2e1f988e96 Bug 1394841 - Check iframes for related tabs in WebExt. r=kmag
When using WebExt messaging with Responsive Design Mode, message manager
messages traveling from content to parent such as "MessageChannel:Messages" are
received with `event.target` set to the <iframe mozbrowser> inside RDM that
hosts the content.

Here we change `getSender` processing for messages like this to also check HTML
iframes for related tabs, in addition to XUL elements as before.

MozReview-Commit-ID: 3qphe2W8jHM

--HG--
extra : rebase_source : 4b9f3bc930a57bda847cede0217af29d1692d852
2017-11-01 17:19:19 -05:00
Andrew McCreight e93350bfee Bug 1414441 - Stop caching an XPConnect pointer in storage/. r=mak
Services.h has a built in cache now

MozReview-Commit-ID: 362qIrzf13F

--HG--
extra : rebase_source : f7fc218fc02d6ec6aa4b0d9479d2b972780389ec
2017-11-03 15:50:29 -07:00
Jared Wein 09cd077245 Bug 1413522 - Use HiDPI icons on Windows for the toolkit warning and question icons, and lower the size of the icons on OSX so the HiDPI versions are not shown blurry. r=nhnt11
MozReview-Commit-ID: 8u3zxE9HiSx

--HG--
extra : rebase_source : 1ec2263fc97831e2d314ed7b6ab98ecfe8ebcb9a
2017-11-02 12:11:42 -04:00
Sylvestre Ledru 90533210dc Bug 1415845 - Enable two more clang-tidy checkers: misc-unused-using-decls & misc-argument-comment r=andi
MozReview-Commit-ID: CXjGaqIdHan

--HG--
extra : rebase_source : 21dc4763d0a2f183d3946911dfaf5d68c834729c
2017-11-09 12:03:27 +01:00
Brad Werth cee2b3c122 Bug 1412173 Part 2: Add a crashtest to check we can handle overlapping document open calls. r=bz
MozReview-Commit-ID: LjyQgFicwuO

--HG--
extra : rebase_source : 58bac0fc71ab5de67d300485bb56c9d8eec86054
2017-10-30 15:35:47 -07:00
Brad Werth 2a43297875 Bug 1412173 Part 1: Implement the Document ignore-opens-during-unload counter required by spec. r=bz
MozReview-Commit-ID: IWfT5c0H3t

--HG--
extra : rebase_source : 9a61f095a8c31ee3ac0f89b413d0cc62eec24292
2017-11-02 11:47:21 -07:00
Gijs Kruitbosch c8a6cce3c5 Bug 1387081 - stop re-adding the sidebar button to the toolbar now that it's there by default, r=mixedpuppy
MozReview-Commit-ID: 9e1eFaVltMO

--HG--
extra : rebase_source : b05d6e7034037da95187d25303d359b4c2e67179
2017-11-08 18:01:53 +01:00
Dan Minor 87078513c0 Bug 1415283 - Increase timeout for tone events in RTCDTMFSender-helper.js; r=jgraham
With the current value of 150 milliseconds we get intermittent timeouts on our
test infrastructure. We are missing by only a small amount, e.g. 6 milliseconds
in Bug 1415283, but it seems safer to increase the timeout to 250 milliseconds so
that we don't end up revisiting this problem in the future.

This also fixes the error message to say milliseconds rather than seconds.

MozReview-Commit-ID: CqjTKZn33q8

--HG--
extra : rebase_source : e5a024c25f24743c764cd43c1e47310f71fcd48a
2017-11-08 07:10:03 -05:00
Narcis Beleuzu 854ac85615 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-11-08 19:09:23 +02:00
CYBAI ea4c319bb3 servo: Merge #19153 - style: Move font-size-adjust outside of mako (from CYBAI:font-size-adjust-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19151  (github issue number if applicable).
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: 294a24af4850bc06971fe7e78bb680cc8eb02150

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bf5c5151144517c0f3e6972f2c9722b33474065c
2017-11-08 09:52:37 -06:00
Delphine Lebédel f9662b26c6 Bug 1413376 - [oc] Search engine setup for Firefox Mobile Occitan, r=flod
MozReview-Commit-ID: 7SPWMd8n2UR

--HG--
extra : rebase_source : b6772ad0d961583393f1c00aafde79f3d15a60b4
2017-11-08 08:35:12 -08:00
Delphine Lebédel 86b74b0c47 Bug 1411102 - Add ach, bs, ia, ltg and oc to Fennec all-locales for single-locales builds, r=flod
MozReview-Commit-ID: BX6azMD9G5c

--HG--
extra : rebase_source : 2e73ec3a5991f35c8a4552d949889408b51fb638
2017-11-08 08:21:09 -08:00