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

551502 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini 4c6f9d7816 Bug 1128959 - Implement the WHATWG Streams spec - part 6 - Shutting down procedure, r=bkelly 2017-08-10 18:04:55 -07:00
Andrea Marchesini 7e57abcf58 Bug 1128959 - Implement the WHATWG Streams spec - part 5 - Disable StreamS API by default, r=bkelly 2017-08-10 18:04:55 -07:00
Andrea Marchesini 3b86092f16 Bug 1128959 - Implement the WHATWG Streams spec - part 4 - Fetch implementation, r=bkelly 2017-08-10 18:04:54 -07:00
Andrea Marchesini 99819a81c8 Bug 1128959 - Implement the WHATWG Streams spec - part 2 - Use of ReadableStream in WebIDL files, r=bkelly 2017-08-10 18:04:54 -07:00
Andrea Marchesini 42e07522e8 Bug 1128959 - Implement the WHATWG Streams spec - part 2 - WebIDL Bindings - internal renaming, r=bkelly 2017-08-10 18:04:54 -07:00
Andrea Marchesini 351d938b86 Bug 1128959 - Implement the WHATWG Streams spec - part 1 - WebIDL Bindings, r=bz 2017-08-10 18:04:54 -07:00
Wes Kocher 3152d1bc0c Backed out 3 changesets (bug 1382001) at developer's request a=backout
Backed out changeset 1fe47b777980 (bug 1382001)
Backed out changeset bd6770fadff3 (bug 1382001)
Backed out changeset 29353fb6613b (bug 1382001)

MozReview-Commit-ID: F4S2q5WAxe4
2017-08-10 18:03:05 -07:00
Ben Kelly 4364d9066e Bug 1389184 Avoid crashing in worker MemoryReporter if the GlobalScope is nullptr. r=asuth 2017-08-10 18:00:05 -07:00
Eric Rahm cc3f3645bc Bug 1382001 - Part 3: Fix eslint. r=me
MozReview-Commit-ID: 2RdpKeV7OL2
2017-08-10 17:51:23 -07:00
ZER0 93e1efc17d Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8


--HG--
rename : devtools/shared/event-emitter.js => devtools/shared/old-event-emitter.js
2017-08-11 02:43:47 +02:00
Eric Rahm 094a3152ad Bug 1382001 - Part 2: Use a DAFSA for kSTSPreloadList. r=keeler
This switches the STS preload list over to a more compact representation by
using a DAFSA. `getHSTSPreloadList.js` is updated to output data in the gperf
format expected by `make_dafsa.py`. We then add a generated file that gets
created by pumping `nsSTSPreloadList.inc` through `make_dafsa.py`.

`nsSiteSecurityService` is updated to use the DAFSA which either returns -1
(kNotFound) if an entry is not present or (0, 1) indicating whether or not to
use subdomains.

`nsSTSPreloadList.inc` is an automated conversion to the new gperf-like format.
2017-08-10 17:29:11 -07:00
Eric Rahm 3508d6bf8f Bug 1382001 - Part 1: Handle gperf-like preamble in make_dafsa. r=froydnj
This updates make_dafsa.py to include anything preceding the first '%%' in the
generated header.

For example:

> #include <stdint.h>
> const uint64_t kExpiration = UINT64_C(12345);
> %%
> foo.bar.com, 1
> %%

Would generate:

> #include <stdint.h>
> const uint64_t kExpiration = UINT64_C(12345);
>
> const unsigned char kDafsa[] = {
>   ...
> };

MozReview-Commit-ID: 1oR3ssnlUyA
2017-08-10 17:29:09 -07:00
Aki Sasaki 13ac5f8559 bug 1389260 - split by max # of locales per chunk. fix nightly l10n. r=bustage DONTBUILD 2017-08-10 17:25:46 -07:00
Daniel Holbert 3fd6606bcc Bug 1389141: Clean up trailing newline for 2 files in "services" directory. r=markh
DONTBUILD because whitespace-only.
Notes:
 * hawkrequest.js has a redundant trailing newline; this patch removes it.
 * browser.ini is missing a trailing newline; this patch gives it one.

MozReview-Commit-ID: DYstjpDejgg
2017-08-10 15:55:50 -07:00
Eitan Isaacson e6166bf4d1 Bug 1384672 - Add accessibility instantiator to about:support. r=jimm 2017-08-10 15:32:07 -07:00
Stephen Horlander d25ebee412 Bug 1388778 - Update the Nightly icon some more. r=dolske 2017-08-10 15:22:15 -07:00
Bill McCloskey 638d315450 Bug 1388920 - Call OnChannelConnected handler in parent protocols (r=bkelly)
MozReview-Commit-ID: 8lmpPlmraSw
2017-08-10 14:31:13 -07:00
Dragana Damjanovic 162e156e36 Bug 1389079 - Turn on TFO and make awork around until bug 1386719 lands. r=mcmanus 2017-08-10 23:29:45 +02:00
Dragana Damjanovic 4372964815 Bug 1389079 - A work around until bug 1386719 lands. r=mcmanus 2017-08-10 23:29:34 +02:00
Dragana Damjanovic a7386daa3f Bug 1363372 - Wait until OVERLAPPED structure return a result before distroying a socket. r=mcmanus 2017-07-27 11:37:11 +02:00
Dragana Damjanovic 77398bcd88 UPGRADE_NSPR_RELEASE This is a temporary change to the nspr code in mozilla-central. We believe we have identified a fix to TCP Fast open feature crashes. We would like to verify the fix before making changes in nspr and investing time in doing a proper fix in nspr. The issue has been discussed over e-mails and this push is justifiable before commiitting changes to nspr. Overwriting this push by a new nspr release will not break mozilla-central it will only disable the TCP fast open feature. Patch has been reviewed in bug 1384633. r=mcmanus r=:kaie: r=mayhemer a=jduell a=mcmanus 2017-08-10 23:25:31 +02:00
Wes Kocher 201dd4a9e1 Backed out changeset 93151fa47fcf (bug 1376895) for permafailing test_frameNavigation.html a=backout
MozReview-Commit-ID: 88VukVNkZHW
2017-08-10 14:20:01 -07:00
Matt Woodrow 46694e7e28 Bug 1388614 - Make sure MathML display items are unique. r=karlt
FrameLayerBuilder requires the the (frame,per-frame-key) for each display item is unique. It only enforces this in certain situations though, so there's cases where we've gotten away without this.

Retained display lists introduces more situations where we rely on this, so I've found a few.

MathML nsDisplayNotation and nsDisplayMathMLBar are the two fixed by this patch.
2017-08-10 23:26:42 +12:00
Matt Woodrow 781ec6ffa1 Bug 1388162 - Add a Destroy function to nsDisplayItem to use instead of manually invoking the destructor, this will allow us to recycle them in the future. r=mstange
* * *
[mq]: fix

MozReview-Commit-ID: LUXZAIL73BJ
2017-08-07 16:07:43 +12:00
Matt Woodrow 40f5b92e3b Bug 1388161 - Store the dirty rect on the display list builder rather than passing it as a parameter to BuildDisplayList. r=mstange 2017-08-07 14:23:35 +12:00
Michael Layzell 64ede185b5 Bug 1380081 - Part 15: Fix typo in android package-manifest.in, a=bustage
MozReview-Commit-ID: KcYwBoZgRqH
2017-08-10 17:02:56 -04:00
Dylan Roeh 0740754325 Bug 1377583 - Expose security information in custom tabs. r=snorp
This adds a class, CustomTabsSecurityPopup, which allows us to display information from the security certificate on secure sites.
2017-08-10 09:10:57 -05:00
Yura Zenevich 4e2ab7b208 Bug 1387057 - improved accessibliity of onboarding notification bar. r=mossop
MozReview-Commit-ID: Hx60C142g3u
2017-08-10 16:16:41 -04:00
Georg Koppen 235a9211b1 Bug 1372959 - Fix broken mingw-w64 build with --enable-accessibility. r=aklotz
This is a patch originally proposed by Jacek Caban.

--HG--
extra : rebase_source : 6f4c8049baec67f00484364b36a98d1a583eb2b5
2017-08-09 12:49:45 +02:00
Bob Owen 00eaf28579 Bug 1386502 - Whitelist paths added via pref for files opened in the content process during some tests. r=jimm
--HG--
extra : rebase_source : a34c7e1d445154843e8efd0146824dff0bdfda9b
2017-08-07 17:42:00 +01:00
Alfredo Yang 5ed8327922 Bug 1387793 - Downgrade assertion to warning. r=kinetik
--HG--
extra : rebase_source : 8edb516ec64a9c0662b80e853650116b972ca261
2017-08-10 11:39:44 +08:00
Hossain Al Ikram ce41eb1cfb Bug 1388032 - Remove BrowserCustomizeToolbar. r=dao
--HG--
extra : rebase_source : 85051b9ea84de086b489e75ce80b0393594f0b68
2017-08-07 10:59:00 -04:00
Michael Layzell 6218cf0a78 Bug 1386369 - Part 3: Use double quotes for strings, a=eslint-bustage
MozReview-Commit-ID: LYVrPDQ81LU
2017-08-10 16:12:40 -04:00
Michael Layzell e71c9dc873 Bug 1386369 - Part 2: Stop emitting bhr-thread-hang in the content process, r=froydnj
MozReview-Commit-ID: 1A7CorZepdQ
2017-08-10 15:55:12 -04:00
Michael Layzell 7a1d4b474f Bug 1386369 - Part 1: Change test_BHRObserver to not listen to bhr-thread-hang in content, r=froydnj
MozReview-Commit-ID: 7nFBdtiXFc2
2017-08-10 15:55:12 -04:00
Michael Layzell 918756632e Bug 1380081 - Part 14: Include BHRTelemetryService and xpt files in the package, r=froydnj
MozReview-Commit-ID: IH56INaSOoK
2017-08-10 15:55:12 -04:00
Michael Layzell 1ac6416c61 Bug 1380081 - Part 13: Add telemetry documentation for the new ping format, r=bsmedberg, r=froydnj
MozReview-Commit-ID: G4hFZcR2EGL
2017-08-10 15:55:12 -04:00
Michael Layzell 6c6b6aa2cb Bug 1380081 - Part 12: Add a test for BHR observer notifications, r=froydnj
This patch just adds some tests for the new stuff which we added.

MozReview-Commit-ID: 2jG75AEUJfS
2017-08-10 15:55:12 -04:00
Michael Layzell e51c323738 Bug 1380081 - Part 11: Simplify the HangAnnotations abstraction, r=froydnj
HangAnnotations was very complex, required a separate allocation, and used this
unfortunate virtual interface implementation which made it harder to do
interesting things with it (such as serialize it over IPC).

This new implementation is much simpler and more concrete, making
HangAnnotations simply be a nsTArray<Annotation>. This also simplifies some of
the IPC code which was added in part 7.

MozReview-Commit-ID: EzaaxdHpW1t
2017-08-10 15:55:12 -04:00
Michael Layzell 3e6981de22 Bug 1380081 - Part 10: Stop running BHR on beta, r=froydnj
These changes are going to increase the amount of data which we collect from BHR
a lot. It would be dangerous to run it on beta, especially considering how soon
the next merge is.

This should turn it off for 100% of beta users if I understand the logic
correctly.

MozReview-Commit-ID: 3HyEKWdXaqU
2017-08-10 15:55:12 -04:00
Michael Layzell 9175dce461 Bug 1380081 - Part 9: Transmit BHR Hangs from the Content and GPU process to the parent process, r=froydnj
BHRTelemetryService only runs in the parent process (and we can only submit
pings from there), so we need to send the data which we collect in the GPU and
Content processes over IPC to the parent process.

MozReview-Commit-ID: 8B5uZKbjNbU
2017-08-10 15:55:12 -04:00
Michael Layzell b10326b7fd Bug 1380081 - Part 8: Report bhr-thread-hang hangs to telemetry in a custom bhr ping, r=froydnj
This patch adds the BHRTelemetryService which is a JS implemented XPCOM service
that simply listens to the bhr-thread-hang observer notification, and uses the
data it collects from it to submit telemetry pings.

MozReview-Commit-ID: 2hPXAFmHrm5
2017-08-10 15:55:12 -04:00
Michael Layzell 49ede48e96 Bug 1380081 - Part 7: Add all necessary data for BHR to nsIHangDetails, r=froydnj
We're going to use HangDetails as the type containing hang information. We'll
have a JS component which reads the data out of nsIHangDetails, builds the
payload, and submits it to telemetry for us.

We'll do it in JS because telemetry has to be submitted from JS.

This patch also adds IPC serization for the relevant types so that we can send
HangDetails objects over IPDL.

MozReview-Commit-ID: CeikKabY9Vs
2017-08-10 15:55:12 -04:00
Michael Layzell 8a786be0df Bug 1380081 - Part 6: Remove test_ThreadHangStats.js, r=chutten
A new test using the new APIs is introduced in a later part. This test no longer
functions as ThreadHangStats is no longer present.

MozReview-Commit-ID: HKmoP2An4GP
2017-08-10 15:55:12 -04:00
Michael Layzell 01efa6d6e4 Bug 1380081 - Part 5: Add some helper methods to HangAnnotations, r=froydnj
These will be used to implement IPC serialization and deserialization of the
HangDetails object to send over IPC. This is a temporary measure as
HangAnnotations is rewritten in part 11.

MozReview-Commit-ID: 1WHNvhDrMF5
2017-08-10 15:55:12 -04:00
Michael Layzell ee7272fb92 Bug 1380081 - Part 4: Move BHR into its own component, r=froydnj
MozReview-Commit-ID: 7TOGofAYM6W


--HG--
rename : xpcom/threads/BackgroundHangMonitor.cpp => toolkit/components/backgroundhangmonitor/BackgroundHangMonitor.cpp
rename : xpcom/threads/BackgroundHangMonitor.h => toolkit/components/backgroundhangmonitor/BackgroundHangMonitor.h
rename : toolkit/components/telemetry/ThreadHangStats.h => toolkit/components/backgroundhangmonitor/ThreadHangStats.h
rename : xpcom/threads/ThreadStackHelper.cpp => toolkit/components/backgroundhangmonitor/ThreadStackHelper.cpp
rename : xpcom/threads/ThreadStackHelper.h => toolkit/components/backgroundhangmonitor/ThreadStackHelper.h
rename : xpcom/threads/nsIHangDetails.idl => toolkit/components/backgroundhangmonitor/nsIHangDetails.idl
2017-08-10 15:55:12 -04:00
Michael Layzell b0eb879969 Bug 1380081 - Part 3: Remove the ThreadHangStats object and related code, r=froydnj
MozReview-Commit-ID: EtrktVmc3vP
2017-08-10 15:55:12 -04:00
Michael Layzell d1346a4642 Bug 1380081 - Part 2: Remove ThreadHangStats from about:telemetry, r=chutten
MozReview-Commit-ID: KTOSKobhNAJ
2017-08-10 15:55:12 -04:00
Michael Layzell 6b5404a8f0 Bug 1380081 - Part 1: Remove getChildThreadHangs, r=chutten
This is the first part of purging the existing telemetry code for
ThreadHangStats from the tree. All of these features will be replaced with new
code for BHR telemetry in the future.

MozReview-Commit-ID: BhD5zY2LwUR
2017-08-10 15:55:12 -04:00
Michael Layzell e31e00c7a2 Bug 1365309 - Part 3: Reduce expected frame count for GeckoProfiler.SuspendAndSample, r=njn
This is necessary as with FramePointerStackWalk if the current frame is in glibc
when we suspend the target thread we sometimes can't collect more than one
native frame as there are no frame pointers.

We'll still collect at least one entry, so this check relaxes the assertion.

MozReview-Commit-ID: IbatTQwDti1
2017-08-10 15:55:12 -04:00