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

681201 Коммитов

Автор SHA1 Сообщение Дата
Andrei Oprea 1d81724432 Bug 1598420 - Land PiP image asset used in What's New panel message r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D54178

--HG--
extra : moz-landing-system : lando
2019-11-21 20:10:49 +00:00
Punam Dahiya 138ca3b656 Bug 1597781 - Fix preloaded tab to pick updated message state on click of triplets card r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D53855

--HG--
extra : moz-landing-system : lando
2019-11-21 19:59:57 +00:00
Sylvestre Ledru 08a27588f3 Bug 1596911 - Add browser/extensions/formautofill/content/third-party/ to thirdparty r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D54170

--HG--
extra : moz-landing-system : lando
2019-11-21 18:43:59 +00:00
Sylvestre Ledru 0e6160644d Bug 1598013 - mozlint codespell: Add tools/docs/ r=ahal
Depends on D53979

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

--HG--
extra : moz-landing-system : lando
2019-11-21 19:57:50 +00:00
Connor Sheehan 6a1f431ad6 Bug 1596479: teach `run-task` to get worker location from `TASKCLUSTER_WORKER_LOCATION` environment var r=tomprince
Previously we inspected the `TASKCLUSTER_WORKER_GROUP` environment variable,
which now only returns the cloud provider of the worker. This commit teaches
`run-task` to instead use the `TASKCLUSTER_WORKER_LOCATION` to gather
information about the location of the worker. We also use the extra data
about the cloud provider for the worker to construct a key for use in the
config, in the form `cloudprovider/region`, so GCP hgweb mirrors can be
amended to the `hgmointernal` config when they are ready.

While we're here we make the error handling for a missing environment
variable slightly nicer.

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

--HG--
extra : moz-landing-system : lando
2019-11-21 19:48:32 +00:00
Geoff Brown c5fdf45f02 Bug 1582516 - Use TestManifestLoader for 'mach test-info'; r=ahal
Switch 'mach test-info report' and 'mach test-info tests' to use the TestManifestLoader.

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

--HG--
extra : moz-landing-system : lando
2019-11-21 19:43:11 +00:00
Kershaw Chang b6831f6f80 Bug 1579049 - Part2: Expose proxy response error code in nsIProxiedChannel.idl r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D51143

--HG--
extra : moz-landing-system : lando
2019-11-21 16:02:47 +00:00
Kershaw Chang 60f6486027 Bug 1579049 - P1: Map Http error response codes to gecko error codes r=mayhemer,valentin
Differential Revision: https://phabricator.services.mozilla.com/D49903

--HG--
extra : moz-landing-system : lando
2019-11-21 14:24:36 +00:00
Jesse Schwartzentruber c8984db985 Bug 1596950 - Pass compiler flags to cargo for cross-compiled ASAN and fuzzing builds. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53304

--HG--
extra : moz-landing-system : lando
2019-11-21 15:06:27 +00:00
Mike Hommey 70a2f77dfa Bug 1598186 - Upgrade diffoscope to a more recent version. r=froydnj
This has the side effect of updating all debian10-based docker images
(except the ones based on debian10-test)

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

--HG--
extra : moz-landing-system : lando
2019-11-21 15:03:56 +00:00
Yura Zenevich e71f178376 Bug 1598388 - updating the name for an AccessibilityPrefs component. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D54175

--HG--
extra : moz-landing-system : lando
2019-11-21 19:12:52 +00:00
Zibi Braniecki 58b54fbcc6 Bug 1591328 - Migrate the window title to Fluent. r=fluent-reviewers,Gijs,mixedpuppy
Depends on D53775

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

--HG--
extra : moz-landing-system : lando
2019-11-21 19:16:15 +00:00
Zibi Braniecki 2d7598bfa3 Bug 1591328 - Remove obsolete nsContentTitleSettingEvent. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D53775

--HG--
extra : moz-landing-system : lando
2019-11-21 19:16:03 +00:00
Doug Thayer bad3183238 Bug 1594577 - Record hangs which precede forced shutdowns r=froydnj
In short - if a user forcibly terminates the browser because it seems
to be permanently hung, we currently do not get a change to record the
hang. This is unfortunate, because these likely represent the most
egregious hangs in terms of user frustration. This patch seeks to
address that.

If a hang exceeds 8192ms (the current definition of a "permahang" in
existing BHR terms), then we decide to immediately persist it to disk,
in case we never get a chance to return to the main thread and
submit it. On the next start of the browser, we read the file from
disk on a background thread, and just submit it using the normal
mechanism.

Regarding the handling of the file itself, I tried to do the simplest
thing I could - as far as I can tell there is no standard simple
serialization mechanism available directly to C++ in Gecko, so I just
serialized it by hand. I didn't take any special care with endianness
or anything as I can't think of a situation in which we really care
at all about these files being transferable between architectures. I
directly used PR_Write / PR_Read instead of doing something fancy
like memory mapping the file, because I don't think performance is a
critical concern here and it offers a simple protection against
reading out of bounds.

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

--HG--
extra : moz-landing-system : lando
2019-11-21 22:41:00 +00:00
Karl Tomlinson 2a599ccaf2 Bug 1572627 implement currentFrame, currentTime, and sampleRate members on AudioWorkletGlobalScope r=padenot
Depends on D54084

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

--HG--
extra : moz-landing-system : lando
2019-11-21 13:42:49 +00:00
Karl Tomlinson 3f8ce13276 Bug 1572627 expose ProcessedTime() as a graph-global time updated after processing all tracks r=padenot
This is similar to [[current frame]] in Web Audio, but is in GraphTime,
not AudioContext-specific time.

Depends on D54083

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

--HG--
extra : moz-landing-system : lando
2019-11-21 13:43:04 +00:00
Karl Tomlinson b854a49256 Bug 1572627 update mProcessedTime for each block r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D54083

--HG--
extra : moz-landing-system : lando
2019-11-21 23:12:37 +00:00
Karl Tomlinson f604c3e112 Bug 1572627 record and use old mProcessedTime in Process() and PlayAudio() r=padenot
so that mProcessedTime can be updated for each block processed.

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

--HG--
extra : moz-landing-system : lando
2019-11-21 13:43:52 +00:00
prathiksha f27945ebc0 Bug 1388674 - Only prompt to save logins if a login field was modified by the user. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D24556

--HG--
extra : moz-landing-system : lando
2019-11-21 22:47:23 +00:00
Sam Foster 5bd4c8808d Bug 1388674 - Update tests to use setUserInput, ensuring we get an input event for field modifications. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D51718

--HG--
extra : moz-landing-system : lando
2019-11-21 22:47:07 +00:00
Sam Foster 9f8ca9a8ac Bug 1388674 - Use document state to track generated password fields, not just the event handlers. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D53055

--HG--
extra : moz-landing-system : lando
2019-11-21 22:47:00 +00:00
Ted Campbell d09b669622 Bug 1598456 - Check for implicit uses in Ion ArgumentsAnalysis. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D54218

--HG--
extra : moz-landing-system : lando
2019-11-22 14:58:22 +00:00
Tooru Fujisawa f7819158ff Bug 1597152 - Part 2: Support context parser in lazy parsing. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D53369

--HG--
extra : moz-landing-system : lando
2019-11-22 14:19:44 +00:00
Tooru Fujisawa c5776d1382 Bug 1597152 - Part 1: Set lazy function position after reading tree. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D53368

--HG--
extra : moz-landing-system : lando
2019-11-22 14:19:29 +00:00
Tooru Fujisawa e37c77a7af Bug 1597153 - Part 3: Add --binast-format parameter to JS shell. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D53367

--HG--
extra : moz-landing-system : lando
2019-11-22 14:19:11 +00:00
Tooru Fujisawa 80ebf97766 Bug 1597153 - Part 2: Use context parser when JS::BinASTFormat::Context is passed. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D53366

--HG--
extra : moz-landing-system : lando
2019-11-22 14:18:59 +00:00
Tooru Fujisawa c66f627242 Bug 1597153 - Part 1: Add JS::BinASTFormat enum and use it in API. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D53365

--HG--
extra : moz-landing-system : lando
2019-11-22 14:18:41 +00:00
Tooru Fujisawa 28a120ee26 Bug 1555387 - Part 6: Support XDR in BinASTSourceMetadataContext. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D52959

--HG--
extra : moz-landing-system : lando
2019-11-22 14:54:41 +00:00
Tooru Fujisawa 503bf8f8f6 Bug 1555387 - Part 5: Add BinASTSourceMetadataMultipart::create variant for XDR. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D53949

--HG--
extra : moz-landing-system : lando
2019-11-22 14:18:29 +00:00
Tooru Fujisawa 2b0a2bcf06 Bug 1555387 - Part 4: Use calloc in BinASTSourceMetadata{Multipart,Context}::create. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D53948

--HG--
extra : moz-landing-system : lando
2019-11-22 14:18:27 +00:00
Tooru Fujisawa 4c7ee5abb8 Bug 1555387 - Part 3: Use HuffmanDictionaryForMetadata. r=Yoric
After reading prelude, create HuffmanDictionaryForMetadata from
HuffmanDictionary and TemporaryStorage, and store it in metadata,
and use it while reading tree.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 14:48:03 +00:00
Tooru Fujisawa 5c22a36fbc Bug 1555387 - Part 2: Add HuffmanDictionaryForMetadata. r=Yoric
HuffmanDictionaryForMetadata behaves similar to HuffmanDictionary.

HuffmanDictionary is used while reading prelude, to store intermediate state.
HuffmanDictionaryForMetadata is used after reading prelude, to store the
complete state of the dictionary, with single chunk of memory.

HuffmanDictionaryForMetadata has payload to store items that is linked from
tables.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 14:40:37 +00:00
Tooru Fujisawa 551e8677a6 Bug 1555387 - Part 1: Move TableIdentity out of HuffmanDictionary. r=Yoric
TableIdentity is going to be used from multiple classes.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 14:40:02 +00:00
Tooru Fujisawa 887487e257 Bug 1587271 - Add temporary storage for HuffmanEntry, InternalIndex, SingleLookupHuffmanTable, TwoLookupsHuffmanTable with less alloc/free. r=Yoric
TemporaryStorage is used while reading prelude, to store instances of
HuffmanEntry etc, and tables store mozilla::Span to point items there.

Each instances are allocated inside TemporaryStorageItem, that manages
a linked list of item chunks, to reduce the amount of alloc/free,
to avoid unnecessary mutex lock inside allocator.

After reading prelude, items inside TemporaryStorage are supposed to be
moved to metadata payload, and Spans in tables are supposed to be updated to
point corresponding range.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 14:40:25 +00:00
Tooru Fujisawa 1f2b0c14c6 Bug 1596259 - Add BinASTSourceMetadata{Multipart,Context}. r=Yoric
This adds BinASTSourceMetadata{Multipart,Context} as subclasses of
BinASTSourceMetadata, with different fields for storing metadata.

Basically this is specialization of Variant, but given metadata has
payload after the class body itself, it doesn't work well with Variant.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 14:39:09 +00:00
Tooru Fujisawa c583302246 Bug 1593922 - Add HuffmanDictionary.tableIndices_ to populate HuffmanDictionary.tables_ from the beginning. r=Yoric
This is preparation for bug 1555387, to store initialized GenericHuffmanTable
instances in contiguous space.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 14:38:51 +00:00
Tooru Fujisawa aa1e0e1e80 Bug 1594322 - Part 4: Add better accessors to HuffmanDictionary. r=Yoric
Hide the internal of status and table creation/access from consumers.

Depends on D52032

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

--HG--
extra : moz-landing-system : lando
2019-11-22 14:38:03 +00:00
Tooru Fujisawa e3a3d77257 Bug 1594322 - Part 3: Use HuffmanDictionary::TableIdentity in HuffmanPreludeReader::readTable. r=Yoric
Another preparation for Part 4.

Depends on D52031

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

--HG--
extra : moz-landing-system : lando
2019-11-22 14:33:52 +00:00
Tooru Fujisawa 168fe5a192 Bug 1594322 - Part 2: Use HuffmanDictionary::TableIdentity in public methods. r=Yoric
Preparation for Part 4.

Depends on D52030

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

--HG--
extra : moz-landing-system : lando
2019-11-22 14:30:16 +00:00
Tooru Fujisawa 06c2196ecb Bug 1594322 - Part 1: Add HuffmanDictionary::TableIdentity to unify NormalizedInterfaceAndField and BinASTList. r=Yoric
For bug 1593922, merged tables/status for field and list length.

Depends on D52029

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

--HG--
extra : moz-landing-system : lando
2019-11-22 14:30:12 +00:00
Tooru Fujisawa 1ba8900902 Bug 1593923 - Store the index into BinASTSourceMetadata::getAtom in BinASTSymbol instead of JSAtom*. r=Yoric
To store dictionary to BinASTSourceMetadata, JSAtom* needs to be stored
in the single place.

Depends on D52028

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

--HG--
extra : moz-landing-system : lando
2019-11-22 14:30:10 +00:00
Tooru Fujisawa d4ff0dcaa6 Bug 1594318 - Add BinASTSourceMetadata::Create without Vector<BinASTKind>. r=Yoric
The context format doesn't use Vector<BinASTKind>.
To avoid creating temporary Vector<BinASTKind> instance, added
BinASTSourceMetadata::Create without Vector<BinASTKind> parameter.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 14:28:42 +00:00
Julian Descottes 970f38d661 Bug 1598047 - Fix js error when calling listAllWorkers with service workers missing their registration r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D54132

--HG--
extra : moz-landing-system : lando
2019-11-22 14:31:30 +00:00
Boris Zbarsky 73fb775116 Bug 1597158 part 4. Stop unlocking the provided mutex in IdlePeriodState methods. r=smaug
The basic idea, suggested by Olli, is that we can try to get a runnable in
ThreadEventQueue::GetEvent, and if that does not produce anything unlock our
mutex, do whatever idle state updates we need to do, re-lock our mutex.  Then
always we need to try getting a runnable again, because a non-idle runnable
might have gotten queued while we had the lock unlocked.  So we can't sleep on
our mutex, in the mayWait case, unless we try to get a runnable again first.

My notes on the current (pre this patch) unlocking setup follow.
------------------------------------------------------------

There are four places where we currently unlock:

1) IdlePeriodState::GetIdleDeadlineInternal.  Needed only when !aIsPeek, to
RequestIdleToken, which can do IPC.  The only caller, via
GetDeadlineForIdleTask, is PrioritizedEventQueue::GetEvent and only when we
selected the idle or deferred queue.  We need this to set the proper deadline
on the idle event.  In the cases when this unlock happens we currently _never_
return an idle event, because if we got here that means that we do not have an
idle token.

2) IdlePeriodState::GetLocalIdleDeadline.  Needs to unlock to get the idle
period hint.  The can get called from GetIdleDeadlineInternal in _both_ cases:
peek and get.  The callstack for the get case is covered above.  The peek case
is called from PrioritizedEventQueue::HasReadyEvent which is called from
ThreadEventQueue::HasPendingEvent.

3) IdlePeriodState::SetPaused, because it sends an IPC message.  This is only
called from EnsureIsPaused, which is called from:
  - IdlePeriodState::GetIdleDeadlineInternal.  Only in the !aIsPeek case.
  - IdlePeriodState::RanOutOfTasks called from:
    - PrioritizedEventQueue::GetEvent if we fell into the idle case and our
      queues are empty.
    - PrioritizedEventQueue::DidRunEvent if we are empty.

4) IdlePeriodState::ClearIdleToken because it sends an IPC message.  This is
called from:
    - IdlePeriodState::RanOutOfTasks; see SetPaused.
    - IdlePeriodState::GetIdleDeadlineInternal like EnsureIsPaused.
    - IdlePeriodState::GetIdleToken if token is in the past.  This is only
      called from GetIdleDeadlineInternal, both cases.
    - IdlePeriodState::FlagNotIdle called from PrioritizedEventQueue::GetEvent
      if we find an event in a non-idle queue.

Or rewriting in terms of API entrypoints on IdlePeriodState that might need to
unlock:

* Anything to do with getting deadlines, whether we are peeking or getting.
  Basically, if we need an updated deadline we need to unlock.
* When we have detected we are completely out of tasks (idle or not) to run.
  Right now we do that when either we're asked for an event and don't have one
  or if we run an event and are empty after that (before unlocking!).  But the
  unlocking or not happens in nsThreadEventQueue::DidRunEvent, so separately
  from the getting of the event.  In particular, we are unlocked before we
  enter DidRunEvent, and unlock again before we return from it, so we can do
  whatever updates we want there.
* When we have detected that we have a non-idle event to run; this calls
  FlagNotIdle.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 14:06:17 +00:00
Boris Zbarsky e2ef656e02 Bug 1597158 part 3. Expose whether there are any idle runnables on PrioritizedEventQueue. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D53629

--HG--
extra : moz-landing-system : lando
2019-11-22 14:06:29 +00:00
Boris Zbarsky b5c22f1dda Bug 1597158 part 2. Expose the IdlePeriodState of a PrioritizedEventQueue to its consumers. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D53628

--HG--
extra : moz-landing-system : lando
2019-11-22 14:05:30 +00:00
Boris Zbarsky 093002cffe Bug 1597158 part 1. Change the GetEvent signature on PrioritizedEventQueue to return whether we considered running idle runnables. r=smaug
The caller will need to know this to properly update idle state.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 14:03:23 +00:00
Sylvestre Ledru 5d504c4889 Bug 1591500 - Polish the coding style doc r=sg
* Remove some artifacts from the pandoc convertion
* Fix some url
* Improve the l&f
* make the rstcheck linter happy (used by mach lint)
* Remove some old content (a 2007 doc)

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

--HG--
extra : moz-landing-system : lando
2019-11-22 14:10:16 +00:00
Gabriele Svelto 3233e4e9ef Bug 1598005 - Remove the useless browserDumpID field from the plug-in crash events r=froydnj,baku
Differential Revision: https://phabricator.services.mozilla.com/D53977

--HG--
extra : moz-landing-system : lando
2019-11-21 12:29:58 +00:00
Henrik Skupin 40e00a5be5 Bug 1557232 - [marionette] Skip test_switch_tabs_in_different_windows_with_focus_change on Linux due to intermittent failures. r=marionette-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D54115

--HG--
extra : moz-landing-system : lando
2019-11-21 13:03:45 +00:00