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

601454 Коммитов

Автор SHA1 Сообщение Дата
Doug Thayer c4f5b4ecdb Bug 1340498 - Update onVisits tests to use 'page-visited' r=mak
MozReview-Commit-ID: FxC3gcUF9hl

--HG--
extra : rebase_source : 126587e26e6625dee53a7e40d8a9d5bdf426978a
2018-02-14 09:17:41 -08:00
Doug Thayer abe46fa52a Bug 1340498 - Update onVisits uses to 'page-visited' r=mak
Consuming the new 'page-visited' notification was fairly trivial,
since it was already brought over to onVisits. There's not much to
say about this other than that I'm a little bit uncertain about
all the hoops we have to jump through to get a JSContext and
GlobalObject from History.cpp (which is discussed in the earlier
commit in the series).

MozReview-Commit-ID: LHaBWSylyLI

--HG--
extra : rebase_source : ef8fa174f902e6abd397fb80294e83843120aa81
2018-02-14 09:11:49 -08:00
Doug Thayer d19204042f Bug 1340498 - Implement new Places Observers interface r=mrbkap
See the design doc[1] for further info. We would like to redesign
the places observer system to be more performant and more friendly
to consume. WebIDL was recommended as it simplifies creating simple
dictionary payloads while allowing dynamic typing with `any`.

There were some difficulties with WebIDL though, most of which
revolved around allowing consumers to be weakly referenced, from
both C++ and JS. The simplest solution I could come up with was to
create a simple native interface for the C++ case, and a WebIDL
wrapper for a JS callback in the JS case. Suggestions for simpler
alternatives are very welcome though.

[1] https://docs.google.com/document/d/1G45vfd6RXFXwNz7i4FV40lDCU0ao-JX_bZdgJV4tLjk/edit?usp=sharing

MozReview-Commit-ID: ACnAEfa5WxO

--HG--
extra : rebase_source : 0e4d66fb7eab68c14fad10e3c5876bc491452e22
2018-02-14 09:06:15 -08:00
Doug Thayer ed2a0623d0 Bug 1340498 - Add new globals to lint config r=standard8
MozReview-Commit-ID: 360gup8cWvi

--HG--
extra : rebase_source : 0d5a0c4e867a0526e4e37b521dbf9d2965c1e5f6
2018-01-29 11:07:28 -08:00
Oriol Brufau 050e9292da Bug 1465170 - Implement support for the 'highlighted' API for multiselect tabs with tabs.query r=jaws,mixedpuppy
MozReview-Commit-ID: 6eFnxrXJXXB

--HG--
extra : rebase_source : f0afa7ab08d32d7751c5bcbf1ed9fc65a1fba16b
2018-06-03 02:53:59 +02:00
Tim Nguyen 73ad4c957d Bug 1471542 - Remove support for tree[seltype=cell] and tree[seltype=text]. r=Paolo
MozReview-Commit-ID: BW9u3CvvP1p

--HG--
extra : rebase_source : bf0895ac41708fa62125109a480f6dd172a03798
2018-06-27 18:35:18 +01:00
Luca Greco a895c895dc Bug 1459613 - Show extension name in PermissionUI / webrtcUI doorhangers and menus items. r=johannh
MozReview-Commit-ID: 2NbbsWkxDHm

--HG--
extra : rebase_source : eba0db59a07266a6d3d2f0829dd886d5375b296e
2018-05-16 19:32:42 +02:00
Felipe Gomes be36d3cc96 Bug 1471066 - Convert browser_startup_content.js to a whitelist. r=florian
This should prevent new files from being added in the startup path for content processes

MozReview-Commit-ID: 6hCLurrVQ67

--HG--
extra : rebase_source : 82d161e536decae07cef04b35e3233e947c5b0e7
2018-06-27 13:55:38 -03:00
Abdoulaye O. Ly 24cd3a4391 Bug 1470677 - Undo duplication in browser_multiselect_tabs_mute_unmute.js test file by moving browser_audioTabIcon.js to /browser/base/content/test/tabs directory. r=jaws
MozReview-Commit-ID: 6psjZW3bdNG

--HG--
rename : browser/base/content/test/general/browser_audioTabIcon.js => browser/base/content/test/tabs/browser_audioTabIcon.js
extra : rebase_source : 0ae2be71cf087237a91198888565c74e5b8194c9
2018-06-27 05:21:59 +00:00
Jacek Caban 50c533980d Bug 1470973 - Fix cairo-d2d-surface.cpp mingw clang compilation r=lsalzman
MozReview-Commit-ID: Jt7MvFZTMYY

--HG--
extra : rebase_source : f303d414e0ab8f73bec0fa14daaa32d7082455e2
2018-06-25 20:17:01 +02:00
Dorel Luca 3b53d257b3 Backed out changeset e79176a9ffcb (bug 1470977) for Mochitest failures 2018-06-27 19:21:57 +03:00
Julien Cristau c95be1c7c1 Bug 1469423 - add an option to let l10n-bumper trigger builds. r=mtabara
MozReview-Commit-ID: CYOHmQ4os8l

--HG--
extra : rebase_source : 32874b3a7c9742bf2d21060cef7cd3fc6f15d4d8
2018-06-19 17:24:05 +02:00
Michael Ratcliffe e76c933ee5 Bug 1466880 - Track toolbox session id in event telemetry probes r=yulia
MozReview-Commit-ID: SC6Vm4Qn7n

--HG--
extra : rebase_source : a247143c183d3ee32cee50e257bdff531b066087
2018-06-22 14:08:47 +01:00
Erica Wright 1867b808c1 Bug 1471523 - Update Events.yaml for about:welcome events. r=ursula
MozReview-Commit-ID: 1Znb0QIWCSn

--HG--
extra : rebase_source : 7147024378b6dfedcc7edd64be061d9d82b2d915
2018-06-27 10:32:31 -04:00
Dão Gottwald bd9b790de8 Bug 1471580 - Remove unused _bookmarkPopupInitialized flag. r=standard8
MozReview-Commit-ID: LI7oXGLDyso

--HG--
extra : rebase_source : f8a4a2282b215ef4d02c91995916002af87d23b4
2018-06-27 14:57:16 +02:00
Dorel Luca cb4cac9822 Backed out changeset 23948209664a (bug 1458917) for Eslint failure and reftest crashes. CLOSED TREE 2018-06-27 17:48:57 +03:00
Mathieu Leplatre ecf7e33ee7 Bug 1458917 - Register dedicated timer for Remote Settings r=Gijs
MozReview-Commit-ID: K5Rf1McJUHy

--HG--
extra : rebase_source : fd52d047a5355b3b454bf4171402b949b8e084e3
2018-06-14 20:54:19 +02:00
Jacek Caban be0521404f Bug 1470977 - Fix GLBlitHelperD3D.cpp mingw clang compilation r=lsalzman
MozReview-Commit-ID: IbOPAYoYJjj

--HG--
extra : rebase_source : f800779bdb4b2c9b782d10094c329774eb377705
2018-06-25 21:01:41 +02:00
Coroiu Cristina 7f89106c23 Backed out changeset ec11cc05b667 (bug 1467734) for xpcshell failures at toolkit/components/telemetry/tests/unit/test_TelemetryLateWrites.js 2018-06-27 16:01:55 +03:00
Alex Chronopoulos b2ea3d0293 Bug 1471164 - Update cubeb from upstream to 2968cba. r=padenot
MozReview-Commit-ID: Lwalw9Hxf70

--HG--
extra : rebase_source : 183ac07e38e329e84f7a567d0e287206c0215524
2018-06-26 12:16:49 +02:00
Carl Corcoran f3554479ca Bug 1467734: Add ability to remove frames from CombinedStacks; r=Dexter
MozReview-Commit-ID: EudrP5G3iaJ

--HG--
extra : rebase_source : 1a9acf39ac681e50f2c77d571e546c255466db6f
extra : intermediate-source : 4cd5c52af14b780ac1a02700a34bbac4642d2749
extra : source : c24fc6474817188b4759d0c8304a029f01432339
2018-06-08 12:49:32 +02:00
Simon Fraser 371a4da3a0 Bug 1469803 Separate bouncer-check for cron tests r=mtabara
We shouldn't run this on central, as it falls back to the dev configs, and fails.
It should be fine on beta/release/esr60. I had to move this version of the check to its own
kind to avoid the dependency tree bringing in the entire build process. Perhaps we can
refactor later to avoid duplication

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

--HG--
rename : taskcluster/ci/release-bouncer-check/kind.yml => taskcluster/ci/bouncer-check/kind.yml
2018-06-27 07:34:19 +00:00
Henri Sivonen 860839ae50 Bug 1471533 - Update encoding_rs to 0.8.4. r=emk.
MozReview-Commit-ID: 40sRHT77Kzk

--HG--
extra : rebase_source : 38d8b8ca3e1c4a16aa0ed147f4a2b77a782d327d
2018-06-27 12:30:03 +03:00
Jacek Caban 505960071d Bug 1471352 - Don't export functions from gcc_throw.h in mingw builds. r=froydnj
MozReview-Commit-ID: D5HQWCN12oI

--HG--
extra : rebase_source : 890d816347162f54204df4dcd5c3297c917da867
2018-06-26 18:55:14 +02:00
Jacek Caban 29adb6362f Bug 1471293 - Support using llvm-objdump in dependentlibs.py r=glandium
MozReview-Commit-ID: 8b0o06EQh3n

--HG--
extra : rebase_source : e5a3296723d6a64db38427d4b30fb820d0516abd
2018-06-26 15:15:19 +02:00
Dorel Luca 4e1a98da16 Merge mozilla-central to autland. CLOSED TREE
--HG--
extra : amend_source : f27ba81f58e12b4cf5286650b6910404748e7f95
2018-06-27 14:07:04 +03:00
Dorel Luca d296624690 Backed out 5 changesets (bug 1340498) for build bustage due to conflicts with bug 1470325. a=backout
Backed out changeset 28bedb658af4 (bug 1340498)
Backed out changeset f950a2310e26 (bug 1340498)
Backed out changeset 5fcd31c65fe0 (bug 1340498)
Backed out changeset 515bb5e24dd7 (bug 1340498)
Backed out changeset 79a8619bd3e2 (bug 1340498)
2018-06-27 14:05:20 +03:00
Dorel Luca bc2fbd0648 Merge mozilla-central to autoland
--HG--
extra : rebase_source : 0f5c3c308ce6ddd6fb9fcb49b83d4450a24d67dc
2018-06-27 13:33:04 +03:00
Dorel Luca f51c4fa5d9 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-27 13:26:49 +03:00
Coroiu Cristina 614012f859 Backed out changeset a1db50f691f0 (bug 1442737) for frequent mochitest failures on e.g: dom/workers/test/browser_fileURL.js 2018-06-27 10:58:48 +03:00
Christoph Kerschbaumer 25caec9ca2 Bug 1463663 - Prefix exported functions of the RemotePageManager with RPM. r=mossop 2018-06-27 09:08:32 +02:00
Cameron McCormack 674e812659 Bug 1471499 - Part 3: Replace remaining "see nsStyleConsts.h" comments with more useful references. r=xidorn
MozReview-Commit-ID: kO8uT9JZgK

--HG--
extra : rebase_source : 119ce72ccb1f2b79ec0e827325ed4ea6897a9e87
2018-06-27 16:45:56 +10:00
Cameron McCormack 73de67e798 Bug 1471499 - Part 2: Remove "see nsStyleConsts.h" comments for style struct members that are enum classes. r=xidorn
MozReview-Commit-ID: ISkGZ7FU8xR

--HG--
extra : rebase_source : 74e8b99a38e9d9fd94d1a93c2385fb91d66c12f4
2018-06-27 15:51:33 +10:00
Cameron McCormack d5ad9f4ec6 Bug 1471499 - Part 1: Remove [reset] and [inherited] comments on style struct members. r=xidorn
MozReview-Commit-ID: 9dL51J2KqPS

--HG--
extra : rebase_source : 28cb17a14052db90b55a75d09ac190b85051624e
2018-06-27 15:44:58 +10:00
Xidorn Quan 4b65f18d5a Bug 1471114 part 7 - Scripts used to generated the previous patches. r=emilio
MozReview-Commit-ID: E9dB5l9AmeS

--HG--
extra : source : 960b212b998e728f90bbf564f5899a92f65c9e0e
2018-06-27 15:34:29 +10:00
Xidorn Quan 882b6f2f03 Bug 1471114 part 6 - Remove unused CSS keywords. r=emilio
This is done with the following script:
```python
#!/usr/bin/env python3

import re
import subprocess

LIST_FILE = "layout/style/nsCSSKeywordList.h"

RE_KEYWORD = re.compile(r"\beCSSKeyword_(\w+)")
rg_result = subprocess.check_output(["rg", r"eCSSKeyword_\w+"], encoding="UTF-8")
to_keep = set()
for item in rg_result.splitlines():
    file, line = item.split(':', 1)
    for m in RE_KEYWORD.finditer(line):
        to_keep.add(m.group(1))

remaining_lines = []
RE_ITEM = re.compile(r"CSS_KEY\(.+, (\w+)\)")
with open(LIST_FILE, "r") as f:
    for line in f:
        m = RE_ITEM.search(line)
        if m is not None and m.group(1) not in to_keep:
            print("Removing " + m.group(1))
            continue
        remaining_lines.append(line)
with open(LIST_FILE, "w", newline="") as f:
    f.writelines(remaining_lines)
```

MozReview-Commit-ID: upyTPc8984

--HG--
extra : source : 65a744682fe99d8f0de4fa4b7a478e10aba0349e
2018-06-27 15:34:29 +10:00
Xidorn Quan a18ad3b214 Bug 1471114 part 5 - Remove unused keyword tables. r=emilio
This is done with the following script:
```python
#!/usr/bin/env python3

import re
import subprocess

from pathlib import Path

HEADER = Path("layout/style/nsCSSProps.h")
SOURCE = Path("layout/style/nsCSSProps.cpp")

RE_TABLE = re.compile(r"\b(k\w+KTable)")
rg_result = subprocess.check_output(["rg", r"\bk\w+KTable"], encoding="UTF-8")
to_keep = set()
all = set()
for item in rg_result.splitlines():
    file, line = item.split(':', 1)
    name = RE_TABLE.search(line).group(1)
    path = Path(file)
    if path != HEADER and path != SOURCE:
        to_keep.add(name)
    else:
        all.add(name)

to_remove = all - to_keep
remaining_lines = []
with HEADER.open() as f:
    for line in f:
        m = RE_TABLE.search(line)
        if m is not None and m.group(1) in to_remove:
            print("Removing " + m.group(1))
            continue
        remaining_lines.append(line)
with HEADER.open("w", newline="") as f:
    f.writelines(remaining_lines)

remaining_lines = []
removing = False
RE_DEF = re.compile(r"KTableEntry nsCSSProps::(k\w+KTable)\[\]")
with SOURCE.open() as f:
    for line in f:
        if removing:
            if line == "};\n":
                removing = False
            continue
        m = RE_DEF.search(line)
        if m is not None and m.group(1) in to_remove:
            if remaining_lines[-1] == "\n":
                remaining_lines.pop()
            removing = True
            continue
        remaining_lines.append(line)
with SOURCE.open("w", newline="") as f:
    f.writelines(remaining_lines)
```

MozReview-Commit-ID: FeDZRcBceqV

--HG--
extra : source : fe9369e5cef11a6c6eaac641c185844eb45554b1
2018-06-27 15:34:29 +10:00
Xidorn Quan a01792b85b Bug 1471114 part 4 - Remove unused getter functions from nsComputedDOMStyle. r=emilio
This is done with the following script:
```python
#!/usr/bin/env python3

import re
import sys

from pathlib import Path

if len(sys.argv) != 2:
    print("Usage: {} objdir".format(sys.argv[0]))
    exit(1)

generated = Path(sys.argv[1]) / "layout" / "style"
generated = generated / "nsComputedDOMStyleGenerated.cpp"
RE_GENERATED = re.compile(r"DoGet\w+")
keeping = set()
with generated.open() as f:
    for line in f:
        m = RE_GENERATED.search(line)
        if m is not None:
            keeping.add(m.group(0))

HEADER = "layout/style/nsComputedDOMStyle.h"
SOURCE = "layout/style/nsComputedDOMStyle.cpp"

# We need to keep functions invoked by others
RE_DEF = re.compile(r"nsComputedDOMStyle::(DoGet\w+)\(\)")
RE_SRC = re.compile(r"\b(DoGet\w+)\(\)")
with open(SOURCE, "r") as f:
    for line in f:
        m = RE_DEF.search(line)
        if m is not None:
            continue
        m = RE_SRC.search(line)
        if m is not None:
            keeping.add(m.group(1))

removing = set()
remaining_lines = []
with open(HEADER, "r") as f:
    for line in f:
        m = RE_SRC.search(line)
        if m is not None:
            name = m.group(1)
            if name not in keeping:
                print("Removing " + name)
                removing.add(name)
                continue
        remaining_lines.append(line)

with open(HEADER, "w", newline="") as f:
    f.writelines(remaining_lines)

remaining_lines = []
is_removing = False
with open(SOURCE, "r") as f:
    for line in f:
        if is_removing:
            if line == "}\n":
                is_removing = False
            continue
        m = RE_DEF.search(line)
        if m is not None:
            name = m.group(1)
            if name in removing:
                remaining_lines.pop()
                if remaining_lines[-1] == "\n":
                    remaining_lines.pop()
                is_removing = True
                continue
        remaining_lines.append(line)

with open(SOURCE, "w", newline="") as f:
    f.writelines(remaining_lines)
```

MozReview-Commit-ID: ACewvZ9ztWp

--HG--
extra : source : 7f167f9affd954da907d1da307ebc82be4b85911
2018-06-27 15:34:29 +10:00
Xidorn Quan cd114ec151 Bug 1471114 part 3 - Drop the reference to getter functions we don't call. r=emilio
MozReview-Commit-ID: IbBayOwsjNX

--HG--
extra : source : 82ce1f7b7fd21c406cf61726c78de5f120028e35
2018-06-27 15:34:29 +10:00
Xidorn Quan dca9867a8f Bug 1471114 part 2 - Generate ComputedStyleMap entry list from property data. r=emilio
This changes the order of properties returned from gCS. The old order
doesn't make much sense, and other browsers don't agree on an identical
order either, so it should be trivial to change it. Also the spec isn't
super clear / useful in this case.

Several -moz-prefixed properties are excluded from the list due to their
being internal. I suspect they are never accessible anyway, so probably
nothing gets changed by this.

MozReview-Commit-ID: 9LfangjpJ3P

--HG--
extra : source : 879a7265c35f51c5954d8a44ccd374a606ecba0e
2018-06-27 15:34:29 +10:00
Xidorn Quan d1caa962ed Bug 1471114 part 1 - Move CSSPropFlags prefix generation into GenerateServoCSSPropList.py. r=emilio
MozReview-Commit-ID: E5dl9V2B2dq

--HG--
extra : source : 6e2448ce3f4d9965749298a575795dfab926b9cb
2018-06-27 15:34:29 +10:00
Xidorn Quan 46cae3d7aa Bug 1471104 followup - Upgrade cssparser and revendor.
MozReview-Commit-ID: 74rBgkJEcYd

--HG--
extra : rebase_source : a30d17b3d7e24f1a61c01d1dc442d6ce60c1dde3
extra : source : 8ff268ee87b7392391a6b6aa981f9180c45b27b6
2018-06-27 10:43:21 +10:00
Xidorn Quan dadd7149ea Bug 1471104 - Remove location from preludes and take it from argument. r=emilio
MozReview-Commit-ID: HeJUQvkacaf

--HG--
extra : rebase_source : b63b2949249ddb6d8e063a98bfeaa7656e6183fe
extra : source : 6f32be6912db802563ad33ae1d70756f3b3dcd8a
2018-06-27 10:42:51 +10:00
Gurzau Raul 78f3442000 Backed out changeset 04352a50d097 (bug 1465950) for linting failure on /enterprisepolicies/tests/browser/browser_policies_getActivePolicies.js on a CLOSED TREE 2018-06-27 06:55:53 +03:00
Jean-Yves Avenard f6a7d4ea1a Bug 1471214 - Ensure that DictionaryBase copy constructor is called. r=bzbarsky
Such that a call to dictionary.IsAnyMemberPresent() will return the correct value.

Differential Revision: https://phabricator.services.mozilla.com/D1829
2018-06-26 21:56:45 +00:00
Sam Foster 458a39e2cd Bug 1471263 - Unbork and un-skip the test_show_field_specific_error_on_addresschange test. r=jaws,MattN
MozReview-Commit-ID: BNvWDBF5HDH

--HG--
extra : rebase_source : 17ddaa6da49d74fedd2412cc601f63ba2f2050e8
2018-06-26 16:56:20 -07:00
Andrew Halberstadt 4984a86e83 Bug 1464419 - [tryselect] Ability to specify --query multiple times with |mach try fuzzy| r=jmaher
Currently it's possible to specify a single query and take the union of terms with the '|'
symbol. However if you want to craft anything more complicated (i.e linux mochitest and
xpcshell, but windows reftest), it becomes really difficult. This allows developers to union
the result of multiple queries.

For example:
./mach try fuzzy -q "'linux 'mochitest | 'xpschell" -q "'windows 'reftest"

Differential Revision: https://phabricator.services.mozilla.com/D1838
2018-06-26 22:08:07 +00:00
Bogdan Tara ee8db3bbe1 Backed out 2 changesets (bug 1447116) for debug reftests failures CLOSED TREE
Backed out changeset 0c8c7b025aee (bug 1447116)
Backed out changeset 82dc9159f28d (bug 1447116)
2018-06-27 05:17:03 +03:00
Kartikaya Gupta 4b90819f59 Bug 1466950 - Fix test to work on Android. r=hiro
MozReview-Commit-ID: G2NTiGUiw5Y

--HG--
extra : rebase_source : 149e87e81d115cbb1a1b1684e0022fc24f7a7eb5
2018-06-26 09:20:21 -04:00
Kartikaya Gupta b564a1c166 Bug 1471220 - Record the WR display list build time in the flb phase of content paint telemetry. r=mattwoodrow
MozReview-Commit-ID: 3nZxztEdXef

--HG--
extra : rebase_source : fe889adca13d21d857881e19fbffb3387afc18f4
2018-06-26 09:53:25 -04:00