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

525197 Коммитов

Автор SHA1 Сообщение Дата
Xidorn Quan c0a293e41b Bug 1345698 part 1 - Unify common code for implementing a rule type. r=heycam
MozReview-Commit-ID: ABwAq2HXrkC

--HG--
extra : rebase_source : 76dd1436234ae351d13ccc218c31754705d70bfe
2017-03-14 17:52:37 +11:00
Xidorn Quan 7cb13df498 servo: Merge #15961 - Implement access to CSSNamespaceRule for stylo (from upsuper:bug1345698); r=heycam
This is the Servo side changes of [bug 1345698](https://bugzilla.mozilla.org/show_bug.cgi?id=1345698).

Source-Repo: https://github.com/servo/servo
Source-Revision: 9986b42333a7438c02debd7fe8395a5c146a58df

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 87f42c038798f7cefd9b0bcdd83bf5f9c7a162c1
2017-03-15 03:58:06 -07:00
Gijs Kruitbosch 6e21985362 Bug 1344759 - batch-insert bookmarks when importing from Edge, IE, Safari or Chrome, r=dao
MozReview-Commit-ID: Dhvw0Y0fm5x

--HG--
extra : rebase_source : 284e016c0ae26b6e58859500ce36ba7c63f51b8d
2017-03-13 23:46:16 +00:00
Gijs Kruitbosch ed77d91bec Bug 1344759 - add a unit test for Chrome bookmark imports, r=dao
MozReview-Commit-ID: 8w1GnbDmOc5

--HG--
extra : rebase_source : ce9d4f1199b4f784387dac115615d869c72582b8
2017-03-13 23:25:46 +00:00
flyingrub 317e205f62 Bug 1346739 - Update aboutTelemetry.js to async fucntion & await r=Dexter
Replaced all Task occurence by an async function

MozReview-Commit-ID: 1HjHtPRTkl7

--HG--
extra : rebase_source : a08ac1030ef93e97ed4228c129f6f4905d99ba42
2017-03-13 12:37:09 +01:00
Prathiksha 54be47c289 Bug 1344713 - Replaced the waitForCertErrorLoad function in browser_aboutCertError.js with the more reliable BrowserTestUtils.waitForErrorPage function. r=johannh
MozReview-Commit-ID: 6Bo0w4XOjJD

--HG--
extra : rebase_source : 3b1ad6d02c7c2edd72fc47519e4caa617a1c5230
2017-03-14 22:18:09 +05:30
steveck-chung 302b92bc43 Bug 1338420 - Part 2: Apply form history search at startSearch and clean up redundant code. r=MattN
MozReview-Commit-ID: 2ITT2h6pco0

--HG--
extra : rebase_source : a8932dd7879ecfd774a3c8c4ee0bae2322f6f848
2017-03-02 17:53:32 +08:00
steveck-chung 8dcffe8181 Bug 1338420 - Part 1: Add initialProcessData autofillSavedFieldNames set and broadcast the changes to content. r=MattN
MozReview-Commit-ID: Dy2xxNQlJig

--HG--
extra : rebase_source : d302b120456142089cf3178c639061cc568127bc
2017-02-23 17:09:14 +08:00
Jessica Jong a162417a23 Bug 1301312 - Part 5: Handle input element's attribute change explicitly. r=smaug
MozReview-Commit-ID: AswWoeGasXZ

--HG--
extra : rebase_source : 10591d31c76a4745a9953cd944533cb2fd6940b4
2017-03-15 11:39:02 +08:00
Jessica Jong 24b91bfb0b Bug 1301312 - Part 4: Order fields in <input type=date> based on locale datetime format. r=gandalf,mconley
MozReview-Commit-ID: 42WjAsLImc6

--HG--
extra : rebase_source : 4ef3b7ab6bb07c744c6f36aa8511f1f9af5e3f0c
2017-03-06 14:45:14 +08:00
Jessica Jong f5d74d5f13 Bug 1301312 - Part 3: Order fields in <input type=time> based on locale datetime format. r=gandalf,mconley
MozReview-Commit-ID: ALgurGjv3d0

--HG--
extra : rebase_source : ee5c56b1aaba09e2d7c23359df9396f186efb147
2017-03-06 14:44:22 +08:00
Jessica Jong 0b66175c10 Bug 1301312 - Part 2: Localize placeholders for <input type=time>. r=mconley
Use entities declared in DTD files so that lozalizers can fill in appropiate
placeholders for each locale.

MozReview-Commit-ID: 9KODExaDnDe

--HG--
extra : rebase_source : e6a9f27c68907aded0483028aee3a17744491a56
2017-03-06 14:43:23 +08:00
Jessica Jong b4fc37baaf Bug 1301312 - Part 1: Localize AM/PM strings for <input type=time>. r=gandalf,mconley
MozReview-Commit-ID: 2QycAbnHmHv

--HG--
extra : rebase_source : cbbd9ce4ccebcf611d5ccd908536c107424e3fb4
2017-03-06 14:43:12 +08:00
cku 08043d3e1f Bug 1331834 - Put svg/reftest.list back into alphabetical order. r=longsonr+218550
MozReview-Commit-ID: 6PqnjFLXIdC

--HG--
extra : rebase_source : b115b08bb92d153206835de18a41daf0d578779a
2017-03-14 16:44:31 +08:00
montrivo d31f6b1530 servo: Merge #15821 - Implement ImageData constructors #15671 -- 1 (from montrivo:ImDataConstructors); r=Ms2ger
<!-- Please describe your changes on the following line: -->
Implement ImageData constructors
* new constructors in the imagedata.rs file
* modification of the ImageData::new method
* new method ImageData::from_vec
* new wpt test file imagedata.html

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

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

<!-- 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: 5bfa87a8e27e125fced2c8824e3ce784f8dc5405

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c2dae4fb25b6bc9915a30f93721364af10596407
2017-03-15 02:23:48 -07:00
clinton 25058aa91d Bug 1346208 - Remove B2G-specific code from Telemetry C++ modules r=gfritzsche
MozReview-Commit-ID: 3iU7OcHePno

--HG--
extra : rebase_source : 6d02da7370ff049ca787321eac84b16d2b236f63
2017-03-12 10:38:22 +11:00
Madeleine Chercover 99f76d739a Bug 1347241 - Enable linux64-ccov coverage collection for common tests set; r=gmierz,jmaher
MozReview-Commit-ID: FLyjCwMGb6L

--HG--
extra : rebase_source : 4c2c56c5ace6fd1f6b933a92ad0f69189ab1df69
2017-03-14 11:40:59 -07:00
Carsten "Tomcat" Book 10f32bd039 Backed out changeset 56b09fa0748c (bug 1345375) on request from dao 2017-03-15 10:23:55 +01:00
Henry Chang 3dc1381af2 Bug 1345922 - Avoid concurrent update and take the failed beginUpdate into account. r=francois
MozReview-Commit-ID: IfRIazBvAyl

--HG--
extra : rebase_source : 1dbd31d24e087c6f6ee6d45302facf744862c892
2017-03-10 00:47:26 +08:00
Federico Padua ea6697c4ba Bug 1344841 - Enable flake8 rule E111: "indentation is not a multiple of four". r=Dexter
This patch enables flake8 rule E111: "indentation is not a multiple of four"
in toolkit/components/telemetry by removing the relative E111 entry from
toolkit/components/telemetry/.flake8 and fixing the files for which the E111
error was reported.

MozReview-Commit-ID: EOVcsllJNJK

--HG--
extra : rebase_source : 9cadb7d9214ed8f242bf6e6a30769c009a502b40
2017-03-13 19:38:01 +01:00
Jean-Yves Avenard 55676c3d5a Bug 1342913: P2. Terminate draining operations when possible. r=gerald
An interesting intermittent condition not previously handled.
We were incorrectly assuming that we always had a decode promise pending when a drain was requested.
If a change of content occurred when resuming from a waiting for data condition: we would have stalled forever as the waiting promise would never have been resolved even after new data was appended.

MozReview-Commit-ID: BQSRSHYqTSe

--HG--
extra : rebase_source : e091969ce35728cd3ded40161eaaa117df2c6886
2017-03-07 20:13:39 +11:00
Jean-Yves Avenard 65f007b6ab Bug 1342913: P1. Add mochitest. r=gerald
MozReview-Commit-ID: IaU4tIm0Wze

--HG--
extra : rebase_source : 99c48155ec1c846496767ed2f823c60811e968f6
2017-03-08 00:28:13 +11:00
Jean-Yves Avenard ec5692956a Bug 1346463: Disable test on windows 8 for now. r=gerald
Issue tracked in bug 1347101

MozReview-Commit-ID: 8YaMr3p8aMk

--HG--
extra : rebase_source : 0ee14327fd0d2bcb1589e35e6cf4455d5d8e7793
2017-03-14 12:39:13 +01:00
JW Wang f7aad5be2a Bug 1344772 - set a dirty flag so we can process the notification later. r=jya
https://hg.mozilla.org/mozilla-central/file/34c6c2f302e7b48e3ad2cec575cbd34d423a9d32/dom/media/MediaFormatReader.cpp#l2835
NotifyDataArrived() is dispatched again if |mNotifyDataArrivedPromise.Exists()| which will then be dispatched again
recursively until mNotifyDataArrivedPromise is completed. This is a waste of CPU cycles.

We can use a dirty flag to note we should update buffer ranges again when the current update is done.

MozReview-Commit-ID: 6hInhGKnXJE

--HG--
extra : rebase_source : 71aa2c16112428c34def094515e37aa1f028a3fc
2017-03-15 15:20:45 +08:00
Xidorn Quan 6226e098b7 Bug 1341102 - Update stylo test expectation. 2017-03-15 17:49:44 +11:00
Astley Chen bdf50726af Bug 1342880 : Remove class inSearchLoop from the tree. r=heycam
inSearchLoop is referenced from nowhere, as a result, we don't need to get its timer event labeled.

MozReview-Commit-ID: 5fxg38WD9dQ

--HG--
extra : rebase_source : a72f150e15605e604e969c725ed4a23168bda1b4
2017-03-15 11:48:41 +08:00
Masayuki Nakano bd8834c19e Bug 1346499 Don't remove Ctrl nor Alt modifier state at dispatching eKeyPress event when the modifier doesn't change inputting character r=m_kato
Ctrl+Space causes WM_CHAR of ' '.  On the other native applications, you can input ' ' with this key combination though, we shouldn't allow this because we need to remove Ctrl and Alt modifier state at dispatching keypress event for the limitation of TextEditor but this is important key combination for custom shortcut keys.

So, when Ctrl or Alt key is pressed but it doesn't change the inputting character, i.e., the character can be inputted without Ctrl or Alt, we shouldn't remove those modifier state from eKeyPress event.

MozReview-Commit-ID: 7omLvNdQWzW

--HG--
extra : rebase_source : 66d5015567799c489d925ac2419358913f808d63
2017-03-14 00:32:50 +09:00
Nico Grunbaum 194702d7ab Bug 1343691 - fix missing rtcp stats;r=jib
Omitting the RTT when it is not available breaks a lot of tests (as jesup warned).
I am going to fix the RTT behavior and the tests in bug 1344970, for now RTT will
be zero when unavailable.

MozReview-Commit-ID: 9x3eQfbM3ZT

--HG--
extra : rebase_source : f8d46d7232455a3038fd99ffb6cc14111c44a794
2017-03-08 23:26:24 -08:00
Xidorn Quan 40c2227517 servo: Merge #15949 - Don't serialize url() twice (from upsuper:filter-url); r=heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: 6a2a5be7641dbda2391f4fff7c102f0176899562

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b61b739b87d69e98417cb32e341463f384d492b0
2017-03-14 21:43:41 -07:00
Markus Stange f3242f83fb Bug 1341924 - Don't attempt to dispatch CheckResponsivenessTasks to non-main threads. r=njn
This is more of a workaround than a real fix, but the old code wasn't working
for non-main threads either, and we'd like to change the way this information
is computed anyway (bug 1340714) and then we won't need CheckResponsivenessTask
any more.

MozReview-Commit-ID: FGiomjwpk3z

--HG--
extra : rebase_source : 95fc57c0622fdbaa928700a971a4ce839ad92797
2017-03-13 20:44:15 -04:00
Ting-Yu Lin 7bd47fa30a Bug 1273045 Part 2 - Update carets when scrolling in subframes without APZ. r=mtseng
Override OnScrollPositionChanged() in ScrollState because we want to update
carets during scrolling in subframes without APZ.

Due to the observation in bug 1273045 comment 8, we do not distinguish
PositionChangedResult::NotChanged and PositionChangedResult::Changed.
Instead, we always update caret even if its position is not changed.

To avoid excessive CaretStateChangedEvents are dispatched in
OnScrollPositionChanged(), we add IsScrollStarted to distinguish whether
OnScrollStart() is called or not.

MozReview-Commit-ID: KNi9Mct4dSk

--HG--
extra : rebase_source : 61d29fb0e1b6b91971217d3f45a791c456fa4f07
2017-03-14 17:50:03 +08:00
Ting-Yu Lin fb0e5cae3e Bug 1273045 Part 1 - Convert UpdateCaretsHint to use EnumSet. r=mtseng
Part 2 is going to add a new hint which will use with RespectOldAppearance.
Hence this patch.

Remove #include "mozilla/WeakPtr.h" and "nsWeakReference.h" because they're
not used in the header.

MozReview-Commit-ID: KiNv0M0v8iO

--HG--
extra : rebase_source : 0969fc5accf11ac69bc97e3a51569b063172ffe3
2017-03-14 15:25:16 +08:00
JW Wang 1f7faa8e4f Bug 1345376 - Label runnables in dom/media/mediasink/DecodedStream.cpp. r=kikuo,pehrsons
MozReview-Commit-ID: 9SrS2g2mY2p

--HG--
extra : rebase_source : 053ee96dfcc80cd1bd81237ec76cd256a52ebcfe
extra : intermediate-source : 31b7a73f0b45916dbcf3b66faec746ec04acca45
extra : source : 42b918b4f24737ef456c9ffe7df4b7d4bd4ecb0c
2017-03-09 13:46:25 +08:00
JW Wang 37496c6b4a Bug 1345761 - Remove the unused do_GetMainThread() call. r=gerald
MozReview-Commit-ID: CFWh4tCKbF5

--HG--
extra : rebase_source : ccf526edc0719c4a31a90d7b8ef135dba3d8114e
2017-03-09 15:15:42 +08:00
JW Wang 7ca0324d6d Bug 1346679 - Label runnables in dom/media/gmp/GMPCDMCallbackProxy.cpp. r=cpearce
MozReview-Commit-ID: 1h2SaxHf0F

--HG--
extra : rebase_source : f73e9954d593124ad50bbcd3c15fdf5c2e053320
extra : source : 41faede1bc233157bf29130df6eced2d925395dc
2017-03-10 16:07:04 +08:00
John Lin 81388b32c4 Bug 1345036 - label shutdown event dispatching. r=jwwang
MozReview-Commit-ID: HfiocBzddNS

--HG--
extra : rebase_source : 2649dd6aa17225f14a4972b549f4270ef5ea0b7f
2017-03-09 13:43:30 +08:00
JW Wang 017020976f Bug 1346678 - Label runnables in dom/media/gmp/GMPParent.cpp and its friends. r=cpearce
MozReview-Commit-ID: DWYx30T7gCJ

--HG--
extra : rebase_source : 68caf369926ea08cd7a56846c1de1cf75a6c54e6
extra : intermediate-source : b57189c8fa07cc066cf430358401c471b0927063
extra : source : b014f243626f5361a496edacb639a663abea2964
2017-03-09 15:31:11 +08:00
John Lin 6150d45675 Bug 1344649 - part 5: deprecate ConfigurationChanged() once again. r=jya
MozReview-Commit-ID: D9b8rljlNzP

--HG--
extra : rebase_source : 7cd586f506c4c01f21da0b7b44ec0e2798af5e0a
2017-03-14 12:58:27 +08:00
John Lin 50ebd38776 Bug 1344649 - part 4: store frame sizes in queue rather than relying on ConfigurationChanged(). r=jya
MozReview-Commit-ID: 49ICIBs4wzF

--HG--
extra : rebase_source : 81a145a30a2b96b53e4d3092d2baaa54109cf347
2017-03-07 20:03:41 +08:00
John Lin 2f58c785e9 Bug 1344649 - part 3: rename DurationMap and turn it into a generic class. r=jya
MozReview-Commit-ID: AMMxMPkuYXk

--HG--
extra : rebase_source : 438100efafb883c8cd67895657877da9fb6f54ce
2017-03-07 19:49:08 +08:00
John Lin a5d3bc8a18 Bug 1344649 - part 2: let VideoData::CreateFromImage() accept only neccessary parameters. r=jya
VideoData doesn't care what's in aInfo but display size and aPicture are unused.

MozReview-Commit-ID: IBqq8Rm8dM4

--HG--
extra : rebase_source : 10e2390f87925ef9179d28d86240f68a35c6c6d4
2017-03-09 12:06:24 +08:00
John Lin 9dd28c4c95 Bug 1344649 - part 1: use picture instead of display size to construct Image. r=jya
MozReview-Commit-ID: LkVq9iaj14k

--HG--
extra : rebase_source : e2468aeea1983dc96c42698d24de6f5cacb8deb9
2017-03-09 12:08:34 +08:00
Xidorn Quan bf3f1e88eb Bug 1341102 - Update test expectations. 2017-03-15 12:13:16 +11:00
Brad Werth f726f8c19a Bug 1343695 Part 3: Expand tests of GetClientRectsAndTexts to test more cases where rendered text differs from DOM text. r=mats
MozReview-Commit-ID: G0NfRJhAh50

--HG--
extra : rebase_source : 7652400494eaa2cf88f18699ac8c415b11ab09c6
2017-03-13 13:15:17 -07:00
Brad Werth 79fcb7ba0d Bug 1343695 Part 2: Narrow an overly restrictive assert in GetRenderedText. r=mats
MozReview-Commit-ID: EuxNJmKPxok

--HG--
extra : rebase_source : b77018ea2417b0778fb51ba579d8c4baeeaf06a5
2017-03-14 14:27:30 -07:00
Brad Werth d2ed12d9e6 Bug 1343695 Part 1: Retrieve text content with GetRenderedText. r=mats
MozReview-Commit-ID: 4VLoaTlDELG

--HG--
extra : rebase_source : d48bc3f175cc88d76087e4371e2b9efead517613
2017-03-01 16:15:22 -08:00
Wes Kocher 8f1654d5da Merge m-c to autoland, a=merge
MozReview-Commit-ID: FnlgTDNtM67
2017-03-14 17:24:12 -07:00
Wes Kocher a7c590aa9c Merge inbound to central, a=merge
MozReview-Commit-ID: KWDF34vWlBx
2017-03-14 17:18:59 -07:00
Wes Kocher 6315d21293 Bug 1341102 - fix autoland bustage; r=bustage a=bustage
MozReview-Commit-ID: qJqahM6q5n

--HG--
extra : source : ab9bdbdc7780b163a722d12d1d927f68b35d030f
2017-03-14 14:50:10 -07:00
Wes Kocher 857332f3b5 Merge autoland to m-c a=merge
MozReview-Commit-ID: 9slnzCRH7gm
2017-03-14 16:40:19 -07:00