Commit Graph

72367 Commits

Author SHA1 Message Date
Bogdan Tara
a21bf5e552 Merge inbound to mozilla-central. a=merge 2018-03-04 23:50:03 +02:00
Olli Pettay
3faf40c897 Bug 1425864 - Ensure printing documents which have ShadowDOM works, r=mrbkap,emilio 2018-03-04 19:41:13 +09:00
Dorel Luca
86acaf1c1a Merge autoland to mozilla-central. a=merge 2018-03-04 12:02:42 +02:00
Cristian Brindusan
aebd2b4f26 Bug 1391823 - Disable dom/security/test/mixedcontentblocker/test_frameNavigation.html for frequent failures. r=jmaher 2018-03-03 05:16:00 +02:00
Tooru Fujisawa
499d3077f5 Bug 1442218 - Defer MicroTask checkpoint to the outside of loop in nsGlobalWindowInner::CallDocumentFlushedResolvers and nsGlobalWindowInner::CancelDocumentFlushedResolvers, and add observer if Promise callbacks adds document flushed resolvers. r=bz 2018-03-03 20:37:59 +09:00
Byron Campen [:bwc]
10af499fbf Bug 1442385: Remove old onremovestream event stuff. r=jib,smaug
MozReview-Commit-ID: Bay5NvTsTFU

--HG--
extra : rebase_source : 7eba187b24ed9893abd2b2ec9b0f89c2a9d00689
2018-03-01 14:39:07 -06:00
Gurzau Raul
181dcb0b19 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-03 23:49:05 +02:00
Valentin Gosu
f102a081b2 Bug 1434163 - Make all nsIURI attributes readonly r=mayhemer
MozReview-Commit-ID: KtjO8VWjPF5

--HG--
extra : rebase_source : 061a6db73e36b3a0b3732d44379bbc10e8268f9a
2018-02-27 00:07:48 +01:00
Brindusan Cristian
6cf5ac594a Merge inbound to mozilla-central. a=merge 2018-03-03 11:40:49 +02:00
Andreas Pehrson
c2cf44b1d5 Bug 1441145 - Swap width and height in target capability if the frame is rotated. r=jib
MozReview-Commit-ID: 3QO3W0J3b6G

--HG--
extra : rebase_source : 956fe446b34fb797e11a36ab21b9808c23ac8cc1
2018-02-26 15:42:57 +01:00
shindli
73e569944b Merge inbound to mozilla-central. a=merge 2018-03-03 01:06:35 +02:00
shindli
68a1ed26ac Merge autoland to mozilla-central. a=merge 2018-03-03 01:05:23 +02:00
Boris Zbarsky
908e366238 Back out rev b89286a88588 (bug 1442344) for hitting the MOZ_CRASH on Android opt builds.
MozReview-Commit-ID: F7zCmO5zDUq
2018-03-02 12:27:48 -05:00
Boris Zbarsky
bb7433ad51 Bug 1442313 part 4. Use getJSTestingFunctions() in test_worker_interfaces.js. r=luke
MozReview-Commit-ID: IUQQX3ixkgl
2018-03-01 14:24:20 -05:00
Boris Zbarsky
6e53866b8e Bug 1442313 part 3. Expose, test-only, getJSTestingFunctions() in workers. r=bkelly
MozReview-Commit-ID: LiErRvJ6CTH
2018-03-01 14:24:20 -05:00
Boris Zbarsky
7dd7848880 Bug 1442313 part 2. Push down the value of xpc::IsInAutomation into workers. r=bkelly
MozReview-Commit-ID: 5h51oqaf0R
2018-03-01 14:24:20 -05:00
Andreea Pavel
1a958ddba5 Merge autoland to mozilla-central. a=merge 2018-03-02 18:19:20 +02:00
Andreea Pavel
14a1838c54 Backed out 4 changesets (bug 1442313) for frequently failing crashtests on android, e.g. libeditor/crashtests/772282.html and layout/generic/crashtests/542136-1.html a=backout
Backed out changeset bfef9139500f (bug 1442313)
Backed out changeset 660332ce1bf0 (bug 1442313)
Backed out changeset 9788a46b8874 (bug 1442313)
Backed out changeset 8fc2c103027b (bug 1442313)
2018-03-02 18:08:23 +02:00
Andreas Pehrson
edf62f8506 Bug 1440169 - Don't reset mLastNotify in resuming Start(). r=padenot
MozReview-Commit-ID: 6AL8QpSnwwm

--HG--
extra : rebase_source : 1cf74cb4c177fcaca91f923748308e20d6c38136
2018-03-02 12:48:34 +01:00
Andreas Pehrson
624c03aed6 Bug 1440169 - Take TrackTicks samples in SineWaveGenerator::generate. r=achronop,padenot
MediaEngineDefaultAudio uses the SineWaveGenerator and passes a
TrackTicks (int64_t) arg to generate(). It need to take the same type
or bad things can happen.

MozReview-Commit-ID: EoybtTFkWhT

--HG--
extra : rebase_source : c21bbbc2729d092ad78ffe877bf141dbce3a41d3
2018-03-02 11:43:57 +01:00
Ciure Andrei
199c24a789 Merge inbound to mozilla-central. a=merge 2018-03-02 12:16:06 +02:00
Jean-Yves Avenard
34790a4e8a Bug 1435709 - Don't attempt to use stagefright to decode theora. r=padenot
MozReview-Commit-ID: 215BhSSWGBC

--HG--
extra : rebase_source : ce13146082438224577e6238279c161f3bc7bfc0
2018-03-02 07:49:25 +01:00
Xidorn Quan
5b522decf1 Bug 1441729 - Remove aTextIsSignificant param from nsStyleUtil::IsSignificantChild and its friends. r=emilio
MozReview-Commit-ID: CEZmAwcnglg

--HG--
extra : rebase_source : 4b5526baaf6a5fdee658ae5bdecb46e719bb2d38
2018-02-28 12:54:01 +11:00
Kris Maglione
69844a6fbb Bug 1441333: Part 3 - Add helper to create a JS error with a saved stack. r=bz
There's no standard way to create a JS error with full stack and location
information from a saved stack. Since we need this functionality in order to
reject promises with useful Error objects, this patch adds a simple helper to
make that possible.

MozReview-Commit-ID: FyGuo4UjfsQ

--HG--
extra : rebase_source : 65ef11c56f23e04ea5eeb87b972bfc8e4867fdd2
2018-03-01 14:00:00 -08:00
Jonathan Kingston
a9768e4ebc Bug 1442417 - Fix exposure policy for device sensors. r=bz
MozReview-Commit-ID: DOSvSwsn7uo

--HG--
extra : rebase_source : 01b60e796d63396dbf3ad3f87a5f828962f84c62
2018-03-01 22:10:41 +00:00
Timothy Guan-tin Chien
5dbdc07e62 Bug 1439778 - Move XBL accessibility role="xul:panel" into XULMap.h r=surkov
MozReview-Commit-ID: LqdGEZqRTWA

--HG--
extra : rebase_source : 3c09fad59731eca97024bf52f68180c254c4e8ee
extra : source : adbe14b1537b1cb1ec3f390ed3703edbfeb799d8
2018-03-01 13:21:00 -08:00
shindli
b1ab6c8442 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-03 01:18:17 +02:00
Jeff Gilbert
7908c68484 Bug 1442504 - Disable disjoint timer queries. r=milan
MozReview-Commit-ID: IurPcGHzAoQ
2018-03-03 00:50:10 +02:00
Jeff Gilbert
1e31676d61 Bug 1440849 - Mark Tests.
MozReview-Commit-ID: 3KpyQ51LzEO
2018-03-02 13:42:27 -08:00
Jeff Gilbert
d7f00b4cb7 Bug 1440849 - Gecko changes due to Angle update. - r=jrmuizel
MozReview-Commit-ID: LJhesu56ORJ
2018-03-02 13:42:20 -08:00
Tom Ritter
2285b8a55f Bug 1425462 Address tests for Time Jittering. r=bkelly
The following tests all hardcoded a special value for Timer Precision Reduction.

browser/components/extensions/test/xpcshell/test_ext_browsingData_cookies_cache.js
browser/components/resistfingerprinting/test/browser/browser_performanceAPI.js
browser/components/resistfingerprinting/test/mochitest/test_animation_api.html
browser/components/resistfingerprinting/test/mochitest/test_reduce_time_precision.html
devtools/client/sourceeditor/test/browser_codemirror.js
dom/animation/test/css-animations/test_animation-currenttime.html
dom/animation/test/mozilla/test_transition_finish_on_compositor.html
dom/media/test/test_video_stats_resistfingerprinting.html
dom/tests/mochitest/ajax/jquery/test_jQuery.html
netwerk/test/unit/test_race_cache_with_network.js

Of these, only test_video_stats_resistfingerprinting.html begins failing when Jitter is enabled.
So disable jitter for that test.

Additionally, dom/midi/tests/test_midi_packet_timing_sorting.html began failing
with Jitter, so we disable it there. (We could easily modify the test so it began
passing, but this would reduce the effectiveness of the test.)

MozReview-Commit-ID: 2kipxV6wYv9

--HG--
extra : rebase_source : f455af2db1bba4e1c3986c413643b549ad29c208
2018-02-15 15:34:05 -06:00
Tom Ritter
845ef57dd6 Bug 1425462 When reducing the precision of timestamps, also apply fuzzytime to them r=bkelly
Fuzzytime deterministically generates a random midpoint between two clamped values,
and if the unreduced timestamp is above the midpoint, the time is rounded upwards.
This allows safe time jittering to occur, as time will never go backwards on a given
timeline.

It _is_ possible for time to go backwards when comparing different (but related)
timelines, such as a relative timeline in one page (with its own
performance.timeOrigin) and a relative timeline in an iframe or Worker (which
also has its own performance.timeOrigin). This is the same behavior as the 2ms timer
reduction we previously landed; jitter doesn't make this any better or worse.

MozReview-Commit-ID: IdRLxcWDQBZ

--HG--
extra : rebase_source : 40b29d34e5cc99f9b8e6d5e711a03b9fe9bfa595
2018-03-01 00:07:03 -06:00
Ciure Andrei
234819650e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-02 12:19:09 +02:00
Miko Mynttinen
280cf13e36 Bug 1441779 - Part 1: Change nsTArray<SourceBufferTask> to nsTArray<RefPtr<SourceBufferTask>> r=gerald
MozReview-Commit-ID: 8lV4Pp9p7Ch

--HG--
extra : rebase_source : b149b6ed15f88b9ee8af8ec553a57a8ccec3dafd
2018-03-01 11:55:18 +01:00
Adrian Wielgosik
c3a7bce436 Bug 1441270 - Remove nsIDOMWebGLRenderingContext. r=jgilbert
It's now empty and unused.

MozReview-Commit-ID: KvhdDp3dqU3

--HG--
extra : rebase_source : f017bb78250d62189105918dda2708ed01ca1aec
2018-02-26 20:36:04 +01:00
Adrian Wielgosik
d61c7fbed5 Bug 1441270 - Remove unused WebGL parameter getters. r=jgilbert
MozReview-Commit-ID: 7PqaPG2STUs

--HG--
extra : rebase_source : e24d7534964d15c54c1f8706ad01e17a4e31dd8c
2018-02-26 20:35:12 +01:00
Andreas Pehrson
ae85e5be40 Bug 1440040 - Improve MediaEngineWebRTCMicrophoneSource logging. r=padenot
MozReview-Commit-ID: 3mB1gZOGfCY

--HG--
extra : rebase_source : 12d0ae852b704717e8c7b4d5f0a3a2ad4f38d50e
2018-02-28 22:46:33 +01:00
Andreas Pehrson
a087cace0d Bug 1440040 - Fix assertion that checks for appending silence in real callback when enabled. r=padenot
MozReview-Commit-ID: IiEQ7fKKz8g

--HG--
extra : rebase_source : d0e0d532fb7cd4223a072502be2097065f4037df
2018-02-28 22:45:40 +01:00
Andreas Pehrson
aecea2a024 Bug 1440040 - Properly apply microphone capture settings. r=padenot
MozReview-Commit-ID: 7TqYvHrltxm

--HG--
extra : rebase_source : 5a6d972c6e07b17737c17cfa4827cbe5352c852a
2018-02-28 22:41:15 +01:00
Andreas Pehrson
60f3567035 Bug 1440040 - Don't round up to next block unless necessary. r=padenot
With block size 128, rounding `128` to end of next block gives `256`, which is
not what we want when running MSG iterations. That could mean over-iterating and
buffering unnecessary amounts of silence.

MozReview-Commit-ID: vW14l2ygRy

--HG--
extra : rebase_source : 8aeedc8958e646f9730c9163447e3355a73fd42e
2018-02-28 22:37:02 +01:00
Dorel Luca
3ccafa2b66 Merge mozilla-inbound to mozilla-central. a=merge 2018-03-02 00:09:29 +02:00
Sebastian Hengst
3d8dc1f748 Backed out changeset 322fb820d019 (bug 1442020) on suspicion of causing site identity related browser-chrome failures, e.g. in browser/base/content/test/siteIdentity/browser_bug822367.js. CLOSED TREE 2018-03-01 21:26:12 +02:00
Dorel Luca
2807df93c4 Backed out 2 changesets (bug 1436096) for mochitest failure on tests/dom/media/webaudio/test/test_pannerNodeAtZeroDistance.html on a CLOSED TREE
Backed out changeset e9d7a3f92bcc (bug 1436096)
Backed out changeset 5dcbba40dd0c (bug 1436096)

--HG--
extra : amend_source : dace4365ca71014c74ca637f88681159f7a8d3fc
2018-03-01 20:44:31 +02:00
Alex Chronopoulos
4b1666477b Bug 1436096 - In PannerNode mochitest correct mono input and add test for stereo input. r=padenot
MozReview-Commit-ID: 54NPkWkVCha

--HG--
extra : rebase_source : f19f08d9a3ec5e9bfee2e1845696350c0fc06cfa
2018-03-01 19:54:36 +02:00
Alex Chronopoulos
6b64d67d8f Bug 1436096 - PannerNode noop optimization for equal power is valid on stereo source. r=padenot
MozReview-Commit-ID: F0c2KuFN7Q5

--HG--
extra : rebase_source : 5a9b6b6975f56a03933cd583b83013c9b4b03f2f
2018-03-01 19:50:28 +02:00
Tiberius Oros
be676ac217 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-01 19:34:54 +02:00
Tiberius Oros
61d400da1c Merge inbound to mozilla-central. a=merge 2018-03-01 19:29:00 +02:00
Csoregi Natalia
1fd0486e23 Backed out 7 changesets (bug 1193394) for browser-chrome failures on browser_ext_popup_background.js. CLOSED TREE
Backed out changeset 9683f24ff8ec (bug 1193394)
Backed out changeset 0e7140a7c841 (bug 1193394)
Backed out changeset a0e26f6b2784 (bug 1193394)
Backed out changeset 29e1fceaf48d (bug 1193394)
Backed out changeset b8632bbbd273 (bug 1193394)
Backed out changeset a54ef2d8f896 (bug 1193394)
Backed out changeset 55c94c05c57f (bug 1193394)
2018-03-01 16:29:02 +02:00
Georg Koppen
f58841a715 Tests updated/added for bug 1382359 r=ckerschb CLOSED TREE 2018-03-01 10:13:22 +01:00
Georg Koppen
dd4fb3ba9f Bug 1382359: Treat .onion as a secure context
Websites which collect passwords but don't use HTTPS start showing scary
warnings from Firefox 51 onwards and mixed context blocking has been
available even longer.

.onion sites without HTTPS support are affected as well, although their
traffic is encrypted and authenticated. This patch addresses this
shortcoming by making sure .onion sites are treated as potentially
trustworthy origins.

The secure context specification
(https://w3c.github.io/webappsec-secure-contexts/) is pretty much focused
on tying security and trustworthiness to the protocol over which domains
are accessed. However, it is not obvious why .onion sites should not be
treated as potentially trustworthy given:

"A potentially trustworthy origin is one which a user agent can
generally trust as delivering data securely.

This algorithms [sic] considers certain hosts, scheme, and origins as
potentially trustworthy, even though they might not be authenticated and
encrypted in the traditional sense."
(https://w3c.github.io/webappsec-secure-contexts/#is-origin-trustworthy)

We use step 8 in the algorithm to establish trustworthiness of .onion
sites by whitelisting them given the encrypted and authenticated nature
of their traffic.
2018-03-01 09:44:30 +01:00