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

572342 Коммитов

Автор SHA1 Сообщение Дата
JW Wang d2f91da2bd Bug 1422677. P1 - move the call to ComputePlaybackRate() out of UpdatePlaybackRate(). r=bechen,gerald
We want to remove the side effect of ComputePlaybackRate(). Anyone who wants
the side effect (updating mPlaybackBytesPerSecond/mPlaybackRateReliable)
should call it explicitly.

MozReview-Commit-ID: 8oHvCl5pewz

--HG--
extra : rebase_source : 3ee54ea32d2d2d7185d9a65c6658a3e700f1fb71
2017-12-01 14:24:27 +08:00
Jamie Nicol 834586be68 Bug 1421586 - Limit maximum number of SurfaceTextures in existence. r=snorp
Limit the number of SurfaceTextures to ensure that we do not reach the
process's fd limit. 200 was chosen as the limit because it allows for
more tiles than any reasonable page should require, yet should not
come close to the 1024 fd limit, even with 2 fds (buffer and sync
fence) per SurfaceTexture.

MozReview-Commit-ID: F21H1Rj4FVF

--HG--
extra : rebase_source : 379b460c8067cc3c5aa11a47cc66f865bae1ac64
2017-11-29 16:08:12 +00:00
Sylvestre Ledru b1ad4c3c99 Bug 1422628 - enable bugprone-forward-declaration-namespace in the static analysis r=andi
MozReview-Commit-ID: LHvTVoyy81A

--HG--
extra : rebase_source : bc9a03323ef635a55b2b38297a8d61ca3d8e8320
2017-12-03 22:54:04 +01:00
Dorel Luca bea662dd30 Merge mozilla-central to autoland r=merge
--HG--
rename : layout/reftests/webcomponents/basic-insertion-point-1-ref.html => layout/reftests/webcomponents/basic-slot-5-ref.html
rename : layout/reftests/webcomponents/basic-insertion-point-1.html => layout/reftests/webcomponents/basic-slot-5.html
rename : layout/reftests/webcomponents/basic-insertion-point-2-ref.html => layout/reftests/webcomponents/basic-slot-6-ref.html
rename : layout/reftests/webcomponents/basic-insertion-point-2.html => layout/reftests/webcomponents/basic-slot-6.html
extra : rebase_source : 483a0fb85738c5459165efca8ec6bc971e31b4c2
2017-12-04 12:49:40 +02:00
Dorel Luca 4302452fdf Merge inbound to mozilla-central r=merge a=merge 2017-12-04 12:46:14 +02:00
Jessica Jong 1fdd7f26e3 Bug 1409975 - Part 5: Update web platform tests expectations. r=smaug 2017-12-04 16:06:46 +08:00
Jessica Jong bdf8958759 Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio
--HG--
rename : layout/reftests/webcomponents/basic-insertion-point-1-ref.html => layout/reftests/webcomponents/basic-slot-5-ref.html
rename : layout/reftests/webcomponents/basic-insertion-point-1.html => layout/reftests/webcomponents/basic-slot-5.html
rename : layout/reftests/webcomponents/basic-insertion-point-2-ref.html => layout/reftests/webcomponents/basic-slot-6-ref.html
rename : layout/reftests/webcomponents/basic-insertion-point-2.html => layout/reftests/webcomponents/basic-slot-6.html
2017-12-04 16:06:42 +08:00
Jessica Jong fbd3a63cba Bug 1409975 - Part 3: Fix event get-the-parent algorithm for a node. r=smaug 2017-12-04 16:06:40 +08:00
Jessica Jong 306e4bafc3 Bug 1409975 - Part 2: Include slots in the flat tree. r=smaug,emilio
We should consider slot as a parent in ChildIterator: if slot's
`assignedNodes` is not empty, use `assignedNodes`, otherwise, use direct
children as fallback content.
Also, GetFlattenedTreeParentNodeInternal should be changed to use
`assignedSlot` instead of `DestInsertionPoints`.
2017-12-04 16:06:37 +08:00
Jessica Jong adc29479a2 Bug 1409975 - Part 1: Implementation for assignedNodes. r=smaug
Set and unset assignedNodes properly when slot is added/removed and when
slotables are added/removed/modfied. Note that assigedNodes with
flatten: true is calculated on demand.
2017-12-04 16:06:34 +08:00
Emilio Cobos Álvarez f14389a065 Bug 1422654: stylo: Avoid restyling XBL-bound element if the binding doesn't have stylesheets. r=heycam
MozReview-Commit-ID: An2McUbpCLk

--HG--
extra : rebase_source : 1c869057d032773fbfd426d6f392cc936c81029c
2017-12-04 02:47:54 +01:00
Gurzau Raul 7b646cf105 Merge inbound to mozilla-central r=merge a=merge 2017-12-04 00:17:25 +02:00
ffxbld 5fa824ebb0 No bug, Automated HPKP preload list update from host bld-linux64-spot-037 - a=hpkp-update 2017-12-03 11:42:48 -08:00
ffxbld 423369169d No bug, Automated HSTS preload list update from host bld-linux64-spot-037 - a=hsts-update 2017-12-03 11:42:45 -08:00
ffxbld fd3700d56b No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2017-12-03 11:03:49 -08:00
ffxbld c321b37eee No bug, Automated HSTS preload list update from host bld-linux64-spot-030 - a=hsts-update 2017-12-03 11:03:45 -08:00
Daosheng Mu ceb0da875a Bug 1420940 - Separate dispatching VR events to an individual scope to avoid deadlock. r=dvander, r=kip
MozReview-Commit-ID: 7tpzUDNoShw
2017-12-03 13:19:33 -05:00
Andreas Tolfsen 1ec5283928 Bug 1422001 - Correct name of Find Elements From Element WPT test. r=maja_zf
Bug #: 1422001

Differential Revision: https://phabricator.services.mozilla.com/D309

MozReview-Commit-ID: VtbXGAumpF


--HG--
rename : testing/web-platform/tests/webdriver/tests/element_retrieval/find_element_from_elements.py => testing/web-platform/tests/webdriver/tests/element_retrieval/find_elements_from_element.py
2017-12-03 14:19:06 +00:00
EKR 477ac066b5 Bug 1422156 - Update tlsFlags to change 0x40 to be compat mode rather than 7e02 handshake. r=keeler
Reviewers: keeler

Reviewed By: keeler

Subscribers: mcmanus

Bug #: 1422156

Differential Revision: https://phabricator.services.mozilla.com/D306
2017-12-02 17:18:33 -08:00
aceman 996910e5ce Bug 1422547 - Define uniqueProcessID in newAppInfo of testing/modules/AppInfo.jsm as it is accessed in xpcshell tests and ExtensionUtils.jsm. r=mccr8 2017-12-02 16:16:00 +02:00
Mats Palmgren 770892c224 Bug 1416350 - Part 5: Correct the expected results for grids that have leading implicit tracks. r=bwerth
MozReview-Commit-ID: EOOeZri6dbZ

--HG--
extra : rebase_source : af698787d525021de0e8b9c54006abb76c5e3e7a
extra : histedit_source : 943c0525a4f19dc52963a914093f4f4a55e73369
2017-12-01 08:58:53 -08:00
Aaron Klotz 3263c3ac00 Bug 1414421: Change some diagnostic asserts in mscom to stop firing on dev edition; r=Jamie
MozReview-Commit-ID: JfKevpNIiRT

--HG--
extra : rebase_source : 07b6ccd13b5ee589290b7b9e8069f9db5ceaf132
2017-11-29 14:50:17 -07:00
Jessica Jong 171f326899 Bug 1418020: No need to hide form validation popoup onLocationChange. r=Felipe
We already hide the popup when element blurs, which is fired when navigating to
another page.

MozReview-Commit-ID: 5GvlX1CiOQL
2017-12-04 14:15:28 +08:00
Nicholas Nethercote 3da37cfebe Bug 1421541 - Overhaul the prefs phase code. r=glandium
This code is used to detect too-early accesses of prefs in content processes.

The patch makes the following changes.

- New terminology: "early" prefs are those sent via the command line; "late"
  prefs are those sent via IPC. Previously the former were "init" prefs and the
  latter didn't have a clear name.

- The phase tracking and checking is now almost completely encapsulated within
  Preferences.cpp. The only exposure to outside code is via the
  AreAllPrefsSetInContentProcess() method, which has a single use.

- The number of states tracked drops from 5 to 3. There's no need to track the
  beginning of the pref-setting operations, because we only need to know if
  they've finished. (This also avoids the weirdness where we could transition
  from END_INIT_PREFS back to BEGIN_INIT_PREFS because of the way -intPrefs,
  -boolPrefs and -stringPrefs were parsed separately.)

MozReview-Commit-ID: IVJWiDxdsDV

--HG--
extra : rebase_source : 8cee1dcbd40847bf052ca9e2b759dd550350e5a1
2017-11-30 09:14:32 +11:00
abhinav d0874f7146 Bug 1419368 - NetMonitor: Stop using ImmutableJS in timing-markers reducer. r=Honza
MozReview-Commit-ID: 5PQsSWT5m1P

--HG--
extra : rebase_source : 1f1a21c174bbf69a29c781d95ff179e60189ad59
2017-11-29 22:02:12 +05:30
Cameron McCormack 824f088ce8 Bug 1417837 - Part 3: Replace all IDs in about:reader documents with class names. r=Gijs
Since the readerized article content will have its class names stripped
but will retain its original IDs, and we don't want our aboutReader.css
rules targetting UI elements to match anything in the article.

MozReview-Commit-ID: JuXTo8Nth5Q

--HG--
extra : rebase_source : a5987d80f45c3ec5192c1aa5da772a05cfda79ff
2017-11-30 11:55:32 +08:00
Nicholas Nethercote fb0851df88 Bug 1421541 - Split Pref::SetValue() in two. r=glandium
The default path and the user path are entirely disjoint, and some of the
arguments only apply to one of the paths, so splitting it into two functions
makes things a bit clearer. The aForceSet arg is also renamed aFromFile.

MozReview-Commit-ID: LYtrwz5JHiN

--HG--
extra : rebase_source : c66c39b0869c0fae6bbecc55f42e0842f5b40f46
2017-11-29 20:55:56 +11:00
Nicholas Nethercote 566e447a89 Bug 1421541 - Inline and remove pref_LoadPrefsInDirList(). r=glandium
It has only one call site.

MozReview-Commit-ID: B0Qng6TI6PN

--HG--
extra : rebase_source : 0e074f279b9002d42ecdf64aa0127415adfaa241
2017-11-22 14:42:54 +11:00
Nicholas Nethercote 1cb24f1a2e Bug 1421541 - Tweak GetCStringValue(). r=glandium
It's not possible for a string value to be nullptr.

MozReview-Commit-ID: 13X28YObvwp

--HG--
extra : rebase_source : 01c8327784e356e71511eedea17d1d8e0d008776
2017-11-29 18:49:08 +11:00
Nicholas Nethercote edd8eb9983 Bug 1421541 - Make Preferences::HandleDirty() only work in the parent process. r=glandium
pref_SetPref() is now the only function that runs in the content process and
calls HandleDirty(). So this patch moves the parent process check out of
HandleDirty() into pref_SetPref().

The patch also adds assertions to a couple of other parent-process-only
functions.

MozReview-Commit-ID: KurXKMl4IIb

--HG--
extra : rebase_source : fefb67f6e48ec83368b6170aba050883d512eb22
2017-11-29 18:48:10 +11:00
Nicholas Nethercote 4ea2059f7b Bug 1421541 - Tweak some comments. r=glandium
This includes removing a bunch of low-value ones.

MozReview-Commit-ID: LGS9M9TCL4e

--HG--
extra : rebase_source : 707a68baebc71af572974943702b57246b080533
2017-11-29 18:47:19 +11:00
Bas Schouten d3659cd140 Bug 1422169: Have the D3D11TextureData destructor defer releasing the last reference to its DrawTarget to the paint thread. r=dvander
MozReview-Commit-ID: Dmzu5Nnpx9g
2017-12-01 17:04:46 +01:00
Csoregi Natalia 009021edbb Backed out changeset 362425ee97ad (bug 1419007) for ESLint failure and for failing test_threathit_report.html. r=backout on a CLOSED TREE 2017-12-03 21:41:07 +02:00
Nathan Froyd 3a307d4ebb Bug 1422540 - move --enable-gczeal to moz.configure; r=nalexander 2017-12-03 13:40:03 -05:00
Jonathan Kingston 4de9966be8 Bug 1419007 - Ensure errors FireOnLocationChange after documentURI has changed in docshell. r=sawang
MozReview-Commit-ID: AaZEIOI4sW1
2017-11-21 11:40:01 +00:00
Cameron McCormack e7abc5fa5f Bug 1417837 - Part 2: Preserve class names in readerized output that we use in aboutReader.css. r=Gijs
MozReview-Commit-ID: 7qV2SRHeeOJ

--HG--
extra : rebase_source : ca8b15ef9ceb95da5f7b1d985ba60cfb594bfd3e
2017-11-21 11:54:25 +08:00
Brad Werth 0b154c2e34 Bug 1416350 - Part 4: Add a reftest of repeat:auto-fit grids with leading implicit tracks. r=mats
MozReview-Commit-ID: 1faRQExChjS

--HG--
extra : rebase_source : 5c71399fe654e8cf93720ac8ac2dd85c89aeb2d8
extra : histedit_source : 4a61a5259917b1d23f89ed175ab5b81c888f1efe
2017-11-17 11:30:08 -08:00
Cameron McCormack 311c671019 Bug 1417837 - Part 1: De-scope about:reader style sheets. r=Gijs
MozReview-Commit-ID: 8C65ljtFDrh

--HG--
extra : rebase_source : 442d8cbaf7f7252b6b6393845d2d09e265678ae9
2017-11-16 17:58:37 +08:00
Emilio Cobos Álvarez 8e7a2e8d51 Bug 1422634: followup: fix typo in the comment. r=comment-only
DONTBUILD

MozReview-Commit-ID: FG6XfLAKGcs
2017-12-04 11:40:46 +01:00
Emilio Cobos Álvarez b8ef336994 Bug 1422634: Avoid sheet notifications to dereference a null restyle manager. r=heycam
MozReview-Commit-ID: 2BLUCEqnRDG

--HG--
extra : rebase_source : 00c701e6842d984f1508be93f77c1f8aebd96090
2017-12-04 11:22:33 +01:00
Coroiu Cristina 035be65ea1 Backed out 3 changesets (bug 1417837) for ESlint failures at /builds/worker/checkouts/gecko/toolkit/components/narrate/NarrateControls.jsm r=backout on a CLOSED TREE
Backed out changeset 0d6b56293cbf (bug 1417837)
Backed out changeset 1c341a427a7a (bug 1417837)
Backed out changeset fa4f488ea88f (bug 1417837)
2017-12-04 12:34:37 +02:00
Julian Descottes 146148c4c0 Bug 1408940 - enable browser_webconsole_history_nav.js;r=nchevobbe
MozReview-Commit-ID: LCLeM9cj7TX

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_history_nav.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_history_nav.js
extra : rebase_source : fc669c69d30819d5a4950c5106efdd9e74112f23
2017-12-01 17:19:41 +01:00
Julian Descottes 6a9b7d564e Bug 1408935 - enable browser_webconsole_errors_after_page_reload.js;r=nchevobbe
MozReview-Commit-ID: LMfIeeIy61Y

--HG--
extra : rebase_source : 3bdd3d801641d3a1024434f72ef2f926277d19b4
2017-12-01 18:15:37 +01:00
Cameron McCormack 850bcde3b4 Bug 1417837 - Part 3: Replace all IDs in about:reader documents with class names. r=Gijs
Since the readerized article content will have its class names stripped
but will retain its original IDs, and we don't want our aboutReader.css
rules targetting UI elements to match anything in the article.

MozReview-Commit-ID: JuXTo8Nth5Q

--HG--
extra : rebase_source : 87aa2f1060a1e7974610a109507a103c5366727a
2017-11-30 11:55:32 +08:00
Cameron McCormack f5a4439064 Bug 1417837 - Part 2: Preserve class names in readerized output that we use in aboutReader.css. r=Gijs
MozReview-Commit-ID: 7qV2SRHeeOJ

--HG--
extra : rebase_source : ca8b15ef9ceb95da5f7b1d985ba60cfb594bfd3e
2017-11-21 11:54:25 +08:00
Cameron McCormack 33f3ce5cd6 Bug 1417837 - Part 1: De-scope about:reader style sheets. r=Gijs
MozReview-Commit-ID: 8C65ljtFDrh

--HG--
extra : rebase_source : 442d8cbaf7f7252b6b6393845d2d09e265678ae9
2017-11-16 17:58:37 +08:00
Chris Pearce fb207e4f8a Bug 1422662 - Move BaseMediaResource::Close() into MediaResource class. r=jwwang
For the project to export Gecko's media stack and import it into Servo,
I need a way to shutdown an abstract MediaResource. So I'd like to move
BaseMediaResource::Close() up into MediaResource class.

MozReview-Commit-ID: 9JmxJPs02PN

--HG--
extra : rebase_source : e61cc1a3a79b3e4ca7e9fa86a602e6e26044e247
2017-12-04 16:29:35 +13:00
Nevin Chen 9d786faef5 Bug 1421916 - Refine/update PWA action icon r=maliu
MozReview-Commit-ID: 7gndnFFHezm

--HG--
extra : rebase_source : eb804561083aaf2c210523fe346e80712666e5d1
2017-12-04 16:07:57 +08:00
Nevin Chen 92398b50fb Bug 1419245 - A2HS badge is shown on site with broken HTTPS. r=walkingice
MozReview-Commit-ID: BFWdqTcxOi9

--HG--
extra : rebase_source : d891304d2e484e178309dd9fcfa873266cd55f59
2017-11-23 17:07:59 +08:00
Cameron McCormack 98bddd976d Bug 1422676 - Fix small CSS error in test_2d.fill.pattern.imageSmoothingEnabled.html. r=TYLin
MozReview-Commit-ID: JEBm4hNrnfw

--HG--
extra : rebase_source : a6722cd4add5d3a55f5da8f8f12ea779d8c2d628
2017-12-04 14:57:53 +08:00