Commit Graph

623419 Commits

Author SHA1 Message Date
Nicolas Chevobbe
7b12453efb Bug 1462394 - Handle autocompletion data fetching and caching in Redux; r=Honza.
This patch moves all the logic we currently have
baked-in JsTerm to handle the autocompletion data:
- deciding to fetch from the server or the cache
- handling concurrent requests
- managing the cache.

This is now done through dedicated Redux actions and reducers.
In the JsTerm, where the autocompletePopup still lives, we
handle those data changes in componentWillReceiveProps.

Some tests were modified in order to pass with these changes.

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

--HG--
extra : moz-landing-system : lando
2018-11-12 16:07:37 +00:00
Dave Townsend
918425999d Bug 1503696: Cache cookies in the same way we did before Firefox 63. r=mak
Previous to bug 1453751 favicons were loaded from the network by a <xul:image>
tag with validate="never". This caused us to always use any cached version if
possible. Bug 1453751 used a normal load type causing us to revalidate with the
server for each request. This switches the loader to using the cache if possible.

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

--HG--
extra : moz-landing-system : lando
2018-11-12 16:41:35 +00:00
Michael Ratcliffe
0f4eefc5b6 Bug 1506597 - Expose DOMPoint and DOMQUAD TO DevTools modules r=gl
We need these for the flexbox highlighter.

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

--HG--
extra : moz-landing-system : lando
2018-11-12 16:16:38 +00:00
James Willcox
457721733c Bug 1506599 - Add @AnyThread annotation to GeckoWebExecutor r=agi
Differential Revision: https://phabricator.services.mozilla.com/D11652

--HG--
extra : moz-landing-system : lando
2018-11-12 15:31:56 +00:00
Emilio Cobos Álvarez
fe445c3367 Bug 1506133 - More HTML parser cleanup post bug 1392185. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D11480

--HG--
extra : moz-landing-system : lando
2018-11-12 14:37:09 +00:00
Nicolas Chevobbe
6a3aba40af Bug 1505045 - Fix error in setTimeoutIfNeeded when store is not ready yet; r=Honza.
In some cases, the setTimeoutIfNeeded function can
be called before the store is initialized, which is
causing an exception when we try to dispatch the
messages.
With this patch, we check if the store is not ready,
and re-schedule a timeout so messages can be handled
properly when the store is ready.

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

--HG--
extra : moz-landing-system : lando
2018-11-12 15:09:45 +00:00
Connor Sheehan
d8e73dd962 Bug 1505086: remove build telemetry submission logic r=ted
Currently, build telemetry submits at random, approximately
every 10 `mach` invocations. This choice was made arbitrarily,
with no real reason in mind for that level of frequency.
After speaking with some of the data engineers in #telemetry,
it seems we should be able to send pings to the telemetry
pipeline far more frequently than we realized. This commit
removes the telemetry submission logic and causes clients
to attempt to send pings for every mach invocation. Pings
are still saved to the outgoing directory, in case of a
failure or in the case of offline `mach` runs.

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

--HG--
extra : moz-landing-system : lando
2018-11-12 14:57:59 +00:00
Connor Sheehan
dde148da52 Bug 1505086: use mach python to submit build telemetry r=ted
While attempting to improve the build telemetry submission
logic, I found a bug in the way telemetry submission
works. Essentially the submission script was failing to
import any of the required packages (specifically
`mozbuild.telemetry` in this case) as the method used to
modify path was incorrect and the script was running outside
of the virtualenv. The invocation is also sending stdout
and stderr to `/dev/null`, making this problem even less obvious.
When I fixed the path modifications, I realized that `mozbuild`
imports will require a long chain of other imports
(and transitively, more `sys.path` modifications)
such as `which`, `mach`, `mozautomation`, etc to complete.

When I tested the submission script, I did so by running
`mach python build/submit_telemetry_data.py`, which runs the
script in a virtualenv with all required packages installed.
That's likely part of the reasons I overlooked this issue in testing.
Rather than go through the process of importing every dependency
of `mozbuild`, this commit changes the invocation of the submission
script to go through `mach python`. Things seem to work as
expected with this change.

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

--HG--
extra : moz-landing-system : lando
2018-11-12 14:57:57 +00:00
Connor Sheehan
966aaae6ae Bug 1505086: move verify_statedir from telemetry submission script to mozbuild.telemetry r=ted
A subsequent commit will require similar logic to the
checks found in this command. Moving to mozbuild will
allow us to re-use the function instead of re-writing
similar logic.

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

--HG--
extra : moz-landing-system : lando
2018-11-12 14:57:49 +00:00
Martin Stransky
dceca31a34 Bug 1506543 - Remove the comment from Bug 1506543, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D11612

--HG--
extra : moz-landing-system : lando
2018-11-12 14:43:02 +00:00
Alex Gaynor
6a9c2e7073 Bug 1506179 - rename webgl::AttribBaseType::Bool to Boolean; r=jgilbert
X11.h defines a macro named "Bool", which can cause surprising compile errors due to include order.

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

--HG--
extra : moz-landing-system : lando
2018-11-09 21:38:31 +00:00
Mathieu Leplatre
a0fb02038c Bug 1504181 - Force scientific notation in CanonicalJSON r=glasserc
Mimic python for small float numbers

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

--HG--
extra : moz-landing-system : lando
2018-11-12 14:12:58 +00:00
ffxbld
a8c4d8395e No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D11629

--HG--
extra : moz-landing-system : lando
2018-11-12 13:57:43 +00:00
Florens Verschelde
8c99a974e4 Bug 1505687 - Visual tweaks to about:privatebrowsing; r=johannh
- Fix bullet list margins.
- Improve :hover:active style for links.
- Improve narrow width layout: flexible list item width, more reasonable line-heights, move content blocking icon inline.

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

--HG--
extra : moz-landing-system : lando
2018-11-12 13:35:38 +00:00
WR Updater Bot
64bbe13331 Bug 1506576 - Update webrender to commit 45498e55dbb918f82e9583d03912b73b5a301a30 (WR PR #3299). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11635

--HG--
extra : moz-landing-system : lando
2018-11-12 12:58:02 +00:00
WR Updater Bot
c6c5b79b06 Bug 1506575 - Re-generate FFI header. r=kats
Depends on D11633

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

--HG--
extra : moz-landing-system : lando
2018-11-12 12:55:55 +00:00
WR Updater Bot
95b58bd3f2 Bug 1506575 - Update webrender to commit d9bddae3796e782548b9f3dfffdbcb26cf719232 (WR PR #3298). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11633

--HG--
extra : moz-landing-system : lando
2018-11-12 12:55:51 +00:00
WR Updater Bot
d90fa4033f Bug 1506573 - Update webrender to commit 591f577fcc16f7ac9cda206072d8aee4f0358b0f (WR PR #3296). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11632

--HG--
extra : moz-landing-system : lando
2018-11-12 12:52:43 +00:00
WR Updater Bot
cc4db2132a Bug 1506494 - Update webrender to commit c7a0d33c751aec6e4e525a51ae56a189f68f11f5 (WR PR #3289). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11631

--HG--
extra : moz-landing-system : lando
2018-11-12 12:48:39 +00:00
Julian Descottes
dcbbbc537f Bug 1505765 - Add documentation to test remote dbg changes on Android;r=ladybenko,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D11319

--HG--
extra : moz-landing-system : lando
2018-11-12 12:12:35 +00:00
Julian Descottes
8c9affd22a Bug 1505285 - Add mochitest to check that aboutdebugging shows tab favicons;r=ladybenko
Depends on D11161

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

--HG--
extra : moz-landing-system : lando
2018-11-09 17:30:38 +00:00
Julian Descottes
43222b47dc Bug 1505285 - Restore favicons option for root listTabs;r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D11161

--HG--
extra : moz-landing-system : lando
2018-11-07 16:44:37 +00:00
ffxbld
fd40d5c812 No Bug, taskcluster/docker/funsize-update-generator pipfile-update. r=sfraser
Differential Revision: https://phabricator.services.mozilla.com/D11607

--HG--
extra : moz-landing-system : lando
2018-11-12 11:46:12 +00:00
Gijs Kruitbosch
b4cb16858a Bug 1505989 - pass around actual content policy types so they work even when using 'save page as', r=ckerschb
Depends on D11412

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

--HG--
extra : moz-landing-system : lando
2018-11-09 14:48:11 +00:00
Junior Hsu
1dbcaab155 Bug 1504323 - P2 Enable ESLint for netwerk/test/httpserver/ (manual changes) r=Standard8,dragana
Differential Revision: https://phabricator.services.mozilla.com/D10986

--HG--
extra : moz-landing-system : lando
2018-11-09 11:28:32 +00:00
Junior Hsu
964925b6fe Bug 1504323 - P1 Enable ESLint for netwerk/test/httpserver/ (automatic changes) r=Standard8,dragana
Differential Revision: https://phabricator.services.mozilla.com/D10985

--HG--
extra : moz-landing-system : lando
2018-11-11 21:25:52 +00:00
Ciure Andrei
edcd1c640e Backed out changeset 25ccc02a44ff (bug 1504751) for high frequency browser_aboutURLs.js failures CLOSED TREE 2018-11-12 13:55:03 +02:00
Dale Harvey
5de4aaea40 Bug 1506128 - Add share icon rule for url bar. r=Gijs
MozReview-Commit-ID: IrlcPL93wrF

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

--HG--
extra : moz-landing-system : lando
2018-11-12 10:49:52 +00:00
Alexandre Poirot
1b95ea3989 Bug 1505175 - Prevent a crash in XPCNativeWrapper call by always passing a non-undefined object. r=yulia
In XPCShell tests, this `console` variable ends up being null and it later triggers an assertion
that makes the test crash in debug builds. We should always pass a defined object to this constructor.

MozReview-Commit-ID: F7QRXD15lH9

Depends on D11154

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

--HG--
extra : moz-landing-system : lando
2018-11-12 09:51:35 +00:00
Alexandre Poirot
17bf9d1472 Bug 1505175 - Cleanup head_dbg.js from unecessary usages of rootForm. r=yulia
MozReview-Commit-ID: 2ZfghtMuAH2

Depends on D11153

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

--HG--
extra : moz-landing-system : lando
2018-11-09 09:38:50 +00:00
Alexandre Poirot
393464d343 Bug 1505175 - Refactor get_parent_process_actors to only create a DebuggerClient. r=yulia
MozReview-Commit-ID: ChcKTEaO80a

Depends on D11152

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

--HG--
extra : moz-landing-system : lando
2018-11-09 09:38:40 +00:00
Wes Kocher
37ba230663 Bug 1506410 - Fix up two other instances of ParseError not passing in metadata r=jgraham
Depends on D11575

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

--HG--
extra : moz-landing-system : lando
2018-11-12 10:11:48 +00:00
Andreea Pavel
3c006e8ffc Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-12 12:15:06 +02:00
Wes Kocher
4bda2c8ec9 Bug 1506410 - Make sure wptmanifest's ParseError prints out filename and line number when called r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D11575

--HG--
extra : moz-landing-system : lando
2018-11-12 10:09:31 +00:00
Razvan Maries
7f7c353e96 Merge mozilla-inbound to mozilla-central a=merge 2018-11-12 11:58:52 +02:00
Masayuki Nakano
89cf9854fe Bug 1505679 - Make HTMLEditor::RemoveList() sets specific EditAction when it's called by execCommand("insertorderedlist") or execCommand("insertunorderedlist") r=m_kato
Even when execCommand("insertorderedlist") and
execCommand("insertunorderedlist") remove existing lists, we need to set
InputEvent.inputType value to "insertOrderedList" or "insertUnorderedList".

Fortunately, the XPCOM method is used only for handling
execCommand("insertorderedlist") and execCommand("insertunorderedlist") on
Firefox.  Therefore, we should make it set EditAction to
EditAction::eRemoveOrderedListElement or EditAction::RemoveUnorderedListElement.

Note that comm-central uses this method directly and uses "cmd_removeList"
which causes calling the XPCOM method with empty string.  However, input
events for them won't be exposed to the web.  Therefore, it's okay to set
EditAction::eRemoveListElement for the other cases.

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

--HG--
extra : moz-landing-system : lando
2018-11-12 08:13:58 +00:00
Masayuki Nakano
0451a3f0a7 Bug 1504910 - part 3: Make TextEditor::OnDrop() remove selected content before inserting dropped content and fire "input" event before inserting first content r=m_kato
Both Chrome and Safari dispatches 2 sets of "beforeinput" and "input" events
when user drag and drop content in same editor.  One is "deleteByDrag" and
the other is "insertFromDrop".  We need to follow same behavior since
it should be able to cancel only "deleteByDrag" or "insertFromDrop" when
we implement "beforeinput" event.

HTMLEditor::InsertObject() may handle asynchronously.  And we don't need to
do anything additionally for HTMLEditor.  Therefore, TextEditor::OnDrop()
can delete selection before inserting dropped content by itself.

Therefore, this patch makes TextEditor::OnDrop() call
TextEditor::PrepareToInsertContent() and EditorBase::FireInputEvent() by
itself.

Unfortunately, it seems that we cannot write automated tests for this.
Even if using synthesizeMouse() of EventUtils, synthesizing mouse events
won't generate "dragover" nor "drop" events.  Perhaps, like EventUtils.js,
we need to do something with drag service, but it means that we cannot
emulate drag and drop in an editor.

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

--HG--
extra : moz-landing-system : lando
2018-11-12 07:19:01 +00:00
Csoregi Natalia
62d62e3e66 Backed out 2 changesets (bug 1503776) for marionette failures on gfx\tests\marionette\test_pref_rollout_workaround.py. CLOSED TREE
Backed out changeset 56f6234b17fc (bug 1503776)
Backed out changeset 838d9917f028 (bug 1503776)
2018-11-12 07:35:56 +02:00
Jan de Mooij
e2fbf4079d Bug 1506479 - Discard TypeScripts in Zone::discardJitCode instead of during type sweeping. r=bhackett
I also had to make some small changes to relazification for XDR tests for that to pass.

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

--HG--
extra : moz-landing-system : lando
2018-11-12 02:30:15 +00:00
Masayuki Nakano
484de9a0c4 Bug 1504910 - part 2: Make TextEditor::InsertTextAt() and HTMLEditor::DoInsertHTMLWithContext() share preparation code before inserting content r=m_kato
Only TextEditor::InsertTextAt() and HTMLEditor::DoInsertHTMLWithContext()
removes selected content before pasting from clipboard or inserting dropped
content, and they do same things.  Therefore, they can share the code with
a helper method.

Note that this makes each root caller won't return NS_ERROR_EDITOR_DESTROYED
since the destruction is expected by web app.

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

--HG--
extra : moz-landing-system : lando
2018-11-12 01:40:46 +00:00
Marco Zehe
ab92f98230 Bug 1506041 - Code cleanup: Convert more static functions to lambdas in the markup map, r=Jamie
All static functions from nsAccessibilityService that were either only called once from the markup map, or are simple one-liners that were only called up to three times, were converted to lambdas in the markup map.

the static function that creates HyperTextAccessibleWrap has remained untouched because it is called a lot from the markup map, even though its implementation is actually just a one-liner.

The other untouched static function is the templated one for html:dt or html:dd.

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

--HG--
extra : moz-landing-system : lando
2018-11-11 23:13:35 +00:00
Jeff Muizelaar
8aa00debf2 Bug 1496843. Make sure we update mRect when mImageBounds changes. r=mattwoodrow
This makes sure we don't end up with stale entries with geometry clipped
to the previous mImageBounds on the receiving side.

The update code is duplicated for now but will hopefully be cleaned up
after the blob re-coordination work is done.

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

--HG--
extra : moz-landing-system : lando
2018-11-11 22:49:38 +00:00
shawn.huang
36515cbbba Bug 1506029 - Fix the way tracking of messages that have a large number of referents. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D11440

--HG--
extra : moz-landing-system : lando
2018-11-12 01:51:30 +00:00
byron jones
0ef0024e3e Bug 1505278 - replace libmkv's README_MOZILLA with moz.yaml. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D11147

--HG--
extra : moz-landing-system : lando
2018-11-11 22:01:14 +00:00
WR Updater Bot
2edcb8deb1 Bug 1506400 - Update webrender to commit 429cb0eb56d6208a47f83b2efb828bf5db54d777 (WR PR #3297). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11595

--HG--
extra : moz-landing-system : lando
2018-11-12 02:07:10 +00:00
Jean-Yves Avenard
afa48c6843 Bug 1505882 - P5. Always ensure to use latest SPS/PPS when converting sample. r=bryce
ConvertSampleToAnnexB takes the sample's out of band extradata to prepend it to the data. It was theorically possible that the first sample would contain the SPS/PPS from the previous format.

Depends on D11559

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

--HG--
extra : moz-landing-system : lando
2018-11-11 11:42:32 +00:00
Jean-Yves Avenard
dbe872db75 Bug 1505882 - P4. Fix style. r=bryce
Depends on D11558

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

--HG--
extra : moz-landing-system : lando
2018-11-11 11:42:30 +00:00
Jean-Yves Avenard
064bca85b8 Bug 1505882 - P3. Don't check the sample's out of band extradata until after decoding the first frame. r=bryce
Depends on D11557

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

--HG--
extra : moz-landing-system : lando
2018-11-11 18:15:14 +00:00
Jean-Yves Avenard
fdcfc18a6a Bug 1505882 - P2. Assert that sample conversion required is either AVCC or AnnexB. r=bryce
This will avoid future bugs like bug 1506076.

Depends on D11556

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

--HG--
extra : moz-landing-system : lando
2018-11-11 11:42:20 +00:00
Jean-Yves Avenard
0ba7f50c49 Bug 1505882 - P1. Don't track keyframe in CodecChangeMonitor. r=bryce
keyframe was tracked in the CodecChangeMonitor in order to determine when to prepend the SPS/PPS to a sample for decoder using AnnexB format.
The assumption was that it was needed only once per the lifetime of the decoder (and indeed this is true with the Windows and Android decoder). However this causes issue with the Widevine H264 decoder and it will error on some content if the first sample passed following a flush doesn't contain a SPS/PPS.

Interestingly, this issue isn't observed with Netflix content or other Widevine sample videos. Only Amazon PrimeVideo content so far.

We instead use the global MediaChangeMonitor keyframe status that knows when the decoder has been drained or flushed.

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

--HG--
extra : moz-landing-system : lando
2018-11-11 11:42:18 +00:00