Commit Graph
8059 Commits
Author SHA1 Message Date
Cosmin Sabou eb21b4eef4 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-28 06:08:19 +02:00
Dragana Damjanovic 0286a6ce7d Bug 1510307 - Fix the comment next to esni pref. r=JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D13083
2018-11-27 17:09:58 +00:00
Timothy Guan-tin Chien bcdbf931d9 Bug 1507894 - Enable UA Widget in beta/release r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D13014
2018-11-27 21:00:07 +00:00
Ehsan Akhgari 524a66bb9d Bug 1509555 - Part 2: Remove the core fastblock code r=valentin
Depends on D12828

Differential Revision: https://phabricator.services.mozilla.com/D12829
2018-11-26 11:37:01 +00:00
Alex Chronopoulos a41caf0f50 Bug 1493400 - Implement platform decoder for dav1d. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D12164
2018-11-27 14:18:58 +00:00
Masayuki Nakano 5da644d453 Bug 1288640 - Make TextComposition not dispatch eCompositionChange events (DOM "text" event) in the default group of web content r=smaug
The usage of our specific "text" event is enough low (0.0003%).  So, let's
stop dispatching the event in the default group of web content.  Once we
release this new behavior, we can get rid of dispatching the event even in
chrome.  Then, we can optimize the event order for new specs.

Differential Revision: https://phabricator.services.mozilla.com/D13034
2018-11-27 13:26:51 +00:00
Masayuki Nakano 9bdcaddc01 Bug 1510081 - Remove docs.google.com from "dom.keyboardevent.keypress.hack.use_legacy_keycode_and_charcode" r=smaug
It seems that Google Docs have already been fixed their bugs of mirroring
keyCode and charCode values of our keypress events.  Therefore, we should
remove docs.google.com from the blacklist and collect new feedback from
Nightly testers.

Differential Revision: https://phabricator.services.mozilla.com/D13035
2018-11-27 13:10:31 +00:00
Andreea Pavel dbd394ae9e Backed out 2 changesets (bug 1504065) for failing Win reftest at child-in-animating-element-display-none.html on a CLOSED TREE
Backed out changeset 129188370231 (bug 1504065)
Backed out changeset 359e81b35cfb (bug 1504065)
2018-11-27 15:33:29 +02:00
Hiroyuki Ikezoe 678e8d5615 Bug 1504065 - Run background-color animations on the compositor. r=birtles
Changes for nsIDOMWindowUtils.getOMTAValue is in the next commit with come test
cases.

Differential Revision: https://phabricator.services.mozilla.com/D13001
2018-11-27 09:26:51 +00:00
Jeff Gilbert 4514a08257 Bug 1492580 - Repair CONTEXT_LOST handling. r=lsalzman
Simplify error handling in GLContext.
Modernize context loss handling in GLContext.
Remove various unused parts.
Fix WebGLContext's context loss/restoration.

MozReview-Commit-ID: Lu2hi5HnP8x

Differential Revision: https://phabricator.services.mozilla.com/D12496
2018-11-27 04:23:19 +00:00
Paul Adenot afe3c3ef77 Bug 1509842 - Re-enable AGC by default. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D12898
2018-11-26 13:51:27 +00:00
Valentin Gosu 808cc44230 Bug 1502097 - (Part 1) Move pref network.IDN.blacklist_chars to separate hardcoded file IDNCharacterBlocklist.inc r=jfkthame,dragana
* Moves the value of the pref and also the fallback definition in nsTextToSubURI.cpp to a separate file.
* The file has better formatting, so we may follow its history more easily. Each range of consecutive values is defined on a separate line.
* Renames `blacklist` to `blocklist` for pref and variable names (for this individual pref. network.IDN.whitelist.* needs to be handled in a separate bug)
* Changes nsIDNService::mIDNBlocklist from being an nsString to sorted nsTArray<char16> and uses mozilla::BinarySearch() to check for characters.

Differential Revision: https://phabricator.services.mozilla.com/D12209
2018-11-23 22:40:29 +00:00
Jean-Yves Avenard 4151f82051 Bug 1508677 - Use playback's VP8/VP9 decoder for webrtc call on Nightly. r=padenot
On some Windows systems and many Android, those are hardware accelerated resulting is much lower CPU usage during calls.

Differential Revision: https://phabricator.services.mozilla.com/D12448
2018-11-22 17:47:41 +00:00
Jean-Yves Avenard f31a9b9843 Bug 1505284 - P4. Split preferences to enable WebRTC with MediaDataDecoder. r=padenot
So that we can disable just the H264 decoders while allowing VP8 or VP9.

Differential Revision: https://phabricator.services.mozilla.com/D12539
2018-11-22 16:31:16 +00:00
Jean-Yves Avenard 099b79ba1b Bug 1505284 - P2. Use system's h264 decoder for webrtc call. r=padenot
All H264 system's decoders now handle low latency mode and are typically hardware accelerated.

We disable it for now on Android due to bug 1509316

Differential Revision: https://phabricator.services.mozilla.com/D12432
2018-11-22 16:30:44 +00:00
Ryan Hunt f136d83ec6 Bug 1507356 - Allow APZ relative scroll offset updates to ride the trains. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D12544
2018-11-21 17:40:18 +00:00
Mike Conley 5443ab93e4 Bug 1499465 - Don't collect KillHard crashes on Beta or Release. r=jld,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D10968
2018-11-20 21:34:36 +00:00
arthur.iakab 18165b0fb9 Merge mozilla-central to inbound 2018-11-20 18:49:12 +02:00
arthur.iakab 4a8142e0a1 Merge inbound to mozilla-central a=merge 2018-11-20 18:47:30 +02:00
Andrew Osmond c6298541e8 Bug 1507691 - Add image/webp to default HTTP Accept header. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D12136
2018-11-20 06:42:04 -05:00
Masayuki Nakano bcf1fbb821 Bug 1508503 - Remove medium.com from "dom.keyboardevent.keypress.hack.dispatch_non_printable_keys" r=smaug
Bug 1483553 was fixed by the developers of medium.com so that we can remove
medium.com from the blacklist which prevents strict keypress dispatching on
specific websites.

Differential Revision: https://phabricator.services.mozilla.com/D12398
2018-11-20 12:58:58 +00:00
Andrew Osmond ec888e38a6 Bug 1508393 - Enable animated images producing full frames by default. r=tnikkel
Also, fix a minor bug where when we discard an animated image that is a
full frame animated image, we need to reset
AnimationState::mCompositedFrameInvalid to false, just like we do for
animated images blended by FrameAnimator. This is because it is used as
part of our state checking in FrameAnimator::GetCompositedFrame before
we are willing to yield frame data.

Differential Revision: https://phabricator.services.mozilla.com/D12362
2018-11-19 21:05:54 -05:00
Andrea Marchesini f89c8b8b2d Bug 1507769 - User-interaction required before granting storage access for some 3rd party trackers, r=ehsan 2018-11-19 23:56:04 +01:00
Razvan Maries 20a8c263db Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-11-20 00:36:35 +02:00
Tarek Ziadé 0fd5c241d5 Bug 1508257 - Remove io.activity.intervalMilliseconds - r=valentin
This preference is not used. Let's get rid of it.

Differential Revision: https://phabricator.services.mozilla.com/D12295
2018-11-19 14:52:26 +00:00
Valentin Gosu 01edd09fcc Bug 1507157 - Set network.disable.ipc.security to true r=kershaw
This pref is left over from B2G days. It is currently disabled for firefox
desktop, but not for Android. This didn't affect us until now because we
always ran Android tests in non-e10s mode.

The pref ought to be removed in bug 1306801.

Differential Revision: https://phabricator.services.mozilla.com/D12293
2018-11-19 15:41:57 +00:00
Andrea Marchesini 02c1924ab1 Bug 1480544 - Allow Console API to log messages on stdout, r=bgrins
This patch introduces 2 new prefs:
- devtools.console.stdout.chrome: if true, console API writes on stdout when
                                  used by chrome code
- devtools.console.stdout.content: console API write on stdout when used by
                                   content code.
2018-11-15 21:47:58 +01:00
Brian Hackett bff9ac0e56 Bug 1505935 Part 3 - Add pref allowing system scripts to be exposed to the debugger, r=lsmyth. 2018-11-10 15:27:54 -10:00
Ciure Andrei 0148881172 Backed out 4 changesets (bug 1507769, bug 1505571) for browser_storageAccessWithHeuristics.js failures CLOSED TREE
Backed out changeset 401763b97e54 (bug 1507769)
Backed out changeset 838dfe679fdd (bug 1505571)
Backed out changeset 88af3329ee16 (bug 1505571)
Backed out changeset be17a8b7aefa (bug 1505571)
2018-11-19 22:06:24 +02:00
Andrea Marchesini 29a3dbab55 Bug 1507769 - User-interaction required before granting storage access for some 3rd party trackers, r=ehsan
We want to introduce a new pref to block trackers that try to workaround our
heuristic. The pref is called:
privacy.restrict3rdpartystorage.userInteractionRequiredForHosts
2018-11-19 19:16:25 +01:00
Bobby Holley 0f4ed9f049 Bug 1507333 - Clear evicted cache entries when using the debug display. r=gw,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D11959
2018-11-19 09:16:09 -08:00
Cosmin Sabou 8fd1b065ba Merge mozilla-central to mozilla-inbound. 2018-11-28 00:04:55 +02:00
Lee Salzman 8478f6a7c6 Bug 1120371 - remove obsolete drawCustomFocusRing from Canvas2D. r=jrmuizel, r=bholley 2018-11-27 15:57:54 -05:00
Andrew Osmond 3761402ed1 Bug 1503653 - Part 2. Enable WebP by default. r=tnikkel
Bug 1249474 suggested that we add image/webp to the front of the Accept
header for images, to indicate to servers that we actually support WebP.

Differential Revision: https://phabricator.services.mozilla.com/D8120
2018-11-15 06:54:48 -05:00
Andrea Marchesini c2da862800 Bug 1507144 - Enable reporting API by default in nightly only, r=smaug 2018-11-15 11:15:58 +01:00
arthur.iakab 49f94b9c70 Merge inbound to mozilla-central a=merge 2018-11-15 11:54:15 +02:00
Timothy Guan-tin Chien fb30ec3de3 Bug 1503019 - Part II, Remove dom.webcomponents.customelements.enabled pref r=smaug
This patch removes the following functions:

* nsContentUtils::IsCustomElementsEnabled()
* CustomElementRegistry::IsCustomElementEnabled(JSContext* aCx, JSObject* aObject)
* CustomElementRegistry::IsCustomElementEnabled(nsIDocument* aDoc)

and all references of the pref.

Depends on D11183

Differential Revision: https://phabricator.services.mozilla.com/D11249
2018-11-15 06:52:01 +00:00
Timothy Guan-tin Chien 2a63ce2955 Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug
This patch removes the dom.webcomponents.shadowdom.enabled pref and all its
references, including the following functions:

* nsContentUtils::IsShadowDOMEnabled()
* nsIDocument::IsShadowDOMEnabled()
* nsDocument::IsShadowDOMEnabled(JSContext* aCx, JSObject* aGlobal)
* nsDocument::IsShadowDOMEnabled(const nsINode* aNode)
* nsTextNode::IsShadowDOMEnabled(JSContext* aCx, JSObject* aObject)

This function is renamed and updated to nsDocument::IsCallerChromeOrAddon():

* nsDocument::IsShadowDOMEnabledAndCallerIsChromeOrAddon(JSContext* aCx, JSObject* aObject)

I didn't change the tests that load Shadow DOM tests in an iframe, in the interest of keeping hg annotation history.

Differential Revision: https://phabricator.services.mozilla.com/D11183
2018-11-15 06:51:07 +00:00
Andreea Pavel f667cd7449 Backed out 2 changesets (bug 1503019) for failing crashtests at dom/base/crashtests/1505811.html on a CLOSED TREE
Backed out changeset 06b12fd41ff1 (bug 1503019)
Backed out changeset 7b845eac9dd7 (bug 1503019)
2018-11-15 01:52:30 +02:00
Andreea Pavel ec39d8b518 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-15 00:35:07 +02:00
Razvan Maries 04523c7320 Merge mozilla-inbound to mozilla-central a=merge 2018-11-15 00:16:46 +02:00
Michael Froman bcd939f6ea Bug 1471535 - pt5 - Add prefs media.rdd-process.enabled and media.rdd-process.startup_timeout_ms. r=jya
Depends on D8486

Differential Revision: https://phabricator.services.mozilla.com/D8487
2018-11-14 18:05:41 +00:00
Gabriele Svelto 39590048b9 Bug 1498942 - Don't attempt to take minidumps of hung content processes when shutting down r=Ehsan
This patch also takes the timeout for killing a content process back to its
original value and removes a related but long unused field.

Differential Revision: https://phabricator.services.mozilla.com/D11739
2018-11-13 15:34:49 +00:00
Diego Pino Garcia 3682f2f22b Bug 1501102 - Move hard-coded 'supportedRegions' array to a pref to allow developers outside US/CA to test PaymentRequest. r=baku,MattN 2018-11-14 00:59:00 +02:00
Timothy Guan-tin Chien 3e86e5f53e Bug 1503019 - Part II, Remove dom.webcomponents.customelements.enabled pref r=smaug
This patch removes the following functions:

* nsContentUtils::IsCustomElementsEnabled()
* CustomElementRegistry::IsCustomElementEnabled(JSContext* aCx, JSObject* aObject)
* CustomElementRegistry::IsCustomElementEnabled(nsIDocument* aDoc)

and all references of the pref.

Depends on D11183

Differential Revision: https://phabricator.services.mozilla.com/D11249
2018-11-14 19:37:42 +00:00
Timothy Guan-tin Chien 0644cf5b9d Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug
This patch removes the dom.webcomponents.shadowdom.enabled pref and all its
references, including the following functions:

* nsContentUtils::IsShadowDOMEnabled()
* nsIDocument::IsShadowDOMEnabled()
* nsDocument::IsShadowDOMEnabled(JSContext* aCx, JSObject* aGlobal)
* nsDocument::IsShadowDOMEnabled(const nsINode* aNode)
* nsTextNode::IsShadowDOMEnabled(JSContext* aCx, JSObject* aObject)

This function is renamed and updated to nsDocument::IsCallerChromeOrAddon():

* nsDocument::IsShadowDOMEnabledAndCallerIsChromeOrAddon(JSContext* aCx, JSObject* aObject)

I didn't change the tests that load Shadow DOM tests in an iframe, in the interest of keeping hg annotation history.

Differential Revision: https://phabricator.services.mozilla.com/D11183
2018-11-14 19:34:52 +00:00
Bogdan Tara ab4f52af45 Backed out 12 changesets (bug 1471535) for VideoDecoderChild failures CLOSED TREE
Backed out changeset 3d8a11458d79 (bug 1471535)
Backed out changeset 2176010bc1fe (bug 1471535)
Backed out changeset dfb4d3462b22 (bug 1471535)
Backed out changeset ea6b73ded74d (bug 1471535)
Backed out changeset 404d760a9e82 (bug 1471535)
Backed out changeset 28ae4b6fab68 (bug 1471535)
Backed out changeset af91e1f04c2d (bug 1471535)
Backed out changeset d39fef4334b3 (bug 1471535)
Backed out changeset a038821cd8ae (bug 1471535)
Backed out changeset 5dcc74a938c6 (bug 1471535)
Backed out changeset 53aff7e699b4 (bug 1471535)
Backed out changeset f3f6abc052f0 (bug 1471535)
2018-11-13 23:31:56 +02:00
Michael Froman 1d24c810ad Bug 1471535 - pt5 - Add prefs media.rdd-process.enabled and media.rdd-process.startup_timeout_ms. r=jya
Depends on D8486

Differential Revision: https://phabricator.services.mozilla.com/D8487
2018-11-13 17:35:01 +00:00
Noemi Erli d8941abc2e Merge inbound to mozilla-central. a=merge 2018-11-13 18:27:16 +02:00
Andy Wingo c1e33fa1da Bug 1506542 - Add run-time flag to enable bigint support r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D11613
2018-11-13 09:11:06 +00:00