Commit Graph

611288 Commits

Author SHA1 Message Date
Benjamin Bouvier
3323938896 Bug 1486829: Make a proper enum class out of jit::FrameType; r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D4462

--HG--
extra : moz-landing-system : lando
2018-08-29 10:07:10 +00:00
Emilio Cobos Álvarez
899e1ccf63 Bug 1485668 - followup: Update manifest. r=me 2018-08-29 12:00:17 +02:00
Emilio Cobos Álvarez
88aaf93f4e Bug 1486957 - Don't use the textoverflow attribute decide whether to set the tooltip text. r=dao
That attribute is set async, _inOverflow should work equally well, and work if
there's a mousemove before the next promiseDocumentFlush callback runs.

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

--HG--
extra : moz-landing-system : lando
2018-08-29 09:22:27 +00:00
Margareta Eliza Balazs
b45b01e82c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-29 12:47:56 +03:00
Margareta Eliza Balazs
2fe43133db Merge inbound to mozilla-central. a=merge 2018-08-29 12:43:37 +03:00
Margareta Eliza Balazs
7bc4b7b684 Merge autoland to mozilla-central. a=merge 2018-08-29 12:42:34 +03:00
Johan Lorenzo
f810fe40ea Bug 1483521 - PushAPK shouldn't depend on single-locale android r=Callek
PushAPK shouldn't depend on single-locale android

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

--HG--
extra : moz-landing-system : lando
2018-08-29 09:37:56 +00:00
Andreea Pavel
65e947cc68 Backed out changeset 126368a5c3ec (bug 1465388) for causing topcrash bug 1487004 a=backout 2018-08-29 11:39:19 +03:00
Tom Ritter
7e0fefeaa0 Bug 1475566 Disable #pragma comments for MinGW Builds r=glandium
In the MinGW browser build job, we're going to use -fms-extensions,
which will tell clang to start processing these comments. Clang
cannot process them correctly (it's an upstream bug) but it doesn't
need to, because we include the libs we need in moz.build files.

So we exclude them for MinGW builds. mingw-clang gets them wrong and
mingw-gcc (which doesn't even work anymore on -central) ignored them.

In the future, with a llvm fix, we could clean up the moz.build
files and re-enable these comments.

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

--HG--
extra : moz-landing-system : lando
2018-08-29 03:50:39 +00:00
Andreea Pavel
eb68a1e6db Backed out changeset 097c92352197 (bug 1484987) for failing gtests at Base64.TruncateOnInvalidDecodeCString on a CLOSED TREE 2018-08-29 10:15:50 +03:00
Henri Sivonen
a459f8cbf4 Bug 1484987 - Avoid writing past the logical length of a string in XPCOM. r=froydnj
MozReview-Commit-ID: 3qkhOiQduLQ

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

--HG--
extra : moz-landing-system : lando
2018-08-29 06:04:57 +00:00
Ciure Andrei
d716a04e20 Merge inbound to mozilla-central. a=merge 2018-08-29 00:58:21 +03:00
Dorel Luca
c70ff33958 Backed out 2 changesets (bug 1476921) for build bustage. CLOSED TREE
Backed out changeset 25af0b19ec39 (bug 1476921)
Backed out changeset 873cd2e119b3 (bug 1476921)
2018-08-28 22:33:24 +03:00
Henri Sivonen
c3d01b0fe9 Bug 1484045 - Prohibit shrinking of the string's buffer in appends of Latin1 to UTF-16 and vice versa. r=froydnj
This restores the old allocation semantics for "append" operations between
Latin1 and UTF-16 while keeping the buffer re-use optimization for the
"assign" cases.

MozReview-Commit-ID: 8JCw3AaCNLN

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

--HG--
extra : moz-landing-system : lando
2018-08-28 14:13:17 +00:00
Henri Sivonen
569510fbdc Bug 1485289 - Use BeginWriting() instead of GetMutableData() in LateWriteChecks. r=froydnj
MozReview-Commit-ID: G64L8b6wnO0

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

--HG--
extra : moz-landing-system : lando
2018-08-28 14:50:11 +00:00
Henri Sivonen
acc4596637 Bug 1486470 - Avoid overwriting newData when there's an OOM failure on buffer shrinking attempt. r=froydnj
MozReview-Commit-ID: F54grcUOwBG

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

--HG--
extra : moz-landing-system : lando
2018-08-28 14:49:20 +00:00
Joel Maher
924aa36a1b Bug 1486788 - make sunspider lower_is_better and indicate it is a 'ms' benchmark. r=ahal
Adjust sunspider raptor test to make lower_is_better=true and treat it as 'ms' and not a 'score'

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

--HG--
extra : moz-landing-system : lando
2018-08-28 16:30:58 +00:00
Brian Grinstead
faa5c193d5 Bug 1486834 - Remove browserConsoleUsesHTML and browserConsoleURL from webconsole definition;r=nchevobbe
These were used when we were working on the HTML version of the frontend, but now
we don't even ship the XUL version, and these properties got missed during removal.

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

--HG--
extra : moz-landing-system : lando
2018-08-28 16:21:57 +00:00
Henri Sivonen
876f7ad09f Bug 1482828 - Introduce C++ analogs of Rust's nsA[C]StringBulkWriteHandle. r=froydnj
MozReview-Commit-ID: BZyHd4VzNur

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

--HG--
extra : moz-landing-system : lando
2018-08-28 16:42:26 +00:00
Julian Descottes
fe4aadb7c5 Bug 1482868 - Show no devices... message when devices list empty;r=daisuke,ladybenko
Depends on D3227

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

--HG--
extra : moz-landing-system : lando
2018-08-28 14:00:39 +00:00
Julian Descottes
8718800de4 Bug 1482868 - Prevent empty values only when submitting network location;r=daisuke
Depends on D3222

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

--HG--
extra : moz-landing-system : lando
2018-08-28 13:42:43 +00:00
Andrew Halberstadt
bbd3ba0a18 Bug 1460856 - [mozlint] Encapsulate all result state in a ResultSummary class r=sylvestre
Currently there are 3 things that can impact the result of a lint run:

1. The list of lint issues found
2. The set of failures that happened during the setup phase
3. The set of failures that happened during the execution phase

All three of these things are stored as instance variables on the LintRoller
object, and then passed into a formatter when it comes time to print the
results. I'd like to add even more things that can impact the result, and it
became clear that the current scenario does not scale well.

This patch moves all data that could impact the end result of a lint run off of
the LintRoller object and onto a new 'result.ResultSummary' class. To avoid
confusion, this patch also renames the 'result.ResultContainer' class to
'result.Issue'.

With this new nomenclature:

result  -> overall state of an entire lint run (can comprise multiple linters)
issue   -> one specific lint infraction (at either 'warning' or 'error' level)
failure -> a non-recoverable error in the linter implementation itself

A "result" is comprised of 0 or more "issues" and 0 or more "failures".

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

--HG--
extra : moz-landing-system : lando
2018-08-28 13:51:04 +00:00
Francesco Lodolo (:flod)
cb706ec643 Bug 1486211 - Remove unused key browser.search.defaultenginename from region.properties r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D4419

--HG--
extra : moz-landing-system : lando
2018-08-28 13:14:27 +00:00
Julian Descottes
8ffc58288b Bug 1482868 - Show network locations as non selectable sidebar items;r=daisuke,ladybenko
Depends on D3226

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

--HG--
extra : moz-landing-system : lando
2018-08-28 13:43:37 +00:00
Andreea Pavel
a7c7a16e37 Backed out changeset 9216e8942ed6 (bug 1484987) for build bustages at builds/worker/workspace/build/src/xpcom/io/nsStorageStream.cpp on a CLOSED TREE 2018-08-29 08:36:19 +03:00
Henri Sivonen
5969209bdc Bug 1484987 - Avoid writing past the logical length of a string in XPCOM. r=froydnj
MozReview-Commit-ID: 3qkhOiQduLQ

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

--HG--
extra : moz-landing-system : lando
2018-08-28 14:29:40 +00:00
James Graham
8dbce11d8b Bug 1485668 - Fix reftest chain comparisons in marionette reftest implementation, r=ato
We were previously using the original test url as the lhs for each
comparison after the top level, rather than the previous rhs url as
expected.

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

--HG--
extra : moz-landing-system : lando
2018-08-28 12:29:02 +00:00
Andreea Pavel
f5d1a4b1c3 Backed out changeset 510decfb443d (bug 1484990) for breaking many test suites e.g. Wr on a CLOSED TREE 2018-08-29 12:16:24 +03:00
Razvan Caliman
cf0b883e11 Bug 1486409 - Guard against a font property value of zero. Catch NaN and Infinity in unit conversion. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D4326

--HG--
extra : moz-landing-system : lando
2018-08-29 09:04:45 +00:00
Henri Sivonen
f725924171 Bug 1485943 - Avoid writing past the logical length of a string in AlternateServices.cpp. r=dragana
MozReview-Commit-ID: 4xPYaAbGaEI

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

--HG--
extra : moz-landing-system : lando
2018-08-29 08:39:42 +00:00
Johan Lorenzo
04619e947c Bug 1484932 - Update GeckoView maven group id: org.mozilla.geckoview r=sebastian,jchen
Update GeckoView maven group id: org.mozilla.geckoview

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

--HG--
extra : moz-landing-system : lando
2018-08-28 13:04:09 +00:00
Henri Sivonen
374b92a848 Bug 1484990 - Use BulkWrite instead of write past length via BeginWriting() in XHR. r=baku
The old code assumes that it's OK to use nsAString::BeginWriting() to write
past the string's logical length if the string has enough capacity. This is
bogus, because the string doesn't know of data written past its logical
length.

The BulkWrite API has been created precisely for this purpose and allows
orderly capacity-aware low-level writes to the string.

MozReview-Commit-ID: BYQHl8Z9Fbd

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

--HG--
extra : moz-landing-system : lando
2018-08-29 07:43:24 +00:00
Johann Hofmann
ef12f98585 Bug 1475840 - Don't fail browser_preferences_usage.js because browser.startup.record is only accessed on startup. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D4327

--HG--
extra : moz-landing-system : lando
2018-08-29 05:44:35 +00:00
Emilio Cobos Álvarez
30e5e31b05 Bug 1486457 - Clear the float list if we weren't able to place a line. r=dbaron
We'll re-do the line anyway, and we'll forget about all the already-positioned
floats in the line DoReflowInlineFrames anyway.

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

--HG--
extra : moz-landing-system : lando
2018-08-28 18:13:20 +00:00
Arshad Kazmi
90d101eba8 Bug 1484925 - UseCounter Broken Link Fixed. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D4363

--HG--
extra : moz-landing-system : lando
2018-08-29 07:48:57 +00:00
Robert Helmer
10b80b68fe bug 1485946 - skip building libprio on MSVC r=froydnj
libprio does not currently build with MSVC (since it only supports
C90 as a compiler), this is being worked on upstream at https://github.com/mozilla/libprio/issues/17

As we are almost certainly not going to ship Firefox build with MSVC anymore,
let's disable this to get it working on this Tier-2 platform.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 20:07:51 +00:00
Mark Banner
591bdec094 Bug 1486775 - Update .eslintignore for recent devtools changes. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D4446

--HG--
extra : moz-landing-system : lando
2018-08-28 15:23:33 +00:00
Razvan Caliman
46fa24934f Bug 1486720 - Enable font highlighter. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D4430

--HG--
extra : moz-landing-system : lando
2018-08-28 13:18:37 +00:00
Emilio Cobos Álvarez
59258ba1a7 Bug 1459065 - Clip filter effects at the stacking context level. r=mstange
Much like mask images. This is the easy fix, for now.

We need to override the ASR clips with Nothing() because we don't really want
children of this display item to get the parent filter applied. It's not only
redundant, but also may be incorrect if the mask image is not opaque for example
(maybe WR should prevent that?).

This was caught by layout/reftests/w3c-css/submitted/masking/mask-opacity-1a.html

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

--HG--
extra : moz-landing-system : lando
2018-08-28 15:42:14 +00:00
Julian Descottes
da674226da Bug 1482868 - Move aboutdebugging sidebar components to dedicated folder;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D3222

--HG--
rename : devtools/client/aboutdebugging-new/src/components/Sidebar.css => devtools/client/aboutdebugging-new/src/components/sidebar/Sidebar.css
rename : devtools/client/aboutdebugging-new/src/components/Sidebar.js => devtools/client/aboutdebugging-new/src/components/sidebar/Sidebar.js
rename : devtools/client/aboutdebugging-new/src/components/SidebarItem.css => devtools/client/aboutdebugging-new/src/components/sidebar/SidebarItem.css
rename : devtools/client/aboutdebugging-new/src/components/SidebarItem.js => devtools/client/aboutdebugging-new/src/components/sidebar/SidebarItem.js
extra : moz-landing-system : lando
2018-08-28 13:41:49 +00:00
Gijs Kruitbosch
a69092408a Bug 1486079 - create initial browser dynamically so we can set various attributes from the start, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D4248

--HG--
extra : moz-landing-system : lando
2018-08-28 11:07:34 +00:00
Alexandre Poirot
d239e37b44 Bug 1486374 - Increase profiler buffer entries to cover one full DAMP run. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D4317

--HG--
extra : moz-landing-system : lando
2018-08-27 12:12:58 +00:00
Emilio Cobos Álvarez
a1f03332c2 Bug 1486488 - Don't assume that SVGAnimationElement has a parent on bind. r=dholbert
This is a regression from bug 1450250, which removed a if (!GetCx()) early
return in this function.

That early return was wrong, both because it prevented elements that were in
shadow trees from targeting other elements, but also because that check was not
present in AfterSetAttr, which means that dynamic updates to the attribute would
work.

Pass the SVGAnimationElement itself to resolve references. That's what we do for
attribute mutations, and also it's the same behavior we have, since the ID
lookup IDTracker does only depends on containing shadow root and containing
document, and that's invariant between a kid and it's DOM parent.

Some other code has been updated to take references instead of pointers so the
null-safety of those methods is explicit.

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

--HG--
extra : moz-landing-system : lando
2018-08-28 09:06:08 +00:00
Daosheng Mu
8e0cd59f7c Bug 1485388 - Checking VRGPUChild is created before asking stop VRService. r=kip
MozReview-Commit-ID: 8NM2bcmqVAa

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

--HG--
extra : moz-landing-system : lando
2018-08-27 20:51:16 +00:00
Alex Gaynor
5bf3453bc2 Bug 1486547 - renamed the mState field on generated protocol classes; r=froydnj
There's also a field named mState on IProtocol, and this reduces confusion.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 18:20:17 +00:00
Alphan Chen
38831149e3 Bug 1452569 - Implement Event's returnValue. r=smaug
Add retrunValue into Event's interface

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

--HG--
extra : moz-landing-system : lando
2018-08-28 06:28:56 +00:00
Margareta Eliza Balazs
294c48bb26 Backed out changeset f9d93a20e6d6 (bug 1486410) for Sa failures error: clang-tidy auto-test failed for checker performance-inefficient-algorithm CLOSED TREE
--HG--
extra : rebase_source : b7234db6fde4e4ec59933e20f10820f5a8fc82ec
2018-08-28 18:28:41 +03:00
Csoregi Natalia
403b2ebd26 Backed out changeset f4739ab0ece1 (bug 1459065) for /svg/filters/ failures. CLOSED TREE 2018-08-28 18:25:24 +03:00
Henri Sivonen
4bf9055862 Bug 1485592 - Avoid isdigit() in sdp_utils.c. r=drno
This fixes two problems:
 1) On Windows, isdigit() is locale-dependent.
 2) On platforms where char is signed, sign-extending char to int and passing
    the result to isdigit() was UB when the high bit was set, because
    isdigit() is defined to take a (signed) int with the value space of
    unsigned char or EOF.

MozReview-Commit-ID: D1lY88PEcpc

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

--HG--
extra : moz-landing-system : lando
2018-08-27 18:12:16 +00:00
Preeti Mukherjee
16c9e3c5c9 Bug 696385 - change dom.a to dom.span in mozilla-central/devtools/client/webconsole/components/message-types/NetworkEventMessage.js#109; r=nchevobbe
MozReview-Commit-ID: 2PBUG8yQIXY

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

--HG--
extra : moz-landing-system : lando
2018-08-28 05:16:26 +00:00