Commit Graph

534002 Commits

Author SHA1 Message Date
ffxbld
5f67a395c5 No bug, Automated HSTS preload list update from host bld-linux64-spot-364 - a=hsts-update 2017-05-03 08:06:29 -07:00
Patrick Brosset
041d28fbec Bug 1361710 - Move the debugger client API doc to the tree; r=sole
MozReview-Commit-ID: JQ2dWN7wXsw

--HG--
extra : rebase_source : 97224e83bd4ea374c49dc6992a1d9bd08dee1a68
2017-05-03 15:35:17 +02:00
Carsten "Tomcat" Book
b0e1da2a90 merge mozilla-inbound to mozilla-central a=merge 2017-05-03 10:11:26 +02:00
Kris Maglione
d6151328ad Bug 1358921: Lazily load SelfSupportBackend.jsm when first needed. r=florian
MozReview-Commit-ID: 8tG8VcWXRYm

--HG--
extra : rebase_source : dfc43aa4a77b5dbcbeb998e1b481daf5019aa80a
2017-05-02 19:51:17 -07:00
Nick Alexander
571de094b3 Bug 1361545 - Add "skin" flavorDimension for Photon mobile work. r=sebastian
This is pretty straight-forward.

Sadly, this will require local developers to add a "skin" product
flavor to their invocations, like:

./mach gradle app:assembleLocalAustralisDebug

In addition, this shows how many different variants of the Gradle
product flavor are embedded into our automation configurations.  I
can't solve that at this time.

Since I was here, I took the time to rename "automation" to
"official", which makes "localAustralis" the default in Android
Studio, avoiding a common issue with new builders producing an APK
that doesn't include omni.ja in the IDE.

MozReview-Commit-ID: CtU7zFpNCob

--HG--
extra : rebase_source : 477ef683f850ff11cfa128e17855666bb7758a7a
2017-05-02 15:27:37 -07:00
Mark Banner
72059d82da Bug 1360595 - Add a git pre-commit hook for running ESLint. r=mossop
MozReview-Commit-ID: 1YJL5Sd4dlb

--HG--
rename : tools/mercurial/eslintvalidate.py => tools/lint/eslint/hook_helper.py
extra : rebase_source : eec3ee2761dd7178de1562229bfda24c0859b4ae
2017-04-28 12:19:15 +01:00
Mark Banner
046debbc74 Bug 1360595 - Make the ESLint Mercurial pre-commit hook be run in and pass flake8 validation. r=mossop
MozReview-Commit-ID: 1GW59lKpVrI

--HG--
extra : rebase_source : bad1919b52fc29a9874090f314ad682e72840f70
2017-04-28 12:15:56 +01:00
Doug Thayer
7f43e4ebee Bug 1337545 - Use keydown event for keycodes in commands r=kmag
When you create a <key> element, which is what the commands API
does under the hood to allow keyboard shortcuts, the event type
that the handler listens to defaults to keypress. For printable
characters, the keyCode property of a keypress event is 0,
causing keycode bindings for these printable characters to not
work. We could use key for these properties, but the shift key
interacts with the key property in ways that make it simpler to
simply fix the keycode usage for our purposes.

MozReview-Commit-ID: HdWdN7cMfuq

--HG--
extra : rebase_source : d75aee5472f43575adfb68f201503f9a57c2deea
2017-05-01 13:49:18 -07:00
Brian Grinstead
6c326a4688 Bug 1361429 - Convert FilterButton to functional component;r=nchevobbe
MozReview-Commit-ID: 5ILDOVR3GS7

--HG--
extra : rebase_source : ead2ffd56d3cf146481b0215b547b1e4abb167ed
2017-05-03 07:31:35 -07:00
Brian Grinstead
681585e2fc Bug 1361429 - Grab only the filterBarVisible property to limit number of re-renders for FilterBar;r=nchevobbe
MozReview-Commit-ID: JJMPDEDNbhZ

--HG--
extra : rebase_source : eb7312eafbc15865f08dc786f8728c835df3bea0
2017-05-03 07:27:52 -07:00
Christian Poveda
c7819127ee servo: Merge #16712 - Changed all prefixes from DOMString to the atomic Prefix from html5ever (from z1mvader:atomize_ns_prefix); r=SimonSapin
<!-- Please describe your changes on the following line: -->
I just changed the `prefix` parameters on the constructors of several HTML elements. The type now is `Option<Prefix>`. I also changed the sizes of the `sizeof.rs` unit test to match the new values.

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because it should not affect anything else

<!-- 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: ed7686b42c02c5c1d769be952ef58b285f35a7f6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ade76a808b80fcbb1e011c0b6f7a29c37361559e
2017-05-03 13:33:56 -05:00
Dão Gottwald
1d352d917c Bug 1054740 - Stop reusing tabs when restoring windows since at this point it's counterproductive rather than a useful optimization. r=mikedeboer
MozReview-Commit-ID: LhJDs9GSxuK

--HG--
extra : rebase_source : 96cb427ada78ee70368f6cb1d4cad4811681c454
2017-05-03 21:57:06 +02:00
Sebastian Hengst
a87f808b1b Backed out changeset 63b3b41d531b (bug 1353571) for eslint failures in test_uistate.js. r=backout 2017-05-03 21:57:17 +02:00
Sebastian Hengst
8cd26b470e Backed out changeset 250c84d30feb (bug 1353571) 2017-05-03 21:56:48 +02:00
Sebastian Hengst
18253e3fa2 Backed out changeset 0a0138825fb5 (bug 1353571)
--HG--
rename : browser/base/content/test/sync/accounts_testRemoteCommands.html => browser/base/content/test/general/accounts_testRemoteCommands.html
rename : browser/base/content/test/sync/browser_fxa_web_channel.html => browser/base/content/test/general/browser_fxa_web_channel.html
rename : browser/base/content/test/sync/content_aboutAccounts.js => browser/base/content/test/general/content_aboutAccounts.js
2017-05-03 21:56:44 +02:00
Ethan Glasser-Camp
4f4ee59962 Bug 1359879: add logging and robustness to key syncing, r=kmag
It seems like the server-side keyring is getting deleted somehow. This
causes syncing of the keyring to fail. We haven't completely
fixed the root problem yet, but this adds logging to try to flag
down the dangerous operation of deleting a bucket to make sure we
aren't doing that by accident. We also try to recover from the
server-keyring-was-deleted situation by wiping all storage.sync data,
the same as if we found a keyring that we couldn't decrypt.

MozReview-Commit-ID: JMB0IxApbGq

--HG--
extra : rebase_source : 54982a374aa5c7d7e60e8175b99734c672b91799
2017-05-01 14:22:51 -04:00
Jamie Nicol
17d4964c7c Bug 1358185 - Force FixedPosition display items to be active. r=mstange
Fixed backgrounds were not being clipped correctly when rendered using
inactive layers.

MozReview-Commit-ID: 3v8tajr3MoB

--HG--
extra : rebase_source : 25329cb9efb998c64924916d4ea496a439688c8d
2017-05-03 16:49:43 +01:00
Tom Tromey
30dfbf2080 Bug 1334283 - use MOZ_FORMAT_PRINTF in toolkit/mozapps/update; r=rstrong
Use MOZ_FORMAT_PRINTF in toolkit/mozapps/update, and fix the one
erroneous printf that this detected.

MozReview-Commit-ID: 5dzyMOZwNDG

--HG--
extra : rebase_source : b26942181d52b356702c039bcace11dbf900a3d1
2017-05-02 08:55:19 -06:00
Patrick Brosset
e5886d2296 Bug 1358479 - Check if a grid fragment is valid before highlighting it; r=jdescottes
Grid fragments returned by the chrome-only el.getGridFragments() API
may sometimes in fact be empty. When they are, the returned object still
looks like a fragment, but has either no rows or no columns.
So this commit simply adds a quick check on this in the css grid highlighter
before attempting to highlight a grid fragment.

MozReview-Commit-ID: GjsGu9hpU5G

--HG--
extra : rebase_source : 355073b26035ce02db11f51497c74f7746d35a77
2017-04-25 14:16:57 +02:00
Gijs Kruitbosch
9ada04fe34 Bug 1361650 - drop beforeunload timeout down to 1 second to make tab closing faster when the content process is slow, r=billm
MozReview-Commit-ID: x33js5D5Yh

--HG--
extra : rebase_source : 5f2045fbf91c006c82fbc9398ef136409459492c
2017-05-03 10:07:48 +01:00
JW Wang
7c42af4b6f Bug 1347174 - per comment 10, limit the readahead size to prevent cache thrashing. r=cpearce
MozReview-Commit-ID: Ellinh8JIYE

--HG--
extra : rebase_source : 8f63ba1fd29e631cdafd5e56dbab958e7b044f0f
extra : intermediate-source : 0fe99aa9945fa33925a7885643af92bc007c338b
extra : source : f729d3953b822b5ecc208b46ac9fc0505aa69332
2017-04-27 10:35:08 +08:00
Emilio Cobos Álvarez
c225afa02e servo: Merge #16714 - style: Fix stylo's atom script (from emilio:atoms); r=heycam
It's been broken since bug 1358968.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3201effe12dae9657f55e46ed6d091ebb91edc19
2017-05-04 03:03:56 -05:00
Wander Lairson Costa
a26cc49769 Bug 1350413 part 2: Fix generic-worker configuration. r=dustin
* Add macosx64 talos tests configuration.
* Fix logs artifacts.
* jittest doesn't have blob_upload_dir.
* e10s config on talos goes on suite name.

MozReview-Commit-ID: E9rSv2zQqvL

--HG--
extra : rebase_source : aa931c26ab887569724c0847c4a9c25a2c04c584
2017-05-02 16:12:52 -03:00
Wander Lairson Costa
7133fa7e8b Bug 1350413 part 1: move macosx64/opt build to buildbot-bridge. r=dustin
Because of bug 1338651, we need to stick to BBB macosx64 builds for now.

MozReview-Commit-ID: AwQc5r6ikUN

--HG--
extra : rebase_source : d5ee1605bf5ec70223e7676bd2d2fd760841d59a
2017-05-02 16:12:51 -03:00
Jeremy Chen
4a894fc27e Bug 1360144 - enable WPT interpolation tests for some SVG stroke related properties. r=hiro
This includes stroke-{opacity, miterlimit, stroke-dasharray}.

In this patch, we added opacityType to enabled stroke-opacity's
animation tests. With the newly added opacityType, we should be
able to test other opacity like properties as well.

Re-use existing positiveNumberType for stroke-miterlimit.

As for stroke-dasharray, we add a separated type specifically for it. Note
that we haven't supported unitless length in servo and stylo yet, so I didn't
add tests for length. We should add some once we support unitless length
in servo and stylo.

MozReview-Commit-ID: HIUSyvKA2G3

--HG--
extra : rebase_source : 08fdcdbf0895e691cb47dcf54c59dde38071c7dc
2017-05-04 14:37:29 +08:00
Samael Wang
d158894b17 Bug 1347823 - Part 3: Add a test case. r=smaug
MozReview-Commit-ID: 9zwD0m1tknN

--HG--
extra : rebase_source : e98798b8d224596468c096ef8b69c7c67e6241ac
2017-04-28 17:01:48 +08:00
Samael Wang
ada8242de0 Bug 1347823 - Part 2: Move HistoryTracker to nsSHistory and bind its event target to the TabGroup. r=smaug
Convert the singleton HistoryTracker implementation to a per-nsSHistory based
implementation so that it can be bound to a TabGroup.

MozReview-Commit-ID: 7cMtArsO5lQ

--HG--
extra : rebase_source : 3711bc7f7afaa40772035e24270d4fde1d17924a
2017-04-27 18:59:11 +08:00
Samael Wang
c88a3d7711 Bug 1347823 - Part 1: Reorder includes and data members. r=smaug
Re-order includes to meet gecko's coding style, and move bool data members
to the bottom for slightly better alignment (nsSHEntry down from 192->176,
nsSHEntryShared down from 208->200 on a Linux64 build).

MozReview-Commit-ID: CG1M6Hh39uI

--HG--
extra : rebase_source : 5762a8a3536805e2b15b71425a9376c191cf16cb
2017-04-27 18:16:46 +08:00
Vangelis Katsikaros
d41b1b8473 Bug 1361426 - Fix localization note for netmonitor.toolbar.scheme. r=flod
MozReview-Commit-ID: 8V525YkiUFe

--HG--
extra : rebase_source : d2c0035cc52fa2a41829c46a7b0abea44c06e30d
2017-05-04 10:37:13 +03:00
Jeremy Chen
01d2568806 servo: Merge #16711 - stylo: Bug 1360144 - make stroke-{*} animatable for stylo (from chenpighead:stylo-make-stroke-properties-animatable); r=BorisChiou
This part includes making stroke-linecap, stroke-linejoin, stroke-miterlimit,
stroke-opacity, and stroke-dasharray animatable.

For properties that already implemented Interpolate trait and clone() for
glue code, we can just make them animatable by replacing the animation_value_type
with proper type name. So, set animation_value_type to 'discrete' for
stroke-linecap and stroke-linejoin. Set animation_value_type to 'ComputedValue'
for stroke-miterlimit and stroke-opacity.

As to stroke-dasharray, we need to implement Interpolate trait and glue codes
for it.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 86edd2153abf69ae0b1399b5828b01cf4ca6d731
2017-05-04 01:32:46 -05:00
JW Wang
316a8afe47 Bug 1361942 - Store ActualArgTypes instead of ArgTypes for we are sending data of ActualArgTypes types to another thread. r=gerald
This allows more use of the implicit version of InvokeAsync() without specifying the storage types explicitly.

MozReview-Commit-ID: 40WisaVX8Jy

--HG--
extra : rebase_source : ba34515788f0bc8264fac9a6897e234966d8b762
extra : source : b651963fe562755c0b2998ae6a95ffad400060ad
2017-05-03 12:34:50 +08:00
Henrik Skupin
1442e63ce9 Bug 1361849 - Fix handling of HTTPError when the update snippet cannot be retrieved. r=maja_zf
Re-raising an HTTPError with a modified reason would require 6 parameters
which we do not have at this point. So re-raise a normal Exception instead.

MozReview-Commit-ID: J9ws4IMDy3g

--HG--
extra : rebase_source : 59af3f6fa28ea4a0057419e340ef011abfcf10a2
2017-05-03 22:43:51 +02:00
Jan Beich
480b73c38c Bug 1359142 - Define EPC_sig and RFP_sig for JS_CODEGEN_(ARM64|MIPS) on BSDs. r=luke
MozReview-Commit-ID: IAJOQ7RfM4s

--HG--
extra : rebase_source : 23a508527d888071471ec198fcd5f77403b3cf19
2017-04-24 18:08:12 +00:00
Wes Kocher
e141e24ffb Merge m-c to autoland, a=merge
MozReview-Commit-ID: 1peTFbNMVnU
2017-05-02 17:38:11 -07:00
Wes Kocher
ad7e3a0ce1 Backed out changeset d3197ffef609 (bug 1338217) for failures in test_webassembly_compile.html on at least Windows VM debug a=backout a=merge
MozReview-Commit-ID: 35G0IT8FJML

--HG--
extra : source : 0b6169107c9b0a396fbec47c5d78a45e81281dea
2017-05-02 13:21:31 -07:00
Wes Kocher
df3f95a52f Merge inbound to m-c a=merge
MozReview-Commit-ID: 4SpokMW1d3I
2017-05-02 17:35:06 -07:00
Wes Kocher
32041026e7 Merge autoland to central, a=merge
MozReview-Commit-ID: Kf2J7gzSoWd
2017-05-02 17:28:42 -07:00
Tom Schuster
9a7b7937e6 Bug 1350263 - Typeof object CacheIR support. r=jandem 2017-05-02 18:24:04 +02:00
Tom Schuster
ad4425f805 Bug 1350263 - Ion/MacroAssembler typeof object improvements. r=jandem 2017-05-02 18:24:04 +02:00
Tom Schuster
204d59dfd0 Bug 1350263 - Primitive typeof CacheIR support. r=jandem 2017-05-02 18:24:03 +02:00
Nathan Froyd
629c18d12a Bug 1351093 - remove Sntp.jsm; r=florian
This code was only ever used by now-removed B2G code.
2017-05-02 12:23:45 -04:00
Emilio Cobos Álvarez
cc46407803 Bug 1361368: Don't unnecessarily nullcheck the parent frame in ReflowInput::InitConstraints. r=mats
That function has a special path for when there's no parent reflow input, and if
there's a parent reflow input there should always be a parent frame.

MozReview-Commit-ID: EYh0aE4ozBg
2017-05-02 18:15:50 +02:00
Andrea Marchesini
b7e557d0ef Bug 1358230 - test_formSubmission.html must delete its temporary files and directories, r=qdot 2017-05-02 17:44:01 +02:00
ffxbld
abe68d5dad No bug, Automated HPKP preload list update from host bld-linux64-spot-304 - a=hpkp-update 2017-05-02 08:06:54 -07:00
ffxbld
e46e6eacbf No bug, Automated HSTS preload list update from host bld-linux64-spot-304 - a=hsts-update 2017-05-02 08:06:51 -07:00
Lars T Hansen
fd01f61f18 Bug 1338217 - Share code between Wasm instances. r=luke
--HG--
extra : rebase_source : 44ddfa61bce96a4ad36034755f406ecce277770b
extra : histedit_source : 112168f6c44b7968e997800dbefb327e47b23485
2017-05-02 14:44:38 +02:00
Nathan Froyd
5635c7bffe Bug 1314355 - part 2 - download LLVM packages from mach bootstrap for Stylo development; r=rillian
For Stylo development, LLVM packages are required due to Stylo's
extensive use of bindgen--generating Rust bindings to Gecko's C++ code.
While people can install LLVM via their system package manager, we've
opted to download the LLVM packages used on Mozilla infrastructure for
building Gecko.  Using Mozilla's packages for LLVM ensures that they
work, and also makes it easier/trivial to integrate support for other
things (e.g. Mozilla's static checkers) into `mach bootstrap`.
2017-05-02 11:23:40 -04:00
Nathan Froyd
be73c54413 Bug 1314355 - part 1 - add ability to use a generic digest algorithm for http_download_and_save; r=rillian
This will be useful for downloading files from tooltool, which requires
a SHA512 checksum.
2017-05-02 11:23:40 -04:00
Andrea Marchesini
61d027b357 Bug 1361315 - No need to wrap a MultipartBlobImpl when FileSystemFileEntry::GetFile() is executed, r=smaug 2017-05-02 16:38:19 +02:00
Andrea Marchesini
9cc9f87380 Bug 1360340 - IPCBlob must contain isDirectory boolean in order to support Drag&Drop of directories, r=smaug 2017-05-02 16:38:19 +02:00