Commit Graph

623406 Commits

Author SHA1 Message Date
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
Daniel Varga
5039d2e3f8 Merge mozilla-central to mozilla. a=merge on a CLOSED TREE 2018-11-11 23:49:08 +02:00
Daniel Varga
ca83631b08 Merge mozilla-central to mozilla-inbound. a=merge 2018-11-11 23:46:10 +02:00
Florens Verschelde
cb23c99006 Bug 1501997 - Set markup-view line-height to 14px; r=pbro
Set markup view lines to use a precise 14px line-height, 16px total height.
Align markup badges more precisely with vertical-align:top and margin-top,
because vertical-align:middle is imprecise and has unwanted side effects.

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

--HG--
extra : moz-landing-system : lando
2018-11-11 18:44:42 +00:00
Brian Grinstead
b57202f633 Bug 1503342 - Rename richlistbox.children to richlistbox.itemChildren so .children will refer to the normal DOM API;r=paolo
In Bug 1479125 we put calls to .children that were intended to access child elements into the custom
method, which is a slower path. We may eventually want to remove itemChildren altogether and just assume
that all children are items, but that's out of scope for a perf fix like this.

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

--HG--
extra : moz-landing-system : lando
2018-11-11 13:21:18 +00:00
Dorel Luca
06d5d5ae43 Merge mozilla-inbound to mozilla-central a=merge 2018-11-11 11:42:18 +02:00
Emilio Cobos Álvarez
f8ed926bb3 Bug 1506391 - Manually extinguish multi-line use statements. 2018-11-11 02:40:30 +01:00
Emilio Cobos Álvarez
652ee99c60 Bug 1506391 - Revert try -> r#try change.
Since we're in an inconsistent state because mako files weren't updated, and
it's really ugly.
2018-11-11 02:40:28 +01:00
Emilio Cobos Álvarez
58166142d5 Bug 1506391 - cargo fix on the merged changes + formatting. 2018-11-11 02:40:26 +01:00
Simon Sapin
f7c7465ccb Bug 1506391 - cargo fix --edition --features gecko. r=emilio 2018-11-11 02:40:24 +01:00
Simon Sapin
4f9e2bcf36 Bug 1506391 - cargo fix --edition. r=emilio 2018-11-11 02:40:21 +01:00
Simon Sapin
078d2c6545 Bug 1506391 - Use 2018-style paths in code generated by Mako. r=emilio 2018-11-11 02:40:19 +01:00
Simon Sapin
271e888fb3 Bug 1506391 - Use 2018-style paths in code generated by style_derive. r=emilio 2018-11-11 02:40:17 +01:00
Emilio Cobos Álvarez
b4871fab22 Bug 1506413 - Update rust-nightly toolchain versions. r=froydnj
The particular toolchain is somewhat arbitrary, but is what servo uses on master
right now, and is newer than the rust version we use everywhere else, which
wasn't the case.

Differential Revision: https://phabricator.services.mozilla.com/D11574
2018-11-11 02:40:15 +01:00