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

557534 Коммитов

Автор SHA1 Сообщение Дата
JW Wang f6430f39ef Bug 1398659. P8 - remove the call to mCacheStream.NotifyDataLength() from OpenChannel(). r=gerald
MediaCacheStream::mStreamLength has been set either in Init() or InitAsClone().

MozReview-Commit-ID: L259ecDgjN7

--HG--
extra : rebase_source : 7df74d388808492faac73c3e41a972cb22cdb187
extra : intermediate-source : d834e02c15ed9361a02977349459fad079910642
extra : source : 45df347e1fd6b67d60212f2d87312d597656a7d6
2017-09-07 15:23:57 +08:00
JW Wang fff2af86d2 Bug 1398659. P7 - tighten up the assertions in OpenChannel(). r=gerald
MozReview-Commit-ID: IPCLOJKx3f3

--HG--
extra : rebase_source : 22e5114ebb2e37c1bcc39f87ea634a54745a52e7
extra : intermediate-source : a2fda2578d6e1264d7035196b8de5c1b92fc1427
extra : source : 4094121a462346abeaf3d5423cba28dd28ce080c
2017-09-07 15:15:18 +08:00
JW Wang 47cd403db0 Bug 1398659. P6 - remove the nsIStreamListener** parameter from OpenChannel(). r=gerald
The only caller is CacheClientSeek() which always passes nullptr to it.

MozReview-Commit-ID: 3CTkbF6ktp2

--HG--
extra : rebase_source : f53fe82ca0fc5e2926c4d2cf1346630098a9614f
extra : intermediate-source : a4823926a983af9293c9fe9857e39527735ea226
extra : source : 88a08faec452614217bebe80fc2b00a2b08f7f38
2017-09-07 15:12:15 +08:00
JW Wang c5630e40b2 Bug 1398659. P5 - let ChannelMediaResource::Open() set mListener without calling OpenChannel(). r=gerald
This is more efficient because aStreamListener won't be null.

MozReview-Commit-ID: 4b22l7cTK6y

--HG--
extra : rebase_source : 5e2366eaa79ccff2aacaf47d67805e3f939cc362
extra : intermediate-source : f6a6c58325085ce47e41a189d2e14239695bdaed
extra : source : 16b0c9ebdc4102fcd07d28a2c1a1a3b26d607f47
2017-09-05 17:51:22 +08:00
JW Wang 6dcbfcbee7 Bug 1398659. P4 - remove unused code and add some assertions. r=gerald
MozReview-Commit-ID: LRgF9qjdMXz

--HG--
extra : rebase_source : af8b8bb4272c9be0f0ab8b51356362e9676c7076
extra : intermediate-source : 640d38acf9d3cf4aa583c67fc20ea487c849a570
extra : source : 0faec6a6b214ce4d5ca59ac2b098d4a5bfe4470b
2017-09-05 17:39:57 +08:00
JW Wang be83fdf7b4 Bug 1398659. P3 - ChannelMediaResource::Open() is a no-op for a cloned resource. r=gerald
1. mChannel is null.
2. mCacheStream has been initialized by InitAsClone().

So ChannelMediaDecoder::Load() doesn't need to call OpenResource(nullptr) at all.

MozReview-Commit-ID: FeARp9fu65L

--HG--
extra : rebase_source : ee3ae9bfa6830ed18fea152e12da18e181870d2d
extra : intermediate-source : 6b78ae143afa325b378d7cc2cbd2e3e0bcfdfe93
extra : source : 098787b9606b70697a3b1762b35a488799995475
2017-09-05 17:35:24 +08:00
JW Wang 25d23f8eab Bug 1398659. P2 - remove the if statement since new() is infallible. r=gerald
MozReview-Commit-ID: 9GobL4M2mjc

--HG--
extra : rebase_source : d0ce65d3a3b29a6842009ac248ad71c16b458b56
extra : intermediate-source : 6003e4a7519bd844a2a265ea2afc2f26510ad4ad
extra : source : c2530f00a0eaee4e3ff58c96a87bffdf97517554
2017-09-05 17:31:09 +08:00
JW Wang b8f562f05e Bug 1398659. P1 - tighten up the assertions in InitAsClone(). r=gerald
We also make it return void since it now always succeeds.

MozReview-Commit-ID: H1oQWoguEzF

--HG--
extra : rebase_source : b5c6714832bed6fceb80c4afcdf4a590cc7dc567
extra : intermediate-source : 01aa9da848391bbf0b39f8dca874c0234f3202fb
extra : source : af04510d8603ffe407069ef342fdb4d3bca33509
2017-09-05 17:28:14 +08:00
Glenn Watson 045157cf54 servo: Merge #18443 - Update WR (various small optimizations and bug fixes) (from glennw:update-wr-opts-fixes); r=jdm
Also update app_units.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3d4868b282b15c8f499d1a941692226dc2f0eaa6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3fec80f643aa357bb0a58980882a7f32d49c6971
2017-09-10 23:32:35 -05:00
Xidorn Quan b3ff6bb3dc Bug 1324691 followup - Remove the last condition on crashtest of this bug. r=xidorn
MozReview-Commit-ID: 5avaNKTAEsZ

--HG--
extra : rebase_source : f77308e865b37418991317b865bf02d3f448ca1e
2017-09-11 14:27:30 +10:00
Gerald Squelart fd1d1ab5e7 Bug 1378722 - Disable D3D11 video decoding for igd10umd{32,64}.dll 9.17.10.2884 - r=kentuckyfriedtakahe
MozReview-Commit-ID: 9g0Ods8PHUy

--HG--
extra : rebase_source : 9dd61c461cfac751fa0f57ef9cb84151921326cd
2017-09-01 12:04:14 +12:00
Makoto Kato 6454f3ca73 Bug 1263503 - memory leak of filename into layout/printing/nsPrintEngine.cpp. r=mantaroh
"fileNameStr = fileName;" will be fileNameStr.Assign(fileName), so this causes small memory leak.  We should use Adopt, getter_copies, or AString parameter instead.

MozReview-Commit-ID: 5VTgttj2LdK

--HG--
extra : rebase_source : b372f04b210655e754b35fe4ebb2b8a32a19d6bf
2017-09-11 10:42:22 +09:00
Xidorn Quan 7a0f7a3532 Bug 1324682 - Remove annotation of this bug. r=xidorn
MozReview-Commit-ID: A9hpZDm7iju

--HG--
extra : rebase_source : cbadeddcba5e58127036bd7eef7f0e880bcae5e1
2017-09-11 14:14:50 +10:00
Jared Wein a2cae65b48 Bug 1380150 - Prevent subresource loads from showing the progress indicator on the tab. r=Gijs
MozReview-Commit-ID: JjZiHp2IXTC

--HG--
extra : rebase_source : f819592c576fb2a5d832a36ce12315a54991f3d9
2017-09-08 14:59:22 -04:00
steveck-chung 26f88232ff Bug 1341569 - Add the form created time in handler and telemetry probe for form filling duration. r=benjamin+7044,MattN
MozReview-Commit-ID: 6mU606zEtT4

--HG--
extra : rebase_source : e55fa94c70927b9374b09d9c8ad277f274f77fb2
2017-09-11 10:25:09 +08:00
James Cheng fb6af85bd2 Bug 1397344 - Use Decay to ensure StoreCopyPassByXXX stores the value by copy not by reference. r=gerald
MozReview-Commit-ID: Ec9yjYdQ1jC

--HG--
extra : rebase_source : 6b2f63bf7af9a3c8a879ac6f3865abf6be9a4155
2017-09-07 17:02:13 +08:00
Andrew Swan 6e254181e6 Bug 1353194 Streamline the startup extension compatibility check r=kmag
Also extend activeAddons records with a started flag to avoid
double-starting extensions that are upgraded during the startup check.

MozReview-Commit-ID: FPX71Q3lSrw

--HG--
extra : rebase_source : 06b9be6748d09ddee310882c342e6b12cfedf91b
extra : source : 3977730d0f477e54631db184bcb24b13f83e328b
2017-09-10 12:23:45 -07:00
Andrew Swan c8710f9df8 Bug 1353194 Remove a bunch of tests of the old startup update check r=kmag
MozReview-Commit-ID: 8xtsRlfdbMp

--HG--
extra : rebase_source : 6ebdd06c654733e99c05d0c718e9bf1a846920fb
2017-09-08 18:37:24 -07:00
James Cheng 7d08d66397 Bug 1398072 - Fix an obvious leak in Cleakey CDM. r=cpearce
MozReview-Commit-ID: Ee9Me0MKpPU

--HG--
extra : rebase_source : 7a779780865ff00eb6154b3b601eed04541b7ac8
2017-09-08 17:34:48 +08:00
Phil Ringnalda ce9216dc28 Backed out 2 changesets (bug 1353194) for leaving unreferenced files
Backed out changeset 246b6aae8157 (bug 1353194)
Backed out changeset e3c293ceedf3 (bug 1353194)

MozReview-Commit-ID: EshIZ3vmebw
2017-09-10 19:15:39 -07:00
gasolin c7ced59fed Bug 1392959 - send action=email when UITour called with email option;r=rexboy
MozReview-Commit-ID: J08pXaJwAhh

--HG--
extra : rebase_source : a5dda435e0f6b16d17907e5cb9ec7af1ccc19a5c
2017-09-11 09:33:16 +08:00
gasolin cf3e3f2d16 Bug 1396734 - Set onboarding-notification-body font weight to normal to avoid font bluring on windows;r=rexboy
MozReview-Commit-ID: LbKGMUbur7q

--HG--
extra : rebase_source : 5ddee5894f31be9b0d661c8a621792a34d165907
2017-09-08 09:25:29 +08:00
Zibi Braniecki 70e0d2b8e8 Bug 1398390 - Only react to mousedown if it is a left-click. r=Gijs
MozReview-Commit-ID: Ie2Xgasg2eN

--HG--
extra : rebase_source : 5e58c418f91a1802328c4128dffd2c1ab9aa067f
2017-09-09 22:17:19 -07:00
Andrew Swan d3fae58f60 Bug 1353194 Streamline the startup extension compatibility check r=kmag
Also extend activeAddons records with a started flag to avoid
double-starting extensions that are upgraded during the startup check.

MozReview-Commit-ID: FPX71Q3lSrw

--HG--
extra : rebase_source : a168cb6bb2343bc5a329a604d3b36e13c714452f
extra : source : 3977730d0f477e54631db184bcb24b13f83e328b
2017-09-10 12:23:45 -07:00
Andrew Swan 7364d7b9d9 Bug 1353194 Remove a bunch of tests of the old startup update check r=kmag
MozReview-Commit-ID: 8xtsRlfdbMp

--HG--
extra : rebase_source : 6ebdd06c654733e99c05d0c718e9bf1a846920fb
2017-09-08 18:37:24 -07:00
Sebastian Hengst bd180901c7 merge mozilla-central to autoland. r=merge a=merge 2017-09-10 23:17:36 +02:00
Sebastian Hengst 9c378ea156 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 6kVzWGLcJwv
2017-09-10 23:16:37 +02:00
Sebastian Hengst dcf34ac4d5 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2Uy29fNzn62
2017-09-10 23:15:18 +02:00
Shane Caraveo 73b473d1aa Bug 1385630 fix extension sidebar restore after app update, r=Gijs
MozReview-Commit-ID: IR0UDJgrp58

--HG--
extra : rebase_source : 6bb066650a94c3991e05c72ff3fb28cdb0e5a021
2017-09-10 13:36:54 -07:00
ffxbld 00fa5daced No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2017-09-10 10:14:51 -07:00
ffxbld 359e0d79b4 No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2017-09-10 10:14:48 -07:00
Tomislav Jovanovic 94dc2ab943 Bug 1395287 - Order and chain content_scripts injection on startup r=kmag
MozReview-Commit-ID: 19MH2zLV99s

--HG--
extra : rebase_source : 4eca3142f31529246839da0cf1899097406ee6f0
2017-09-10 18:56:35 +02:00
Servo VCS Sync d066a0a3c4 No bug - Revendor rust dependencies 2017-09-10 18:28:35 +00:00
Emilio Cobos Álvarez 1a0185ad38 servo: Merge #18434 - Bug 1395064 - stylo: Add uses of fallible Vec, SmallVec and HashMap f… (from julian-seward1:master); r=bholley
…acilities.  r=emilio@crisal.io.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: be804a8155b0a942324f564df569233d13c97dcd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b0279b7e9545549faa5975eae219c30085005d8d
2017-09-10 12:30:39 -05:00
Sebastian Hengst 7292e53019 Backed out changeset 440b703da884 (bug 1380150) for failing many mochitests with exceptions. r=backout 2017-09-10 17:44:58 +02:00
Christoph Kerschbaumer 9048e3f216 Bug 1397655 - Update tests within dom/ to comply with new toplevel data: URI navigation policy. r=smaug 2017-09-10 13:24:07 +02:00
Andrea Marchesini 84764f515b Bug 1397702 - StorageObserver should use nsTObserverArray for the sink in order to support removal when iterating. r=mccr8 2017-09-10 13:32:13 -04:00
Sebastian Hengst 0714f6271f merge mozilla-central to autoland. r=merge a=merge 2017-09-10 10:08:32 +02:00
Sebastian Hengst d71460b2ca merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: LcNJ6RoBeCm
2017-09-10 10:07:00 +02:00
Sebastian Hengst 02063d87e0 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Iea87cAh6Uj
2017-09-10 10:05:42 +02:00
Sebastian Hengst a4b102b6d9 Backed out changeset 1a8147d55b02 (bug 1398390) for failing browser-chrome's browser_overflow_anchor.js at least on macOS and Windows. r=backout 2017-09-10 09:37:30 +02:00
Zibi Braniecki 923420c64a Bug 1398390 - Only react to mousedown if it is a left-click. r=Gijs
MozReview-Commit-ID: Ie2Xgasg2eN

--HG--
extra : rebase_source : 9aeed150b6106210bbe06e8a98ae602e5471851b
2017-09-09 22:17:19 -07:00
Ethan Lin e6b407fb9c Bug 1387325 - Part3. Add annotations for reftests after adding WR support for XUL image. r=mattwoodrow
MozReview-Commit-ID: 2jfsC8ETXHj
2017-09-10 12:45:11 +08:00
Ethan Lin 4b055b693b Bug 1387325 - Part2. Add WR support for nsDisplayXULImage. r=mattwoodrow
MozReview-Commit-ID: 9DncgchiS44
2017-09-10 12:45:11 +08:00
Ethan Lin c9aadaf83d Bug 1387325 - Part1. Refactor nsImageBoxFrame::PaintImage to make it easier to add WR support. r=mattwoodrow
MozReview-Commit-ID: AmHPifpVAHZ
2017-09-10 12:45:11 +08:00
Kris Maglione 8c91f29845 Bug 1398499: Part 3 - Add Marionette tests for global sharing. r=mccr8
This tests both that the settings have the desired effect and that switching
between sharing enabled and sharing disabled without a startup cache flush
does not cause any issues.

Tests for user pref changes are currently non-fatal, since they're known not
to work reliably.

MozReview-Commit-ID: 1ZFwyiNf3da

--HG--
extra : rebase_source : c38bd92d2137c90f8c4d202b7009612b45ff4be9
2017-09-09 17:33:01 -07:00
Kris Maglione 60e49ffdd4 Bug 1398499: Part 2 - Add MOZ_LOADER_SHARE_GLOBAL env var to toggle global sharing. r=mccr8
User preference changes currently don't reliably take effect before component
loader initialization, which means they can't be used to write reliable tests.
Environment variables don't have this problem, so adding an environment
variable override makes testing much easier. It's also fairly convenient
during development, when we need to switch between different configurations
for testing.

MozReview-Commit-ID: 8PufRQNRnoU

--HG--
extra : rebase_source : c5ca2f3cb18a8398c95bbbf86e2cd27430f5161a
2017-09-09 14:59:45 -07:00
Kris Maglione 8b676de4b0 Bug 1398499: Part 1 - Use separate cache paths for shared/unshared scripts. r=mccr8
Scripts for use in shared globals need to be compiled for non-syntactic
scopes, while scripts for standalone globals should be compiled as global
scripts for better performance.

Since the startup cache and script preloader store scripts as they were
compiled in the last session, when global sharing settings may have been
different, it can lead to a mismatch, and a crash, due to loading the wrong
type of script.

Using a separate cache path for each type of script fixes this problem, since
it ensures that the cached script will always be of the type we expect.

MozReview-Commit-ID: DnNb2Xi6KeL

--HG--
extra : rebase_source : d2474d1da3f8e1066c21a7c65693ea09ec5b8074
2017-09-09 14:59:00 -07:00
Mats Palmgren bb4a414d58 Bug 1364815 part 2 - Follow-up to fix a typo. r=me
MozReview-Commit-ID: 1sdmYFuIyUS
2017-09-10 02:10:03 +02:00
Mats Palmgren 7b8d4cf0a4 Bug 1364815 - Optimize away many (virtual) calls to QueryFrame. r=dholbert
do_QueryFrame from one frame type to another frame type
can compare mClass first, and if successful just downcast
the pointer to the target frame type.  If unsuccessful,
or for do_QueryFrame calls involving other types, we must
still call QueryFrame.

MozReview-Commit-ID: 5MVfmuOYwdE
2017-09-10 00:50:16 +02:00