Commit Graph

681451 Commits

Author SHA1 Message Date
Brindusan Cristian
a79348dd80 Backed out changeset 0186165ee1d8 (bug 471015) for reftest failures at box-shadow/611574-1.html. CLOSED TREE 2019-11-25 21:40:19 +02:00
alwu
fd2816a077 Bug 1593843 - part12 : rearrange included files by alphabet order. r=bryce
According to the nit in patch2, rearrange included files by their alphabet order.

Differential Revision: https://phabricator.services.mozilla.com/D53883

--HG--
extra : moz-landing-system : lando
2019-11-25 11:00:15 +00:00
alwu
4bcf3f8989 Bug 1593843 - part11 : add test. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D52807

--HG--
extra : moz-landing-system : lando
2019-11-25 11:00:15 +00:00
alwu
92b6033d47 Bug 1593843 - part10 : ask for the play permission when creating media element. r=bryce
For media element, as the spec requires that we should know the whether it can be allowed to play when we call `media.play()` [1], which means that we should get the result before the play invocation.

Therefore, we request for the play permission when we create media element.

Differential Revision: https://phabricator.services.mozilla.com/D52438

--HG--
extra : moz-landing-system : lando
2019-11-25 11:00:14 +00:00
alwu
644216d194 Bug 1593843 - part9 : use specific autoplay check when we enable the request asking on GeckoView r=bryce
If we enabled the request asking on GV, then we would have a different way to check if the media is allowed to play or not.

Differential Revision: https://phabricator.services.mozilla.com/D52794

--HG--
extra : moz-landing-system : lando
2019-11-25 11:00:14 +00:00
alwu
7ef972061c Bug 1593843 - part8.5 - check if we enable blocking web audio or not before checking other conditions. r=bryce
If we don't enable blocking web audio, then we have no need to check other conditions, so we should check that earlier.

Differential Revision: https://phabricator.services.mozilla.com/D53878

--HG--
extra : moz-landing-system : lando
2019-11-25 11:00:15 +00:00
alwu
54b8cc7893 Bug 1593843 - part8 : move helper functions out from 'AutoplayPolicy'. r=bryce
Move helper functions out from `AutoplayPolicy`, makes us clearly know which one could really be used to determine the blocking autoplay result. It also give other classes an ability to use those helper functions if they have a need.

Differential Revision: https://phabricator.services.mozilla.com/D52432

--HG--
extra : moz-landing-system : lando
2019-11-25 11:00:13 +00:00
Alastor Wu
b3fa60b9f3 Bug 1593843 - part7 : add debug logs. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D52603

--HG--
extra : moz-landing-system : lando
2019-11-25 18:19:29 +00:00
alwu
902bd705da Bug 1593843 - part6 : add a static pref to control this feature. r=bryce
`media.geckoview.autoplay.request` is used to control whether we send the play request.
`media.geckoview.autoplay.request.testing` is used to control the request result in testing.

Differential Revision: https://phabricator.services.mozilla.com/D52605

--HG--
extra : moz-landing-system : lando
2019-11-25 11:00:14 +00:00
alwu
c8642caea0 Bug 1593843 - part5 : reset request status when insert a new document to the window in the top-level browsing context. r=farre
When we insert the new document to the window in the top-level browsing context, we should reset the status of the request which is used for the previous document.

Differential Revision: https://phabricator.services.mozilla.com/D52435

--HG--
extra : moz-landing-system : lando
2019-11-25 11:00:13 +00:00
alwu
eb86c9cd9a Bug 1593843 - part4 : implement 'GVAutoplayPermissionRequestor' to manage the request. r=bryce
`GVAutoplayPermissionRequestor` provides a method to request autoplay permission for a page, which would be used to decide if media is allowed to autoplay or not on GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D52434

--HG--
extra : moz-landing-system : lando
2019-11-25 11:00:13 +00:00
alwu
9b3e1e1236 Bug 1593843 - part3 : store the request status in top-level browsing context. r=farre
If the page has already had same type pending request, then we don't want to send another request. If the page has already got the response from the request, we also don't want to send another request again.

In order to achieve that, we decide to store the request's staus on the top-browsing context to make sure that all media elements in the same browsing context tree can share the same status. Thereforw, we could avoid sending redudant request when there is a pending request, and reuse the previous request's result.

Differential Revision: https://phabricator.services.mozilla.com/D52431

--HG--
extra : moz-landing-system : lando
2019-11-25 11:00:13 +00:00
alwu
1d93afb4e6 Bug 1593843 - part2 : fix build problem under unified build. r=bryce
As we added new files, which affects the build bundle created by unified build. Therefore, add missing scope definition and included header to pass the build.

Differential Revision: https://phabricator.services.mozilla.com/D52430

--HG--
extra : moz-landing-system : lando
2019-11-25 11:00:12 +00:00
alwu
1ca1a56a01 Bug 1593843 - part1 : implement GVAutoplayPermissionRequest. r=Ehsan,bryce
Implement `GVAutoplayPermissionRequest`, that is used to provide an ability for GeckoView (GV) to allow its embedder (application) to decide whether the autoplay media should be allowed or denied on the page.

We have two types of request, one for audible media, another one for inaudible media. Each page would at most have one request per type at a time, and the result of request would be effective on that page until the page gets reloaded or closed.

Differential Revision: https://phabricator.services.mozilla.com/D52428

--HG--
extra : moz-landing-system : lando
2019-11-25 11:00:12 +00:00
Mihai Tabara
5e51933850 Bug 1594956 - add WNP locales for 71.0 r=RyanVM a=release
Differential Revision: https://phabricator.services.mozilla.com/D54583

--HG--
extra : moz-landing-system : lando
2019-11-25 19:14:34 +00:00
Emilio Cobos Álvarez
526c7105f0 Bug 1599115 - Simplify some code now that lifetimes are non-lexical. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D54529

--HG--
extra : moz-landing-system : lando
2019-11-25 19:14:37 +00:00
Markus Stange
27710815d4 Bug 1596955 - Add opaqueness tinting to NativeLayerCA. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D53289

--HG--
extra : moz-landing-system : lando
2019-11-25 19:06:16 +00:00
Harry Twyford
159f8202d3 Bug 1598655 - Touch Bar Search In feature should clear out the URL from the Urlbar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D54314

--HG--
extra : moz-landing-system : lando
2019-11-25 19:05:53 +00:00
Edwin Takahashi
79d87a899e Bug 1598839 - run mach environment with python3 r=ahal
Changes:

Remove `environment` from the python3 blacklist.

Remove the option to specify `configure` for the formatting argument, since it has never been supported (the method has never been implemented).

Differential Revision: https://phabricator.services.mozilla.com/D54395

--HG--
extra : moz-landing-system : lando
2019-11-25 18:27:28 +00:00
Andrew McCreight
e1cddbb815 Bug 1599180 - Fix some trivial "browing" typos. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D54570

--HG--
extra : moz-landing-system : lando
2019-11-25 18:32:35 +00:00
Dan Minor
9a042a7df9 Bug 1598761 - Handle ErrorKind::Interrupted in mdns_service; r=ng
This happens very frequently in rr runs, and may explain some
intermittents we've seen in automation.

Differential Revision: https://phabricator.services.mozilla.com/D54520

--HG--
extra : moz-landing-system : lando
2019-11-25 17:52:17 +00:00
Emilio Cobos Álvarez
da1d6b2724 No bug - Escape \r in the parsing bench.
Some stylesheets you may want to benchmark may contain windows newlines.

Differential Revision: https://phabricator.services.mozilla.com/D54571

--HG--
extra : moz-landing-system : lando
2019-11-25 18:27:01 +00:00
Andrew McCreight
70fac76306 Bug 1599175, part 2 - Remove DOS line endings in PiP's browser.ini. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D54566

--HG--
extra : moz-landing-system : lando
2019-11-25 18:25:08 +00:00
Andrew McCreight
38dac812ea Bug 1599175, part 1 - Remove unused 'browingContextId' message field in PictureInPictureChild. r=mconley
This field is misspelled. Don't worry though, it is also unused.

Differential Revision: https://phabricator.services.mozilla.com/D54565

--HG--
extra : moz-landing-system : lando
2019-11-25 18:19:01 +00:00
Valentin Gosu
2f9d597c56 Bug 1598635 - nsHttpChannel::ComputeCOOPMismatch should not crash in xpcshell-tests r=ttung
Not having a responseHead or browsingContext should not cause a crash or exception

In xpcshell-tests we don't really have a browsingContext, so we want to make
sure we don't crash when that happens.

If the channel failed, we may not have a response head. In that case we don't
want the call to ComputeCrossOriginOpenerPolicyMismatch to be what throws
an exception.

Differential Revision: https://phabricator.services.mozilla.com/D54408

--HG--
extra : moz-landing-system : lando
2019-11-25 09:52:51 +00:00
Mats Palmgren
84b1973502 Bug 471015 - [css-break] Implement <fieldset> fragmentation. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D53709

--HG--
extra : moz-landing-system : lando
2019-11-25 18:05:16 +00:00
Yura Zenevich
16ad43e850 Bug 1598404 - remove accessible-destroy event and make the way accessible walker actor manages accessible actors more consistent with the inspector walker and node actors. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D54333

--HG--
extra : moz-landing-system : lando
2019-11-25 15:47:38 +00:00
emcminn
08477efe88 Bug 1598403 - Added .svg icons to replace the old .png ones. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D54189

--HG--
extra : moz-landing-system : lando
2019-11-25 17:36:27 +00:00
Imanol Fernandez
2c071dd369 Bug 1597707 - Do not dispatch SELECT_ALL selection action if the input is empty or all the text is already selected. r=esawin
Do not dispatch SELECT_ALL selection action if the input is empty or all the text is already selected.

Differential Revision: https://phabricator.services.mozilla.com/D53828

--HG--
extra : moz-landing-system : lando
2019-11-25 17:24:04 +00:00
Miko Mynttinen
8fd2577113 Bug 1598640 - Add scene building time to WebRender profiler r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D54309

--HG--
extra : moz-landing-system : lando
2019-11-25 15:17:27 +00:00
Simon Giesecke
a715570cd9 Bug 1599114 - Allow StrongOrRawPtr to accept RefPtr. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D54533

--HG--
extra : moz-landing-system : lando
2019-11-25 16:33:38 +00:00
Aki Sasaki
bf83843fa9 Bug 1481916 - add l10n-bumper task. r=Callek,tomprince
Differential Revision: https://phabricator.services.mozilla.com/D53116

--HG--
extra : moz-landing-system : lando
2019-11-22 23:57:25 +00:00
Emily Toop
b9a8bc64fe Bug 1598593 - Copy docs files to root directory in github site r=agi
Differential Revision: https://phabricator.services.mozilla.com/D54272

--HG--
rename : mobile/android/docs/Gemfile => mobile/android/docs/geckoview/Gemfile
rename : mobile/android/docs/_config.yml => mobile/android/docs/geckoview/_config.yml
extra : moz-landing-system : lando
2019-11-25 16:01:52 +00:00
Mathieu Leplatre
a6d949c39b Bug 1559132 - Add ability to download Remote Settings attachments as bytes r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D53812

--HG--
extra : moz-landing-system : lando
2019-11-25 16:13:52 +00:00
Agi Sferro
71a0f9df8f Bug 1598378 - Disable mozAddonManager for GeckoView. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D54317

--HG--
extra : moz-landing-system : lando
2019-11-25 16:40:25 +00:00
Mike de Boer
ffcf2404fd Bug 1595076 - Fix tests to deal with the newly introduced timeout between loading a page and counting ads. r=Standard8
Depends on D52640

Differential Revision: https://phabricator.services.mozilla.com/D54484

--HG--
extra : moz-landing-system : lando
2019-11-25 13:52:07 +00:00
Mike de Boer
8f48d37dad Bug 1595076 - Add ad-count and adclick counting for DuckDuckGo and Bing SERPs. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D52640

--HG--
extra : moz-landing-system : lando
2019-11-25 11:57:48 +00:00
Agi Sferro
b388087639 Bug 1597821 - Actually replace view when calling GeckoView.setViewBackend. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D53887

--HG--
extra : moz-landing-system : lando
2019-11-25 16:38:50 +00:00
Tom Tung
8cbbcb52a0 Bug 1562667 - P4c - Revert the check for SAB for a js chrome test on Nightly; r=lth
Differential Revision: https://phabricator.services.mozilla.com/D54126

--HG--
extra : moz-landing-system : lando
2019-11-25 15:33:22 +00:00
Tom Tung
6b4474371c Bug 1562667 - P4b - Disable jsref test for Atomic on Nightly; r=lth,jorendorff
After enabling the perf for SAB by default on Nightly, some jsreftests fail.
And they all have log like:
tests/test262/shell.js:492: Error: Agents not available item 1

It seems that there are some issues on test262 shell, so the plan of this patch
is to disable these tests and open another follow-up ticket to re-enable them.
So that we could check the impact of enable the perf for SAB without enabling
the functionality of being postMessage'ed on Nightly users.

Differential Revision: https://phabricator.services.mozilla.com/D53966

--HG--
extra : moz-landing-system : lando
2019-11-25 15:33:22 +00:00
Tom Tung
64a20094ea Bug 1562667 - P4a - Enable SAB by default on nightly; r=bzbarsky,luke
This patch mainly enables the pref for SharedArrayBuffer on Nightly.

This change causes some tests to fail. This patch handles the failures for
mochitests and web-platform-tests. The jsreftest will be handled in the next
patch.

For mochitests:
- dom/serviceworkers/test/test_serviceworker_interfaces.js
- dom/tests/mochitest/general/test_interfaces.js
- dom/workers/test/test_worker_interfaces.js

These tests check which interfaces are exposed on the web. Since we are now
exposing SharedArrayBuffer in some configurations, the tests need to be adjusted
accordingly.

For the rest of tests in this patch:
- testing/web-platform/meta/encoding/encodeInto.any.js.ini
This test partially fails because the integration of encoding and SAB is not
completely supported yet.

- testing/web-platform/meta/encoding/streams/decode-utf8.any.js.ini
This test partially fails because the integration of decoding and SAB is not
completely supported yet.

- testing/web-platform/meta/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/requires-failure.https.any.js.ini
- testing/web-platform/meta/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/requires-success.any.js.ini
- testing/web-platform/meta/wasm/jsapi/memory/constructor.any.js.ini
- testing/web-platform/meta/wasm/jsapi/memory/grow.any.js.ini
The subtests related to SAB in these tests now pass when SAB is enabled, so we
need to annotate them as failing only in configurations where SAB is disabled.

- testing/web-platform/meta/webaudio/the-audio-api/the-audiobuffer-interface/audiobuffer-copy-channel.html.ini
This test partially fails because there are some issues between SAB and Audio.

Differential Revision: https://phabricator.services.mozilla.com/D48838

--HG--
extra : moz-landing-system : lando
2019-11-25 16:28:06 +00:00
Rishi Gupta
d7a47446c2 Bug 1598382 : using iteritems from six to be compatible to both py2 and py3 r=whimboo,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D54173

--HG--
extra : moz-landing-system : lando
2019-11-25 16:33:45 +00:00
june wilde
bb30244e33 Bug 1395259 - Remove win32k usage from webrtc's TaskQueue; r=dminor
Removes calls to the win32k API.
Replaces hardware and event timers with waitable timers.
Removes handling various task objects through the thread message queue.
Removes ProcessQueuedMessages, CancelTimers functions.
Adds event handle for stopping the TaskQueue thread.
Adds ReplyHandler class as an in between for TaskQueue objects to post tasks to each other without worrying if the other TaskQueue remains valid.
Adds rtc::CriticalSection's for timer_tasks_.
Removes ThreadState scoped class.

Differential Revision: https://phabricator.services.mozilla.com/D43480

--HG--
extra : moz-landing-system : lando
2019-11-25 16:11:32 +00:00
Henrik Skupin
656a009825 Bug 1598468 - [remote] Temporarily stop emitting the "Target.receivedMessageFromTarget" event. r=remote-protocol-reviewers,ato
This event is currently sent for each and every message,
and as such duplicates every log entry as displayed when
having the Puppeteer debug logs turned on.

Until we can fix it to behave correctly, it should be
disabled.

Differential Revision: https://phabricator.services.mozilla.com/D54273

--HG--
extra : moz-landing-system : lando
2019-11-25 15:34:24 +00:00
Maja Frydrychowicz
19c3ac33fe Bug 1596888 - (Puppeteer) Add automation preferences Firefox profile; r=remote-protocol-reviewers,ato,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D53952

--HG--
extra : moz-landing-system : lando
2019-11-25 16:16:40 +00:00
Taylor
9fa2878a4c Bug 1371687 - Remove UpdateShortcutAppUserModelIds from helper.exe. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D54390

--HG--
extra : moz-landing-system : lando
2019-11-25 16:05:13 +00:00
jeffin143
7868d04683 Bug 1597893 : convert NS_STYLE_WINDOW_SHADOW_* to an enum class in nsStyleConsts.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D53920

--HG--
extra : moz-landing-system : lando
2019-11-25 16:00:23 +00:00
jeffin143
9b7464720b Bug 1598348 : convert NS_STYLE_OBJECT_FIT_* to an enum class in nsStyleConsts.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D54153

--HG--
extra : moz-landing-system : lando
2019-11-25 15:40:50 +00:00
jeffin143
2293551763 Bug 1598539 : convert NS_STYLE_IME_MODE_* to an enum class in nsStyleConsts.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D54255

--HG--
extra : moz-landing-system : lando
2019-11-25 15:41:18 +00:00
Mike Hommey
b1d0510804 Bug 1598196 - Support disabling the linker on Android in the code. r=froydnj
For now, there is no flag to actually allow it, but this is the
code-side changes to allow the linker being disabled.

Differential Revision: https://phabricator.services.mozilla.com/D54074

--HG--
extra : moz-landing-system : lando
2019-11-21 14:57:24 +00:00