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

643622 Коммитов

Автор SHA1 Сообщение Дата
Shane Caraveo 237485f661 Bug 1538975 read the raw extension manifest if we need to localize it r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D24803

--HG--
extra : moz-landing-system : lando
2019-03-26 15:35:53 +00:00
Bogdan Tara f81aa92481 Backed out 3 changesets (bug 1536804) for /css/css-* failures CLOSED TREE
Backed out changeset e8758002d7d4 (bug 1536804)
Backed out changeset 795287b1e059 (bug 1536804)
Backed out changeset 9a680e886248 (bug 1536804)
2019-03-26 18:41:16 +02:00
Luke Wagner c2cd4db477 Bug 1538820 - Baldr: rm dead CallFarJump (r=lth)
Actually, it's not totally dead, there is a ModuleGenerator-local use
for patching far-jump islands.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 15:23:41 +00:00
Byron Campen [:bwc] 1ff58a4f3c Bug 1240897 - Part 1: When creating an answer, do not allow DTLS role to change unless ICE is restarting. r=mjf
Depends on D24735

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

--HG--
extra : moz-landing-system : lando
2019-03-26 04:24:04 +00:00
Byron Campen [:bwc] 289356a9b8 Bug 1240897 - Part 0: Test that we do not gratuitously switch DTLS roles on renegotiation. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D24735

--HG--
extra : moz-landing-system : lando
2019-03-26 04:22:33 +00:00
Jason Laster 25d855c4ff Bug 1534368 - breakpoint positions should be filtered by source. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D24289

--HG--
extra : moz-landing-system : lando
2019-03-26 15:12:22 +00:00
James Graham 80422ff0e3 Bug 1536804 - Add a task for summarising wpt metadata, r=ahal
This task runs on wpt metadata changes and uploads an artifact
containing the summarised metadata.

Depends on D24178

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

--HG--
extra : moz-landing-system : lando
2019-03-21 14:44:13 +00:00
James Graham dd074e8a30 Bug 1536804 - Add a mach command to summarise wpt metadata, r=ato
This parses the metadata files without evaluating the conditional
expressions, producing a JSON summary file in which each possible
condition is represented as a string.

Not all data from the metadata files appears in the summary, only
exceptional cases likely to be of interest to engineers and unlikely
to be on wpt.fyi e.g. tests that have lsan leaks or tests that crash,
not just tests that fail. This is intended to keep the filesize down.

Depends on D24177

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

--HG--
extra : moz-landing-system : lando
2019-03-21 12:44:34 +00:00
James Graham b738a7576c Bug 1536804 - Factor out a base class for the wpt metadata compilers, r=ato
The manifest compilers follow a mostly common design so it seems
reasonable to put the common parts into a base class, and allow
subclasses to override the functionaility where required.

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

--HG--
rename : testing/web-platform/tests/tools/wptrunner/wptrunner/wptmanifest/backends/static.py => testing/web-platform/tests/tools/wptrunner/wptrunner/wptmanifest/backends/base.py
extra : moz-landing-system : lando
2019-03-21 12:40:01 +00:00
Ian Moody 387d7bcb2c Bug 1539128 - Add fluent docs to the docs sidebar under Localization. r=flod
Differential Revision: https://phabricator.services.mozilla.com/D24879

--HG--
extra : moz-landing-system : lando
2019-03-26 13:47:55 +00:00
Michael Froman 616dd4c138 Bug 1539030 - Don't RDDProcessManager::CreateContentBridge unless needed. r=jya
We were calling RDDProcessManager::CreateContentBridge even if we'd
already launched the RDD process.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 10:35:49 +00:00
Bogdan Tara b68e341245 Backed out 4 changesets (bug 1536584, bug 1538661, bug 1538694) for causing build bustages CLOSED TREE
Backed out changeset 563e8fb1be5d (bug 1538694)
Backed out changeset 7bd834c5800c (bug 1536584)
Backed out changeset f1eec8f7a3f8 (bug 1538694)
Backed out changeset 73a48619739e (bug 1538661)
2019-03-26 16:40:20 +02:00
Emilio Cobos Álvarez 67acdcda59 Bug 1538694 - Try to appease windows builds.
CLOSED TREE
2019-03-26 15:14:08 +01:00
Emilio Cobos Álvarez a072622b02 Bug 1536584 - Remove bindings.rs. r=xidorn
I kept it building the most straight-forward way possible (pub use) because it
seems to me that bindings is not a bad name, and we should probably move
structs.rs to be bindings.rs rather than the other way around.

But that's a different bug in any case, need to think more about it.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 13:38:14 +00:00
Emilio Cobos Álvarez 45bc2e8f6c Bug 1538694 - Cleanup refcounted types. r=boris
And make the handling of ComputedStyle more similar to these.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 13:26:33 +00:00
Yura Zenevich 5d401f1d28 Bug 1538306 - ensure highlighter bounds overlay does not interfere with the accessible audit. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D24546

--HG--
extra : moz-landing-system : lando
2019-03-26 13:33:37 +00:00
Yura Zenevich 3d4f6877ca Bug 1538306 - ensure that only one audit can run at a given time for an Accessible actor. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D24545

--HG--
extra : moz-landing-system : lando
2019-03-26 13:33:29 +00:00
Emilio Cobos Álvarez 16705172ca Bug 1538661 - Simplify Owned FFI types. r=boris
And make them actually sound. We're defining functions on Rust-land that get
structs as arguments, but declaring them in C++ as getting pointers.

This is another step in order to be able to autogenerate ServoBindings.h and
remove bindings.rs altogether.

We remove FooOwned in favor of Owned<Foo>, which is generated via cbindgen.

It'd be good to actually mark Owned and such as MOZ_MUST_USE_TYPE, so I sent
https://github.com/eqrion/cbindgen/pull/307 for that.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 13:25:42 +00:00
Mellina Yonashiro 2fbf0a347e Bug 1536005 - Merge Tabs.css and TabBar.css into Tabs.css r=fvsch
Differential Revision: https://phabricator.services.mozilla.com/D24663

--HG--
extra : moz-landing-system : lando
2019-03-26 13:19:35 +00:00
Belén Albeza c3820a59f4 Bug 1505125 - UX implementation of the Sidebar. r=jdescottes,daisuke,Ola,flod
Differential Revision: https://phabricator.services.mozilla.com/D24419

--HG--
extra : moz-landing-system : lando
2019-03-26 12:38:48 +00:00
monmanuela 7a0cbca8ca Bug 1497842 - Remove INSTALL_LOCALE from APP_CONSTANTS r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D24662

--HG--
extra : moz-landing-system : lando
2019-03-26 13:03:56 +00:00
Paul Adenot 7c2944c9f3 Bug 1538470 - Null-check the global when creating AudioNodes. r=karlt
This is now necessary, because it's possible to effectively create new
AudioNodes on during shutdown, when the global is not available anymore.

It is unnecessary to null-check in the AudioNodeEngine methods, because they
will not run in this scenario.

This also renames the function because it can now return nullptr.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 12:22:10 +00:00
Luca Greco 002d4a5b48 Bug 1537542 - Hide addon preferences if the addon cannot access the current window. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D24534

--HG--
extra : moz-landing-system : lando
2019-03-26 12:30:39 +00:00
Francesco Lodolo (:flod) c648004583 Bug 1535288 - Set up productization for Bengali (bn) on Firefox desktop and Firefox for Android r=mkaply
- Use Bengali (bn-BD) as base
- Keep amazon-in on Desktop (from bn-IN)
- Remove rediff (from bn-IN)

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

--HG--
extra : moz-landing-system : lando
2019-03-26 12:09:26 +00:00
Andrea Marchesini a8466fb647 Bug 1487113 - nsHttpChannel should return the Content-Length even when alt-data is available if not delivered, r=valentin
Without this patch, content-length getter returns 0 if we have an available
alt-data because we don't distinguish between having and using it.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 12:00:42 +00:00
Johann Hofmann b559cdd7d3 Bug 1529128 - Automatically update cryptomining and fingerprinting lists when the features are enabled. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D23300

--HG--
extra : moz-landing-system : lando
2019-03-26 11:29:20 +00:00
monikamaheshwari ad3cfbdd0f Bug 1450924 Remove use of innerHTML in reader mode's Narrate code entirely r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D24694

--HG--
extra : moz-landing-system : lando
2019-03-26 10:36:07 +00:00
James Teh 89ea40cf9f Bug 1538575: Toolbar keyboard navigation: Make arrow keys behave as expected for RTL locales. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D24841

--HG--
extra : moz-landing-system : lando
2019-03-26 10:35:21 +00:00
James Teh 5bada183cb Bug 1536521: Use a capturing listener for PanelMultiView's keydown handler. r=Gijs
PanelMultiView adds the keydown handler on the window so that it handles key presses when a panel appears but doesn't get focus, as happens when a button to open a panel is clicked with the mouse.
However, this means the listener is on an ancestor of the panel, which means that handlers such as ToolbarKeyboardNavigator are deeper in the tree.
Previously, PanelMultiView used a bubbling (default) listener.
This meant that ToolbarKeyboardNavigator handled the event first, causing it to interfere when a panel opened within the toolbar; e.g. the Library menu.
To fix this, use a capturing listener for PanelMultiView so it gets the event first.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 10:33:11 +00:00
Jonas Allmann e2c5b2c559 Bug 1535080, Fix file picker not opening on Windows, r=Gijs
Move addEventhandler to top of appPickerLoad() to avoid not reaching it when errors occur later in the function.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 10:30:39 +00:00
Masayuki Nakano 05ac721436 Bug 1533293 - part 4: Make Selection::SetStartAndEndInternal() select frames by itself r=smaug
When adding an range via `Selection::AddItem()` and only when it's caused by
user's operation, the range may be split at non-selectable content.  This is
done in `nsRange::ExcludeNonSelectableNodes()` but it modifies the given range
as the first range.  Then, [`Selection::AddRangeInternal()` calls
`Selection::SelectFrames()` with the range which may have been modified by
`nsRange::ExcludeNonSelectableNodes()`](https://searchfox.org/mozilla-central/rev/358f816f63da072145c593e9e2ac36b7250ecd25/dom/base/Selection.cpp#2030,2049).

Therefore, only the frames between first child of `<body>` element and
previous element of first non-selectable content are painted as selection
after user does "Select All".

[`Selection::Extend()` calls `Selection::SelectFrames()` by itself for all
existing ranges](https://searchfox.org/mozilla-central/rev/358f816f63da072145c593e9e2ac36b7250ecd25/dom/base/Selection.cpp#2718-2724).  Therefore, this patch creates new method and makes both
`Selection::Extend()` and `Selection::SetStartAndEndInternal()` call it only
when the result is not only one range.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 10:16:20 +00:00
Masayuki Nakano 0a753c3aac Bug 1533293 - part 3: Make editor and ContentEventHandler not use Selection::Extend() due to too slow r=m_kato
`Selection::Extend()` is too slow but editor and ContentEventHandler use it in
some places.  We should make them use `Selection::SetStartAndEndInLimiter()` or
`Selection::SetBaseAndExtentInLimiter()`.  The former is usable only when caller
guarantees the start point is prior to the end point in the DOM tree.
Otherwise, we need to use the latter even though it's slower than the former.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 10:09:47 +00:00
Masayuki Nakano 534fd23ca4 Bug 1533293 - part 2: Rewrite EditorBase::SelectEntireDocument() and its overrides r=m_kato
`EditorBase::SelectEntierDocument()` uses `Selection::Extend()` but it's too
slow.  It should use `Selection::SetStartAndEndInLimiter()` instead.

Additionally, `TextEditor::SelectEntierDocument()` shrink the result of
`EditorBase::SelectEntierDocument()` with `Selection::Extend()` if there is
a `moz-<br>` element.  So, `TextEditor::SelectEntinerDocument()` should set
its expected selection with a call for saving the runtime cost.

Then, we don't need to make `EditorBase::SelectEntierDocument()` as non-pure
virtual method.  So, this patch makes each its callers call
`Selection->SelectAllChildren()` directly.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 10:06:43 +00:00
Masayuki Nakano e4ea50f3f8 Bug 1533293 - part 1: Create Selection::SetStartAndEnd() to set new range as far as faster r=smaug
`Selection::Extend()` is too slow because:
- it may create some `nsRange` instances.
- it users `nsContentUtils::ComparePoints()` multiple times.

Therefore, we can improve the performance if we can stop using it in some
places.  First, this patch creates `Selection::SetStartAndEnd()` and
`Selection::SetStartAndEndInLimiter()` for internal use.  They remove
current ranges, reuse `nsRange` instance as far as possible and add new
range which is set by their arguments.  Then, this patch makes
`Selection::SelectAllChildren()` stop using `Selection::Extend()`.  At this
time, this fixes a web-compat issue.  `Selection::Expand()` cannot cross the
selection limiter boundary when there is a limiter (e.g., when an editing host
has focus).  But we can now fix this with using the new internal API.

Note that methods in editor shouldn't move selection to outside of active
editing host.  Therefore, this patch adds `Selection::SetStartAndEndInLimiter()`
and `Selection::SetBaseAndExtentInLimiter()` for them.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 10:06:00 +00:00
Masayuki Nakano 6510d15c4b Bug 1536852 - Make nsRange::SetSelection() check mRegisteredCommonAncestor before calling UnregisterCommonAncestor() r=smaug
`nsRange::SetSelection()` may be called during unlinking.  Therefore,
`mRegisteredCommonAncestor` may have already been unlinked.  This patch
makes it check whether it's nullptr or not before using it to call
`UnregisterCommonAncestor()`.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 10:14:08 +00:00
Masayuki Nakano e35cfd926c Bug 1536353 - part 3: Make nsIDOMWindowUtils.dispatchDOMEventViaPresShell() dispatch only trusted event r=smaug
In normal cases, `PresShell::EventHandler` won't receive untrusted event.
However, only `nsIDOMWindowUtils.dispatchDOMEventViaPresShell()` may send
untrusted event if its `aTrusted` is false.  Currently, this is not used by
chrome so that we don't need to keep supporting it for dispatching untrusted
events.

This patch removes `aTrusted` argument from it.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 10:10:22 +00:00
Masayuki Nakano dbf37b7d62 Bug 1536353 - part 2: Merge PresShell::EventHandler::PrepareToDispatchEvent() and PresShell::EventHandler::PrepareToDispatchContextMenuEvent() r=smaug
`PresShell::EventHandler::PrepareToDispatchEvent()` checked whether the
given event is a trusted event or an untrusted event, but
`PresShell::EventHandler::PrepareToDispatchOntextMenuEvent()` didn't so.
However, now, both of them don't need to check it.  Therefore, we can merge
them.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 10:04:43 +00:00
Masayuki Nakano f371fabc1b Bug 1536353 - part 1: Make PresShell::EventHandler stop checking WidgetEvent::IsTrusted() at runtime in release channel r=smaug
`PresShell::EventHandler` shouldn't be used to dispatch untrusted event.
However, it checks whether the given event is trusted or untrusted somewhere
and that makes the code harder to understand.  So, it should check each event
only with `MOZ_ASSERT()` or `MOZ_DIAGNOSTIC_ASSERT()` instead.  Then,
developers can trust the event is always a trusted event.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 10:02:06 +00:00
Andi-Bogdan Postelnicu ff772f8795 Bug 1480480 - Explain why some clang-tidy checkers are not published. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D7170

--HG--
extra : moz-landing-system : lando
2019-03-26 10:04:58 +00:00
Alex Chronopoulos dfc6cb0281 Bug 1537725 - Use the default stack alignment in windows x86 for libdav1d. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D24785

--HG--
extra : moz-landing-system : lando
2019-03-26 09:45:21 +00:00
Csoregi Natalia 819dd52416 Backed out changeset abf6af5e36d6 (bug 1537725) for bustages on libdav1d/moz.build. CLOSED TREE 2019-03-26 11:32:42 +02:00
Alex Chronopoulos 9aff2faa39 Bug 1537725 - Use the default stack alignment in windows x86 for libdav1d. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D24785

--HG--
extra : moz-landing-system : lando
2019-03-25 22:51:31 +00:00
Andrei Oprea 8975211e35 Bug 1505535 - Add tab usage probes for pinned tabs r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D24031

--HG--
extra : moz-landing-system : lando
2019-03-26 09:12:10 +00:00
Mark Banner 74d9178878 Bug 1538771 - Fix highlighting of matches within URLs in QuantumBar results. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D24762

--HG--
extra : moz-landing-system : lando
2019-03-26 09:16:06 +00:00
Mark Banner ce267bd0ae Bug 1538771 - Move trimURL to BrowserUtils.jsm so it can be more easily accessed in non-window contexts. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D24761

--HG--
extra : moz-landing-system : lando
2019-03-26 09:15:50 +00:00
Mark Banner 1a70ced2d9 Bug 1536776 - Fix display of percent-encoded URLs in QuantumBar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D24502

--HG--
extra : moz-landing-system : lando
2019-03-26 09:15:15 +00:00
Andreas Pehrson e16275db35 Bug 1504336 - Avoid race in test_pc_simulcastOddResolution.html. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D24725

--HG--
extra : moz-landing-system : lando
2019-03-26 08:36:13 +00:00
Andy Wingo baaa715e33 Bug 1538488 - Fix XPConnect/BigInt test when bigint is off r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D24667

--HG--
extra : moz-landing-system : lando
2019-03-26 07:17:47 +00:00
Dhruvi Butti 805db1b032 Bug 1512400 - Make console autocomplete optional. r=nchevobbe.
Add a preference to make the console input autocomplete automatic.
If set to false, the autocomplete popup will only appear on Ctrl+Space.
A test is added to ensure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 07:13:15 +00:00
Nico Grunbaum f7e4ecddf4 Bug 1515716 - refactor the RTC RTP stats types to match spec r=jib,smaug
realigning the RTP stats types to match spec. This involves breaking out the remote dictionary types. This shouldn't create user space visible changes.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 06:06:36 +00:00