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

604916 Коммитов

Автор SHA1 Сообщение Дата
Marco Castelluccio 848dfa9d92 Bug 1471339 - Use Clang 7 for opt Linux ccov builds too. r=me
--HG--
extra : rebase_source : 75edec2c4ccccee9864dfe22dccf5c798841a861
2018-07-20 03:31:39 +02:00
Bogdan Tara 981b017993 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-07-20 04:17:58 +03:00
Bogdan Tara fad7fdf6cc Backed out changeset 76540384ad3d (bug 1471339) by marco's request a=backout 2018-07-20 04:05:23 +03:00
Bogdan Tara b6e2939995 Merge inbound to mozilla-central. a=merge 2018-07-20 00:49:06 +03:00
Stephen A Pohl fc76194aea Bug 1472629: Handle native exceptions when reading accessibility attribute values to avoid crashing. r=mstange 2018-07-19 14:39:52 -04:00
Coroiu Cristina 5d80f520f1 Backed out changeset c04c0005e485 (bug 1476383) for SpiderMonkey failures at non262/regress/regress-1476383-calloc-exc.js on a CLOSED TREE 2018-07-19 21:15:52 +03:00
Jim Blandy 557b8e3e01 NO BUG: Clarify documentation for Debugger.prototype.onNewScript hook. DONTBUILD r=jorendorff 2018-07-19 10:45:49 -07:00
Steve Fink bfdb43b04d Bug 1476383 - cx->pod_callocCanGC can set an exception when succeeding, r=pbone
--HG--
extra : rebase_source : e46376e318e4b7880a2b09c8e26bd1d406fe084b
extra : source : c04c0005e4857d5cf9bbba9be845ae175e17963b
2018-07-18 15:22:21 -07:00
Nicholas Nethercote fc1f4bb4ae Bug 1476820 - Convert some VarCache prefs in dom/security/ to use StaticPrefs. r=ckerschb
Specifically:
- "security.csp.enable"
- "security.csp.experimentalEnabled"
- "security.csp.enableStrictDynamic"
- "security.csp.reporting.script-sample.max-length"
- "security.csp.enable_violation_events"

MozReview-Commit-ID: G1ie4ut9QaK

--HG--
extra : rebase_source : d6b5a0e79eb7046a13a8b4fe957c82c11831c86c
2018-07-19 10:43:29 +10:00
Nicholas Nethercote 2162d78097 Bug 1476820 - Re-alphabetize the sections in StaticPrefList.h. r=glandium
MozReview-Commit-ID: 3qPddiQY18N

--HG--
extra : rebase_source : f1a9e7e76a2393c6096d7fe4f792a07fa52fe687
2018-07-19 09:44:22 +10:00
Steve Fink 585b6ddeba Bug 1476383 - cx->pod_callocCanGC can set an exception when succeeding, r=pbone
--HG--
extra : topic : nursery.strings
extra : rebase_source : 0dafa4356e1f6226a97335838841f600e65b7202
extra : histedit_source : 87cf87164c85abba6ccc42113524e72753d59cb3
2018-07-18 15:22:21 -07:00
Kris Maglione d43db51b53 Bug 1474155: Part 3 - Move WebChannel message listeners to a separate JSM. r=mconley
MozReview-Commit-ID: AHCTFDBnChn

--HG--
rename : toolkit/content/browser-content.js => toolkit/modules/WebChannelContent.jsm
extra : rebase_source : cd39745775f1b8ad94f9563f75faa9cb7d5249f1
extra : amend_source : 13950bf852f9bbe2534135c879bb639ea26ad5b7
2018-07-07 20:15:45 -07:00
Kris Maglione 8cfe473f10 Bug 1473631: Part 15 - Use a single pref observer for all telemetry environment preferences. r=gfritzsche
MozReview-Commit-ID: dGJDjUP4Vm

--HG--
extra : rebase_source : d7e801b2d5b3b0e1b390a78c835e445eda1d9ac6
extra : amend_source : 342b24fec8ee3cea9677080f588593405b233734
2018-07-05 15:26:37 -07:00
Kris Maglione 41c3c1071d Bug 1476828: Part 2 - Slightly decrease the DOM Worker thread stack size. r=erahm
MozReview-Commit-ID: GEDanj1dAC6

--HG--
extra : rebase_source : 212d94df94f4243fcb58f940d4a023aa7014c552
2018-07-18 17:52:39 -07:00
Kris Maglione 4d3e4a0894 Bug 1476828: Part 1 - Reduce the default thread manager thread stack size. r=erahm f=froydnj
MozReview-Commit-ID: cRED4r0xAb

--HG--
extra : rebase_source : 1d648a5c91e802554f044c395a39be8e7f30419b
2018-07-19 14:27:42 -07:00
Bogdan Tara 97830f0e63 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-07-20 00:55:33 +03:00
Marco Castelluccio bd3f040c33 Bug 1476574 - Enable reset/dump for wpt and cleanup harness code for supporting reset/dump now that it is supported by all test suites. r=jmaher
--HG--
extra : source : c1b3950cc12f1642ad60338d2a8701e2b60131ea
extra : intermediate-source : 4ea7997194e9f995bb0b1e434524a0ea5596d758
extra : histedit_source : fffe672f456fd7c503792d2a3e99184c14bfd36c
2018-07-19 11:56:43 +02:00
Marco Castelluccio 87fbf2563c Bug 1476574 - Support resetting/dumping code coverage counters before/after web-platform-tests. r=jgraham
--HG--
extra : source : ec37892ce390414a0349e16e7cdc5d07d2d158ff
extra : histedit_source : 3f3e267d2c2385b35393c2e08621dabd47c07be4%2C03271be81bfe9f7b0d0dec52037606a20699bc3e
2018-07-19 11:57:54 +02:00
Ehsan Akhgari 3441526820 Bug 1476796 - Enable AntiTrackingCommon::AddFirstPartyStorageAccessGrantedFor() to notify consumers about completion of asynchronous results; r=baku
Right now consumers can't know when the parent process has finished talking
to the permission manager.  It would be nice to enable consumers to depend
on the status of the asynchronous task using a promise.
2018-07-19 17:04:56 -04:00
Coroiu Cristina edada2f46b Backed out changeset bc6d7dc3f10f (bug 1476796) for build bustage on a CLOSED TREE 2018-07-19 23:51:35 +03:00
Coroiu Cristina 46afadc431 Backed out 2 changesets (bug 1476574) for browser-chrome failures at browser/base/content/test/static/browser_all_files_referenced.js
Backed out changeset 4ea7997194e9 (bug 1476574)
Backed out changeset ec37892ce390 (bug 1476574)
2018-07-19 23:40:24 +03:00
Ehsan Akhgari 7c156959da Bug 1476796 - Enable AntiTrackingCommon::AddFirstPartyStorageAccessGrantedFor() to notify consumers about completion of asynchronous results; r=baku
Right now consumers can't know when the parent process has finished talking
to the permission manager.  It would be nice to enable consumers to depend
on the status of the asynchronous task using a promise.
2018-07-19 16:20:20 -04:00
Jed Davis 96c18b6c4a Bug 1467889 - Adjust some uses of XPCOM strings. r=mrbkap r=mstange
MozReview-Commit-ID: 5AG4WAmbLZz
2018-07-19 14:14:50 -06:00
Steve Fink 7d44c63dea Bug 1470026 - Allow empty arenas while iterating the heap, r=jonco
--HG--
extra : topic : nursery.strings
extra : rebase_source : 82e5c6e7e080e2924eb4770087a3c085eb2ac6ee
2018-06-20 16:17:35 -07:00
Csoregi Natalia 84b71b7c4e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-19 19:12:06 +03:00
Csoregi Natalia 8384a65194 Merge inbound to mozilla-central. a=merge 2018-07-19 19:09:50 +03:00
James Graham 5bf353faf1 Bug 1354232 - Update metadata for lsan failures, r=maja_zf
MozReview-Commit-ID: 1oq2gCQMzau
2018-07-19 16:32:17 +01:00
James Graham e7b4476630 Bug 1354232 - Chunk by dir more for wpt on asan, r=maja_zf
This means that when we run these tests, the LSAN exceptions will have
the minimum possible scope.

MozReview-Commit-ID: 5aFDWqSiaNb
2018-07-19 16:32:17 +01:00
James Graham c3de1dbc41 Bug 1354232 - Run web-platform-tests on linux64-asan, r=maja_zf
MozReview-Commit-ID: Git2qiGEShN
2018-07-19 16:32:17 +01:00
James Graham 3edd7dc125 Bug 1354232 - Don't store the result of update_expected, r=maja_zf
The needs_human feature never worked well and is unused.

MozReview-Commit-ID: KemDBXjHPV8
2018-07-19 16:32:17 +01:00
James Graham 4d7745e94a Bug 1354232 - Fix, enable, and add to, the manifest update tests, r=maja_zf
Refactor the tests to make them work with pytest directly rather than
also depending on unittest. Fix the helper functions to work with the
current state of metadata.py. Add some tests for update of assertion
count and lsan data.

MozReview-Commit-ID: 1XcMqSbqr43
2018-07-19 16:32:16 +01:00
James Graham 6ec2b7d285 Bug 1354232 - Refactor data storage in metadata.py, r=maja_zf
Previously we were holding a map of test id -> test and test ->
expectation data. But this is an unnecessary layer of indirection, and
it works perfectly well to map test id to the expectation data
directly. This makes the code simpler and may also help make the
update a little faster.

MozReview-Commit-ID: 5PymX6Lxkgu
2018-07-19 16:32:16 +01:00
James Graham b35ab8e7d5 Bug 1354232 - Fix updating assert count when there's an exising value, r=maja_zf
In this case we want to take the existing value into account, and update
to 1 more than the new value (in the max-asserts case).

MozReview-Commit-ID: 1RtJ2gU1ZbH
2018-07-19 16:32:16 +01:00
James Graham 40306b756e Bug 1354232 - Support a __dir__.ini file in the metadata root, r=maja_zf
MozReview-Commit-ID: KACe0XQNsHl
2018-07-19 16:32:16 +01:00
James Graham 8f9d0073e2 Bug 1354232 - Support creating ConditionalValue objects containing a list, r=maja_zf
MozReview-Commit-ID: 5SSt1oeQj7v
2018-07-19 16:32:15 +01:00
James Graham cfa13e3552 Bug 1354232 - Always try to process the leak log whenever we stop firefox, r=ato
The `stop` method is always called to shutdown firefox, but the
cleanup method is only called at the end of a test run. Therefore we
need all the leak processing stuff ot happen in stop().

MozReview-Commit-ID: 5OE54cEygNy
2018-07-19 16:32:15 +01:00
James Graham 795ce832d0 Bug 1354232 - Add support for updating LSAN data in wpt-update r=maja_zf
LSAN data differs from existing expectation data because the data is
only generated when the browser exits, so the problems reported can
happen at any point in the current session. We use the `scope`
property in the log message to determine the path to a __dir__.ini
file that covers all the tests run in the session, and add the LSAN
exclusion rules to there.

The rules themselves are generated by taking the topmost frame of any
stack that's reported as unexpectedly leaking, and adding that to the
list of permitted frames in the lsan-allowed property. We never remove
entries from this list since intermittents may be present which won't
appear on a specific run. Instead we rely on humans fixing the issues
to also clean up the expectation files.

MozReview-Commit-ID: Kxm0hFXlGE3
2018-07-19 16:32:15 +01:00
James Graham a68bcb9344 Bug 1354232 - Add group_metadata to test group metadata and pass it through to the browser, r=ato
This initially contains a scope entry which is set to the base directory of
the tests being run. Typically this is /, but with run_by_dir, it's the
path to the current run_by_dir group e.g. /html/semantics/form_elements/

MozReview-Commit-ID: JEFJByKTUsH
2018-07-19 16:32:14 +01:00
James Graham 852006e3b9 Bug 1354232 - Support skipping output lines in handlers, r=ato
MozReview-Commit-ID: JxcPzSDt20V
2018-07-19 16:32:14 +01:00
James Graham 715bc9d317 Bug 1354232 - Log run-by-dir setting, r=maja_zf
MozReview-Commit-ID: 3iMnOMhSsC3
2018-07-19 16:32:14 +01:00
James Graham bf73a7d381 Bug 1354232 - Allow wpt manifest files to specify LSAN errors to ignore, r=maja_zf
This adds a property lsan-allowed to the expectation manifest files
that takes a list of strings. Any entry in the list that matches a
frame in an LSAN stack will cause that stack to be regarded as an
expected failure.

MozReview-Commit-ID: 2oUw0joThha
2018-07-19 16:32:14 +01:00
James Graham 58fe349617 Bug 1354232 - Enable LSAN Leak detection in wpt, r=ahal,mccr8
MozReview-Commit-ID: 1pPvYi5NQk8
2018-07-19 16:32:13 +01:00
James Graham 73f2d1ad5b Bug 1354232 - Ensure lsan failures cause treeherder jobs to fail, r=ahal
MozReview-Commit-ID: 56BMxWYWwGr
2018-07-19 16:32:13 +01:00
James Graham 5fd56eafb2 Bug 1354232 - Add support for LSAN to mozlog, r=ahal, mccr8
This adds two new actions to mozlog, one for reporting an LSAN
failure, and one for reporting the summary.

MozReview-Commit-ID: D7ep27SrI1n
2018-07-19 16:32:13 +01:00
James Graham d234e52c5b Bug 1354232 - Copy LSANLeaks to mozleak, r=ahal
This is a copy for now rather than a move because followup patches are
going to convert the LSAN support to use mozlog and I don't want to
risk breaking mochitest by accident.

MozReview-Commit-ID: I6NVgjDjsX2
2018-07-19 16:32:13 +01:00
Neil Deakin c68cebacd6 Bug 1461742, shared method to indicate that a custom element implements one or more interfaces, r=bgrins 2018-07-19 08:38:51 -04:00
Neil Deakin 0cc9fd046c Bug 1461742, add a mechanism so that custom elements can implement interfaces akin to XBL implements. This is accomplished by an additional chrome-only callback getCustomInterface that can be implemented by custom elements, r=bz 2018-07-19 08:38:45 -04:00
Andrea Marchesini d3cf48d4ba Bug 1332422 - CSP should not use 'aExtra' to indicate redirects within ContentPolicy, r=ckerschb
Instead, let's pass a nsIURI object to indicate when we have to check a
redirect CSP loading.
2018-07-19 13:25:50 +02:00
Andrea Marchesini c3238135af Bug 1476612 - AntiTracking should use nsIDocument::Get/SetUserHasInteracted instead of UserGestureActivation, r=cpearce 2018-07-19 13:14:27 +02:00
Csoregi Natalia 143b18ba60 Backed out 2 changesets (bug 1461742) for build bustage on CustomElementRegistry.cpp:97. CLOSED TREE
Backed out changeset ca5415dbc51a (bug 1461742)
Backed out changeset 30bd77de7bf5 (bug 1461742)
2018-07-19 13:36:31 +03:00