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

574951 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 7048b0b8b9 servo: Merge #19615 - style: Remove needless and bogus bounds-check (from emilio:useless-check); r=KiChjang
The check should read index >= self.len(). But it doesn't matter anyway since
we're covered by Rust's bound checks by default anyway.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6524d2281453da816c532dc83a522331df8ce9c0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a5fd5040f80563badd67ac7e65b36511454fbe49
2017-12-20 21:23:29 -06:00
Mike Hommey 38ff4b7d87 Bug 1426558 - Make autospider builds not rely on system libnspr. r=sfink
The only reason autospider builds succeed in running tests at the moment
is that there is a libnspr4 library installed at the system level on
Centos that is binary compatible with what the js shell requires.

While on the long run we should just avoid depending on libnspr4 at all,
in the short term, we should make the effort to make those tests use the
libnspr4 present in dist/bin.

For the tests executed from js/src/Makefile.in, it turns out there is
already a level of wrapping that does that, relying on run-mozilla.sh,
which is only installed on gecko builds. Installing it on standalone js
builds solve half the problem.

The other half is addressed by setting LD_LIBRARY_PATH before invoking
the js shell in the various places it's invoked.

--HG--
extra : rebase_source : 25f4b1f5c78eb84e48046dc83798f07eb02d4a81
2017-12-21 10:11:13 +09:00
Mike Cooper d793eaa65d Bug 1426530 - Make the normandy test suite pass with --verify r=Gijs
MozReview-Commit-ID: Awnxu9IAhDQ

--HG--
extra : rebase_source : 8ec5f4e28c30264de402381d9775fc9abc99a05e
2017-12-20 15:34:39 -08:00
Cameron McCormack 93b3403772 Bug 1425000 - Use a consistent window for CSP, etc. for FontFace loads. r=jfkthame
MozReview-Commit-ID: F2xhsgTBI1V

--HG--
extra : rebase_source : 4bf73e190ba4e90e1f3b828d1f8e1babf3a512c4
2017-12-21 14:07:31 -05:00
Boris Zbarsky 04324f18ad Bug 1424474 part 3. Make sure that we only pass non-system subject principals to setters/methods that later use that principal for loading security checks. r=kmag
MozReview-Commit-ID: IjUEG5xwn5
2017-12-20 17:43:18 -05:00
Boris Zbarsky 4565249361 Bug 1424474 part 2. Add a way to request only non-system subject principals in webidl bindings. r=mystor
MozReview-Commit-ID: 8ObneI0DoH5
2017-12-20 17:43:18 -05:00
Boris Zbarsky 7ebac0960f Bug 1424474 part 1. Make sure we don't call into the chrome registry's AllowContentToAccess with non-chrome URLs. r=gijs
MozReview-Commit-ID: I3DyrYGpGC2
2017-12-21 10:54:43 -05:00
Ben Kelly b05397d47c Bug 1401359 Disable SharedWorker if in windows that cannot access storage. r=baku 2017-12-21 10:50:27 -05:00
Csoregi Natalia c88d4f8c83 Backed out changeset 3bdd7743f057 (bug 1297740) for Build Bustage. r=backout on a CLOSED TREE 2017-12-21 16:21:48 +02:00
Dragan Mladjenovic ebf5c48dc5 Bug 1406999: [MIPS32] Cleanup floating point registers handling; r=nbp 2017-12-20 14:30:56 +01:00
tera_1225@hotmail.com 7363292a26 Bug 1426018 Added padding to request-list-header-wrapper firebug theme. r=Honza
MozReview-Commit-ID: 2OhRT3rvQuP

--HG--
extra : rebase_source : 77c9909957e62b2455806b26a5fc5b665a42e4c8
2017-12-19 23:36:46 +01:00
Byron Campen [:bwc] a5197a284d Bug 1425618 - Part 2: Make offerToReceiveX: false unset the send bit on transceivers. r=jib
MozReview-Commit-ID: 1arzHQBUziR

--HG--
extra : rebase_source : 71f88eca0c1e9029cb6a6b18985fe7e70a50b948
2017-12-19 11:52:39 -06:00
Byron Campen [:bwc] 8775f0efe3 Bug 1425618 - Part 1: Test-cases for offerToReceiveX: false. r=jib
MozReview-Commit-ID: FGkD1QJ9Us2

--HG--
extra : rebase_source : 6a42d3e352f79e811823b2ff19066bb0a9bc752e
2017-12-18 11:44:45 -06:00
Coroiu Cristina 72aaaf526b Backed out 3 changesets (bug 1426513) for bustage at /src/base/process_util_posix.cc r=backout on a CLOSED TREE
Backed out changeset 693bb500fc25 (bug 1426513)
Backed out changeset 64021383118d (bug 1426513)
Backed out changeset 9d80a554866c (bug 1426513)
2017-12-21 20:59:02 +02:00
Andrew McCreight 7b5bcc482d Bug 1426513, part 3 - Remove CPU and TimeTicks::HighResNow. r=jld
CPU is only used on Windows, for TimeTicks::HighResNow, but the latter
is not used, so remove them all.

MozReview-Commit-ID: CvV1gMrVRA5

--HG--
extra : rebase_source : 60ddcf6ea5542f4526a23d739a2fe754219e5b9f
2017-12-20 14:06:44 -08:00
Andrew McCreight 52848c69fb Bug 1426513, part 2 - Remove SysInfo. r=jld
MozReview-Commit-ID: AzNOH8mJqEY

--HG--
extra : rebase_source : 4ccb092c7eb4aca89e913505f52c5b00484730d8
2017-12-20 13:51:57 -08:00
Andrew McCreight e2a7d9b7b9 Bug 1426513, part 1 - Remove ProcessMetrics and ProcessFilter. r=jld
MozReview-Commit-ID: 7991I7JtkIw

--HG--
extra : rebase_source : 75e56f918a6e276b114ed8ea154f2686915ee8ac
2017-12-20 13:43:01 -08:00
abhinav 0b870de381 Bug 1419366 - Stop using ImmutableJS in filters reducer. r=Honza
MozReview-Commit-ID: AgBGfJEy8t7

--HG--
extra : rebase_source : 16a2168d17ac01f71cb77c3d9278b3e60de2791e
2017-12-17 23:56:27 +05:30
Nihanth Subramanya a0762f90d1 Bug 1426438 - Remove NewTabURL.jsm. r=florian
MozReview-Commit-ID: JDiEzEju3zP

--HG--
extra : rebase_source : 3743879bd6315dc7967163bc91f02c23a45b0d13
2017-12-21 00:03:12 +05:30
Mark Hammond 57f9284cef Bug 1425987 - part 2: Cleanup Sync logging by rationalizing preference management. r=tcsc
MozReview-Commit-ID: CQ1vhahnQbc

--HG--
extra : rebase_source : 5456b3afcf2d2d3536b9b546dda67199af4e1bdd
2017-12-19 09:48:31 +11:00
Mark Hammond 26f95a81a1 Bug 1425987 - part 1: Add support to Log.jsm for managing log levels via prefs. r=Gijs
MozReview-Commit-ID: 6xLSnb0etnl

--HG--
extra : rebase_source : 7f6878b3296d3a513ae20a28d5ceb8fbbd84ea53
2017-12-18 17:48:41 +11:00
Ed Lee 36b8b0ba57 Bug 1426203 - Add ES modules, pinned counts and bug fixes to Activity Stream. r=dmose
MozReview-Commit-ID: K1Jyn2qFDPr

--HG--
extra : rebase_source : d0497c84616433ba8b61d4ada10810db11bed89e
2017-12-20 12:10:35 -08:00
Eden Chuang 3fd3115e94 Bug 1423623 - Add telemetry for alternate data stream on service worker synthesized channels. r=bkelly, data-r=francois
1. Create a new telemetry scalar SW_ALTERNATIVE_BODY_USED_COUNT to count the
       number of the alternative body used in service worker synthesized channels.

    2. To report values of fetching related time of InterceptChannel according to
       the detail subresource type. Now subresource/script, subresource/other,
       subresource/image and subresource/stylesheet are provided, and keep using
       subresource for other types.
2017-12-15 14:35:44 +08:00
Dragan Mladjenovic 4a3769fa44 Bug 1406999 - [MIPS32] Cleanup floating point registers handling. r=nbp 2017-12-20 23:40:37 -05:00
Emilio Cobos Álvarez 7e9531ab01 Bug 1420547: Add assertions for the assumptions we're making. r=bz
MozReview-Commit-ID: 8CVtclXLgzH

--HG--
extra : rebase_source : 0fb5ec6e27e28d4f325f03405d886547114b312d
2017-12-11 10:14:36 +01:00
Emilio Cobos Álvarez 2280023199 Bug 1420547: Notify the pres shell before everything else on removals. r=bz
This allows the flattened tree to have a reasonable state before content
removals, allowing us to fix bugs like bug 1420533.

This used to be also the old setup, but was changed in bug 382376, since the
frame constructor used to reconstruct stuff synchronously. This used to break
all sorts of stylo invariants, and I fixed this in bug 1389743, so now the order
can be sane again.

MozReview-Commit-ID: K2pTweGKSq0

--HG--
extra : rebase_source : e53b7314f39f9c1c2e87fbe202f64b06e4c64c57
2017-12-11 06:42:38 +01:00
Emilio Cobos Álvarez bae0ffb7be Bug 1420547: Fix removal of <area> elements from an image map. r=bz
This code was relying on nsImageFrame::ContentRemoved running before it.

MozReview-Commit-ID: Imjhd9exjQS

--HG--
extra : rebase_source : 7c6367f515dc140176e50d959c07250057e28354
2017-12-13 01:58:48 +01:00
Vedant Nevetia e466da11c8 Bug 1422846 - Remove all occurences of donottrack.xul and donottrack.dtd. r=johannh 2017-12-10 14:01:44 -05:00
Jorg K a83efbdfb5 Bug 1426062 - Follow-up for bug 1422465: check parent before dereferencing it. r=surkov 2017-12-20 00:00:00 -05:00
Christoph Kerschbaumer 4ed18db7cb Bug 1419902 - Add crashtest for nullptr deref of doc within nsGlobalWindowOuter::CloseOuter. r=smaug,ryanvm 2017-12-13 20:27:13 +01:00
Sean Stangl d30019b2d4 Bug 1425387 - Skip automatically-inserted NOPs while patching. r=bbouvier 2017-12-20 23:32:41 -05:00
SagarB 8b9b4b8fd7 Bug 1402485 - Remove Delete all Session cookies option for non cookie staorage r=miker
Borrowed code from onTreePopupShowing into onTablePopupShowing

MozReview-Commit-ID: 1IotAfqwlpg

--HG--
extra : rebase_source : bd1bc0256ccfbcaf508b319167cab9c21be7dbf2
2017-12-10 18:56:12 +05:30
tigercosmos 7be35fc71a servo: Merge #19612 - deny warnings (from tigercosmos:o1); r=jdm
<!-- Please describe your changes on the following line: -->
deny warnings
related to #19573

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #19572 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 2eb1512c22e7d79a4c6af70af7aec53f4b18cac2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : dbac199ced6f23c0e3c360d9c814585837e1389d
2017-12-21 13:57:04 -06:00
Thom Chiovoloni 364c629823 Bug 1426742 - Fix TPS test_history and cleanup failures. r=kitcambridge
MozReview-Commit-ID: 8jR4vtwUpOm

--HG--
extra : rebase_source : 72f655998e1e3380d8d4f569356d247906a032b0
2017-12-21 15:15:24 -05:00
Andrew Swan c55f9a4a8a Bug 1426563 Fix test_temporary.js on non-nightly channels r=mixedpuppy
In the test of temporary installation of webextension experiments,
the test certificate shim code was marking the test addon as
privileged which allowed it to be loaded, fix that here.

MozReview-Commit-ID: IaZshrMNr3v

--HG--
extra : rebase_source : 34bcd94c6e687c63aadce7cb8d6b07a9ce525597
2017-12-21 12:12:18 -08:00
Andrew McCreight 0b3352e605 Bug 1426513, part 3 - Remove CPU and TimeTicks::HighResNow. r=jld
CPU is only used on Windows, for TimeTicks::HighResNow, but the latter
is not used, so remove them all.

MozReview-Commit-ID: CvV1gMrVRA5

--HG--
extra : rebase_source : 2a512e2cfbe7d734a2c806214a2a96f79cbc9f11
2017-12-20 14:06:44 -08:00
Andrew McCreight f301d2f896 Bug 1426513, part 2 - Remove SysInfo. r=jld
MozReview-Commit-ID: AzNOH8mJqEY

--HG--
extra : rebase_source : 86c7fdc8d5c1f9e5873b2e206f854cbbfbc16a34
2017-12-20 13:51:57 -08:00
Andrew McCreight e2c8b28f84 Bug 1426513, part 1 - Remove ProcessMetrics and ProcessFilter. r=jld
MozReview-Commit-ID: 7991I7JtkIw

--HG--
extra : rebase_source : f4b04d9b3bd1b752363aef8628133f359038c361
2017-12-20 13:43:01 -08:00
Ian Moody 4228c58572 Bug 1425972 - Add a test for subview navigation on space keydown. r=Gijs
MozReview-Commit-ID: Hb5WlqOtibS

--HG--
extra : rebase_source : c6584d917f03824d1f4ed2b11ddb69bf3165f307
2017-12-20 16:48:19 +00:00
Ian Moody 576f8ac9fd Bug 1425972 - Add a test for interleaved arrow and tab navigation in the browser panel. r=Gijs
MozReview-Commit-ID: DBIop59CWCG

--HG--
extra : rebase_source : a14f4c16ae098758c7805482c12780452f3efdbf
2017-12-20 02:19:35 +00:00
Ian Moody 92dc6aecdf Bug 1425972 - Add a test for tab navigation in the browser panel. r=Gijs
MozReview-Commit-ID: L3C65YgRYd5

--HG--
extra : rebase_source : 9de26250aa9f18cf69818898e04b6b49b136b899
2017-12-20 00:18:19 +00:00
Ian Moody acb5488eff Bug 1425972 - Manually handle Tab navigation in PanelMultiView so it syncs with Arrow navigation. r=Gijs
MozReview-Commit-ID: 5PjXFZBeWzM

--HG--
extra : rebase_source : cd0e2176fed7f9808808e45ea4aef794450af43c
2017-12-19 19:37:34 +00:00
Ian Moody f06ff8cd10 Bug 1422374 - Remove pointless stringbudleset binding. r=enndeakin+6102
MozReview-Commit-ID: FxBVCp87Xxc

--HG--
extra : rebase_source : 21a7ba52e2f67e625294c7406c0e9fe10d22a022
2017-12-12 15:57:45 +00:00
Chung-Sheng Fu cae5668a08 Bug 1413780 - Change permission name from canvas/extractData to canvas. r=johannh
MozReview-Commit-ID: 40mesFLeRWU

--HG--
extra : rebase_source : d6dcab54875a8a557a75d63f25fc1b7844f54d21
2017-12-14 15:59:57 -06:00
Chung-Sheng Fu 740ea4eb87 Bug 1413780 - Add a test for canvas permission to test_SitePermissions.js r=johannh
MozReview-Commit-ID: 6ZS1a9nkZfQ

--HG--
extra : rebase_source : cf68830cf5c5816e0487a14aacfa04c3e8eafa47
2017-12-14 11:42:17 -06:00
Jed Davis eec54d4531 Bug 1393287 - Intercept sigaction() to fix signal masks for sandboxing. r=gcp
Also changes gSeccompTsyncBroadcastSignum to an atomic, in case these
wrappers race with starting the sandbox, and optimizes the wrappers
slightly by avoiding unnecessary copying of signal sets or sigactions.

Tested by manaully LD_PRELOADing libmozsandbox in the parent process,
because it already has a few signal handlers with block-by-default
masks.

MozReview-Commit-ID: CiHsA6rOCrQ

--HG--
extra : rebase_source : 176c156116a44fb8dff3a5f421499b7e61175047
2017-12-08 17:31:07 -07:00
Jeff Walden 1cd5e89895 Bug 1393287 - Rejigger ctypes library close() code so that it's safe against PR_UnloadLibrary incidentally invoking an indirect function call (which happens if sandboxing code overrides some of the signal code underlying the library-unload entrypoint). r=sfink
--HG--
extra : rebase_source : f8049d8646c9764dc68bf2dc33a0ecd893fb5692
2017-12-18 17:49:13 -08:00
Gian-Carlo Pascutto 6821480454 Bug 1297740. r=jld
--HG--
extra : rebase_source : 5531d3902fc5916d9d205ed13d7d5c062bef8b27
2017-12-07 16:36:10 +01:00
Kai Engert 4752d5d427 Bug 1420407, Land NSPR 4.18 into FF 59, NSPR_4_18_BETA5, r=me
UPGRADE_NSPR_RELEASE

--HG--
extra : amend_source : 45e5bf8af53222541f0ff1633647591c8533463a
2017-12-21 14:58:24 +01:00
Florian Quèze daf96ad175 Bug 1426611 - disable browser_urlbar_search_reflows.js on Linux ccov and Windows ccov due to intermittent timeouts, r=Aryx. 2017-12-21 13:01:18 +01:00