553400 Commits

Author SHA1 Message Date
J. Ryan Stinnett
f68386ce04 Bug 1390691 - Fix up Servo_TakeChangeHint for Linux 32-bit ABI. r=manishearth
Bindgen bitfield enums don't work as return values with the Linux 32-bit ABI at
the moment because they wrap the value in a struct.

This causes the Rust side to believe the caller will pass along space for the
struct return value, while C++ believes it's just an integer value.

MozReview-Commit-ID: 6qqVVfU8Mb2

--HG--
extra : rebase_source : 825985977307b50ae8a80ab182e54a3f7b95eafc
2017-08-14 22:11:53 -05:00
J. Ryan Stinnett
bdb91a3c76 Bug 1390691 - Fix up Gecko_CalcStyleDifference for Linux 32-bit ABI. r=manishearth
Bindgen bitfield enums don't work as return values with the Linux 32-bit ABI at
the moment because they wrap the value in a struct.

This causes the Rust side to believe the callee expects space for the struct
return value, while C++ believes it's just an integer value.

MozReview-Commit-ID: FRBqlZuMiAR

--HG--
extra : rebase_source : d1b2af4b965c000a5bd8e1792ae166cba5e152a9
2017-08-14 20:02:01 -05:00
J. Ryan Stinnett
7c022405a1 Bug 1390691 - Fix up Servo_StyleSet_Init for Linux 32-bit ABI. r=manishearth
Rust was treating this as returning an `Owned` types which uses a struct, while
C++ saw it as just a pointer.

This disagreement violates the Linux 32-bit ABI, and also the pointer was deemed
to be more correct anyway.

MozReview-Commit-ID: AQJkdU02vfh

--HG--
extra : rebase_source : d53d7a395944f65d71f14e540cc6d6bac4582187
2017-08-14 17:21:51 -05:00
J. Ryan Stinnett
009c046841 servo: Merge #18100 - Fix up Stylo return types for Linux 32-bit ABI (from jryans:stylo-linux32); r=Manishearth
https://bugzilla.mozilla.org/show_bug.cgi?id=1390691

Source-Repo: https://github.com/servo/servo
Source-Revision: 736e963efd81563545f292751176c219c3fe0fdc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1a5d497175816f3a1d7d0a8daa382a71692997ee
2017-08-15 22:11:50 -05:00
Chris Peterson
ee0e6ae64b Bug 1389851 - build: Enable clang's -Wunreachable-code-return warnings. r=glandium
MozReview-Commit-ID: 8Zl0mbzcFBm

--HG--
extra : rebase_source : 36c92b50fac9e1f7991d977e1c878b4945e97528
2017-08-08 23:12:41 -07:00
Chris Peterson
254168531b Bug 1389851 - js: Fix -Wunreachable-code-return warning in StoreBuffer.cpp. r=jonco
js/src/gc/StoreBuffer.cpp:138:8: warning: 'return' will never be executed [-Wunreachable-code-return]

This `return nullptr` statement is unreachable because oomUnsafe.crash() is a noreturn function.

MozReview-Commit-ID: KOkZMf2kQL5

--HG--
extra : rebase_source : 2fde0918d381094448c27e7db81fc61b8fb85314
2017-08-08 23:15:37 -07:00
Chris Peterson
39d2406e74 Bug 1389851 - libfuzzer: Suppress -Wunreachable-code-return warnings in FuzzerDriver.cpp. r=decoder
Suppress these warnings intead of fixing them because libfuzzer is a third-party llvm library:

tools/fuzzing/libfuzzer/FuzzerDriver.cpp:450:10: warning: 'return' will never be executed [-Wunreachable-code-return]
tools/fuzzing/libfuzzer/FuzzerDriver.cpp:663:12: warning: 'return' will never be executed [-Wunreachable-code-return]

MozReview-Commit-ID: 9mWEuc5wCn9

--HG--
extra : rebase_source : e880a5da2dac2f8c79139646713b02feb4ddc9b7
2017-08-15 21:04:55 -07:00
Chris Peterson
1447808ce8 Bug 1389851 - netwerk: Fix -Wunreachable-code-return warning in nsGIOProtocolHandler.cpp. r=karlt
netwerk/protocol/gio/nsGIOProtocolHandler.cpp:89:10: warning: 'return' will never be executed [-Wunreachable-code-return]

This `return NS_ERROR_FAILURE` statement at the end of this function is unreachable because all of the preceding switch statement's cases return.

MozReview-Commit-ID: 3qDu2IqTPrW

--HG--
extra : rebase_source : bcd8a07eee82b60fc071787ccb7df7d9f45d0679
2017-08-09 00:38:15 -07:00
Chris Peterson
9ce1ea9579 Bug 1389851 - sandbox: Suppress -Wunreachable-code-return warning in third-party Chromium sandbox code. r=jld
security/sandbox/chromium/sandbox/linux/seccomp-bpf/trap.cc:277:12: warning: 'return' will never be executed [-Wunreachable-code-return]

This return statement is unreachable because SANDBOX_DIE() is a noreturn function:

https://searchfox.org/mozilla-central/rev/a887f0edbd9f6b176b64111455ba62bb0cf356a6/security/sandbox/chromium/sandbox/linux/seccomp-bpf/trap.cc#270-274

MozReview-Commit-ID: HDxBJe2ZtPN

--HG--
extra : rebase_source : 07f6cbcf901a54901cc5ea85b84030ea27a668ba
extra : source : f39f78b1a9851d97c6fd7dcbbd1d7ba93e933e08
2017-08-09 18:45:16 -07:00
Wes Kocher
bb19458d5f Merge m-c to inbound, a=merge
MozReview-Commit-ID: EgYue63nSkv
2017-08-18 16:29:11 -07:00
Sebastian Hengst
87485feb32 Backed out changeset 2900b2b1b20a (bug 1391478) for failing devtools' browser_inspector_highlighter-comments.js. r=backout 2017-08-19 00:32:38 +02:00
Sebastian Hengst
a94587f51a Backed out changeset f4b8bd3d68c8 (bug 1391487) 2017-08-19 00:31:59 +02:00
Bill McCloskey
e7ca33ec9e Bug 1391657 - Fix missing member initialization for input prioritization (r=mccr8)
MozReview-Commit-ID: AaleTbntJ7U
2017-08-18 14:18:07 -07:00
Gabriel Luong
bfdd0a2c15 Bug 1391487 - DevTools toolbar should match the size of the Photon compact toolbar. r=bgrins 2017-08-18 14:09:16 -07:00
Gabriel Luong
574e28ad9e Bug 1391478 - Pseudo-elements containner toggle should work with a click event instead of dblclick. r=bgrins 2017-08-18 14:08:59 -07:00
Ted Mielczarek
865f3f2c5e bug 1259832 - replace generated source file names in symbol files. r=chmanchester
Now that builds are uploading generated source files to an S3 bucket,
symbolstore.py can alter the FILE lines in symbol files to record the
URLs where those generated source files can be found. We currently record
files from the hg repository as `hg:<repo>:<path>:<revision>`, so here we
record generated files as `s3:<bucket>:<path>:` and expect that Socorro
will map that to the S3 bucket in a sensible way.

This patch does not change source server indexing, which allows Microsoft
debuggers to fetch source files for a build. That will be handled in a
followup.

MozReview-Commit-ID: 1g14smF0fo8

--HG--
extra : rebase_source : a5b42251278e6ecc4d57e374c423738de325f8e5
extra : source : 7781a37a4db0378b06ef3ad377e18be37e63ad83
2017-08-09 14:36:52 -04:00
Ted Mielczarek
c4f93428a7 bug 1259832 - add a post-build task to upload generated source files. r=dustin
This change adds an upload-generated-sources task kind that runs after nightly
builds, fetches their `target.generated-files.tar.gz` artifact, and uploads
all the contained files to an S3 bucket. For actual nightly and release builds
on SCM level 3 trees, the S3 bucket is configured to be publicly accessible,
so that tools like Socorro will be able to fetch generated source files that
appear in crash reports, and debuggers will be able to fetch generated sources
when they show up while debugging Nightly or Release builds.

There are also level-2 and level-1 S3 buckets configured for builds happening
on trees of other levels such as try. They are not configured as publicly
accessible, but they exist so that these tasks can be tested in try.

MozReview-Commit-ID: Js1HRftbtep

--HG--
extra : rebase_source : b1172c9cc8b8be437d3b94a6bf0ff6b2f7d3508b
extra : source : 73bf88110b3821d62a3d393e85b56896a12f2930
2017-08-09 14:32:05 -04:00
Luke Chang
5f77fde5a0 Bug 1387988 - [Form Autofill] Optimize "findLabelElements" function. r=MattN
MozReview-Commit-ID: EGtBzv2GZFj

--HG--
extra : rebase_source : 128aadbbc57aa3d170aba2b139246df4f3426f20
2017-08-08 19:01:40 +08:00
Paul Bone
e576261a1f Bug 1386660 - Part 4: Refactor pref code in nsJSEnvironment.cpp. r=jonco 2017-08-08 13:11:24 +10:00
Paul Bone
73cca4c47d Bug 1386660 - Part 3: Provide code to reset SM/GC parameters. r=jonco 2017-08-17 11:18:10 +10:00
Paul Bone
7b3f7718b5 Bug 1386660 - Part 2: Use float for zoneAllocThresholdFactor. r=sfink 2017-08-17 10:57:41 +10:00
Paul Bone
e9c591a48a Bug 1386660 - Part 1: Update a comment to reflect current code. r=jonco 2017-08-08 12:11:00 +10:00
Randall Barker
687d31efab Bug 1382292 - Revert PLANAR_YCBCR case in GLBlitHelper.cpp on Android so that when a canvas uses a video frame as source, it is not flipped r=kvark
MozReview-Commit-ID: 1RZ5G1vkB7U
2017-08-17 12:02:17 -07:00
Johann Hofmann
6ca462be34 Bug 1368143 - Modernize browser_bug902156.js. r=nhnt11
- Switches to add_task and async functions.
- Waits for the correct url to be loaded in BTU.browserLoaded.
- Gets rid of all the CPOWs because we don't like them.

MozReview-Commit-ID: HysaFYIEtVq

--HG--
extra : rebase_source : 8065cb8f84b50d7260f36fbc1e6186c782590899
2017-08-07 15:12:03 +02:00
Nicolas Chevobbe
de608b80ae Bug 1380512 - Fix intermittent on browser_webconsole_check_stubs_console_api; r=Honza.
This hopefully fix the frequent intermittent on this test.
In the cleanPacket function, we are overriding the actor
of arguments. Thus, some server-calls were using an unknown
actorId, which resulted in errors.
We now create a new object for the argument for the stub so
we don't override anything.

MozReview-Commit-ID: EcvVUqQS3Dt

--HG--
extra : rebase_source : 4f373a4afcaf7d056e8a073a4dff382e6460197e
2017-08-16 11:23:54 +02:00
Ethan Lin
cf6417fa0a Bug 1390437 - Add NotifyInvalidation after EndTransaction for layers-free mode. r=kats
For layers-free mode, we still need to call NotifyInvalidation to trigger
FireDOMPaintEvent. It should be fine to pass an empty rect since we always
take full snapshot for WR.

MozReview-Commit-ID: EzzQi2C5aRQ

--HG--
extra : rebase_source : 81eb63698bd052615c42eebb392e7f771a59f36c
2017-08-15 16:54:12 +08:00
Wei-Cheng Pan
9be6672987 Bug 1390263 - Follow up for Bug 1357742. r=xidorn
MozReview-Commit-ID: CMQkpkmL9Cb

--HG--
extra : rebase_source : 08f87eb1a7a93d3055260dfb822ce16128b4ed02
2017-08-17 17:40:21 +08:00
Luke Chang
51c71a85d2 Bug 1391149 - [Form Autofill] Avoid exposing fields with empty value from the storage. r=steveck
MozReview-Commit-ID: 8WHCFNNckO4

--HG--
extra : rebase_source : 74c369bc07c98cb055c72334c58870425646620c
2017-08-17 12:38:42 +08:00
Gijs Kruitbosch
b308974089 Bug 1366207 - remember previous view's selection when keyboard navigating panels, r=mikedeboer
MozReview-Commit-ID: 14U7hkrBbJq

--HG--
extra : rebase_source : c6a0439d253d38a776445793b235b93ba5873f48
2017-08-15 15:21:15 +01:00
Henry Chang
1d343fefaa Bug 1365157 - wpt test cases to ensure 'data:' iframe is forbidden to access its contentDocument. r=ckerschb
MozReview-Commit-ID: 8jnewE1eEcc

--HG--
extra : rebase_source : 4c580e32c7e19a241e0f31094fd7c12aff275a72
2017-08-17 09:47:14 +08:00
Tim Nguyen
057967facc Bug 1390016 - Remove toolkit/themes/shared/filters.svg. r=dao
MozReview-Commit-ID: 7ETww8LzhxS

--HG--
rename : browser/extensions/flyweb/skin/flyweb-icon.svg => browser/extensions/flyweb/skin/shared/icon.svg
extra : rebase_source : 6d0cb5cf26c9f2ce3484e2a0d1d76d2b79e1f383
2017-08-17 08:11:07 +02:00
Luke Chang
04df87ad05 Bug 1387988 - [Form Autofill] Move "findLabelElements" function to FormAutofillHeuristics.jsm. r=MattN
MozReview-Commit-ID: 93c9R7JaCLA

--HG--
extra : rebase_source : 2cb9276901c4f2ff91da55cc5d0dc095a74524dd
2017-08-07 18:34:27 +08:00
Xidorn Quan
179961b3c9 Bug 1383845 - Enable tests disabled for bug 1383845. r=TYLin
MozReview-Commit-ID: Glao9d9PiUF

--HG--
extra : rebase_source : cfc70fcb350a7ee8e325ba1bda0bcdead62d786e
2017-08-17 10:51:59 +10:00
Ricky Chien
bd7ae1bdd6 Bug 1361952 - Update Firefox Account to match the spec r=jaws
--HG--
extra : rebase_source : 321cc60780600a2a1724d55419970f7ae97194aa
2017-08-17 09:02:11 +08:00
Fischer.json
73937777ef Bug 1390767 - UITour shouldn't put rounded-corner highlight on targets in the page action panel, r=Gijs
MozReview-Commit-ID: LYVc3kRPEfZ

--HG--
extra : rebase_source : adc8d2ddf2d21ee2743a9ce46e433e9bf0c2fefe
2017-08-16 15:22:24 +08:00
Phil Ringnalda
8a9a575a9e Backed out changeset bf581c606046 (bug 1361952) for browser_parsable_css.js failures
MozReview-Commit-ID: 2u5Ai13GusS
2017-08-16 20:06:21 -07:00
Anthony Ramine
c90164c4e9 servo: Merge #18117 - Move more CSS values to their own submodules (from servo:we-are-leaving-babylon); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 575bcf3989b1e058bcdc9ebe73b4eedc1476f1ed

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c202ebb4c5b0388ef4dd5b1e5a07118a771d8c9a
2017-08-16 20:26:22 -05:00
Masayuki Nakano
bd1efdbf56 Bug 1388006 - a11y module should use TextEditor and HTMLEditor instead of nsIEditor r=surkov
Accessibility module uses nsIEditor (and nsIPlaintextEditor).  However, now, it can use TextEditor and HTMLEditor.  So, it should use them.

Note that this patch makes HTMLTextFieldAccessible::GetEditor() use nsITextControlElement::GetTextEditor() instead of nsIDOMNSEditableElement::GetEditor() but this won't change actual behavior since both implementation of HTMLInputElement and HTMLTextareaElement are just call shared internal methods.

MozReview-Commit-ID: HxHMGVSvWFv

--HG--
extra : rebase_source : a4ae19f06fb9612eacd4ae2e57fd92d36783ef32
2017-08-07 17:42:50 +09:00
Thom Chiovoloni
9fbf0a08aa Bug 1390338 - Enable legacy extensions when running TPS. r=markh
MozReview-Commit-ID: KKReASjFcOT

--HG--
extra : rebase_source : aaaff4bb04f04c29dcf6c7cbaa246352de647a2f
2017-08-14 18:51:09 -04:00
Daisuke Akatsuka
21fe68ef86 Bug 1389439 - Part 2: Enable test_underlying-discrete-value.html on stylo. r=hiro
MozReview-Commit-ID: 8zqUHnoZvee

--HG--
extra : rebase_source : b0c372cc5badb5b2d0661a478c6bc2905cb481d2
2017-08-15 12:38:45 +09:00
Daisuke Akatsuka
0b08d2f34b Bug 1389439 - Part 1: Use computed values as all expected values. r=hiro
The serialization of the value in getKeyframes() on both Gecko and Servo is
different, especially 'initial', 'inherit' and 'unset' on discrete animation.
Gecko returns those value as is, but Servo returns computed value.
We are understanding computed value (Servo) is right, so we change expected
values for them. Also, we skip them if this test is running on Gecko.

MozReview-Commit-ID: 4GFpCpec0eP

--HG--
extra : rebase_source : 8bb9fc670fb7ffd56935cdfb4f038be334782de7
2017-08-15 12:38:41 +09:00
Hiroyuki Ikezoe
3c1caa2959 Bug 1387949 - Make vertical-align animatable between percentage and percentage or length. r=birtles
MozReview-Commit-ID: 2ys36yj1zit

--HG--
extra : rebase_source : 3056e876910ca91c09218ef0284df0d46cbbb4d9
2017-08-15 10:16:31 +09:00
Hiroyuki Ikezoe
1317fd83f1 servo: Merge #18078 - Make vertical-align animatable between percentage and percentage or l… (from hiikezoe:vertical-align-animation); r=boris
…ength.

<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1387949

---
- [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: 0aba7442a6e59084762ecd49889c33457a90917b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6ededdf1ba11fce5b6a1e965b0c295237f3af524
2017-08-14 22:07:31 -05:00
Makoto Kato
357fdca523 Bug 1390053 - Enable editor/libeditor/tests/test_bug830600.html on mochitest-e10s. r=masayuki
This test is turned off by bug 1269209 on e10s.  But there is no exactly reason why this test on e10s is turned off.

Although I run this test on e10s now, it seems to pass this.  So we should turn on this test even if e10s.

MozReview-Commit-ID: JHQP2ZYvsHL

--HG--
extra : rebase_source : 2bc45f0d2b5cc99bad93267f40191866264af414
2017-08-14 18:29:40 +09:00
Xidorn Quan
c40f44ef9b Bug 1370508 - Enable stylo on generic XML documents. r=heycam
MozReview-Commit-ID: 4XQ9RPQ7oa1

--HG--
extra : rebase_source : 74e411e2280e818fc1fbd2efda677565cfa2f8b6
2017-08-09 19:57:33 +10:00
Ho-Pang Hsu
977f9579e3 Bug 1353636 - Part 4: Enable a related web-platform-test. r=bkelly
--HG--
extra : rebase_source : bd1025df6709bc06843cf5949dfaf060051e5e9c
2017-08-07 16:09:16 +08:00
Ho-Pang Hsu
393ba3c2ef Bug 1353636 - Part 3: Update SERVICEWORKERREGISTRAR_VERSION and a related gtest. r=bkelly
--HG--
extra : rebase_source : c5e51376f8aecc3373f651f3b512ee2ac47ae680
2017-08-17 15:29:26 +08:00
Ho-Pang Hsu
502a2f107a Bug 1353636 - Part 2: Expose ServieworkerRegistration.updateViaCache. r=bkelly
--HG--
extra : rebase_source : 51eb4aebc78f0e48487e88ce5f9f9b70bf8efadd
2017-08-16 14:21:29 +08:00
Ho-Pang Hsu
3f781402a4 Bug 1353636 - Part 1: Move from nsLoadFlags to UpdateViaCache. r=bkelly
--HG--
extra : rebase_source : 063c490f52a006f1c46f63cd07e9f93b6d15ccde
2017-08-16 14:18:52 +08:00
btian
9de84f5fed Bug 1390394 - Mochitest to ensure FormData gets the new files after setting <input type=file>.files. r=smaug
--HG--
extra : rebase_source : 1987a73e03ffa7191f95f0259ba15f131ce709ee
2017-08-17 17:09:41 +08:00