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

630972 Коммитов

Автор SHA1 Сообщение Дата
David Parks 4ff2f5dfa4 Bug 1449736: Properly detect failure in receiving plugin NPObjects (r=jmathies)
We need to recognize IPDL errors in order to return the proper error status when the right PluginScriptableObject could not be found.

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

--HG--
extra : moz-landing-system : lando
2019-01-09 16:36:59 +00:00
Jeff Muizelaar 17b5ec3dd2 Bug 1509182. Switch from using WrFilterOp to using FilterOp directly. r=nical
This avoids code duplication and simplifies push_stacking_context

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

--HG--
extra : moz-landing-system : lando
2019-01-10 19:41:08 +00:00
Andrew McCreight a3f7eb4598 Bug 1517577 - DataTransferItemList::Add should use nsVariantCC. r=nika
nsVariant isn't cycle collected, so this can cause a leak.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 19:23:43 +00:00
Tim D. Smith a95f1a031b Bug 1519170 - Re-renew GEOLOCATION_REQUEST_GRANTED probe r=chutten
The `GEOLOCATION_REQUEST_GRANTED` probe was renewed in Bug #1494496 to support targeting for a survey project that I originally expected to launch in November. Thanks to the usual vagaries of IRBs, holidays, and other priorities, we haven't launched yet, and the probe expiry is configured to stop collecting in 65. To mitigate the risk of failing to deploy the survey before the targeting probe expires, I'd like to bump the probe expiration out another couple of releases and uplift to beta.

I think we're actually ready to launch now so I'm confident another 12 weeks will be more than enough time and we won't have to repeat this exercise again.

I expect the data review in Bug #1494496 provides coverage for this change.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 19:20:02 +00:00
Luca Greco 0a6194aedc Bug 1519121 - Fix browser_ext_optionsPage_popups.js test failure on 66 Beta due to userContext feature disabled. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D16219

--HG--
extra : moz-landing-system : lando
2019-01-10 19:12:41 +00:00
Cosmin Sabou 88993e172c Backed out changeset 10dedfde1015 (bug 1509182) for causing build bustages.
--HG--
extra : rebase_source : 4389819cbb88af16724480f571b0abcd027015ba
2019-01-10 20:52:49 +02:00
Matthew Noorenberghe fdacc288b7 Bug 1477798 - Treat sensitive @autocomplete field names like 'off' in FormData.jsm. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D15780

--HG--
extra : moz-landing-system : lando
2019-01-10 18:49:46 +00:00
Matthew Noorenberghe 37427a1506 Bug 1477798 - Treat sensitive @autocomplete field names like 'off' in satchel. r=Felipe
This also has the side-effect of fixing autocomplete parsing for 'off' to ignore whitespace:
https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill-processing-model

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

--HG--
extra : moz-landing-system : lando
2019-01-10 18:49:10 +00:00
Matthew Noorenberghe 9fd4c34227 Bug 1477798 - Expose whether a fieldName should be automatically persisted on getAutocompleteInfo(). r=baku
This allows us to centralize the logic about which field names are "sensitive" and shouldn't be saved in things like form history or session history.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 18:48:39 +00:00
Vlad Baicu 791441364d Bug 1508279 - Handle persistent notification actions. r=geckoview-reviewers,snorp
Handle persistent notifications click actions in NotificationReceiver.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 17:05:32 +00:00
André Bargull 6de4d9b81c Bug 1518764: Handle dead proxies in intrinsic_ConstructorForTypedArray by switching to UnwrapAndDowncastValue. r=jandem 2019-01-09 08:13:05 -08:00
Olli Pettay 7a31419242 Bug 1518038 - Add nsIThread.hasPendingHighPriorityEvents, r=froydnj
--HG--
extra : rebase_source : 47de7758f551bfe873426c8f92e27ac84ad4d260
2019-01-10 19:07:34 +02:00
Bogdan Tara 3ca870b28b Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-01-10 19:27:05 +02:00
Bogdan Tara c3653f9be3 Merge inbound to mozilla-central. a=merge 2019-01-10 19:20:47 +02:00
Bogdan Tara 6d78d1e2c9 Backed out 15 changesets (bug 1305957) for ASAN failures CLOSED TREE
Backed out changeset 4d5eb85d3155 (bug 1305957)
Backed out changeset 51c86d025ecb (bug 1305957)
Backed out changeset d8eef8f3e396 (bug 1305957)
Backed out changeset 950bf6ad1ef2 (bug 1305957)
Backed out changeset b4cb2cbebdb6 (bug 1305957)
Backed out changeset bfca5019a9cc (bug 1305957)
Backed out changeset e76b842c7b7f (bug 1305957)
Backed out changeset d9445a5f3458 (bug 1305957)
Backed out changeset d9052f7b34d9 (bug 1305957)
Backed out changeset e7124fecb721 (bug 1305957)
Backed out changeset bdb766faa867 (bug 1305957)
Backed out changeset 3033401ef320 (bug 1305957)
Backed out changeset 6b96050386f6 (bug 1305957)
Backed out changeset c66c00f73296 (bug 1305957)
Backed out changeset 6bd0bdab93cb (bug 1305957)
2019-01-10 18:49:22 +02:00
Kartikaya Gupta fa555ac02c Bug 1507522 - Drop revision.txt and WR update process. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D16105

--HG--
extra : moz-landing-system : lando
2019-01-10 14:14:13 +00:00
Kartikaya Gupta ef25cd53ed Bug 1507522 - Add a note to the WebRender README about the new upstream. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D16104

--HG--
extra : moz-landing-system : lando
2019-01-10 14:14:00 +00:00
Jon Coppeard d087597227 Bug 981991 - Make most poisoning unconditional r=jandem 2019-01-10 13:21:46 +00:00
Jon Coppeard cde26c3387 Bug 981991 - Replace JS_*_POISON macros with inline functions r=jandem 2019-01-10 13:21:45 +00:00
Jon Coppeard 57b972724c Bug 1518824 - Poison old ObjectGroup properties array during sweeping r=tcampbell 2019-01-10 11:00:20 +00:00
Jon Coppeard 2755f84c3d Bug 1518193 - Use new free task to also free nursery buffers r=sfink 2019-01-10 11:00:20 +00:00
Jon Coppeard f0e4f0cea3 Bug 1518193 - Use new free task to also free JIT LIFO data freed after minor GC r=sfink 2019-01-10 11:00:20 +00:00
Jon Coppeard ba9d0adc5b Bug 1518193 - Add a new parallel task for freeing LIFO data r=sfink 2019-01-10 11:00:20 +00:00
Jon Coppeard 1ea829b0da Bug 1518193 - Move BackgroundSweepTask functionality into GCParallelTask base class r=sfink 2019-01-10 11:00:19 +00:00
Tom Ritter ba7c4014b7 Bug 1509829 - Spoof OS in HTTP User-Agent header for desktop platforms r=timhuang,baku
In 1404608, the OS was revealed in both the HTTP User-Agent
header and to JavaScript code via navigator.userAgent. To avoid
leaking the OS inside each HTTP request (which many web servers
log), always use the Windows 7 OS value in the desktop User-Agent
header. We continue to allow access to the actual OS via JavaScript,
since doing so improves compatibility with web applications such
as GitHub and Google Docs.

This is an uplift of Tor's 26146
2019-01-09 12:53:30 -06:00
Kestrel 14467a827a Bug 1514715 - Update color prefs for new color IDs including -moz-win-accentcolor r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D14723

--HG--
extra : moz-landing-system : lando
2019-01-09 16:37:34 +00:00
Alex Chronopoulos 96cd8b2f6a Bug 1515549 - Avoid resetting volume in every AudioSink restart in case volume has changed outside firefox. r=jya
Avoid resetting volume in every AudioSink restart to stop unexpected volume change during play/pause and seek. Volume changes could occur if the volume has been modified outside firefox (for example pavucontrol in Linux).

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

--HG--
extra : moz-landing-system : lando
2019-01-10 11:24:29 +00:00
Henri Sivonen b10e89785b Bug 1515351 - Update encoding_rs to 0.8.14. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D15934

--HG--
extra : moz-landing-system : lando
2019-01-10 09:42:39 +00:00
André Bargull 47a7b89662 Bug 1394386: Don't enforce tenure allocation for TypedArrays from inlined constructor ool-path. r=jandem 2019-01-09 01:52:31 -08:00
André Bargull 085ce9ea7b Bug 1518837: Reuse input register in LGuardToClass. r=jandem 2019-01-09 09:04:15 -08:00
Oriol Brufau f49f3db6d7 Bug 1515046 - Let reps invoke the right getter when it's shadowed. r=nchevobbe
Depends on D15788

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

--HG--
extra : moz-landing-system : lando
2019-01-09 01:47:34 +00:00
Oriol Brufau 69e25dc980 Bug 1515046 - Add receiverId parameter in objectClient.getPropertyValue. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D15788

--HG--
extra : moz-landing-system : lando
2019-01-09 06:42:58 +00:00
Henrik Skupin c820e2d61d Bug 1504756 - [marionette] Added opening a new browsing context to Marionette client. r=ato
The patch updates the Marionette client and all Marionette unit
tests to make use of the new `Create Window` command as much as
possible.

Depends on D13663

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

--HG--
extra : moz-landing-system : lando
2019-01-10 10:13:17 +00:00
Henrik Skupin c631c98202 Bug 1504756 - [marionette] Added "WebDriver:NewWindow" command to open a new top-level browsing context. r=ato
The patch adds the end-point for the recently defined `New Window`
command (https://github.com/w3c/webdriver/issues/1138). It allows
to open a new top-level browsing context as tab or as window.

Depends on D13662

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

--HG--
extra : moz-landing-system : lando
2019-01-10 10:14:24 +00:00
Henrik Skupin ea87c4dedf Bug 1504756 - [marionette] Remove default timeout from PollPromise. r=ato
By default PollPromise has to behave similar to a normal Promise
and wait forever until it gets resolved or rejected.

Depends on D13662

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

--HG--
extra : moz-landing-system : lando
2019-01-10 10:12:24 +00:00
Henrik Skupin 74c45eb2ed Bug 1504756 - [marionette] Use waitForObserverTopic when waiting for observer notifications. r=ato
Depends on D13661

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

--HG--
extra : moz-landing-system : lando
2019-01-10 10:14:22 +00:00
Henrik Skupin a384666194 Bug 1504756 - [marionette] Use waitForMessage() to wait for an expected message manager message. r=ato
Depends on D13660

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

--HG--
extra : moz-landing-system : lando
2019-01-10 10:12:17 +00:00
Henrik Skupin 2575586fb6 Bug 1504756 - [marionette] Use waitForEvent() when waiting for events. r=ato
Depends on D13659

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

--HG--
extra : moz-landing-system : lando
2019-01-10 10:10:47 +00:00
Henrik Skupin be3136d0ab Bug 1504756 - [marionette] Add executeSoon() to run tasks on the main thread. r=ato
To be closer to other test harnesses which are using executeSoon()
to run a task on the main thread, this patch adds the same
method to Marionette's sync module.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 10:10:14 +00:00
James Graham 679f0aa4c4 Bug 1517322 - Allow LSAN suppressions path to be set from wptrunner command line, r=mccr8
Previously we assumed that the path for the lsan_suppressions.txt file was the same as the prefs path,
which is correct in CI but wrong for local builds. This adds a --lsan-dir command line argument and sets
it in mach to the correct value for local builds and uses the prefs directory as a default for backwards
compatibility

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

--HG--
extra : moz-landing-system : lando
2019-01-09 20:39:40 +00:00
Csoregi Natalia 13506c036a Backed out 8 changesets (bug 181137) for bustage on FragmentOrElement.cpp:1751. CLOSED TREE
Backed out changeset 99a977d519a0 (bug 181137)
Backed out changeset 65a4b245e851 (bug 181137)
Backed out changeset 5385d5fd9b8b (bug 181137)
Backed out changeset 83bec02c21d9 (bug 181137)
Backed out changeset b7ab59bf545e (bug 181137)
Backed out changeset b6fc7a332db7 (bug 181137)
Backed out changeset 654fdbad67db (bug 181137)
Backed out changeset 90a1ff49b6b1 (bug 181137)

--HG--
rename : dom/base/ContentIterator.h => dom/base/nsContentIterator.cpp
rename : editor/spellchecker/FilteredContentIterator.cpp => editor/spellchecker/nsFilteredContentIterator.cpp
rename : editor/spellchecker/FilteredContentIterator.h => editor/spellchecker/nsFilteredContentIterator.h
2019-01-10 11:42:27 +02:00
Masayuki Nakano dcd72cf37f Bug 1514975 - Synthesize mousemove event before contextmenu event caused by long tap r=smaug,kats
Chrome synthesizes mousemove event and related events (mouseover, mouseenter,
etc) when context menu event is fired by long tap.  This allows users to open
submenu which is opened by moving mouse cursor over a link.

So, this fix improves accessibility of our users on some websites which are
designed for desktop.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 09:09:42 +00:00
Ehsan Akhgari 946ce15a46 Bug 1518959 - Don't format Java files by default; r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D16115

--HG--
extra : moz-landing-system : lando
2019-01-10 09:05:54 +00:00
Masayuki Nakano 796ceb094f Bug 181137 - part 8: Make ContentIteratorBase and its subclasses non-refcountable r=smaug
This patch makes ContentIteratorBase, PostContentIterator, PreContentIterator
and ContentSubtreeIterator classes non-refcountable because most users can
create their instances in stack and such users may be in a hot path.  So,
we can save a lot of cost of instantiation.

Unfortunately, only ScriptableContentIterator creates one of the concrete
classes and needs to destroy it properly.  Therefore, its
EnsureContentIterator(), destructor, traverse and unlink code becomes messy.
However, ScriptableContentIterator was designed for automated tests and we
need to maintain it not so many times.  Therefore, improvement of other
users must be worthwhiler than this demerit.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 08:50:41 +00:00
Masayuki Nakano 91a9670801 Bug 181137 - part 7: Get rid of nsIContentIterator interface r=smaug
Now, nobody requires nsIContentIterator interface.  So, we can get rid of it.

Unfortunately, there is no macro to keep the inherited class,
ContentSubtreeIterator, in the cycle collection to make it keep managing
ContentSubtreeIterator::mRange without nsISupports interface.  Therefore, this
patch moves it into ContentIteratorBase temporarily.  Anyway, the following
patch makes those classes not refcountable.  At that time, this issue will be
fixed.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 08:47:54 +00:00
Masayuki Nakano d15a70b2c2 Bug 181137 - part 6: Make nsFilteredContentIterator not derived from nsIContentIterator r=smaug
nsFilteredContentIterator is used only by TextServicesDocument and there is
no reason that it should be derived from nsIContentIterator except consistency.
Additionally, it's now only class which is derived from nsIContentIterator
except ContentIteratorBase.  So, after this change, we can get rid of
nsIContentIterator completely.

This patch moves nsFilteredContentIterator into mozilla namespace and
makes TextServicesDocument treat FilteredContentIterator directly instead of
nsIContentIterator interface.

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

--HG--
rename : editor/spellchecker/nsFilteredContentIterator.cpp => editor/spellchecker/FilteredContentIterator.cpp
rename : editor/spellchecker/nsFilteredContentIterator.h => editor/spellchecker/FilteredContentIterator.h
extra : moz-landing-system : lando
2019-01-10 08:47:11 +00:00
Masayuki Nakano bdc602b92f Bug 181137 - part 5: Make all users of PostContentIterator treat it directly rather than via nsIContentIterator r=smaug
Now, all users of PostContentIterator can access it directly.  This patch
makes them use the concrete class directly.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 08:46:32 +00:00
Masayuki Nakano 6f5a9fb98a Bug 181137 - part 4: Make all users of PreContentIterator treat it directly rather than via nsIContentIterator r=smaug
Now, all users of PreContentIterator can access it directly.  This patch makes
them use the concrete class directly.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 08:46:25 +00:00
Masayuki Nakano e4fd546fbd Bug 181137 - part 3: Make all users of ContentSutreeIterator treat it directly rather than via nsIContentIterator r=smaug
Now, all users of ContentSubtreeIterator can access it directly.  This patch
makes them use the concrete class directly.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 08:45:07 +00:00
Masayuki Nakano d877816981 Bug 181137 - part 2: Make nsContentIterator class is a base class of other concrete classes r=smaug
Currently, ContentIterator is created with a bool flag to decide whether the
instance lists up post-order or pre-order.  However, this is not clear.  For
example:

nsCOMPtr<nsIContentIterator> preOrderIter = new ContentIterator(false);

This is not clear whether this does right thing or not.

This patch makes any users can create PostContentIterator for post-order
iterator, and creates PreContentIterator for pre-order iterator.  So, now,
each creator needs to writhe above as:

nsCOMPtr<nsIContentIterator> preOrderIter = new PreContentIterator();

or

nsCOMPtr<nsIContentIterator> postOrderIter = new PostContentIterator();

Additionally, with this change, if each user starts to use concrete classes
directly, compiler can stop using virtual calls because of all concrete
classes are now marked as "final".

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

--HG--
extra : moz-landing-system : lando
2019-01-10 08:44:24 +00:00