Commit Graph

562634 Commits

Author SHA1 Message Date
Chung-Sheng Fu
21db685671 Bug 967895 - Ask for placeholder data when image extraction is not allowed (Tor 6253). r=jrmuizel
MozReview-Commit-ID: AJ5F6M5S83U

--HG--
extra : rebase_source : 2d2de5d6c4a7245759fefed468bcc7d82c9cd000
2017-08-22 14:23:41 +08:00
Chung-Sheng Fu
6466f5e442 Bug 967895 - Add an option to return a placeholder when extracting image data (Tor 6253). r=jrmuizel
MozReview-Commit-ID: 1zTOUL7CZ1E

--HG--
extra : rebase_source : cc96f202f801bc104dbada7669d4602f71a92f40
2017-08-22 11:12:49 +08:00
Chung-Sheng Fu
9221167a14 Bug 967895 - Prompt (w/ Site Permission) before allowing content to extract canvas data (Tor 6253). r=johannh
MozReview-Commit-ID: 91eeagGmUXv

--HG--
extra : rebase_source : c4f5713b2cc7020bfb0c3e49b513ae213836a6df
2017-08-21 16:52:42 +08:00
Oriol Brufau
0f3ca74c8f Bug 1406182 - Obtain the length of typed arrays in a safe way. r=nchevobbe
MozReview-Commit-ID: ItlYZowJw7x

--HG--
extra : rebase_source : 8f955eae2e9ae44647b43c980a35bbb1f9ca8a0a
2017-10-07 16:55:26 +02:00
Jean-Yves Avenard
95990a22df Bug 1403622 - Allow VP8 HW decoder where known not to crash. r=cpearce
Windows 10 Falls Creator Update build 16287 is known to have the fix to the problem that made bug 1403063 necessary.

MozReview-Commit-ID: 5m3ZWMes1yl

--HG--
extra : rebase_source : 5f6cd508de75f7e315f4334f76d64b389e4f2ce3
2017-10-09 10:43:54 +02:00
Rob Thijssen
3fa623c3c6 Bug 1373178 - use preflight mech to hide win 10 taskbar; r=jmaher
MozReview-Commit-ID: 7tYL7A8Cjqi

--HG--
extra : rebase_source : 908335275bb1c66bd571cee5b10bda909006d4c6
2017-10-09 16:07:24 +03:00
Boris Chiou
baf6fc16c7 servo: Merge #18788 - Use defualt Debug trait for AnimationValue (from BorisChiou:style/animation_value/debug); r=emilio
We use AnimationValue for animation backend to do interpolation,
accumulation, or computing distance. While debugging it, dumping the
property name is not enough. We need to dump the detailed value contained
in it.

For example:
if we animate ```translate(100px)``` to ```translate(200px)```,
and want to dump ```{:?} => {:?}```, the result is ```transform => transform```.
I think what we want is something like:
```Transform([Translate(100px, 0px, 0px)]) => Transform([Translate(200px, 0px, 0px)])```.

Using default Debug trait is not perfect because there are some redundant type strings,
but it is still better than nothing.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [x] These changes are related to PR #18415.
- [X] These changes do not require tests because this is debug only.

Source-Repo: https://github.com/servo/servo
Source-Revision: 64aadee62c1e0f100ad79ab50a56cd1f84285eeb

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4418d524a31dd01cc7c36fe7254ea3b05e736494
2017-10-09 06:51:47 -05:00
Sebastian Hengst
a867e38354 Backed out changeset 231a24060d29 (bug 1404946) for linting failure at testing/marionette/driver.js:3054:35 | 'f' is defined but never used. r=backout
--HG--
rename : testing/marionette/sync.js => testing/marionette/wait.js
extra : amend_source : 009478a65c290d4b7540723f157de57dbe19901e
2017-10-09 16:23:15 +02:00
Sebastian Hengst
b668981dca Backed out changeset 135c1e44a92b (bug 1404946) 2017-10-09 16:23:10 +02:00
Sebastian Hengst
c9b41f4cb7 Backed out changeset bf79d5b1b4b0 (bug 1404946) 2017-10-09 16:23:04 +02:00
Sebastian Hengst
3b0bd340dc Backed out changeset dfc766f28aec (bug 1404946) 2017-10-09 16:22:59 +02:00
Andreas Tolfsen
9b9dc004c1 Bug 1404946 - Have PollPromise accept an options dictionary. r=whimboo
This patch moves the "timeout" and "interval" positional arguments
on PollPromise to an options dictionary.

In the following code example it is hard to know which argument means
what because they are not named:

	new PollPromise(resolve => resolve(), 100, 100);

Named arguments can be achieved in JavaScript using option
dictionaries, and this patch changes the input PollPromise takes so
that the above example looks like this:

	new PollPromise(resolve => resolve(), {timeout: 100, interval: 100};

This plays especially well with code in testing/marionette/element.js
as we already have named arguments that we can pass directly in through
an object literal, making the code more readable and more compact:

	let timeout = 42;
	new PollPromise(resolve => resolve(), {timeout});

MozReview-Commit-ID: GFWNGQAeWk1

--HG--
extra : rebase_source : 06e558129f1e0acf3fbf8b6ca99c2407320b8e61
2017-10-02 17:13:57 +01:00
Andreas Tolfsen
0fb99a7cd4 Bug 1404946 - Rename wait.until to PollPromise. r=whimboo
Now that we have selective imports through Cu.import we can give
wait.until a more descriptive name that matches TimedPromise.
This patch renames the wait.until utility to PollPromise.

MozReview-Commit-ID: 9gsvAV27mMl

--HG--
extra : rebase_source : ea98d63013d709d52ce234446404233d9dbe572e
2017-10-02 16:59:25 +01:00
Andreas Tolfsen
448628bdcc Bug 1404946 - Add markup to wait.until's docs. r=whimboo
MozReview-Commit-ID: AcP3C1qCgKA

--HG--
extra : rebase_source : 441be4b537f8868bff5b8c2009e7586e85f66efc
2017-10-02 16:50:11 +01:00
Andreas Tolfsen
583c91fabd Bug 1404946 - Rename wait module to sync. r=whimboo
testing/marionette/wait.js originally contained a utility for
poll-waiting on a condition.  The module has since been expanded to
also include TimedPromise, which is a specialisation of Promise that
is rejected after a duration.

The latter is not a wait utility but a synchronisation primitive.
This terminology also covers the first, and this change renames the
wait module to sync.

MozReview-Commit-ID: Fd3LqfpiEaU

--HG--
rename : testing/marionette/wait.js => testing/marionette/sync.js
extra : rebase_source : 5e22ec5e26b5405c928ab26734a8d2ddc5d43785
2017-10-02 16:38:33 +01:00
Sylvestre Ledru
e0ca72f574 Bug 1406845 - AddMesaSysfsPaths: Resource leak on dir r=gcp
MozReview-Commit-ID: 3ul84cttRAF

--HG--
extra : rebase_source : 6d5306ef859f2db6101c08fb6aad405ffce30696
2017-10-09 09:29:29 +02:00
Drew Willcoxon
9100f68edc Bug 1387141 - Pocket button does not stay red after URL pocketed and animation has finished. r=Gijs
MozReview-Commit-ID: KQVOUJUOfrx

--HG--
extra : rebase_source : 07e77c7835286c78789fc6c6ff553ae475f26e5e
2017-10-05 13:03:44 -07:00
Zibi Braniecki
e9a86bc479 Bug 1405631 - Remove broken firefox-l10n.js code from langpacks. r=Pike
MozReview-Commit-ID: D1Nlz50dSi5

--HG--
extra : rebase_source : 9cad300ae0c56060bed58d49d9b27fd9f06bfacb
2017-10-04 13:48:22 +02:00
Emilio Cobos Álvarez
116437b17f servo: Merge #18794 - style: use the XBL styleset quirks mode to match XBL rules (from emilio:xbl-quirks-mode); r=heycam
This fixes bug 1405543.

MozReview-Commit-ID: Dv3mt3Fb8Yp
Source-Repo: https://github.com/servo/servo
Source-Revision: 604cc4e311f1aec72599d43c5a0138b04c8b780d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f7f167f6738cd2575af5e5ffe73df06e55431c27
2017-10-09 05:04:15 -05:00
Blake Kaplan
718ebef945 Bug 1405960 - Force e10s-multi off in a cross-branch way. r=mconley
The existing code was a no-op on beta, where dom.ipc.processCount defaults to
1 and is overridden by dom.ipc.processCount.web if it's set. Now that we don't
select a single process count (because of an incompatible addon) on beta, we
have to use a different method of disabling multi.

MozReview-Commit-ID: 1KdyQdUFgNf

--HG--
extra : rebase_source : 9f4823b02a2b022ec96d36b916388fe63536f2c3
2017-10-05 15:23:27 -07:00
Xidorn Quan
5767c9b968 Bug 1406562 - Return first continuation for parent of first-letter in ExpectedOwnerForChild. r=emilio
MozReview-Commit-ID: KkBDMStwQ6r

--HG--
extra : rebase_source : 7e0ffbf2ebff5d7d08d324c61736805adc9ea846
2017-10-09 11:07:17 +11:00
Henri Sivonen
2061eb8fbe Bug 1405568 - Return false from nsHtml5String::LowerCaseStartsWithASCII when this string is shorter than the literal. r=smaug
MozReview-Commit-ID: AfPZ3nnOGQu

--HG--
extra : rebase_source : df5bd4fa2629dcc0433bdad68125b7c768a18744
2017-10-09 10:43:48 +03:00
Bobby Holley
2b9d87e53c servo: Merge #18789 - Assert more things in hashtables (from bholley:more_hashmap_asserts); r=Manishearth
https://bugzilla.mozilla.org/show_bug.cgi?id=1406815

Source-Repo: https://github.com/servo/servo
Source-Revision: 49376c9e544c6b3f0d340dff0450ad3267219428

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bd5bd5b614114c1e46c1446a0534cc7e48e84d91
2017-10-09 02:04:17 -05:00
JW Wang
09ecf06972 Bug 1406328 - shut down the MediaCache thread in ShutdownThreads phase. r=gerald
To avoid leaks caused by Dispatch() failures. See comment 0 for the detail.

MozReview-Commit-ID: 3lYxQNj1GPl

--HG--
extra : rebase_source : 8df990476a49544b475df39be789e3cb27853609
extra : intermediate-source : 012f42a1a9d46b0dafa31ca03da1c2bc4fc76d2e
extra : source : c6acb9362de9ab8d130104aaf102de2ecb27dc8f
2017-10-06 17:41:21 +08:00
JW Wang
ba8adddaa7 Bug 1405025. P2 - revert Bug 1390443 P1. r=jya
Since we don't use state-mirroring to dispatch nextFrameStatus changes, we
can now revert the workaround of bug 1390443 P1. See bug 1390443 comment 0
for more details.

MozReview-Commit-ID: FRxXUnGC3x2

--HG--
extra : rebase_source : 67192634e001c635e2f15cc77545df79fed11b2d
extra : intermediate-source : 7c02f95ff9d1864fcc53216304b15c266634c753
extra : source : 6a46f27ac74f2c5b013ff8ace3ce8a77279a99b5
2017-10-06 15:58:59 +08:00
JW Wang
4026dc6f84 Bug 1405025. P1 - ensure 'seeking' is fired before 'waiting'. r=jya
Use MediaEventSource instead of state-mirroring to notify nextFrameStatus
changes so we have more control over the order of events.

MozReview-Commit-ID: 3DGtMbghEQm

--HG--
extra : rebase_source : 774fc3da290c033769871a1bd7230177ff24d5bf
extra : intermediate-source : 6583b9281492be1a3bb0771b600cd80efd487af8
extra : source : 00570c319bfbd94970d4c637c7bf81b52d79ca02
2017-10-06 15:48:38 +08:00
Sebastian Hengst
ffb949f627 merge mozilla-central to autoland. r=merge a=merge 2017-10-09 11:23:26 +02:00
Sebastian Hengst
aa78440a09 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: EE6DcCgHufi
2017-10-09 11:19:20 +02:00
Sebastian Hengst
f4df55129b merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Dv5XkOkXC25

--HG--
extra : amend_source : 4eaa41d385816069c3d4841bf8cda5a9db04e618
2017-10-09 11:06:23 +02:00
Sebastian Hengst
8d8f52b144 Backed out changeset 0e684e74a413 (bug 1402904) for build bustage at editor/libeditor/HTMLEditRules.cpp:4068. r=backout
--HG--
extra : amend_source : cc2df0de55646be089926c778aeae0c8832dbf4e
2017-10-09 09:32:58 +02:00
Sebastian Hengst
ccc716c63f Backed out changeset daa2f3495cee (bug 1402904) 2017-10-09 09:32:53 +02:00
Tom Ritter
f49999833d Bug 1406380 Fix -Wreorder warnings r=njn
MozReview-Commit-ID: 7Zh2pvAMpXR

--HG--
extra : rebase_source : 5052112ad66a66cd2974c4140c3fd430dcaa3adc
2017-10-09 01:36:36 -05:00
ffxbld
6c0975fc33 No bug, Automated HPKP preload list update from host bld-linux64-spot-303 - a=hpkp-update 2017-10-08 22:51:19 -07:00
ffxbld
f804ab0aa0 No bug, Automated HSTS preload list update from host bld-linux64-spot-303 - a=hsts-update 2017-10-08 22:51:15 -07:00
Sebastian Hengst
1033bfa26f Backed out changeset 4eb1a4c1fdb1 (bug 1404910) for failing dom/base/test/test_window_cross_origin_props.html with e10s (runs on Windows 7 debug). r=backout a=backout on a CLOSED TREE
MozReview-Commit-ID: 2FATIBGSlEg
2017-10-08 16:10:05 +02:00
Sebastian Hengst
57b1e21136 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Lbq8F50U0Nf
2017-10-08 11:44:16 +02:00
Sebastian Hengst
12e330ed7f merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: byzWTimfhf
2017-10-08 11:41:48 +02:00
ffxbld
7e3b55bb22 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-10-07 23:08:04 -07:00
ffxbld
d51cd0971c No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2017-10-07 23:08:00 -07:00
Sebastian Hengst
e25887767b Backed out changeset e17425d9f940 (bug 1402584) for frequent mda failures on Windows 10, e.g. in dom/media/test/test_seek-2.html. r=backout
--HG--
extra : amend_source : 6e736c36d615c4662faf63612ef72935eeaa27c9
2017-10-08 01:16:34 +02:00
Sebastian Hengst
1b9a243342 Backed out changeset e80105b6353d (bug 1402584) 2017-10-08 01:16:29 +02:00
Bobby Holley
eb2f43263b servo: Merge #18779 - DiagnosticHashMap (from bholley:canary_and_journal); r=Manishearth
https://bugzilla.mozilla.org/show_bug.cgi?id=1405879

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 10b36c80557ca2591954a3400f1812629865ac54
2017-10-07 14:55:03 -05:00
Bobby Holley
3b4158287b Bug 1406220 - Followup: Assert main thread to silence heap-write hazard. r=me
MozReview-Commit-ID: JFW9zDbV5VV
2017-10-07 14:31:00 -07:00
Bobby Holley
a519863205 Bug 1406220 - Add canary and journaling. r=Manishearth,r=dmajor
MozReview-Commit-ID: 582ZiTmcvgs
2017-10-07 12:35:24 -07:00
ffxbld
aa721cc82a No bug, Automated HPKP preload list update from host bld-linux64-spot-308 - a=hpkp-update 2017-10-07 10:39:48 -07:00
ffxbld
c48db0de1a No bug, Automated HSTS preload list update from host bld-linux64-spot-308 - a=hsts-update 2017-10-07 10:39:44 -07:00
Sebastian Hengst
5d61e2eec8 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JDCYKq7yKwb
2017-10-07 10:45:11 +02:00
Sebastian Hengst
b834f0d177 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 7Ez95T2ivfR
2017-10-07 10:37:39 +02:00
Mats Palmgren
d31c70f572 Bug 1001994 - crashtest.
MozReview-Commit-ID: ADO517JgBy
2017-10-07 03:38:14 +02:00
Jonathan Kew
57e7fa4b99 Bug 1144641 - Add a crashtest.
MozReview-Commit-ID: G1DEIQjd7kb
2017-10-07 03:38:14 +02:00