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

604224 Коммитов

Автор SHA1 Сообщение Дата
Tim Huang e73037dc0e Bug 1473247 - Part 2: Add a test case for making sure that IP addresses can work properly for the firstPartyDomain. r=arthuredelstein,baku
Differential Revision: https://phabricator.services.mozilla.com/D1978

--HG--
extra : moz-landing-system : lando
2018-07-13 19:55:02 +00:00
Tim Huang c0118a2d73 Bug 1473247 - Part 1: Fixing the issue that the IP addresses won't be set for first party domains. r=arthuredelstein,baku
Right now, the firstPartyDomain won't be set when using IP addresses as
first party domains. It is because of that the TLD service won't accept
IP addresses as valid hosts. The patch fixes this problem by detecting
that if the host is a IP address. If it is, we will still set the
firstPartyDoamin with the IP address.

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

--HG--
extra : moz-landing-system : lando
2018-07-13 19:53:15 +00:00
Chris Pearce 7fb3548c85 Bug 1471485 - Ensure autoplay permission promises disconnected if media starts playing. r=jya
We can start playing while we're awaiting a response to an autoplay-media
permission prompt, for example if the user clicks on a play button. In such
cases, it doesn't make sense to keep the autoplay permission request promise
connected in HTMLMediaElement, as since we're playing we'll be resolving the
play() promises and thus we won't be taking action on the autoplay request
promise's result. So we should just disconnect the autoplay permission request
promise if it's connected when we start playing.

MozReview-Commit-ID: 1aiCLXV7Ja9

--HG--
extra : rebase_source : c439e8f084ac8cc01db578d712e15d3174a08e71
2018-07-12 16:19:25 +12:00
Chris Pearce 5d98d9108c Bug 1471485 - Hide autoplay permission doorhanger if user plays video. r=johannh
If we're showing a permission UI prompt for "autoplay-media", the user can
still actually play media without interacting with the doorhanger; if they
click a "play" button in the document, they'll "gesture activate" the document
and unblock autoplay and be able to start playback.

It doesn't make sense to keep showing the permission doorhanger to approve
autoplay when the page is already playing, as playback has already started, and
if they clicked on "block" then the site would receive a promise reject on the
promise returned on the first call to HTMLMediaElement.play() for which we were
showing the permission prompt for, even though the media is actually playing.
This will likely confuse JS video players.

So we should hide the permission prompt when playback in the page starts.

MozReview-Commit-ID: 1XU47AfT6vf

--HG--
extra : rebase_source : 3d5c164527e26ba8f58f0baac3474d5b2d7fb587
2018-07-03 11:17:16 +12:00
Doug Thayer 56f41b91a9 Bug 1425144 - Init Jump list on lazy idle thread r=aklotz
We're already committing jump lists on mIOThread, and I see
no errors or problems with initting on mIOThread either, so
I think this is okay. Had to restructure some things to
make using a Promise simple, and to avoid dispatching to
mIOThread from within mIOThread (since we can only dispatch
to a LazyIdleThread from the owner thread).

MozReview-Commit-ID: 1imBF8Jzmn6

--HG--
extra : rebase_source : 4f912e819cec898910e72d95311e3924714a3090
2018-06-27 08:59:07 -07:00
Doug Thayer c9cbf586a8 Bug 1425144 - Init Jump list on lazy idle thread (js) r=Gijs
This is just the js side of the equation for initting jump lists
on a background thread. It should just be functionally equivalent
to the old code with the exception that it works asynchronously
on a promise of an array of urls rather than an nsIMutableArray.

MozReview-Commit-ID: 2handMr6FWS

--HG--
extra : rebase_source : bcd71b96778a3bbcc141513c9e5b0213accf8705
2018-07-10 15:34:28 -07:00
Miko Mynttinen dc2028f5bb Bug 1472465 - Update flattened nsDisplayOpacity geometry despite empty invalidation region r=mattwoodrow
MozReview-Commit-ID: 7mrTuQ6gEoA

--HG--
extra : rebase_source : eba482b61fe298734a0a727dc29453054131f746
2018-07-16 01:09:23 +02:00
Dan Glastonbury 1f7733aebe Bug 1467622 - P6: Mark anim-css-fill reftest fuzzy on Windows. r=xidorn
MozReview-Commit-ID: Duv9G5tjk8U

--HG--
extra : rebase_source : 5bf7b9d9189260f16ddd0517bc87b1644ef508df
2018-07-12 12:12:15 +10:00
Dan Glastonbury 7c51b7748c Bug 1467622 - P5: Reftests for SVG pserver currentcolor override. r=heycam
MozReview-Commit-ID: 3yG2VarZvdr

--HG--
extra : rebase_source : b08c64d8ebef9bfbaf7c907577459813b5eb334f
2018-07-04 14:34:27 +10:00
Dan Glastonbury 5cb001e979 Bug 1467622 - P4: Correct background/foreground ratio mixing. r=xidorn
MozReview-Commit-ID: InAZVcH2Vkt

--HG--
extra : rebase_source : 6fde424ad8e425c393c84457425da1f9188f4cfc
2018-07-03 14:15:06 +10:00
Dan Glastonbury fda2c1ee17 Bug 1467622 - P3: Cleanup transition tests with currentcolor. r=xidorn
Now that all properties handle currentcolor via mozilla::StyleComplexColor,
unify test_currentcolor_transition() and test_true_currentcolor_transition()
into test_currentcolor_transition().

MozReview-Commit-ID: 81hlAgTotpL

--HG--
extra : rebase_source : 0c77a60918a365eb907327e16ff7253df955cf17
2018-06-28 14:06:01 +10:00
Dan Glastonbury 2351341f1f Bug 1467622 - P2: Change SMIL paced tests to represent new distance calc. r=birtles
Changing to Stylo for animation of color with currentColor. Stylo uses
a different distance metric for numeric colors to currentColor. The
result is that a different pacing is used in the fill case.

MozReview-Commit-ID: 5x8c3IF5owV

--HG--
extra : rebase_source : fd1656237fd5df03481e410bae29167df2317536
2018-06-28 11:58:34 +10:00
Dan Glastonbury c9c954a337 Bug 1467622 - P1: nsStyleSVGPaint - Change nscolor to StyleComplexColor. r=xidorn
MozReview-Commit-ID: 1bbQzOoOuBe

--HG--
extra : rebase_source : 1631a71a78b0e6fbc4842ee14e11e946a5063afa
2018-06-27 17:07:37 +10:00
arthur.iakab 98178e1fd1 Merge mozilla-central to autoland 2018-07-16 00:52:44 +03:00
arthur.iakab 2a8b467320 Merge inbound to mozilla-central a=merge 2018-07-16 00:51:53 +03:00
arthur.iakab 78b9d7d52c Merge autoland to mozilla-central a=merge 2018-07-16 00:50:38 +03:00
Ryan VanderMeulen 93541b3381 Bug 1475878 - Update pdf.js to version 2.0.688. r=bdahl 2018-07-15 15:36:34 -04:00
Andreea Pavel 048a40d18e Merge mozilla-central to mozilla-inbound. a=merge r=backout 2018-07-15 18:07:38 +03:00
Andreea Pavel 324bdb548d Merge mozilla-central to autoland. a=merge r=backout 2018-07-15 18:05:58 +03:00
Andreea Pavel 1261098dca Backed out 3 changesets (bug 1474300) on request by kats for introducing a crasher a=backout
Backed out changeset f7659b60b7b0 (bug 1474300)
Backed out changeset a65429a135c7 (bug 1474300)
Backed out changeset 376e702ed3ea (bug 1474300)
2018-07-15 17:57:36 +03:00
Hiroyuki Ikezoe 9f85c749a3 Bug 1475769 - Bail out from nsRefreshDriver::Tick before updating mMostRecentRefresh when the refresh driver is waiting for paint. r=mattwoodrow
Before this patch, there is a race condition that the refresh driver updates
the most recent refresh time but animations corresponding to the refresh driver
don't update their internal state, that causes the inconsistency that such
animations are regarded as finished on the most recent time whereas their
internal states represent the animations are still in active.  This is the one
of the cause of bug 1466010, i.e. the display item corresponding to the
animation is going to be rebuilt without calling MarkNeedsDisplayItemRebuild.

MozReview-Commit-ID: 9adzDV9E3ka

--HG--
extra : rebase_source : 7120e9f462309d1c4efe995ef64aeead9e29ff8f
2018-07-15 20:19:29 +09:00
Ciure Andrei 14976cd6b3 Merge inbound to mozilla-central. a=merge 2018-07-15 12:52:50 +03:00
Andreea Pavel 10d4df5aa9 Backed out 3 changesets (bug 1459937) for failing crashtest with Assertion failure: (IndexInFlow(aOldParent) < IndexInFlow(aNewParent)) on a CLOSED TREE
Backed out changeset 2cff5c67d000 (bug 1459937)
Backed out changeset fb3fba19e615 (bug 1459937)
Backed out changeset bd4bd8ac335c (bug 1459937)
2018-07-15 10:06:23 +03:00
Csoregi Natalia b220f0c0d3 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-14 12:45:25 +03:00
Kris Maglione 359bb8002c Bug 1471025: Follow-up: Bump pref access expectations for nonexistent preferences again. r=bustage,test-only DONTBUILD
--HG--
extra : amend_source : 38793b694f7a81dc802b0159b228a0e45515b78f
2018-07-14 01:45:09 -07:00
Jean-Yves Avenard b0275bc977 Bug 1475642 - Fix playback with some 3rd party audio cards. r=kinetik
Additional fix to bug 1469152

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

--HG--
extra : moz-landing-system : lando
2018-07-14 07:26:17 +00:00
Jan Varga 5f8daf01d9 Bug 1462162 - Filter local storage cache synchronization messages based on origin; r=asuth
This patch adds a new IPDL protocol PBackgroundLocalStorageCache. It is used by LocalStorageCache object to broadcast changes in local storage cache to other content processes. Each origin has its own PBackgroundLocalStorageCache, so now we can notify content processes that actually have a local storage cache for given origin. This greatly improves performance and reduces memory footprint especialy when local storage changes carry big strings and/or happen very quickly (before this patch all child processes were blindly notified).
2018-07-14 08:34:14 +02:00
Olli Pettay 5adedd4945 Bug 1439153 - try to fix ESlint failures, CLOSED TREE, r=bustage 2018-07-14 06:13:08 +03:00
Olli Pettay de99e4460b Bug 1439153 - Make WebExtensions work with Shadow DOM/WebComponents, r=kmag
--HG--
extra : rebase_source : 83638cba42eea1523d32d06a2eb14df20cbab404
2018-07-14 05:26:15 +03:00
Andi-Bogdan Postelnicu a2e49cabf3 Bug 1453795 - DOM/Crypto - Initialize member fields in classes/ structures. r=mt
--HG--
extra : rebase_source : 9ac3640ce3647da79bf2b5b94a9e10f83f400ec5
extra : amend_source : 97de314b17ce2a764ea96094f8d0ed19e9b26d9e
2018-07-11 10:37:57 +03:00
Emilio Cobos Álvarez de1504e650 Bug 1475351: Properly clear associated ShadowRoot from StyleSheet objects. r=smaug
Just like we do from the document's destructor.

MozReview-Commit-ID: DygmZ0EI9es
2018-07-15 12:37:44 +02:00
Emilio Cobos Álvarez dea0d7ad83 Backed out changeset e0841c88d3ae (bug 1474466) for landing with the wrong bug number. r=me 2018-07-15 12:36:07 +02:00
Emilio Cobos Álvarez cadda9e720 Bug 1474466: Properly clear associated ShadowRoot from StyleSheet objects. r=smaug
Just like we do from the document's destructor.

MozReview-Commit-ID: DygmZ0EI9es
2018-07-15 12:27:05 +02:00
Nils Ohlmeier [:drno] cf44315a16 Bug 1474517: merge rsdparsa from upstream r=johannes.willbold+610943
Updated rsdparsa to 75d5c6df6728fbab502db06940062e0358536f9f from github
upstream

MozReview-Commit-ID: 9hr7DV6KTkK

--HG--
extra : rebase_source : c5b2c003e76489e267390402ebb5947cf3ec48b6
2018-07-09 23:56:42 -07:00
Matt Woodrow 9171c79a67 Bug 1372458 - Fold opacity into filter drawing rather than using a temporary surface. r=bas,mstange
MozReview-Commit-ID: GOBTUhN7fcC

--HG--
extra : rebase_source : 8355d2001dcc8fba5e43d4ace6483896a9d9cd31
2018-07-14 15:25:49 +12:00
Matt Woodrow 4f18c0f4a2 Bug 1475413 - Prefer using old items for uninvalidated frames during display list merging. r=miko
MozReview-Commit-ID: 14gc2IBJT1o

--HG--
extra : rebase_source : 6de86aec8ef1039b3adf8006cea456efadbed73b
2018-07-13 12:26:36 +12:00
Andi-Bogdan Postelnicu 6ab86028d3 Bug 1475515 - Remove member initialization for union Extra::mMessage. r=bz
MozReview-Commit-ID: GgJyXg5KxQm

--HG--
extra : rebase_source : 4a0e0137c1545b96aab9c436c42274db1c393a0a
2018-07-13 14:39:12 +03:00
Drew Willcoxon cce37bd375 Bug 1475398 - Update "Firefox 63 uses schema version 52" comment in Database.cpp. r=mak
MozReview-Commit-ID: DAkHO1Hubb3

--HG--
extra : rebase_source : 9c5972cf9d15548766da1b6215af855e20ad66a5
2018-07-12 16:39:33 -07:00
Chris Manchester d6b368dff1 Bug 1472490 - Make adding a source to SOURCES, UNIFIED_SOURCES, or HOST_SOURCES multiple times an error in moz.build. r=gps
MozReview-Commit-ID: FtPF3dxUxb5

--HG--
extra : rebase_source : ad380999c41830ea0f088bdacf5fc04c95783f04
2018-07-13 15:55:45 -07:00
Andrew Halberstadt dbf1f2b689 Bug 1474746 - [docs] Normalize keys from MOZ_SPHINX_TREES; r=gps
This will allow developers to use '.' as the key, e.g:
MOZ_SPHINX_TREES['.'] = 'docs'

This will give consumers the ability to remove redundancies from
their urls. For example, the telemetry docs currently have:
MOZ_SPHINX_TREES['telemetry'] = 'docs'

This results in a url like:
https://firefox-source-docs.mozilla.org/main/latest/toolkit/components/telemetry/telemetry/index.html

If they changed their key to '.' instead, the new url would become:
https://firefox-source-docs.mozilla.org/main/latest/toolkit/components/telemetry/index.html

Depends on D2079.

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

--HG--
extra : histedit_source : b34a35d2686553e615c7fc8c48422ee9e7d29179
2018-07-11 16:01:21 +00:00
Andrew Halberstadt b9e99b1dce Bug 1474746 - [docs] Fix firefox-source-docs url regression by removing redundant "docs" directory; r=gps
This fixes a regression from bug 1454640 where urls had an extra 'docs' path inserted into them, e.g:
toolkit/components/telemetry/telemetry/index.html

became:
toolkit/components/telemetry/docs/telemetry/index.html

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

--HG--
extra : histedit_source : 15c679e2f9366c1ea424adc4c82d7c184d80b3bb
2018-07-11 14:52:33 +00:00
Chris Manchester 1ba362234e Bug 1475390 - Fail configure if Tup is specified on a non-linux build. r=gps
MozReview-Commit-ID: FO6wCbI7YwJ

--HG--
extra : rebase_source : 564b7d22deadfcaa6357a7c9ec7514daf5978127
2018-07-13 15:53:27 -07:00
Noemi Erli e9d21cd259 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-14 01:22:25 +03:00
Noemi Erli 9793ca2da4 Merge inbound to mozilla-central. a=merge 2018-07-14 00:52:51 +03:00
Geoff Brown 7ca3eff968 Bug 1471080 - Increase test chunks for geckoview-junit; r=me,a=test-only
This should reduce the frequency of gv-junit intermittent time-outs.
2018-07-13 13:43:01 -06:00
Brindusan Cristian a68383b333 Backed out 12 changesets (bug 1471025) for build bustages on dom/ipc/ContentProcess.cpp. CLOSED TREE
Backed out changeset 398ccedc20dc (bug 1471025)
Backed out changeset 599895de063e (bug 1471025)
Backed out changeset dc7ec17179d1 (bug 1471025)
Backed out changeset 5051f15fc200 (bug 1471025)
Backed out changeset faef4df47b20 (bug 1471025)
Backed out changeset d344247b8706 (bug 1471025)
Backed out changeset 83d98ea5ebac (bug 1471025)
Backed out changeset 38f690f30e78 (bug 1471025)
Backed out changeset 4b7a8a35ed95 (bug 1471025)
Backed out changeset e3bbc87b71af (bug 1471025)
Backed out changeset 68bb03c63b3c (bug 1471025)
Backed out changeset 4a8fbb472c91 (bug 1471025)
2018-07-13 22:11:24 +03:00
Paolo Amadini da419e0e8e Bug 1472748 - Convert the listbox in "editBookmarkPanel.inc.xul" to "richlistbox". r=mak
This uses the same event handling as the "listbox" and "listitem-checkbox" bindings that are scheduled for removal, and copies the required styles locally.

There is no need to preserve the scroll position explicitly anymore, because "richlistbox" handles scrolling like regular elements, and we don't want to persist the position when the selector is closed and reopened.

MozReview-Commit-ID: 4gYhwlprPN7

--HG--
extra : source : a92f9683c6cdaeb5541b85eb77adf46448716a7b
2018-07-13 15:37:31 +01:00
Michael Kaply 879bad8101 Bug 1475347 - Cleanup search API - use camelCase and promise. r=aswan
MozReview-Commit-ID: 2HJYk8irppL

--HG--
extra : rebase_source : ec482d31e2930e5aeb7460f980d25a9dd2eacd29
2018-07-12 15:55:25 -05:00
Paolo Amadini 36a131aadc Bug 1472716 - Part 2 - Convert the listbox in "languages.xul" to "richlistbox". r=jaws,gandalf
Support for "listbox" in preferences is also removed, in preparation for the removal of the "listbox" element and binding.

MozReview-Commit-ID: Bi2VKKi5rdk

--HG--
extra : source : 762819bac1b9efe0e939be07394bd7d293638c40
2018-07-10 15:07:15 +01:00
Paolo Amadini 78634a8074 Bug 1472716 - Part 1 - Whitelist the "value" attribute for XUL localization. r=gandalf
MozReview-Commit-ID: Gv9da9rqOrL

--HG--
extra : source : 8863ca47ea65aae4b136ea9cf80fb8eab33c0e90
2018-07-10 14:57:18 +01:00