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

554909 Коммитов

Автор SHA1 Сообщение Дата
Chris Pearce 5bf7ddfc19 Bug 1394656 - Don't include nsCOMPtr.h in SharedBuffer.h as its unused. r=jwwang
Including nsCOMPtr also pulls in cycle collection stuff, which complicates the
include graph.

MozReview-Commit-ID: 7YqrkwrVfds

--HG--
extra : rebase_source : 32b865ec1e1ceecba2014d3cdfdd58a92b0ce8fb
2017-08-29 11:09:06 +12:00
Chris Pearce f15f9218c7 Bug 1394656 - Don't include nsAlgorithm.h in AudioSampleFormat.h. r=jwwang
There's nothing in nsAlgorithm.h that we're using in AudioSampleFormat.h,
though it does pull in the definition of NS_ASSERTION(), which we can
replace with an MFBT assertion to simplyfy the include graph.

MozReview-Commit-ID: EXOv2t0hKDc

--HG--
extra : rebase_source : 466afc8922dbe9c209a07073c4946c8b568fd2c1
2017-08-29 11:07:09 +12:00
Emilio Cobos Álvarez 90d0fcbc14 servo: Merge #18280 - style: Avoid dropping a parse error on the floor when checking whether a prop is enabled (from emilio:parse-dumbness); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 441ae08d2408329c5f26deacf64ca488686fd812

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4e3e66adf55cb20f702b9b39f4e452286c63a11f
2017-08-29 01:34:57 -05:00
Alastor Wu 013f2364d5 Bug 1373888 - part8 : add log. r=cpearce
MozReview-Commit-ID: JyLXnA9J9Ic

--HG--
extra : rebase_source : 56545a7818f5c5ed3b11e31e7b5eb26ca214e19c
2017-08-29 15:28:28 +08:00
Alastor Wu c599481d78 Bug 1373888 - part7 : modify platform wakelocks. r=cpearce,snorp,spohl
* OSX
Make the lock of the type kIOPMAssertionTypeNoDisplaySleep and kIOPMAssertionTypeNoIdleSleep
as a singleton. Won't need to require an extra lock.

* Windows
Add |mRequireForDisplay| to ensure the "audio-playing" won't overwrite the previous
display requirement.

* Android
Add "audio-playing" and "video-playing", and make sure the audio-lock won't be cancel
when receiving "WakeLockDelegate.STATE_LOCKED_BACKGROUND".

MozReview-Commit-ID: 97oNX7H2qij

--HG--
extra : rebase_source : 24fa8b267ad97d668fa55462d1f61ef5c92b632f
2017-08-29 15:28:23 +08:00
Alastor Wu ac5a951f4a Bug 1373888 - part6 : only release the wakelock when video is paused. r=cpearce
Wakelock would automatically handle the lock/unlock by listening "hidden/visible", we
don't need to handle it in HTMLVideoElement.

MozReview-Commit-ID: AcOwR2nqm6L

--HG--
extra : rebase_source : 8f96b8cd908332be33ed3289dd288990da56c1c9
2017-08-29 15:25:57 +08:00
Alastor Wu 5aaf1c6ce7 Bug 1373888 - part5 : only request audio wake lock when it's audible. r=cpearce
No need to prevent sleeping for non-audible audio.

MozReview-Commit-ID: 6p3azSUWTU2

--HG--
extra : rebase_source : 89ff9d1753ac4a23269ec100920e18020ab5aafb
2017-08-29 15:25:44 +08:00
Alastor Wu 0be0a7c288 Bug 1373888 - part4 : request non-display wake lock for audio playing. r=cpearce,spohl
According to [1], kIOPMAssertionTypeNoDisplaySleep prevents display sleep and
kIOPMAssertionTypeNoIdleSleep prevents idle sleep.

We should use kIOPMAssertionTypeNoIdleSleep for audio playing, because it won't
need to block the display.

[1] https://developer.apple.com/library/content/qa/qa1340/_index.html

---

On Windows, ES_DISPLAY_REQUIRED forces display on, and ES_SYSTEM_REQUIRED forces
system on working state [2].

[2] https://msdn.microsoft.com/zh-tw/library/windows/desktop/aa373208(v=vs.85).aspx

MozReview-Commit-ID: Izs29PdzQOW

--HG--
extra : rebase_source : d0726131735b9cedf566f937204e585345b9d5e3
2017-08-29 15:25:34 +08:00
Alastor Wu 6a6ee2a0d7 Bug 1373888 - part3 : rename the topic of the wake lock. r=cpearce
For knowing the wake lock usage more clearly, we should use more specific topic name.

In OSX, you can use "$ pmset -g assertions" to check all the wakelock.
In Windows, using "$ powser -energy" to generate the energy report.

MozReview-Commit-ID: rAXnkxTvLc

--HG--
extra : rebase_source : 42ebf204673d3c913739f64c71c24af20d37c95d
2017-08-29 10:54:28 +08:00
Alastor Wu 71ad2fdb83 Bug 1373888 - part2 : remove the timer which was used for b2g. r=cpearce
The timer was added for the b2g issue, now we can remove it.

MozReview-Commit-ID: BNjIghImCzC

--HG--
extra : rebase_source : c5490d417b2d40619eb7092dfc21b19a99982a1c
2017-08-29 10:54:25 +08:00
Alastor Wu f570c3c5ec Bug 1373888 - part1 : remove useless function. r=cpearce,smaug
These functions didn't be used by anyone, remove them.

MozReview-Commit-ID: BLj8GsVp1gR

--HG--
extra : rebase_source : 1b7eee86c62314401c2374a2979ba2a42fda2490
2017-08-29 10:54:18 +08:00
Nicolas Ouellet-Payeur 5a0bb50ea8 Bug 1392148 - Remove aliases to CommonUtils in util.js r=markh
MozReview-Commit-ID: 1fv6AN0TMNW

--HG--
extra : rebase_source : 083c73e50bfdb2dd121aa483e5aa53ae0e35768d
2017-08-24 22:41:44 -07:00
Alfredo.Yang f683a17096 Bug 1388618 - update mp4 rust parser to fix invalid PSSH box. r=kinetik
MozReview-Commit-ID: FnbgeNiKdR1

--HG--
extra : rebase_source : 0e8a253fee61ca2f96b75066ed5d904716796e36
2017-08-29 10:18:16 +08:00
Sylvestre Ledru d5210f24bb Bug 1389456 - Add ppapi/ to the thirdparty list r=peterv
MozReview-Commit-ID: KIcJ64Y0207

--HG--
extra : rebase_source : 57fc47deb7f056e66663bc1b7819671ff4d9a706
2017-08-11 14:03:32 +02:00
JW Wang c8952581e9 Bug 1394653 - remove MediaResource from the base class of MediaSourceResource. r=jya
MozReview-Commit-ID: 9Pmp7K6zp13

--HG--
extra : rebase_source : b6ce308423c530f6c0b5c71127fc9343561f0fdb
extra : intermediate-source : b443c01608e693905afb69db2ae24bde162a65b9
extra : source : 3fc73f9bd173467c50159bc12ea2274013338b71
2017-08-25 14:08:07 +08:00
JW Wang c26c18e8c8 Bug 1394651 - remove MediaResource from the base class of HLSResource. r=gerald
MozReview-Commit-ID: 3RaLXA1kKzA

--HG--
extra : rebase_source : 9cc0d22671ff866ece5d3773e1efcda15c966fa4
extra : intermediate-source : 51fb3c2b3834f04b3fa944f02b230b4365557060
extra : source : 08a811cbddc2477f79985b5a9b5c20743a718b12
2017-08-25 14:03:45 +08:00
Tom Tromey 3ce1a2f082 servo: Merge #18276 - Use cssparser's new_with_line_number_offset (from tromey:cssparser-line-number-offset); r=SimonSapin
cssparser provides a way to set the initial line number on a
ParserInput.  This patch changes servo to use this facility, rather than
reimplement the same functionality itself.

---

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

- [ ] There are tests for these changes OR
- [x] These changes do not require tests because pre-existing tests cover this change.

Source-Repo: https://github.com/servo/servo
Source-Revision: 4804e211e859c730c0d2a116296560c5cbe867ee

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4860b2c0588b9ffc401588326046b77ee61517c8
2017-08-28 22:57:13 -05:00
Phil Ringnalda fd6ec799b2 Backed out 4 changesets (bug 1098412) for failing browser_webconsole_bug_632347_iterators_generators.js
Backed out changeset f4da55f291cb (bug 1098412)
Backed out changeset e9a0298824d6 (bug 1098412)
Backed out changeset 8281805e7c3c (bug 1098412)
Backed out changeset 1643079d7661 (bug 1098412)

MozReview-Commit-ID: 5kuHtUjx1UM
2017-08-28 21:28:26 -07:00
Jim Chen d8022d7f17 Bug 1393128 - 3. Initialize DownloadNotifications outside of browser.js; r=esawin
In order to show download notifications, we need to initialize the
DownloadNotifications module outside of browser.js. This patch moves
initialization to BrowserCLH.js, and includes a refactoring of the
`addObserverScripts` function. The "chrome-document-interactive"
notification is used to trigger initialization because it is roughly
equivalent to where we used to initialize the module inside browser.js.

MozReview-Commit-ID: 8o1KZWRt69K

--HG--
extra : rebase_source : a588a4e0933069bbbde00dc07c97141c889dfc81
2017-08-28 23:56:44 -04:00
Jim Chen 056a21d97e Bug 1393128 - 2. Support showing Snackbars globally; r=sebastian
Right now we have two Snackbar handlers in GeckoApp and
GeckoPreferences, respectively. This patch combines the two handlers
into one inside GeckoApplication, and lets us display Snackbars in other
Activities like custom tabs and PWA.

MozReview-Commit-ID: Iu6p2VNnVVC

--HG--
extra : rebase_source : 7fa018a3efd251c2e91aeea31e9ca85d872ebe59
2017-08-28 23:56:43 -04:00
Jim Chen 79f5ef0e9e Bug 1393128 - 1. Make IntentHelper available globally; r=nechen,sebastian
Instead of initializing IntentHelper in GeckoApp, initialize it in
GeckoApplication, and make it available globally. This will let custom
tabs / PWA use IntentHelper-provided services.

MozReview-Commit-ID: Icedph6KG4u

--HG--
extra : rebase_source : 819c10edce4fc4f6a46e8cfba34a9fd4afa35e86
2017-08-28 23:56:43 -04:00
Jing-wei Wu 1da86e673f Bug 1390735 - Support tint color for page action button. r=nechen,sebastian,walkingice
Use tint to provide two colors for page action icon in normal/private mode.

We would not tint icons that already have their own colors(for example: ic_readermode_on.png or casting_active.png)
or are came from 3-party addons.

MozReview-Commit-ID: 8uuMucKGLw5

--HG--
extra : rebase_source : 7d213e2b96fab8389b2b2c69e1fdb8ecfe569f20
extra : intermediate-source : ee7c5cecab194ae54317d77de05b2e2f84e1122e
extra : source : a97a2b9700a27e944691536adec6112451ff1f24
2017-08-25 16:24:18 +08:00
peter chang f68e87377c Bug 1391499 - Apply the inherited scale from ancestors, r=kats
To render the nested transforms properly, we need to store the inherited scale from ancestors for children.
Then apply the inherited scale for children's bounds

MozReview-Commit-ID: KYyibUD8J2j

--HG--
extra : rebase_source : fe2aeb842af477475767d0cf22c780c36b2487f0
2017-08-18 21:51:19 +08:00
Phil Ringnalda 2f26d0e9a4 Backed out 15 changesets (bug 1391482) for rooting hazard
Backed out changeset 4d4ed9b64bdb (bug 1391482)
Backed out changeset c02da061fc56 (bug 1391482)
Backed out changeset 7f096b0d1d0e (bug 1391482)
Backed out changeset 497e04031fc3 (bug 1391482)
Backed out changeset cb6ac4267562 (bug 1391482)
Backed out changeset b9a522cc88c9 (bug 1391482)
Backed out changeset 6feba222e86b (bug 1391482)
Backed out changeset ee13302be6c8 (bug 1391482)
Backed out changeset 0e12a1bdb2fa (bug 1391482)
Backed out changeset 7ffc044e742a (bug 1391482)
Backed out changeset fc35c12c815f (bug 1391482)
Backed out changeset 527ea972cdf3 (bug 1391482)
Backed out changeset a9c7abf92455 (bug 1391482)
Backed out changeset fea3e5cd3590 (bug 1391482)
Backed out changeset ca07d3a43b11 (bug 1391482)

MozReview-Commit-ID: 9Cq8e7pr2SP
2017-08-28 20:40:11 -07:00
JW Wang 2cbbe83757 Bug 1393386. P2 - remove MediaDecoder::GetResource(). r=gerald
MozReview-Commit-ID: 7OfkJthwfoM

--HG--
extra : rebase_source : 88b63f6ebbab3a4df15febede377e427e32e065e
extra : intermediate-source : 39514e130ddbda604a9fdc69fd99d0248ed40420
extra : source : 91eded128b33b655d023f8aa73f9eaf2a38aac4a
2017-08-24 18:10:31 +08:00
JW Wang 4af519df25 Bug 1393386. P1 - make PinForSeek/UnpinForSeek pure virtual. r=gerald
Sub-classes should know how to pin/unpin the resource.

MozReview-Commit-ID: 50S8oSD5oEU

--HG--
extra : rebase_source : 5e1b7c657b759c0d1dfdd7b5c0a4b7dbc4077ffe
extra : intermediate-source : 3000b76a3b97c08955c2d584ac215114c8e8f59a
extra : source : a56b9846db916ff85a0cae09736c3284bd895506
2017-08-24 18:08:37 +08:00
Jing-wei Wu 5b56b9035b Bug 1391160 - Remember SYSTEM_UI_FLAG_LIGHT_STATUS_BAR when show/hide fullscreen. r=nechen,sebastian,walkingice
Keep the value of SYSTEM_UI_FLAG_LIGHT_STATUS_BAR in window system ui status when show/hide fullscreen.

MozReview-Commit-ID: LHjEQKAPxYn

--HG--
extra : rebase_source : b9762440ed8837d3fb62e796e7587a3d9e76ae1d
2017-08-28 15:37:59 +08:00
JW Wang 3c7ce1ac45 Bug 1394316 - provide default implementation to MediaDecoderOwner methods that involve Gecko specific types. r=cpearce
MozReview-Commit-ID: 7hhJgeYH7ys

--HG--
extra : rebase_source : bc8ad684bae13e9cd4a45ba73cea92b5214ae157
2017-08-28 14:36:00 +08:00
JW Wang f8f989dd93 Bug 1394313 - replace use of nsAutoPtr with UniquePtr in MediaDecoderOwner.h. r=cpearce
MozReview-Commit-ID: 49lyvMzg7oY

--HG--
extra : rebase_source : b83cd03b0026c73d0293ef937a3c2544349f464d
2017-08-28 14:10:35 +08:00
Emilio Cobos Álvarez c259a3a1b5 servo: Merge #18282 - style: Remove uninlineable function in PropertyDeclarationIterator (from emilio:moar-parsing); r=jdm
That literally made no sense, and is probably leftover from where we passed Map
directly there.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9e2f243b4d7015f67b4ea8310c9d242ec2eb6f69

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 51d6c5febdc78943d1276ae436b3433024059b12
2017-08-28 19:18:37 -05:00
Ting-Yu Chou e5727d7f5a Bug 1394290 - Optimize Proxy::get/set by avoiding unnecessary receiver checking. r=jandem
MozReview-Commit-ID: 7K67zt3JrQl

--HG--
extra : rebase_source : 3a4796844a922c59949f787b0e40d9470e4c94f8
2017-08-28 16:04:38 +08:00
gasolin f1a8845e05 Bug 1392552 - [Onboarding] update notification layout and style based on new spec;r=rexboy
MozReview-Commit-ID: Lbpz53ctvJt

--HG--
extra : rebase_source : 8b7b7aac81973c5dc1c64bf3510d6ca3cd1d550e
2017-08-22 14:37:47 +08:00
Jing-wei Wu d0e85b25fd Bug 1394310 - Change fennec primary color from orange to blue. r=nechen,sebastian,walkingice
MozReview-Commit-ID: 3K34WEtpcqz

--HG--
extra : rebase_source : f468f50c388673fd8465e5e7077787509b85b3db
2017-08-28 11:01:42 +08:00
Brad Werth 2c4de17c43 Bug 1378577: Fix await race condition which causes intermittent timeouts in test_stylesheet_clone_import_rule.html. r=emilio
MozReview-Commit-ID: 2vWsCcnsmwF

--HG--
extra : rebase_source : 3d453085367140f5bd320a202411f25ab6e4226d
2017-08-28 17:02:06 -07:00
Josh Matthews aed21f94dd servo: Merge #18279 - Prioritize parsing non-custom property names (from jdm:rearrange); r=emilio
This should cause a slight improvement in the common case where we are parsing non-custom property names.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7c6bd833a5b2dce5139e4cbbd21630f97050a59f
2017-08-28 18:14:59 -05:00
Wes Kocher fd4507ab5e Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: U7gzouOVCk
2017-08-28 17:48:20 -07:00
Wes Kocher 02b3fbee7e Merge autoland to central, a=merge
MozReview-Commit-ID: 5tolFjvaHmd
2017-08-28 17:38:53 -07:00
ffxbld cd82cacec2 No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-08-28 10:24:57 -07:00
ffxbld 118d3feddb No bug, Automated HSTS preload list update from host bld-linux64-spot-307 - a=hsts-update 2017-08-28 10:24:53 -07:00
Sebastian Hengst 9769c22d10 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: AeoHOxZLi6m
2017-08-28 16:53:53 +02:00
Sebastian Hengst 79c12610f3 Backed out changeset 2db66a67c944 (bug 1392468) for failing clipboard's browser/base/content/test/newtab/browser_newtab_undo.js. r=backout 2017-08-28 13:18:33 +02:00
Sebastian Hengst 80cced1397 Backed out changeset 22d7763100aa (bug 1391499) for build bustage on Windows at gfx/layers/wr/StackingContextHelper.cpp(105): 'Size': undeclared identifier. r=backout 2017-08-28 12:28:55 +02:00
Lars T Hansen 00e96badb1 Bug 1393732 - Correct ARM codegen for 32-to-64 sign extend. r=nbp
--HG--
extra : rebase_source : 1366fc2430156e4a1bcecd4b5431af9444d46f8b
2017-08-28 11:47:18 +02:00
John Lin 77f0ffe52a Bug 842782 - p4: enable fullscreen video orientation lock for Fennec nightly. r=jwwang
MozReview-Commit-ID: 5rYK7mjJrBr
2017-08-28 18:16:06 +08:00
John Lin 38273ed7b3 Bug 842782 - p3: lock fullscreen video orientation. r=ralin
- if enabled, lock orienation when fullscreen state change
- use video aspect ratio to choose which orientation to lock

MozReview-Commit-ID: 3HP60YNbWcc
2017-08-28 18:15:44 +08:00
John Lin bad6535260 Bug 842782 - p2: introduce attributes for orientation lock to video element. r=jwwang,smaug
MozReview-Commit-ID: odq1y9qH1
2017-08-28 18:15:31 +08:00
John Lin d40baf7687 Bug 842782 - p1: add a pref for fullscreen video orientation lock. r=jwwang
MozReview-Commit-ID: 6x7um7F8omr
2017-08-28 18:13:57 +08:00
Francesco Lodolo (:flod) ebac958b65 Bug 1394195 - Reorder and fix access keys, remove unnecessary comments in debugger.properties r=jdescottes
MozReview-Commit-ID: 1dUMsYQRZFm

--HG--
extra : rebase_source : 8be319076f140ad2621fc046156417b860a842f1
2017-08-27 09:12:22 +02:00
Lars T Hansen 721e030388 Bug 1316820 - Rabaldr, optimized zeroing of locals. patch=mds+lth, r=bbouvier
--HG--
extra : rebase_source : e9e61ceda40ca8d135568d19fa7a3d74ef194b42
2017-08-23 12:09:48 +02:00
Jan de Mooij ad11155416 Bug 1393790 part 2 - Remove JS_PropertyStub and JS_StrictPropertyStub. r=jorendorff 2017-08-28 10:40:19 +02:00