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

599215 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez f33e5c0e87 Bug 1466963: Inline DeclarationBlock's methods since they just forward to Servo. r=xidorn
MozReview-Commit-ID: 1IObGPXljuM
2018-06-07 11:22:30 +02:00
Emilio Cobos Álvarez f6ea851e33 Bug 1466963: Use consistent indentation in DeclarationBlock, and make the copy-constructor private. r=xidorn
MozReview-Commit-ID: JhTymV72jHn
2018-06-07 11:22:29 +02:00
Emilio Cobos Álvarez b894d6101b Bug 1466963: Trivially simplify a condition. r=xidorn
MozReview-Commit-ID: L9LzpPt4js4
2018-06-07 11:22:28 +02:00
Emilio Cobos Álvarez 42599b6c43 Bug 1466963: Add a before-change callback to remove_property. r=xidorn
MozReview-Commit-ID: 4vyN9iLT7e3
2018-06-07 11:22:27 +02:00
Emilio Cobos Álvarez 52999b3d14 Bug 1466963: Remove unused PropertyDeclarationBlock::set_importance. r=xidorn
MozReview-Commit-ID: 1YrlOvktag9
2018-06-07 11:22:26 +02:00
Emilio Cobos Álvarez d65524bf1a Bug 1466963: Fix a typo. r=xidorn
Nobody looks at the result from parsing, but this is the right thing to return.

MozReview-Commit-ID: 9P5VARiPIAk
2018-06-07 11:22:24 +02:00
Emilio Cobos Álvarez c133e05b01 Bug 1466963: Inline some trivial bits. r=xidorn
MozReview-Commit-ID: A219QehiMqZ
2018-06-07 11:22:23 +02:00
Cosmin Sabou 1cda6f4992 Backed out 6 changesets (bug 1445025) for browser chrome failures on browser_checkdllblockliststate.js. CLOSED TREE
Backed out changeset a1203eb4cee9 (bug 1445025)
Backed out changeset 64b003dceafb (bug 1445025)
Backed out changeset a6cff2b478da (bug 1445025)
Backed out changeset 4dbc7fbb3361 (bug 1445025)
Backed out changeset 1ad82650ca1c (bug 1445025)
Backed out changeset 5c63001e1ce6 (bug 1445025)

--HG--
rename : browser/app/winlauncher/LaunchUnelevated.cpp => browser/app/LaunchUnelevated.cpp
rename : browser/app/winlauncher/LaunchUnelevated.h => browser/app/LaunchUnelevated.h
rename : browser/app/winlauncher/LauncherProcessWin.cpp => browser/app/LauncherProcessWin.cpp
rename : browser/app/winlauncher/LauncherProcessWin.h => browser/app/LauncherProcessWin.h
rename : browser/app/winlauncher/ProcThreadAttributes.h => browser/app/ProcThreadAttributes.h
2018-06-07 12:09:22 +03:00
Cosmin Sabou 28d7e29493 Backed out 2 changesets (bug 1462498) for build bustages on unit-symbolstore.py. CLOSED TREE
Backed out changeset 213ee9ed734c (bug 1462498)
Backed out changeset 556f097431e3 (bug 1462498)
2018-06-07 11:16:01 +03:00
Jan de Mooij 418cdb8d25 Bug 1466501 part 3 - Add an objectGlobal(obj) testing function. r=luke 2018-06-07 10:02:10 +02:00
Jan de Mooij 3c1a7769ea Bug 1466501 part 2 - Add a scriptedCallerGlobal() testing function for JS::GetScriptedCallerGlobal. r=luke 2018-06-07 10:02:10 +02:00
Jan de Mooij 56ca3c9524 Bug 1466501 part 1 - Refactor ZoneSpecifier and add a sameCompartmentAs option to newGlobal in the shell. r=luke 2018-06-07 10:02:10 +02:00
Tooru Fujisawa 9578f20512 Bug 1376119 - Add Reopen in Container tab menu. r=baku,Gijs 2018-06-07 15:59:01 +09:00
Tooru Fujisawa aa391e1e8b Bug 1460154 - Part 2: Handle TDZCheckCache in IfEmitter. r=jwalden 2018-06-07 15:59:01 +09:00
Tooru Fujisawa 587d9259cd Bug 1460154 - Part 1: Rename IfThenElseEmitter to IfEmitter. r=Yoric 2018-06-07 15:59:00 +09:00
Mike Hommey 51d01fe9d3 Fix-up for bug 1462498 after rebase across bug 1457482. r=me 2018-06-07 15:25:12 +09:00
Aaron Klotz 51c21ebc26 Bug 1445025: Part 6 - Enable initialization of DLL blocklist from launcher process; r=mhowell
--HG--
extra : rebase_source : e180edc1bf722fc05e086682f1f84bb8bb4ea3f8
2018-06-05 15:33:44 -06:00
Aaron Klotz ca90f5392e Bug 1445025: Part 5 - Implement a Native NT version of the DLL blocklist; r=mhowell
This version of the blocklist should be functionally comparable to the mozglue
based blocklist, except:

* We hook NtMapViewOfSection instead of LdrLoadDll: The former allows us to
  easily obtain the module file name being used for the load. The latter
  requires us to essentially emulate the loader's path searching, which is
  a perf hit, potentially a correctness issue, and more work to do given the
  limited native NT API set.

* Since the paths in native NT land are all unicode, and since this code is
  critical to startup performance, this version of the blocklist uses unicode
  strings instead of ASCII strings. My thoughts here are that we don't want to
  be wasting time on every DLL load doing ASCII-to-unicode conversion every
  time we want to do a blocklist string comparison.

* I am completely aware that this leaves us in a bizarre situation where we have
  two copies of the blocklist in our binaries: one unicode version in firefox.exe,
  and one ASCII version in mozglue.dll. Once we (hopefully) move to using the
  launcher process by default, the ASCII copy can go away. In the meantime, we
  need to be able to use either one depending on how Firefox was started. I am
  happy to make the Native NT blocklist Nightly-only to assuage these concerns.

--HG--
extra : rebase_source : ff3097518f9393eb0e38d7852bb8a268d3948b49
2018-06-05 15:21:19 -06:00
Aaron Klotz e62bb07d8f Bug 1445025: Part 4 - Add header for Native NT facilities; r=mhowell
--HG--
extra : rebase_source : 15db3cba9f00e3c50d8e7b2a73352ad14eb033d1
2018-06-05 15:19:30 -06:00
Aaron Klotz 163c625fbe Bug 1445025: Part 3 - Change blocklist init flags for browser process so that they can be modified by launcher process; r=mhowell
--HG--
extra : rebase_source : a30a994322570d65ba2f4d4fba97b99738e58c0b
2018-06-05 15:21:51 -06:00
Aaron Klotz 05eb3b3d8a Bug 1445025: Part 2 - Move blocklist definitions into separate header file and add new initialization flag; r=mhowell
* This allows us to use a single blocklist definition in multiple places.
* This patch also adds support for a new initialization flag that, when enabled,
  disables the DLL Blocking part of the mozglue blocklist but leaves the
  profiling and stackwalking suppression bits intact.

--HG--
extra : rebase_source : ff4dad72f57c5662fc9e1bbd9e4efb3ff01470ef
2018-06-05 15:16:13 -06:00
Aaron Klotz 13346176a4 Bug 1445025: Part 1 - Move launcher code into browser/app/winlauncher; r=mhowell
--HG--
rename : browser/app/LaunchUnelevated.cpp => browser/app/winlauncher/LaunchUnelevated.cpp
rename : browser/app/LaunchUnelevated.h => browser/app/winlauncher/LaunchUnelevated.h
rename : browser/app/LauncherProcessWin.cpp => browser/app/winlauncher/LauncherProcessWin.cpp
rename : browser/app/LauncherProcessWin.h => browser/app/winlauncher/LauncherProcessWin.h
rename : browser/app/ProcThreadAttributes.h => browser/app/winlauncher/ProcThreadAttributes.h
extra : rebase_source : 1820ebb1fa305f886eaed1f7d43cfea256aa9fb2
2018-06-05 15:18:13 -06:00
Mike Hommey b681ded65b Bug 1462498 - Update clang 6 pre to clang 6 final on linux and mac. r=gps 2018-06-07 15:18:31 +09:00
Cosmin Sabou 18d0742c9b Backed out 3 changesets (bug 1451859) for causing Spidermonkey bustages on Linux x64 opt.
Backed out changeset 8f5a9e18e953 (bug 1451859)
Backed out changeset 950fa584ec8e (bug 1451859)
Backed out changeset f1f42726f1ec (bug 1451859)
2018-06-07 09:10:35 +03:00
Ryan VanderMeulen 5ace5c75d1 Merge m-c to inbound. a=merge 2018-06-06 21:08:22 -04:00
Ryan VanderMeulen 4aef6ab351 Backed out changeset a4465713555b (bug 1460989) for causing the Galaxy S8 crash rate to spike. 2018-06-06 21:07:48 -04:00
Bogdan Tara 21828f67fa Backed out changeset 99f438f07d89 (bug 1452445) for es lint failure on head_urlclassifier.js:440 CLOSED TREE 2018-06-07 01:46:07 +03:00
Ted Campbell 2391661c6a Bug 1459754 - Fix missing property IC for uncacheable proto case. r=mgaudet 2018-06-06 18:12:43 -04:00
David Keeler d4901f4908 bug 1466942 - avoid l10n string bundles in nsNSSComponent initialization r=fkiefer
Before this patch, nsNSSComponent initialization would call PK11_ConfigurePKCS11
with some localized strings, which contributed to startup time. Also,
PK11_UnconfigurePKCS11 was never called, so the memory allocated to these
strings would stick around forever. This patch addresses both of these problems
by not calling PK11_ConfigurePKCS11. This means that some properties of NSS'
internal "PKCS#11 slots/tokens" have to be localized when displaying them to the
user.

MozReview-Commit-ID: BbAgbgpFfFG

--HG--
extra : rebase_source : b633da8fea683675d0c0514a378954332afeb024
2018-06-04 17:07:06 -07:00
Zibi Braniecki a3bf95f8ee Bug 1450781 - Enable pseudolocalization in Fluent. r=mossop
MozReview-Commit-ID: Cs8OubRRur4

--HG--
extra : rebase_source : 10f2ff4983d0785278a030d134a41582e4714f71
2018-06-01 12:37:13 -07:00
Brian Stack 3672e158f8 Bug 1465117 - Add additional options to backfilling action task r=dustin,jmaher
MozReview-Commit-ID: FMGjhQbg4im

--HG--
extra : rebase_source : a03e351836c7356c6912af85be9108921e50aabd
2018-06-01 16:44:16 -07:00
Gurzau Raul 53a10471cf Backed out 2 changesets (bug 1460777) for Toolchains failure on a CLOSED TREE
Backed out changeset 52ef9348401d (bug 1460777)
Backed out changeset 60ed097650b8 (bug 1460777)
2018-06-06 20:57:29 +03:00
Narcis Beleuzu 7fdbc8641e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-06 20:04:08 +03:00
Narcis Beleuzu cf464eabfe Merge inbound to mozilla-central. a=merge 2018-06-06 20:00:09 +03:00
Gregory Szorc 2f189264b9 Bug 1460777 - Taskgraph tasks for retrieving remote content; r=dustin,glandium
Currently, many tasks fetch content from the Internets. A problem with
that is fetching from the Internets is unreliable: servers may have
outages or be slow; content may disappear or change out from under us.

The unreliability of 3rd party services poses a risk to Firefox CI.
If services aren't available, we could potentially not run some CI tasks.
In the worst case, we might not be able to release Firefox. That would
be bad. In fact, as I write this, gmplib.org has been unavailable for
~24 hours and Firefox CI is unable to retrieve the GMP source code.
As a result, building GCC toolchains is failing.

A solution to this is to make tasks more hermetic by depending on
fewer network services (which by definition aren't reliable over time
and therefore introduce instability).

This commit attempts to mitigate some external service dependencies
by introducing the *fetch* task kind.

The primary goal of the *fetch* kind is to obtain remote content and
re-expose it as a task artifact. By making external content available
as a cached task artifact, we allow dependent tasks to consume this
content without touching the service originally providing that
content, thus eliminating a run-time dependency and making tasks more
hermetic and reproducible over time.

We introduce a single "fetch-url" "using" flavor to define tasks that
fetch single URLs and then re-expose that URL as an artifact. Powering
this is a new, minimal "fetch" Docker image that contains a
"fetch-content" Python script that does the work for us.

We have added tasks to fetch source archives used to build the GCC
toolchains.

Fetching remote content and re-exposing it as an artifact is not
very useful by itself: the value is in having tasks use those
artifacts.

We introduce a taskgraph transform that allows tasks to define an
array of "fetches." Each entry corresponds to the name of a "fetch"
task kind. When present, the corresponding "fetch" task is added as a
dependency. And the task ID and artifact path from that "fetch" task
is added to the MOZ_FETCHES environment variable of the task depending
on it. Our "fetch-content" script has a "task-artifacts"
sub-command that tasks can execute to perform retrieval of all
artifacts listed in MOZ_FETCHES.

To prove all of this works, the code for fetching dependencies when
building GCC toolchains has been updated to use `fetch-content`. The
now-unused legacy code has been deleted.

This commit improves the reliability and efficiency of GCC toolchain
tasks. Dependencies now all come from task artifacts and should always
be available in the common case. In addition, `fetch-content` downloads
and extracts files concurrently. This makes it faster than the serial
application which we were previously using.

There are some things I don't like about this commit.

First, a new Docker image and Python script for downloading URLs feels
a bit heavyweight. The Docker image is definitely overkill as things
stand. I can eventually justify it because I want to implement support
for fetching and repackaging VCS repositories and for caching Debian
packages. These will require more packages than what I'm comfortable
installing on the base Debian image, therefore justifying a dedicated
image.

The `fetch-content static-url` sub-command could definitely be
implemented as a shell script. But Python is readily available and
is more pleasant to maintain than shell, so I wrote it in Python.

`fetch-content task-artifacts` is more advanced and writing it in
Python is more justified, IMO. FWIW, the script is Python 3 only,
which conveniently gives us access to `concurrent.futures`, which
facilitates concurrent download.

`fetch-content` also duplicates functionality found elsewhere.
generic-worker's task payload supports a "mounts" feature which
facilitates downloading remote content, including from a task
artifact. However, this feature doesn't exist on docker-worker.
So we have to implement downloading inside the task rather than
at the worker level. I concede that if all workers had generic-worker's
"mounts" feature and supported concurrent download, `fetch-content`
wouldn't need to exist.

`fetch-content` also duplicates functionality of
`mach artifact toolchain`. I probably could have used
`mach artifact toolchain` instead of writing
`fetch-content task-artifacts`. However, I didn't want to introduce
the requirement of a VCS checkout. `mach artifact toolchain` has its
origins in providing a feature to the build system. And "fetching
artifacts from tasks" is a more generic feature than that. I think
it should be implemented as a generic feature and not something that is
"toolchain" specific.

I think the best place for a generic "fetch content" feature is in
the worker, where content can be defined in the task payload. But as
explained above, that feature isn't universally available. The next
best place is probably run-task. run-task already performs generic,
very-early task preparation steps, such as performing a VCS checkout.
I would like to fold `fetch-content` into run-task and make it all
driven by environment variables. But run-task is currently Python 2
and achieving concurrency would involve a bit of programming (or
adding package dependencies). I may very well port run-task to Python
3 and then fold fetch-content into it. Or maybe we leave
`fetch-content` as a standalone script.

MozReview-Commit-ID: AGuTcwNcNJR

--HG--
extra : rebase_source : 4918b8c3bac53d63665006802054038bfbca0314
2018-06-06 09:37:38 -07:00
Andreea Pavel d9873c51fc Bug 1465372 - remove reference to old winxp in manifest file r=jmaher 2018-05-31 04:08:00 +03:00
Jan de Mooij 156284156a Bug 1363214 - Remove JS::Realm/JSCompartment inheritance. r=jonco
--HG--
extra : rebase_source : ad63de7c6676532640659d1fccced7f83798e06d
2018-06-06 14:30:52 +02:00
jlogandavison 9f253dcf5c Bug 1355656 - Implement test cases for two finger fling gestures. r=botond
* Add option for second focus point in PinchWithTouchInput
  * Integrate content controller in PinchWithTouchInput
  * Move PinchWithTouchInput implementation to APZCTesterBase
  * Move CreateSingleTouchData to APZTestCommon.h
  * Add optional PinchOptions parameter to PinchWithTouchInput

    PinchOptions dictates which fingers should be lifted at
    the end of the simulated pinch gesture. The default is to
    lift BOTH fingers.

--HG--
extra : rebase_source : 9a2c5d1a6a8a6ed97869d3e9d643e2a805f5dfd0
extra : amend_source : b5d2976cc3c5203069a532d228e006365e4da320
2018-05-30 19:43:28 +00:00
Christoph Kerschbaumer d468af79e3 Bug 1466508: Fix race condition within wpt test policy-inherited-correctly-by-plznavigate.html part 2. r=bz 2018-06-05 11:42:00 +02:00
Lars T Hansen 0e01cdcfdf Bug 1466931 - Correctly identify the first invalid wasm opcode. r=jseward
Previously, the new wasm sign extension ops were part of the threads
proposal and so our test cases would guard on those ops using
wasmThreadsSupported().

But now that the extension ops have landed independently of the
threads proposal that guard is incorrect.  So just remove the guard;
we don't need it.

--HG--
extra : rebase_source : de854748195f40978837217acbb1ed62fd977ed4
extra : histedit_source : 136233feee89f79ec514701a22fba85ac03d1a5f
2018-06-06 13:13:44 +02:00
Francois Marier 3ebbf5d1af Bug 1452445 - Fix update error observer in unit test. r=gcp
We should only observe for update errors while we are expecting
a successful update.

MozReview-Commit-ID: 3grGhmxqhIX
2018-05-29 18:06:49 -07:00
Csoregi Natalia 397ec728bc Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-07 01:02:21 +03:00
Joel Maher 81aa9c0648 Bug 1466578 - do not run test-verify on ASAN builds. r=gbrown 2018-06-06 14:35:43 -04:00
Narcis Beleuzu ca7840b070 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-06 20:05:19 +03:00
Lars T Hansen ced6f798d6 Bug 1461948 - Abstract the inline/outline TypedObject decision. r=till
--HG--
extra : rebase_source : e19970e44e4831a7f6d3000c059e6e54439cfec5
extra : source : 7b682822e9e17a98606a3b4e498838cad1126f56
2018-05-16 11:42:31 +02:00
Jared Wein 23f6d33e60 Bug 1461477 - Create a CreditCard.jsm to consolidate various credit card handling and validation. r=MattN
MozReview-Commit-ID: 3tJdzU3hBvY

--HG--
extra : rebase_source : bf79b4767ed40e792d1523bd262d527061a21a4c
2018-05-15 12:41:35 -04:00
Dave Hunt 16d53b6538 Bug 1466940 - Add logging of tabs in TPS to assist with investigating test failures; r=tcsc
MozReview-Commit-ID: AW7RrtglYEN

--HG--
extra : rebase_source : e94d17d05943613ac08d684ad5ea2e5afeef054c
2018-06-05 21:49:59 +01:00
Sylvestre Ledru 0f77e7b850 Bug 1464869 - Also ignore security/nss/ r=ahal
MozReview-Commit-ID: 8m4CbrAaLHl

--HG--
extra : rebase_source : 5643bb18d950e0d1010bea7f4a51f57195830aa9
2018-05-28 20:58:54 +02:00
Sylvestre Ledru 074273d40e Bug 1464869 - Add accessible/, js/, mobile/, memory/, mozglue/, security/, testing/mozharness/mozharness/mozilla/testing/ and xpcom/ to the list of checked directory for flake8 r=ahal
MozReview-Commit-ID: 5MJZSdHDKo4

--HG--
extra : rebase_source : 024284c1646e9f014aa7fb45bcc7c5d896ffa456
2018-05-26 06:46:11 -07:00
Sylvestre Ledru df3b9c7183 Bug 1464869 - Fix flake8/pep8 issue by hand in mobile/ r=nalexander
MozReview-Commit-ID: 3cG5FY3F2G5

--HG--
extra : rebase_source : 1d0ad39b593bc6ae29d3d94bb8763928d6e06a46
2018-06-04 22:37:17 +02:00