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

551897 Коммитов

Автор SHA1 Сообщение Дата
Cameron McCormack fdf6f9c5ef Bug 1384741 - Part 1: Add facility to buffer up CSP violation reports. r=bz
MozReview-Commit-ID: G4JLTmP1wD7
2017-08-07 10:09:32 +08:00
Hiroyuki Ikezoe 0d870b1b90 Bug 1388031 - Cleanup code that was used for verifying styling results for throttled animation flush in post traversal. r=bholley
Now that we do process normal traversal even in the case of throttled animation
flush so that we don't need to do special handling for the case.

Note about the comment in has_current_styles():
the remaining animation hints is not caused by either this patch or the
previous patch in this patch series, it's been there in the first place, but
it should be fixed somehow later. See bug 1389675.

MozReview-Commit-ID: JojHufxNCiS
2017-08-11 20:34:08 -07:00
Hiroyuki Ikezoe fb03af5d7d Bug 1388031 - Process normal traversal for throttled animation flush as well. r=bholley
MozReview-Commit-ID: BirD8BDMifp
2017-08-11 20:34:06 -07:00
Bobby Holley ef89ccb456 servo: Merge #18054 - Simplify throttled animation flushes (from bholley:simplify_throttled_animation_flushes); r=bholley
https://bugzilla.mozilla.org/show_bug.cgi?id=1388031

Source-Repo: https://github.com/servo/servo
Source-Revision: 4ddf6dbd153969e990d05298bc25a06be868319c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cb73239244fdabd42ab4e7e86a2be5c2ba9d9cea
2017-08-11 21:15:12 -05:00
Nick Alexander f27fc91bf7 Bug 1383973 - Use `run: using` and build transforms to avoid tc-vcs in android-* tasks. r=dustin
MozReview-Commit-ID: aENMcIbglQ

--HG--
rename : taskcluster/ci/android-stuff/kind.yml => taskcluster/ci/build/android-stuff.yml
extra : rebase_source : 2b51e02cd4f77675c42435708c3a579539e6108e
2017-08-01 11:08:14 -07:00
Nick Alexander 0100ff2b4a Bug 1383973 - Introduce single build script for `run: using: mozharness`. r=dustin
The old process ran "before" and "after" steps as root.  The
mozharness script doesn't run as root, which required some small
changes to not run Sonatype Nexus as root.  Everything else is a
straight-forward move of the scripts out of the `android-gradle-build`
image and into `taskcluster/scripts`.

MozReview-Commit-ID: CqnNI33OKmb

--HG--
rename : taskcluster/docker/android-gradle-build/bin/after.sh => taskcluster/scripts/builder/build-android-dependencies/after.sh
rename : taskcluster/docker/android-gradle-build/bin/before.sh => taskcluster/scripts/builder/build-android-dependencies/before.sh
rename : taskcluster/docker/android-gradle-build/bin/repackage-jdk-centos.sh => taskcluster/scripts/builder/build-android-dependencies/repackage-jdk-centos.sh
extra : rebase_source : f94e6b9b780f96038c60d3825039a0f94add0404
2017-08-02 16:41:15 -07:00
Nick Alexander 9d2b3f404c Bug 1383973 - "Rebase" android-gradle-build back onto desktop-build. r=dustin
We really want the Android build image to inherit from desktop-build,
but that isn't possible with the current `docker-image: in-tree:`
support.  Therefore, way back in the mists of time, I culted
android-gradle-build from desktop-build.  This moves it back (mostly)
in line with desktop-build, which has advanced.

MozReview-Commit-ID: 6GmuxHjhAbv

--HG--
extra : rebase_source : 265937bc9ba3bc4c18756b6c675100a62929bafe
2017-08-11 15:14:55 -07:00
Nick Alexander 777630cc21 Bug 1383973 - Allow `docker-image:` that is not 'desktop-build'. r=dustin
There's little value in a more complicated process for setting the
underlying Docker image for a `run: using: mozharness` job.

This uncovered a typo (extraneous comma) in a Mac OS X repackage job.

MozReview-Commit-ID: DGOs1NvuS32

--HG--
extra : rebase_source : cd7a8402259139f37ec649bb5dc39317fe2fc3cb
2017-08-01 18:00:26 -07:00
Bobby Holley c9e1098a70 Bug 1389385 - Require a presshell to set descendant bits. r=emilio
We're going to start tracking the restyle root on the presshell, so we'll need
one. This should be fine, since if the presshell doesn't exist yet we can't
have done the initial style, and if it's already been destroyed we don't need
restyle state anymore.

MozReview-Commit-ID: EfNVloI9ENQ
2017-08-11 18:18:22 -07:00
Bobby Holley 3e308bd38d Bug 1389385 - Rearrange dirty noting to operate on the element rather than the parent. r=emilio
This will allow us to scope restyle roots more tightly.

MozReview-Commit-ID: 2t2lp5sKBHH
2017-08-11 18:18:22 -07:00
Bobby Holley 7a9898d81a Bug 1389385 - Do all descendant bit propagation from Gecko over FFI. r=emilio
Deduplicating code is nice, and it will help us when we make the bit
propagation more complicated in upcoming patches.

MozReview-Commit-ID: KIQnNJVayrM
2017-08-11 18:18:19 -07:00
Bobby Holley ff0b8d0ebf Bug 1389385 - Generalize C++ NoteDirtyDescendants logic and add equivalent APIs for the animation bit. r=emilio
MozReview-Commit-ID: 8K0uDibfoZS
2017-08-11 18:17:49 -07:00
Bobby Holley c52ef0e259 Bug 1389385 - Move NoteDirtyDescendantsForServo out of line. r=emilio
This function is large enough that it doesn't really make sense to have inline,
and we'll be adding more to it in the coming patches.

MozReview-Commit-ID: AnDfzwsMvNy
2017-08-11 18:17:49 -07:00
Bobby Holley 6be4999824 servo: Merge #18053 - Overhaul dirty descendants propagation in preparation for restyle roots (from bholley:descendants_bit_refactor); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1389385

Source-Repo: https://github.com/servo/servo
Source-Revision: faad7ffb457100d35164b132c012e221cbc62bf5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5608f5fa6e06515e49e67ad766b52224e356dca0
2017-08-11 19:01:15 -05:00
Gregory Szorc 2860540d5f Bug 1385380 - Detect watchman more resiliently; r=glandium
Before, a non-runnable watchman would result in configure
error.

A trivial refactor to ignore `watchman version` errors would still
result in setting WATCHMAN and exposing its presence to downstream
consumers.

Since we want WATCHMAN tied to a working watchman install, we
refactor the code so that binary location and its version test
are in the same function. They are either both defined or none
of them are.

MozReview-Commit-ID: 7wvBvYuOlmJ

--HG--
extra : rebase_source : d9cc648cdb8253bf8e413ec0fa5e969aa68f75b9
2017-07-28 16:11:22 -07:00
Masatoshi Kimura 5b97708fef Bug 1387800 - Remove [deprecated] nsIFilePicker.show(). r=qdot
MozReview-Commit-ID: 81ZkeYdSPVW

--HG--
extra : rebase_source : 2f30565b8d5986ef6265027562f9842d0db2688e
2017-08-06 13:15:31 +09:00
Manish Goregaokar 0ee8a01bf2 Bug 1383869 - Update reftest expectation.
MozReview-Commit-ID: FDHdj8ECKE9
2017-08-12 10:53:21 +10:00
Masatoshi Kimura 4c76bc32c0 Bug 1389566 - Remove @deprecated nsIBrowserBoxObject. r=bkelly
MozReview-Commit-ID: 7olN9TBFG5B

--HG--
extra : rebase_source : 7b56ed6c89beb946d733c46dee44d6035554730e
2017-08-12 02:19:44 +09:00
Masatoshi Kimura faf8777509 Bug 1389469 - Remove unreferenced SDK modules. r=kmag
MozReview-Commit-ID: DiJW6bAMZFF

--HG--
extra : rebase_source : 7164f963247f24327ac6e0e29628c8554938c56a
2017-08-11 21:44:09 +09:00
Masatoshi Kimura af24452443 Bug 437381 - Remove nsIJSXMLHttpRequest and fix the comments in nsIXMLHttpRequest.h. r=smaug
MozReview-Commit-ID: CYkV01S9QEZ

--HG--
extra : rebase_source : 96e3a42aee2e018e70d54c3bf623e655d85cd32d
2017-08-12 01:16:22 +09:00
Tomislav Jovanovic 85a5f1f9a2 Bug 1377734 - Avoid instantiating a lazy tab from sendMessage, r=mixedpuppy
MozReview-Commit-ID: KfYg6hG8KmC

--HG--
extra : rebase_source : c151eebcc585cbfa526b328985e23759edaf7bc4
2017-08-11 02:16:33 +02:00
Masatoshi Kimura dec070e4cf Bug 1389460 - Remove @deprecated nsIDOMEventTarget.DispatchDOMEvent. r=smaug
MozReview-Commit-ID: E88DZK5sfwx

--HG--
extra : rebase_source : 64e1a47c9366a970f20ec459dde9b379a207e802
2017-08-07 02:28:52 +09:00
Jonathan Guillotte-Blouin 16aa04e2a4 Bug 1382388 - add test for manual abort. r=MattN
MozReview-Commit-ID: Lu7VWVg3qN8

--HG--
extra : rebase_source : 5c03b0c25a0648f6a4a498b0ac94dcfb2d4b6750
2017-07-31 17:36:02 -07:00
Matthew Noorenberghe cec11e294b Bug 1382388 - Make the Payments Dialog unprivileged & add "abort" support. r=MattN
MozReview-Commit-ID: IXexL4ju2Fj

--HG--
rename : toolkit/components/payments/content/paymentRequest.css => toolkit/components/payments/res/paymentRequest.css
rename : toolkit/components/payments/content/paymentRequest.js => toolkit/components/payments/res/paymentRequest.js
rename : toolkit/components/payments/content/paymentRequest.xhtml => toolkit/components/payments/res/paymentRequest.xhtml
extra : rebase_source : 34f96e0a33aad9673a215861211340084a484333
2017-07-21 18:34:33 -07:00
Manish Goregaokar 2dd6c1c0f4 servo: Merge #18052 - stylo: Don't call fixup_generic_font for system or CSS wide specified fonts (from Manishearth:fixup_generic); r=heycam
r=heycam https://bugzilla.mozilla.org/show_bug.cgi?id=1383869

Source-Repo: https://github.com/servo/servo
Source-Revision: c3bbe9284cf3598305b034927002edf41d8b38fb

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6cff20bb2a6f7ed147a6aa6c09ee10ac2d487ef5
2017-08-11 17:51:36 -05:00
Jared Wein baaaed0eec Bug 1387077 - Reimplement Pocket animation in the Page Action area. r=adw
MozReview-Commit-ID: 5pJ96un8W5t

--HG--
extra : rebase_source : e862c01c1d71165ccd5d0932299c7f1fbdebe659
2017-08-08 11:56:49 -04:00
Bobby Holley 890588d0ca Bug 1389347 - Make the parallel traversal an explicit flag instead of guessing from Servo. r=emilio
MozReview-Commit-ID: 83DgB1sZnCb
2017-08-11 15:55:14 -07:00
Bobby Holley 9f46941f63 Bug 1389347 - Inline PrepareAndTraverseSubtree into StyleDocument. r=emilio
MozReview-Commit-ID: Kza0gGqvvmM
2017-08-11 15:55:13 -07:00
Bobby Holley 142eb4df57 Bug 1389347 - Hoist StyleNew{Children,Subtree} into their own paths. r=emilio
The buggy animation handling isn't a regression, since currently we pass
UnstyledChildrenOnly in those cases, which blocks the animation traversal
in Servo_TraverseSubtree.

In general I really wanted to handle these two paths together. But there's
enough broken with the NewChildren path that I wanted to scope the buginess
as tightly as possible. And I really need to separate the handling here from
StyleDocument() to make the restyle root stuff work.

MozReview-Commit-ID: 9F0mcQl7AAX
2017-08-11 15:55:13 -07:00
Bobby Holley 7ec2e91713 Bug 1389347 - Separate StyleSubtreeForReconstruct into its own path. r=emilio
This makes things a bit easier to follow, and sets the stage for eliminating
PrepareAndTraverseSubtree and making StyleDocument restyle-root-aware.

MozReview-Commit-ID: 40ORrqAuXni
2017-08-11 15:55:12 -07:00
Bobby Holley 622ed2a2c9 Bug 1389347 - Hoist various bits of PrepareAndTraverse functionality into an RAII class. r=emilio
MozReview-Commit-ID: CPVnZjSwRpN
2017-08-11 15:55:12 -07:00
Wes Kocher d807031b06 Backed out changeset 16c09e5f2758 (bug 1380771) for failures in test_hasEngineWithURL.js and browser_ext_settings_overrides_search.js a=backout
MozReview-Commit-ID: 75JIIqWhS7W
2017-08-11 15:53:50 -07:00
Adam Gashlin 722f78828d Bug 1389171 - normal priority DLL readahead thread r=aklotz
MozReview-Commit-ID: KfJ2WknqDyJ

--HG--
extra : rebase_source : 056839a045b3a81343910ae82c51860961d9b0d6
2017-08-10 17:04:11 -07:00
Bobby Holley 91435fb8ed servo: Merge #18048 - More refactoring of the traversal in preparation for restyle roots (from bholley:more_traversal_refactoring_for_restyle_roots); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1389347

Source-Repo: https://github.com/servo/servo
Source-Revision: 8fb7836f40b03c94d0e87929965ee3c19b171091

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9a9172b1db6fb8e016ff403d247c147713a82042
2017-08-11 16:47:12 -05:00
Bob Silverberg efffac32b1 Bug 1383782 - Record an installDate when a temporary add-on is reloaded, r=aswan
MozReview-Commit-ID: FXIAeBCuGfd

--HG--
extra : rebase_source : 11f857fdfbd9441f46f60c83342ab575208c22d9
2017-08-03 16:57:56 -04:00
Grigory Kruglov 631a64a4b9 Bug 1381359 - Hide AS Pin Site item from classic Top Sites context menu r=liuche
Our home panel context menu is shared by classic top sites, history and bookmark panels.
For acitivty stream, we've added a new context menu, and a new type of pins. However,
old context menu is still used for history and bookmarks. New style of pins allows for
items to be pinned from those panels to activity stream. This requires having both "classic"
pin buttons for old Top Sites panel, as well as the new AS Pin button.

However, initial implementation forgot to disable the new AS Pin button for the classic
Top Sites panel context menu. This caused two "pin site" menu items to appear, and the
AS one would crash the browser if it's interacted with.

We'll be unifying context menus at some point, and removing the old Top Sites code,
and so this simple patch should be sufficient.

MozReview-Commit-ID: 3cxVTv6QP8L

--HG--
extra : rebase_source : 967ad0512f7362286218cb038ce237c9e5c59aa8
2017-08-11 16:56:07 -04:00
flyingrub 24b68f94f4 Bug 1388695 - Show the payload for non main ping in about:telemetry r=gfritzsche
Add a raw payload section when looking at a non main ping.

MozReview-Commit-ID: 2dU8apRfzLP

--HG--
extra : rebase_source : 473ef7167c98a93a121d003d1c3a3e0404621cb6
2017-08-09 13:29:56 +02:00
Rob Wu 1ed7253b50 Bug 1387506 - Apply activeTab permission for _execute_browser_action r=kmag
And add tests to confirm that activeTab works for both
_execute_browser_action and _execute_page_action.

MozReview-Commit-ID: HDTDZXCvukc

--HG--
extra : rebase_source : 1a59270afa7b87979329d0fed197238e6655a647
2017-08-04 20:18:39 +02:00
Dennis Schubert a4d28780d7 Bug 1376602 - Part 2: Add WebCompat Go Faster modules to browser_startup tests. r=Felipe
MozReview-Commit-ID: Ic1tpivC7Na

--HG--
extra : rebase_source : 6d45e4fd0f1f430aa108fc9a1eb802087fef484c
2017-08-04 14:34:14 +02:00
Dennis Schubert ac5010020d Bug 1376602 - Part 1: Import sources for WebCompat Go Faster 1.2. r=Felipe
MozReview-Commit-ID: cLuF81S7H4

--HG--
extra : rebase_source : af263648784f8b71db41d35e1c658b682ab436ae
2017-08-04 14:30:25 +02:00
Chenxia Liu 4535430990 Bug 1389257 - Set MOZ_ANDROID_POCKET only for nightly, beta, release builds. r=chmanchester
MozReview-Commit-ID: JRgBimDVRa6

--HG--
extra : rebase_source : 6d027108555c89d5dff82309df7d9d6792256ceb
2017-08-10 15:36:58 -07:00
Chenxia Liu 9c27584fe8 Bug 1386906 - Add Pocket keys to build system. r=chmanchester
MozReview-Commit-ID: 8fjcSkn1P7P

--HG--
extra : rebase_source : bb7d2a561517decdf3b05badaced27ea9e7e2000
2017-08-09 12:11:10 -07:00
E. Dunham 8a07e63ea4 servo: Merge #18051 - Continue after failed attempt to delete old nightly (from edunham:cleannightly); r=larsbergstrom
Failure to catch this error broke bholley's PR https://github.com/servo/servo/pull/18048

http://build.servo.org/builders/linux-dev/builds/8616/steps/shell__1/logs/stdio.
Logs below for posterity.

```
Current Rust nightly version: 599be0d18f4c6ddf36366d2a5a2ca6dc65886896
Current Rust stable version: 1.19.0
Removing /home/servo/.servo/cargo/13d94d5fa8129a34f5c77a1bcd76983f5aed2434
Error running mach:

    ['clean-nightlies', '--keep', '3', '--force']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.

You should consider filing a bug for this issue.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

OSError: [Errno 2] No such file or directory:
'/home/servo/.servo/cargo/13d94d5fa8129a34f5c77a1bcd76983f5aed2434'

  File
"/home/servo/buildbot/slave/linux-dev/build/python/servo/bootstrap_commands.py",
line 334, in clean_nightlies
    delete(full_path)
  File "/home/servo/buildbot/slave/linux-dev/build/python/servo/util.py", line
28, in delete
    os.remove(path)
```

I don't know how the builder got into the edge case where the old nightly wasn't there for deletion, but in the case that removal fails for some reason, mach should just keep going. In the incredibly unlikely event that the failure to remove the file has consequences down the line, we'll have the failed remove in the log for troubleshooting.

Also this passed tidy so if I failed to python I'll need to fix tidy as well as this.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3ed6c22e45df06bf381356b394d01493fc0322a2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cf30cf007ef6e071b1852fbbd8b3b9f20b3f536d
2017-08-11 15:02:30 -05:00
Michael Kaply 2db241f0bd Bug 1380771 - Add support for suggest_url to addEngineWithDetails. r=florian
MozReview-Commit-ID: LoUlLwXqSOH

--HG--
extra : rebase_source : 04ff1c46118a490b46b452e0729690d312cdc715
2017-08-11 16:16:41 -05:00
Matt Brubeck 503070ad8d Bug 1386371 - Disable LTO by default, but enable in automation. r=froydnj
MozReview-Commit-ID: 2DIY9ex3Mch

--HG--
extra : rebase_source : 61f2f073adabfa7c46c324470a308adab23e7781
2017-08-10 11:38:10 -07:00
Kyle Machulis 649634a721 Bug 1387184 - Remove nsIDOMHTMLEmbedElement; r=bz
Removes nsIDOMHTMLEmbedElement and all references. HTML elements are
now handled by WebIDL. With the deprecation of extensions, XPCOM
interfaces to HTML elements are no longer needed.

MozReview-Commit-ID: DI4XVvdgPDI

--HG--
extra : rebase_source : 74bd92619e3d1db04c3dd40ec3022474fe1d647c
2017-08-09 12:05:08 -07:00
Wes Kocher eb3058e466 Backed out 3 changesets (bug 1382499) for eslint failures a=backout
Backed out changeset 0ebb9924affa (bug 1382499)
Backed out changeset c25b50b0edc5 (bug 1382499)
Backed out changeset 1dcdc22d4919 (bug 1382499)

MozReview-Commit-ID: 9rygU1QF1kb
2017-08-11 13:49:34 -07:00
Wes Kocher a5fc391fdf Merge m-c to autoland a=merge
MozReview-Commit-ID: LsPv9Mdodvf
2017-08-11 13:39:17 -07:00
Wes Kocher eb32b552da Backed out changeset db3e18c3e3fa (bug 1389257) for conflicting with the incoming m-c merge a=backout
MozReview-Commit-ID: BoVZfQtAAwZ
2017-08-11 13:37:22 -07:00
Wes Kocher 5a4357c768 Merge inbound to central, a=merge
MozReview-Commit-ID: GArkKmOFIVH
2017-08-11 13:15:33 -07:00