Commit Graph

638574 Commits

Author SHA1 Message Date
Narcis Beleuzu
e489ab4f77 Backed out changeset 9b617c97285a (bug 1524495) for Py2 failure
--HG--
extra : rebase_source : 11dae674cfe6dfe1b9ac0c70ac463b64d148c48b
2019-02-26 11:36:11 +02:00
Eden Chuang
429916cc5a Bug 1518869 - Update the expected result of web-platform test /service-workers/service-worker/fetch-csp.https.html r=asuth
Update the expected result of web-platform test /service-workers/service-worker/fetch-csp.https.html to FAIL

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

--HG--
extra : moz-landing-system : lando
2019-02-26 09:05:10 +00:00
Jean-Yves Avenard
04019bde46 Bug 1530322 - P3. Add temporary diagnostics. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D21173

--HG--
extra : moz-landing-system : lando
2019-02-26 09:10:04 +00:00
Jean-Yves Avenard
500e9b73ae Bug 1530322 - P2. Remove redundant code, and simplify. r!gerald r=gerald
The assertions were unneeded as the test above covered the case.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 09:09:54 +00:00
Jean-Yves Avenard
d65730325f Bug 1530322 - P1. Make Interval assertion diagnostic_assert. r!gerald r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D21171

--HG--
extra : moz-landing-system : lando
2019-02-26 09:09:34 +00:00
Narcis Beleuzu
243105ce4c Bug 1524495 - Temporarily disable raptor-unity-webgl-geckoview due to frequent failures r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D20939

--HG--
extra : moz-landing-system : lando
2019-02-25 13:32:22 +00:00
Razvan Caliman
3febb41272 Bug 1530294 - Add option to skip cache when requesting authored text for CSS rule r=gl
This patch adds a boolean option to skip the cached value of `StyeRuleActor.authoredText` and re-parse the stylesheet for its value.
When changing content of a descendant rule inside an ancestor like @media or @select, the cached `authoredText` value is outdated.
This yields incorrect data when requesting the complete rule authored text, hence the need for a cache-busting option.

In addition to this change, there is a slight refactor to include the generated unique selector for the mock-rule for element inline styles.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 09:09:01 +00:00
danielleleb
4417ad8330 Bug 1530181 - Replaces promiseWaitForCondition with TestUtils.waitForCondition. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D21034

--HG--
extra : moz-landing-system : lando
2019-02-25 19:01:53 +00:00
Henri Sivonen
862a7144a9 Bug 1524226 - Add LayersId field to WidgetEvent and InputData. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D20169

--HG--
extra : moz-landing-system : lando
2019-02-26 07:15:43 +00:00
Petru Lingurar
5349aa6e59 Bug 1507531 - FilePicker will request WRITE_EXTERNAL_STORAGE; r=JanH
"Prior to Android 8.0 (API level 26), if an app requested a permission at
runtime and the permission was granted, the system would also incorrectly
grant the app the rest of the permissions that belonged to the same permission
group, and that were registered in the manifest.

For apps targeting Android 8.0, this behavior has been corrected. The app is
granted only the permissions it has explicitly requested. However, once the
user grants a permission to the app, all subsequent requests for permissions
in that permission group are automatically granted."
https://developer.android.com/about/versions/oreo/android-8.0-changes#rmp

Our FilePicker can delegate other applications to record media files
(photo/audio/video) which are then to be sent to websites. They must be saved
locally before the upload, scenario that wasn't possible anymore on Oreo+
because of the change in how Android handles runtime permissions.

As a way to get around this one could grant the "Storage" permission from
System Settings which would grant the app both READ and WRITE access.
But for actually being prepared to handle all situations our FilePicker must
ask for the WRITE_EXTERNAL_STORAGE permission at runtime.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 15:43:13 +00:00
Panos Astithas
ef97797c28 Bug 1485117 - Make standalone bootstrap work without a git checkout. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D20426

--HG--
extra : moz-landing-system : lando
2019-02-26 06:39:55 +00:00
Narcis Beleuzu
06e372323d Backed out 3 changesets (bug 1530322) for bustages on Assertions.h . CLOSED TREE
Backed out changeset 65870fec6eea (bug 1530322)
Backed out changeset d5159dfc6d86 (bug 1530322)
Backed out changeset 68fd0947b767 (bug 1530322)
2019-02-26 09:39:14 +02:00
Tarek Ziadé
48840088a2 Bug 1519861 - Improve mozilla::GetTabSizes - r=smaug
Introduces a generation number in dom::base::Document as well
as a cached version of TabSizes we can Get and Set.
When the document is changed, the cache is invalidated.

This change improves about:performance speed by avoiding
a heavy recursive call on big DOM trees via GetTabSizes() calls.
If the page does not change, the cached values are returned.

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

--HG--
extra : moz-landing-system : lando
2019-02-25 16:39:46 +00:00
Jean-Yves Avenard
120c38f502 Bug 1530322 - P3. Add diagnostics. r=gerald
Depends on D21172

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

--HG--
extra : moz-landing-system : lando
2019-02-26 06:39:57 +00:00
Jean-Yves Avenard
842cb08843 Bug 1530322 - P2. Remove redundant code, and simplify. r!gerald r=gerald
The assertions were unneeded as the test above covered the case.

Depends on D21171

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

--HG--
extra : moz-landing-system : lando
2019-02-26 06:45:32 +00:00
Jean-Yves Avenard
51af804239 Bug 1530322 - P1. Make Interval assertion diagnostic_assert. r!gerald r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D21171

--HG--
extra : moz-landing-system : lando
2019-02-26 06:41:32 +00:00
Emilio Cobos Álvarez
6250346acd Bug 1530247 - Turn the Servo serialization property whitelist into a blacklist. r=boris
It's easier to see what remains that way. Done with the following script:

```
execfile("layout/style/ServoCSSPropList.py")
for p in data:
  if p.type() != "longhand":
    continue
  if "GetCSNeedsLayoutFlush" in p.flags or "SerializedByServo" in p.flags or "Internal" in p.flags:
    continue
  print(p.name)
```

Ran like:

```
$ python print.py | sort
```

From the objdir.

Differential Revision: https://phabricator.services.mozilla.com/D20965
2019-02-25 22:07:16 -08:00
Jeff Gilbert
f665caf87e Bug 1530570 - Inline WebGLContext::IsExtensionEnabled. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D21147

--HG--
extra : moz-landing-system : lando
2019-02-26 03:28:24 +00:00
Daisuke Akatsuka
dbddac86aa Bug 1525851: Add semi-automated test. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D20117

--HG--
extra : moz-landing-system : lando
2019-02-26 05:25:56 +00:00
Jared Wein
7294cd9855 Bug 1524889 - Increase the contrast of multiselected background tabs. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D20374

--HG--
extra : moz-landing-system : lando
2019-02-26 04:51:57 +00:00
Andrea Marchesini
e5f9055504 Bug 1508996 - Change Response's statusText's default, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D21026

--HG--
extra : moz-landing-system : lando
2019-02-26 03:56:08 +00:00
Noemi Erli
a77604a5e8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-26 05:57:14 +02:00
Noemi Erli
92db37a618 Merge inbound to mozilla-central. a=merge 2019-02-26 05:53:25 +02:00
Jeff Gilbert
0005243e88 Bug 1525857 - Add release asserts for pre-crash cases. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D21145

--HG--
extra : moz-landing-system : lando
2019-02-26 02:54:08 +00:00
Aaron Klotz
2d60c7faf4 Bug 1530531: Add a command line option to the launcher process that forces it to log errors to the Windows event log; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D21099

--HG--
extra : moz-landing-system : lando
2019-02-25 23:11:20 +00:00
Mike Hommey
3b28460f33 Bug 1529551 - Only readahead jars in the parent process. r=aklotz
Consequently, since we don't readahead jars in child processes, we
don't record jar accesses from child processes. In fact, intertwining
jar accesses from child processes with those from the parent process was
arguably making things less efficient for the parent process. But this
code was written at a time e10s was barely a thing, so it wasn't really
thought for a multi-process world.

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

--HG--
extra : moz-landing-system : lando
2019-02-25 23:40:55 +00:00
Thomas Daede
31b3aa7734 Bug 1520163 - Add linux64-nasm to android-armv7-searchfox. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D21098

--HG--
extra : moz-landing-system : lando
2019-02-25 22:51:24 +00:00
Thomas Wisniewski
19cbb97ab8 Bug 1488845 - Add an about:compat page to the Webcompat GoFaster addon. r=denschub,kmag,Pike
Add an about:compat page to the Webcompat GoFaster addon.

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

--HG--
extra : moz-landing-system : lando
2019-02-25 23:10:41 +00:00
Ashley Hauck
adaa388508 Bug 1530084 - Don't crash on unsupported syntax when fields are disabled. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D20989

--HG--
extra : moz-landing-system : lando
2019-02-25 22:10:17 +00:00
Mike Hommey
f266fa9039 Bug 1529558 - Use PrefetchVirtualMemory in nsZipArchive::BuildFileList when supported. r=aklotz
instead of ReadAhead, which does active reading on Windows.

The PrefetchVirtualMemory is a system call that is new to Windows 8.

Back when the readahead code for jar was added, in bug 810151, Windows 8
was still fresh out of the oven. 6 years later, we can do a runtime
check and use the PrefetchVirtualMemory function.

One downside is that the IOInterposer doesn't know about it (but it
doesn't know about madvise on other platforms anyways).

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

--HG--
extra : moz-landing-system : lando
2019-02-26 00:14:20 +00:00
Dana Keeler
b330bb1c4c bug 1435858 - add a canary test that will fail before all of the test certificates expire r=Alex_Gaynor,jcj
This test should remind us to regenerate the test certificates next year before they actually expire.

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

--HG--
extra : moz-landing-system : lando
2019-02-25 22:51:47 +00:00
Glenn Watson
1008811aea Bug 1530518 - Refactor the way stacking context coords are converted to reference frame coords. r=emilio
This doesn't introduce any functional changes. However, it refactors
the way that stacking context coords are converted into reference
frame relative coordinates.

Having a single method to retrieve the current offset will make it
easier to take advantage of the newly added API that allows Gecko
to supply initial scroll offsets for scroll nodes. In turn, this
will allow WR to normalize the local coordinates of primitives, which
will allow future improvements and simplifications to the picture
caching implementation.

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

--HG--
extra : moz-landing-system : lando
2019-02-25 22:31:06 +00:00
Alexander Surkov
f575c5446d Bug 1530211 - Autofill addresses learn more link is not blue, r=MattN 2019-02-25 14:34:51 -05:00
Nathan Froyd
e4a1cd2df1 Bug 1530369 - part 3 - do less copying in generateTokens; r=ckerschb
We don't need to copy `dirAndSrcs` when appending it to `outTokens`, and
we can reasonably retain the storage we've built up in `dirSrcs`, so we
don't continually reallocate it.
2019-02-25 13:58:53 -05:00
Nathan Froyd
ef665544c6 Bug 1530369 - part 2 - bulk-append characters in generateNextToken; r=ckerschb
Instead of appending each individual charater, we can delay the append
until after the loop, which saves on function calls.
2019-02-25 13:58:53 -05:00
Nathan Froyd
63e3631fcc Bug 1530369 - part 1 - don't needlessly write characters when skipping; r=ckerschb
The skipWhiteSpace* family of functions write the characters they're
skipping, only to truncate the string after skipping.  This appending is
needless work, so let's skip it.
2019-02-25 13:58:54 -05:00
Jim Blandy
0f90566ff7 Bug 1530104: Correct documentation for newGlobal JS shell function. r=jorendorff
This clarifies the descriptions of newCompartment, sameCompartmentAs, and
sameZoneAs.

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

--HG--
extra : moz-landing-system : lando
2019-02-25 18:54:25 +00:00
Jean-Yves Avenard
c11d80eb43 Bug 1530137 - Fix left out dom namespace references in tasks. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D20940

--HG--
extra : moz-landing-system : lando
2019-02-25 16:29:06 +00:00
Mathieu Leplatre
d19b2d9d78 Bug 1529584 - Distinguish Remote Settings errors when reporting uptake r=glasserc
Distinguish Remote Settings errors when reporting uptake

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

--HG--
extra : moz-landing-system : lando
2019-02-25 20:22:16 +00:00
Byron Campen [:bwc]
ab16f9127e Bug 1521879 - Part 9: Re-enable the prefs service on the socket process. r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D20724

--HG--
extra : moz-landing-system : lando
2019-02-25 21:52:46 +00:00
Byron Campen [:bwc]
ab0d256702 Bug 1521879 - Part 8: Don't run triggered check logic on obsolete streams. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D18231

--HG--
extra : moz-landing-system : lando
2019-02-25 21:52:26 +00:00
Byron Campen [:bwc]
e1a33816af Bug 1521879 - Part 7: Create new CI jobs for media mochitests with socket process enabled. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D17942

--HG--
extra : moz-landing-system : lando
2019-02-25 21:52:13 +00:00
Byron Campen [:bwc]
7cb968d18c Bug 1521879 - Part 6: Disable SetProxyServer for the IPC implementation until bug 1521113 is fixed or worked around. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17560

--HG--
extra : moz-landing-system : lando
2019-02-25 21:52:01 +00:00
Byron Campen [:bwc]
82599ca5ef Bug 1521879 - Part 5: Update IPC serialize/deserialize code for RTP stream stats to match what is in the dictionaries. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D17278

--HG--
extra : moz-landing-system : lando
2019-02-25 21:51:48 +00:00
Byron Campen [:bwc]
0863a7cc28 Bug 1521879 - Part 4: Better logging for candidate gathering (was necessary to figure out parts of bug 1513059). r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17276

--HG--
extra : moz-landing-system : lando
2019-02-25 21:51:36 +00:00
Byron Campen [:bwc]
301b677d31 Bug 1521879 - Part 3: Get --disable-webrtc builds working. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17275

--HG--
extra : moz-landing-system : lando
2019-02-25 21:51:23 +00:00
Byron Campen [:bwc]
7b480b92cd Bug 1521879 - Part 2: Fix include-what-you-use bugs triggered by unified compilation. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D17274

--HG--
extra : moz-landing-system : lando
2019-02-25 21:51:11 +00:00
Byron Campen [:bwc]
25ad4a9108 Bug 1521879 - Part 1.1: Compensate for changes to how IPC headers are generated in the last rebase. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D19975

--HG--
rename : media/webrtc/signaling/src/peerconnection/MediaTransportHandlerParent.h => dom/media/webrtc/MediaTransportParent.h
rename : media/webrtc/signaling/src/peerconnection/MediaTransportHandlerParent.cpp => media/webrtc/signaling/src/peerconnection/MediaTransportParent.cpp
extra : moz-landing-system : lando
2019-02-25 21:50:58 +00:00
Byron Campen [:bwc]
8b6cc6a51f Bug 1521879 - Part 1: IPC-based MediaTransport implementation r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D17273

--HG--
extra : moz-landing-system : lando
2019-02-25 21:50:42 +00:00
Artem Polivanchuk
c261800276 Bug 1529560 - Sync new options of blocking Cryptominers and Fingerprinters r=lina
Differential Revision: https://phabricator.services.mozilla.com/D20904

--HG--
extra : moz-landing-system : lando
2019-02-25 21:48:20 +00:00