Commit Graph

591411 Commits

Author SHA1 Message Date
Gijs Kruitbosch
7e069d9ac9 Bug 1452618 - make getAddonBlocklistEntry asynchronous, r=kmag
MozReview-Commit-ID: 4Kpx7M57404

--HG--
extra : rebase_source : d5ec8fa24ebbcc1463079ab9e06ab7080115ca90
2018-04-09 16:00:38 +01:00
Gijs Kruitbosch
768b4d55ea Bug 1452618 - track force-disabling things so we don't accidentally re-enable them by using isUsableAddon later, r=kmag
MozReview-Commit-ID: B7ZAw04cVaZ

--HG--
extra : rebase_source : 9ad20ac016bcb8f76dd1cd8f534ec9fae41da2c0
2018-04-13 15:01:05 +01:00
shindli
cdc66c6a3b Backed out changeset 99c2396a4c87 (bug 1453979) for mozmake.exe failures in z:/build/build/src/accessible/ipc/win/DocAccessibleChild.cpp on a CLOSED TREE 2018-04-16 21:07:44 +03:00
Brian Birtles
1ae7767b40 Bug 1452290 - Update the labels in the DevTools meatball menu; r=jryans
This also updates the link behavior to use the less privileged openWebLink.

MozReview-Commit-ID: HHDQKAQz6hQ

--HG--
extra : rebase_source : d57670983073893be6c67fe0c3dc991cbe1e5eb2
2018-04-16 19:44:22 +02:00
J. Ryan Stinnett
e6b95c17e8 Bug 1453846 - Remove DevTools RDP events. r=Honza
A few years ago in bug 1126274, we added RDP events to the DevTools transport so
that the add-on RDP Inspector could display packets as they flow by.

The add-on no longer works as it is not a WebExtension.  Maybe someday we'll
revisit this, but for now this removes some dead code.

MozReview-Commit-ID: AvgQhYWwBUA

--HG--
extra : rebase_source : 45a295cb8b06729a0e3f74a90ce1094633f0f121
2018-04-13 12:57:48 -05:00
David Keeler
fd3dbbaaa3 bug 1453741 - (2/2) remove nsIX509CertDB.findCertByEmailAddress r=fkiefer,jcj
nsIX509CertDB.findCertByEmailAddress performs multiple certificate verifications
on the main thread, which is bad because it blocks the main thread and can cause
nested event loop spinning. Firefox doesn't even use this function. Other
products that use this function will either have to re-implement it locally or
find some other workaround.

MozReview-Commit-ID: HShl0H8cgxs

--HG--
extra : rebase_source : 63ee16b600ca7c2867352ee1ad791eb79b82a77c
2018-04-12 12:46:25 -07:00
David Keeler
2b9926416f bug 1453741 - (1/2) remove nsIX509CertDB.verifyCert{AtTime,Now} r=fkiefer,jcj
These functions perform certificate verification on the main thread, which is
already a bad idea. They can also cause OCSP requests to be made from the main
thread, which will cause nested event loop spinning, which is an even worse
idea. Luckily this really only affects tests.

MozReview-Commit-ID: LqDAgDmlyER

--HG--
extra : rebase_source : c86414db0b6d6e7e83b5e3f371506b773813cdbf
2018-04-11 16:23:48 -07:00
Kartikaya Gupta
b3befc287a Bug 1453463 - Update existing code to be more efficient by using the new map. r=botond
This updates existing bits of code (notably one of the GetTargetAPZC
methods) to use the new map for more efficient lookups. Places that
used GetTargetNode with a presshell-ignoring comparator can now use
GetTargetAPZC as well.

MozReview-Commit-ID: GFjO6KigVop

--HG--
extra : rebase_source : 336a7118927bd6c3f0e4edaf15770afb1f6602a9
2018-04-16 09:33:08 -04:00
Kartikaya Gupta
10a405ffe9 Bug 1453463 - Keep an APZC map on APZCTreeManager. r=botond
We are already building an almost-what-we-want map in the
TreeBuildingState, so I modified to be exactly what we want, and then
just move it to the APZCTreeManager once the tree build is done.

MozReview-Commit-ID: 40RVwYv93wR

--HG--
extra : rebase_source : 118b28dfb796f8153d07dfb356eb45a0d8298c8d
2018-04-16 09:33:08 -04:00
Kartikaya Gupta
5d85aede20 Bug 1453463 - Refactor to make unordered_maps with guid keys a little cleaner. r=botond
This is mostly just moving the existing hash function and introducing
additional helpers to create maps with presshell-ignoring guid keys. We
can use this in one place trivially so I did that as well.

MozReview-Commit-ID: G8nMS1PECT4

--HG--
extra : rebase_source : 4f34da9db77f7ec4b7e5ebaeccd532c8f8c92283
2018-04-16 09:33:07 -04:00
Greg Tatum
ddc6d1f8f2 Bug 1454000 - Add documentation for DevTools flags and their logging behavior; r=jryans
MozReview-Commit-ID: EU5OsfXXY6Q

--HG--
extra : rebase_source : 0a896db9ad832f53dda1c2ceef2f9d8a3ef002c0
2018-04-13 10:46:46 -05:00
Jamie Nicol
d27a81657e Bug 1443149 - Ensure WebGLFBAttachPoint::HasImage() before dereferencing Format(). r=jrmuizel
Previously we were checking IsDefined() rather than HasImage(), but
were hitting crashes. This was because Format() can return null if the
attach point is defined but the attached texture level or renderbuffer
aren't themselves defined. HasImage() checks for this case.

MozReview-Commit-ID: 8KY3zPXXAFv

--HG--
extra : rebase_source : 50706ae0903e15e8b299e7417e7e5d829b11aa79
2018-03-14 16:42:37 +00:00
Blake Kaplan
8dcb412972 Bug 1186265 - Update DOMPoint-001.html to the current spec. r=bz
This test tests the original version of the DOMPoint spec. These changes
update it to the current working draft.

MozReview-Commit-ID: AYUz8xks2RE

--HG--
extra : rebase_source : fade2e55d69459830d9768ce9fed4bee69bdfbca
2018-03-30 11:42:16 -07:00
Blake Kaplan
1a094acd60 Bug 1186265 - Update DOMPointReadOnly to the most recent spec. r=bz
The most recent specification gives DOMPointReadOnly a constructor as well as
a static fromPoint method.

This fixes several failing wpt tests.

MozReview-Commit-ID: 4mPhMm5yhJA

--HG--
extra : rebase_source : d8159b38330c990672f99dbc748a739eced5e6a2
2018-03-30 10:55:40 -07:00
Blake Kaplan
3e329eb8bb Bug 1186265 - Remove DOMPoint constructor taking a DOMPointInit. r=bz
The Web IDL for DOMPoint no longer has this constructor. As far as I can tell,
it is still unused, so let's follow the spec.

MozReview-Commit-ID: 6Lz1BN5YAV5

--HG--
extra : rebase_source : 04b70b673e63d7cea1e528009526285a4af8f472
2018-03-29 16:19:31 -07:00
Alex Gaynor
6e06627ff1 Bug 1453979 - use ContiguousEnumSerializerInclusive for serializing enums in a11y IPC code; r=MarcoZ
MozReview-Commit-ID: 92S42SkSEEP

--HG--
extra : rebase_source : 6689ffd790390892faa4a80c60737934afda7477
2018-04-13 10:51:43 -04:00
Mathieu Leplatre
4d59ffbad4 Bug 1450985 - Enable signature verification for addons/gfx/plugins blocklists r=mgoodwin
MozReview-Commit-ID: AG0hrMw4mku

--HG--
extra : rebase_source : 0976de30bc78df03acda21ad51d559c4489f321e
2018-04-12 16:58:24 +02:00
Francois Marier
8ac645b0cd Bug 1452699 - Add a temporary pref to disable same-site cookies. r=ckerschb,valentin
MozReview-Commit-ID: LRnaSmdSgVW

--HG--
extra : rebase_source : 9dd301f4d49b0fe6f81531d81bac2466032cc3a3
2018-04-13 18:52:28 -07:00
Francois Marier
b3433d151f Bug 1452699 - Work-around caching issues in test_same_site_cookies_*. r=ckerschb
MozReview-Commit-ID: cTH2uyPMTA

--HG--
extra : rebase_source : e17cf902fe4df3fb209805f02838a0c01ab032be
2018-04-13 18:49:58 -07:00
shindli
5898cbcbdf Backed out changeset b584ff6f5afa (bug 1453668) for R failures in file:///C:/Users/task_1523893739/build/tests/reftest/tests/layout/reftests/display-list/retained-dl-style-change-stacking-context-1.html on a CLOSED TREE 2018-04-16 20:15:19 +03:00
Dão Gottwald
a954f1ae9e Bug 1444288 - Hide the favicon at the beginning of the tab opening animation. r=johannh
MozReview-Commit-ID: 7r2UwRr7mga

--HG--
extra : rebase_source : 631bfc106517b1e31861d1e82967499385f24b0e
2018-04-13 16:12:10 +02:00
Marco Bonardo
257c0cb28b Bug 1452890 - Move address bar right-click selection from 'enterSelection' to its own histogram bucket. r=adw
MozReview-Commit-ID: AcP7Spl0sdZ

--HG--
extra : rebase_source : 9de517c50674956526c0de4bc91fbf2ab6e02afc
2018-04-13 16:11:19 +02:00
Andreea Pavel
2343cd1f77 Backed out 10 changesets (bug 1439855) for build bustages at /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/Result.h:308 on a CLOSED TREE
Backed out changeset 4a36617f7f0d (bug 1439855)
Backed out changeset da50d0cc6c5b (bug 1439855)
Backed out changeset e1ac1d0b4ea1 (bug 1439855)
Backed out changeset f5acf9dfb9ad (bug 1439855)
Backed out changeset 16a32f1eddb2 (bug 1439855)
Backed out changeset 00aa64418797 (bug 1439855)
Backed out changeset 59838090809b (bug 1439855)
Backed out changeset 2916fe19f035 (bug 1439855)
Backed out changeset f8dabfc553ff (bug 1439855)
Backed out changeset 41c442ae9e6c (bug 1439855)
2018-04-16 18:36:43 +03:00
Matt Woodrow
61b0638917 Bug 1453668 - Restrict the retained display list stacking context optimization to frames that are also containing blockks for position:fixed. r=miko
This makes the optimization rarer, but is significantly simpler, since we should now be guaranteed that all placeholder frames have their out of flow frames in the same stacking context.

MozReview-Commit-ID: 1Nf8Sx1dca7

--HG--
extra : rebase_source : 74856420fdf6108fe749c94418a20bc9faa6fc5e
2018-04-16 14:23:47 +12:00
Gijs Kruitbosch
2af90599cd Bug 1435778 - fix scrollbar appearing in customize mode in some locales, r=jaws
MozReview-Commit-ID: AnxdpKbaFU9

--HG--
extra : rebase_source : adac5b1e11c96958d5811f586d9d566cf51bf139
2018-04-16 15:53:22 +01:00
Jordan Hu
618161abcd Bug 1383793 Added test to make sure whitelist is used correctly for histogram_tools.py r=Dexter
MozReview-Commit-ID: 2qCjTEgbzIR

--HG--
extra : rebase_source : c58246ac9138517ad18019773d4addb210ae92c0
2018-04-10 23:36:12 -04:00
Edouard Oger
bd6ad0019b Bug 1453958 - Remove menulist-base binding. r=dao
MozReview-Commit-ID: IZTg4njQtCb

--HG--
extra : rebase_source : 7b1299cc39e36330fa01720134233986e7b449b8
2018-04-13 22:02:48 -04:00
Dão Gottwald
16ccd5e415 Bug 1453954 - Stop collapsing the tabs toolbar by default. r=johannh
MozReview-Commit-ID: 2ZSGptrzwSC

--HG--
extra : rebase_source : b46bcee9779d9607772dfa09d5efab86785907ce
2018-04-13 16:06:48 +02:00
Masatoshi Kimura
95e72d30f6 Bug 1450538 - Browser test to ensure that the StatusPanel displays an IDN. r=Gijs
MozReview-Commit-ID: 2DFZgqQTN7K

--HG--
extra : rebase_source : 381a9c092bdfc1209d0d075a327bdfb7a02295b3
2018-04-14 21:27:11 +09:00
Masatoshi Kimura
033d5b8ba2 Bug 1450538 - Use nsIURI::GetDisplaySpec to compensate a change to nsIURI::GetSpec. r=valentin
MozReview-Commit-ID: 5xYAbx78K3q

--HG--
extra : rebase_source : 963a823ca4164e0beec157838853ea541dfbdc4e
2018-04-14 10:29:36 +09:00
Dave Hunt
a9ba788f0b Bug 1454338 - [mozversion] Remove support for B2G; r=ahal
MozReview-Commit-ID: 9CJ8arQiZtf

--HG--
extra : rebase_source : b29ff46e1cef9073cb6c4c0080b30a2b7ce884ad
2018-04-16 13:16:17 +01:00
Daniel Stenberg
c0dc0efdd6 bug 1454307 - revert TRR telemetry histogram label addition r=mcmanus
It isn't supported server side, so make the TRRoff mode instead count
as nativeonly.

MozReview-Commit-ID: 73si3kam6xU

--HG--
extra : rebase_source : 2869fc515ffb23303bdf2fc5e231d0edc62193e7
2018-04-16 09:49:34 +02:00
Daniel Stenberg
01a7750519 bug 1453825 - add telemetry for TRR NS confirmation checks r=mcmanus
MozReview-Commit-ID: 3FAdEhlH5VI

--HG--
extra : rebase_source : fb1762a5b1863da0cbe568c087543384b2aba14a
2018-04-13 00:47:45 +02:00
David Teller
f0a65db504 Bug 1439855 - Make BinSource work with multipart tokenizer;r=arai,efaust
Note that BinSource-auto.{h, cpp} and BinToken.h are auto-generated from BinSource.{yaml, webidl}.

This patch contains the following changes:
- updates to the webidl specifications;
- adapt BinSource.* to the new tokenizer API;
- split BinASTParser across BinASTParserBase and BinASTParser<Tok>.

The effect is that we may now use the BinASTParser with both the (updated) tester tokenizer
and the (new) multipart tokenizer.

MozReview-Commit-ID: HCF2m3qDTFH

--HG--
extra : rebase_source : 3c88a9dab735ddb9ce4fdaab93c1b1115489e548
2018-04-05 14:31:40 +02:00
David Teller
210620389e Bug 1439855 - Extend JS shell parse command to allow forcing full parsing;r=arai
This is useful mostly for benchmarking.

MozReview-Commit-ID: ZzWA6fxCGN

--HG--
extra : rebase_source : c8ef8ee46314268fc3fe6cdb36a3716ece50570e
2018-04-05 14:31:39 +02:00
David Teller
d8a7c1e62d Bug 1439855 - Extend JS shell binParse with ability to pick a tokenizer;r=arai
MozReview-Commit-ID: 9EQY36O9wQo

--HG--
extra : rebase_source : fd4db633c20038f9a73f8ec5607452fe93cc2f3e
2018-04-05 14:31:39 +02:00
David Teller
4dd1164d7e Bug 1439855 - Bunch of macros shared among BinAST files;r=arai
MozReview-Commit-ID: 6q27OFhLlc6

--HG--
extra : rebase_source : c1e3bfe1ba7c8721f720ac3bf285c1ee2893d7ed
2018-04-05 14:31:39 +02:00
David Teller
fc3bb4f67b Bug 1439855 - Fast lookup for BinAST string constants, shared among parsers;r=arai
BinAST parsers need to perform frequent lookup for string values, e.g. once for each `let`, `var`, `const`,
 `+`, `-`, `instanceof` (string enums), as well as a number of startup lookups for string values such as
"LiteralNullExpression", etc. (ast table)

This patch introduces zero-copy lookup tables for both of these. These tables are shared among instances of parsers in a JSRuntime.

MozReview-Commit-ID: 75BasAxLoha

--HG--
extra : rebase_source : 942f7f7849a113e5ce7b1eb420396d4eef194592
2018-04-05 14:31:39 +02:00
David Teller
c92cb03dca Bug 1439855 - Splitting the BinTokenReaderTester in two;r=arai
As a preliminary step for introducing the BinTokenReaderMultipart, we start by splitting the BinTokenReaderTester in two.

Also, we change a bit the API of the BinTokenReaderTester to uniformize with the BinTokenReaderMultipart.

MozReview-Commit-ID: 4SlHaqEAZMk

--HG--
extra : rebase_source : 3b9574a3d78bcafb961f8db548f6215825b66f82
2018-04-05 14:31:39 +02:00
David Teller
acf1fb766d Bug 1439855 - Extending BinAST parser generator with support for multipart tokenizer;r=jorendorff
Changes:

- instead of parsing string enums by string matching, we go through a new `enum class` `BinVariant`, whose handling is part of the tokenizer;
- we now generate this `enum class`.

MozReview-Commit-ID: FnzG772RZam

--HG--
extra : rebase_source : 5da853a36715d04e3d097cbf63749ac1651cd841
2018-04-05 14:31:39 +02:00
David Teller
398336e1d9 Bug 1439855 - Introduce BinAST multipart tokenizer;r=arai
This introduces a new tokenizer for the BinAST parser: the multipart tokenizer.

The format used by the multipart tokenizer is described here: https://binast.github.io/binjs-ref/binjs_io/multipart/index.html

While the details of the format may still change, this is the tokenizer we intend to ship.

We only implement the `identity; ` compression scheme. For the moment, there are no plans to implement other compression schemes.

MozReview-Commit-ID: 8WUa3QX5GWt

--HG--
extra : rebase_source : e0bad689b07f9a3d322d2ec81ab1c7e0d3e43b3c
2018-04-05 14:31:40 +02:00
David Teller
b0136b1bd3 Bug 1439855 - Tests for BinAST multipart tokenizer (data);r=arai
MozReview-Commit-ID: KlzxtGmCYVD

--HG--
extra : rebase_source : ace8652695c2b781b634458e21a70839d799af82
2018-04-05 12:16:30 +02:00
David Teller
3af70dadd0 Bug 1439855 - Tests for multipart tokenizer;r=arai
MozReview-Commit-ID: 7V2BWAcpA1D

--HG--
extra : rebase_source : 07d86c42b3f6ea9061342785dec1a527d662755f
2018-04-12 15:13:22 +02:00
Andreea Pavel
fc3488c8d7 Backed out changeset ee5f61737378 (bug 1452805) for failing awsy/test_memory_usage.py on a CLOSED TREE 2018-04-16 17:05:13 +03:00
Matt Woodrow
552eaff7ef Bug 1453942 - Invalidate if any content ancestor of the display item frame is modified, not just frame tree ancestors. r=miko
We already rebuild all display items for out-of-flow descendants of a modified frame, but we don't currently mark them modified.
In this case, a scrollframe becomes active, and causes position:fixed descendants to use nsDisplayFixedPosition instead of nsDisplayWrapList.
Not invalidating means that we end up with both versions, instead of removing the old one.

MozReview-Commit-ID: LXjjsQhzxiB

--HG--
extra : rebase_source : e286bad815f2d799ec641e5b2ef6507eb57d22cd
2018-04-16 10:14:00 +12:00
Matt Woodrow
7594997fb9 Bug 1452805 - Make sure we rebuild contents infront and behind stacking contexts if their size might have changed. r=miko
The test invalidates the z-index element, so that we do a partial build with just that and the DAG no longer knows the relative ordering between it and the other blue elements.
We then expand the size of the 'first' elements stacking context, and ensure that we provide enough intersecting items to know that we're on top of the z-index element.

MozReview-Commit-ID: 13aRGm1eucp

--HG--
extra : amend_source : 11d530fbec816b3dbcfa7228625e0ba0e73064d0
2018-04-13 11:09:11 +12:00
Matt Woodrow
e9a5b8eda1 Bug 1452225 - Rebuild the whole subdoc when the caret changes, but don't invalidate the nsDisplaySubdocument. r=miko
MozReview-Commit-ID: K0KLXTo4GG

--HG--
extra : rebase_source : 54fc03744cb9df58497ba843fb6786c4db98fb64
2018-04-13 15:32:48 +12:00
Nicolas Chevobbe
405ab44135 Bug 1453894 - Give focus to console input when closing sidebar with Escape key; r=Honza.
MozReview-Commit-ID: J9y6XkmKJ43

--HG--
extra : rebase_source : 47b3c832cbadde8968527f17aa477148f3fa451a
2018-04-16 10:23:39 +02:00
Dale Harvey
5aeada7d94 Bug 1363168 - Add support for OSX Share feature. r=Gijs,mstange
MozReview-Commit-ID: sJXl2If9Ou

--HG--
extra : rebase_source : b88ff89e1d28bab28c3575c2f7f30c91bd584aea
2018-03-12 09:16:51 +00:00
Andreea Pavel
72d998676c Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-04-16 12:55:43 +03:00