Commit Graph

586096 Commits

Author SHA1 Message Date
Stephen A Pohl
db9ff55a1c Bug 1348361 - Part 3 - Do not block the thread when spawning a gecko child process; r=jld
They are not yet fully async because ContentParent::InitInternal calls
OtherPid(), which will block until the process is spawned. Deferring the calls
to OtherPid() will be a subject of a follow up patch.

MozReview-Commit-ID: 4TFkMpdQtRw

--HG--
extra : rebase_source : 3e7567679ae04aa4c04ea6f6c146e70417e7ce05
2018-02-16 10:24:21 -05:00
Alex Gaynor
fc6d4621a1 Bug 1348361 - Part 2 - Introduce a GeckoChildProcessHost subclass, ContentProcessHost, that will be used for async process launches; r=jld
MozReview-Commit-ID: OgV5fcZM8m

--HG--
extra : rebase_source : 717f37bdc004480ef1dc90cc565324766e5b7b09
2018-02-22 14:29:49 -05:00
Alex Gaynor
911eab5d61 Bug 1348361 - Part 1 - Added locking to IToplevelProtocol's management of the peer's pid; r=jld
This will let us manipulate it from multiple threads in a future patch.

MozReview-Commit-ID: 2AOgho8SEX9

--HG--
extra : rebase_source : 49e7d82b38e6f7b7eb9f6cb7c61a2b41d34f2bdc
2018-02-22 10:36:55 -05:00
Narcis Beleuzu
d7db70bc02 Backed out changeset 3ab8cedcdaf0 (bug 1382601) for talos g2 failures on /markup.js
--HG--
extra : rebase_source : debcafd996d5638bde8c3c1bd95305138404f8ef
2018-03-16 23:17:25 +02:00
Josh Matthews
52ebf2b3ea servo: Merge #20312 - Avoid using WPT test runner to update the test manifest (from jdm:fix-manifest-update); r=asajeffrey
Our old code to update the test manifest relied on running no actual tests. This is now broken by d0a30f8821 (diff-c9390ffce43b4924882faf365b1bf136), so these changes duplicate Firefox's implementation to reduce risk of future breakage. This will allow automated WPT syncing to resume.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: 74d6a91ee55c3bc803cec8c57f9b56e677bd8b97

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9d14e17cfc059b7d241482cc5d81b9b0f99e898e
2018-03-16 16:16:23 -04:00
Tom Prince
3267308b01 Bug 1446110: [update-packaging] Specify prefix for temporary files; r=bhearsum
Thunderbird is currently still building on macOS, where `mktemp` requires an
argument.

MozReview-Commit-ID: DCoZAYA6tTI

--HG--
extra : rebase_source : 48775eba4f934fd244a74da615bc7754370b504e
2018-03-15 14:10:59 -06:00
Matthew Noorenberghe
72c9dc3548 Bug 1427954 - Pass FormAutofillUtils.isCCNumber to EditCreditCard. r=sfoster
The point of this is to remove dependencies on privileged code from autofillEditForms.js so it can
be used in the unprivileged PaymentRequest dialog. The PaymentRequest dialog will be able to inject
the privileged APIs in a different way.

MozReview-Commit-ID: 34PvRxzWcSr

--HG--
extra : rebase_source : 610d157c41739eb160ea48ed8fa28627df837424
2018-03-14 18:11:03 -07:00
Matthew Noorenberghe
97c64f8ecf Bug 1427954 - Pass getFormFormat to EditAddress. r=sfoster
The point of this is to remove dependencies on privileged code from autofillEditForms.js so it can
be used in the unprivileged PaymentRequest dialog. The PaymentRequest dialog will be able to inject
the privileged APIs in a different way.

MozReview-Commit-ID: 6Kzq94m5hnZ

--HG--
extra : rebase_source : 6acbc6c19677b517649dc8f500f413656e6bf711
2018-03-14 18:11:22 -07:00
Matthew Noorenberghe
20d07e9fd2 Bug 1427954 - Pass supported and default countries to EditAutofillForm and move loadInitialValues. r=sfoster
The point of this is to remove dependencies on privileged code from autofillEditForms.js so it can
be used in the unprivileged PaymentRequest dialog. The PaymentRequest dialog will be able to inject
the privileged APIs in a different way.

MozReview-Commit-ID: 4KITOMz7Uxh

--HG--
extra : rebase_source : 0461cb9335e24c4e853efaab5ea3c80e36ab2597
2018-03-14 18:11:36 -07:00
Matthew Noorenberghe
a1b80e17b9 Bug 1427954 - Move autofill edit dialog l10n to mutation observers. r=sfoster
MozReview-Commit-ID: 5jSj0xPBTQj

--HG--
extra : rebase_source : c673bee489ae495b3842a4bac71b9246175659b8
2018-03-14 18:12:00 -07:00
Matthew Noorenberghe
a5d3be5673 Bug 1427954 - Remove string bundle references from autofillEditForms.js. r=sfoster
This is a step on the path to making it unpriveleged.

MozReview-Commit-ID: 3DSYvM2Pje9

--HG--
extra : rebase_source : 0bf310f885091df7d5ee3eb06c24fa2d18425b39
2018-03-14 18:12:15 -07:00
Matthew Noorenberghe
9196b03577 Bug 1427954 - Remove unused uninit code from editDialog.js and autofillEditForms.js. r=sfoster
MozReview-Commit-ID: 9GP1gsycgJo

--HG--
extra : rebase_source : 8459765abc8c37ebb6db5170db422127e1ddd958
2018-03-14 17:31:56 -07:00
Matthew Noorenberghe
90954ade18 Bug 1427954 - Split autofill dialog logic from field logic. r=sfoster
We want to re-use the field/form logic but not the dialog-specific logic so this separates them out.

Custom Elements aren't enabled by default yet so we can't use them yet.

MozReview-Commit-ID: 60hMpgSOmpp

--HG--
rename : browser/extensions/formautofill/content/editDialog.js => browser/extensions/formautofill/content/autofillEditForms.js
extra : rebase_source : c75c68793e7e37f5fbb7a438d1419632975074fe
2018-03-14 18:12:38 -07:00
Matthew Noorenberghe
453586515e Bug 1427954 - Don't pass child elements into the constructor. r=sfoster
MozReview-Commit-ID: 2iqHks0yD0v

--HG--
extra : rebase_source : 596a583069c9178a00be61dc78af92e27289ce20
2018-03-14 18:12:58 -07:00
Matthew Noorenberghe
e83a9abda5 Bug 1427954 - Remove unused Services and XPCOMUtils imports in editDialog.js. r=sfoster
MozReview-Commit-ID: F4ryqNOYMn6

--HG--
extra : rebase_source : 56119da5b7b15c091dcb5de8d427b910237d634b
2018-03-14 17:06:42 -07:00
Brendan Dahl
96f90fcc89 Bug 1443901 - Remove downloadsViewOverlay.xul. r=Paolo
This overlay was only used in places.xul and can be inlined there.

MozReview-Commit-ID: AYvmu99lqh5

--HG--
extra : rebase_source : f4ca7e5e198d172c6394aaf7fd81f011cc3c8439
2018-03-07 11:59:51 -08:00
Mike Conley
caf6b09a12 Bug 1423220 - Enable tab warming by default for Nightly builds. r=dao
MozReview-Commit-ID: 8bz1U1WSzy5

--HG--
extra : rebase_source : 191b554a473754f04df808236985e37363c9c399
extra : source : 664c633802d4cd0e2c32a271a2d29107b5b43f38
2018-01-31 12:10:03 -05:00
Mike Conley
1bb8e62185 Bug 1423220 - Don't delay activating the DocShell for tabs that we're rendering by switching and not warming. r=dthayer
MozReview-Commit-ID: 3UmocajaSWJ

--HG--
extra : rebase_source : f79b07bd5620312b959503aeee5410c2e205a471
2018-03-16 11:39:22 -04:00
Mark Banner
dd60b016e6 Bug 1437516 - Rename browser_library_batch_delete.js now that it isn't testing batches. r=mak
MozReview-Commit-ID: 9L5e71yZaaL

--HG--
rename : browser/components/places/tests/browser/browser_library_batch_delete.js => browser/components/places/tests/browser/browser_library_delete.js
extra : rebase_source : 775b80606ccd28d586c694379bed064cecf50006
2018-03-13 21:39:47 +00:00
Mark Banner
5d0c2063f4 Bug 1437516 - Remove nsINavHistoryService/nsINavBookmarksService::runInBatchMode. r=mak
MozReview-Commit-ID: D1H3xdjpMAx

--HG--
extra : rebase_source : 3ad1d72758c20bf0b4964d212565c720654984e0
2018-03-13 16:19:33 +00:00
Ted Mielczarek
44322b0b23 bug 1445631 - update sccache to pick up a fix in the jobserver crate. r=chmanchester
MozReview-Commit-ID: JtHea27GTTq

--HG--
extra : rebase_source : e7b08d6b6b765c0447aadfaa7f4f606676806c73
2018-03-16 13:41:52 -04:00
yulia
254e553c41 Bug 1382601 - update inspector to use new event emitter. r=nchevobbe,pbro
MozReview-Commit-ID: 8hGCpkC1eHz

--HG--
extra : rebase_source : bb5333bf3cf38a8c0d13249477e40fcd668eb71c
2018-03-16 14:27:46 +01:00
OJ Kwon
7ba09e30ed servo: Merge #20315 - feat(window): bind hotkey to trigger capture event (from kwonoj:feat-webrender-capture); r=jdm
<!-- Please describe your changes on the following line: -->
Relates to #20295.

This PR intends to expose additional hotkey to window to allow capture webrender. Internally it adds one new `WindowEvent::CaptureWebRender` for those purpose. I took some liberty to make some decisions around which need to be reviewed & updated in PR.

- `Ctrl-shift-3` is binded to hotkey to follow described in Gecko's behavior. Is it good to go?
- Maybe do not need to create new event `CaptureWebRender` but reuse `ToggleWebRenderDebug`, having additional `WebRenderDebugOption` values?
: This sounds more right path for me, but `capture` isn't really `toggle` behavior to include capture into it.
- Capturing will create `capture_webrender` in cwd, creates new folder inside each time new capture stored
: Maybe it'd better to expose new cmdline args allow overrides, or some better way else. I took the simple approach to generate path without asking for it.

---
<!-- 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 #20295 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____
- This change has manually verified on local machines (mac, windows, linux).

<!-- 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: 1ae5715309ab5acb9ac401fd99f34a0667b2ee53

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7325d6d0b12a105da15a7e4fdd803535152bd68a
2018-03-16 13:49:17 -04:00
Gregory Szorc
1ab2bad8aa Bug 1446471 - Remove unused import; r=nalexander
MozReview-Commit-ID: JviugCf0TTE

--HG--
extra : rebase_source : 080b0d71a16ad230bc239b371d2b6f7b181ff45c
2018-03-06 19:15:42 -08:00
Gregory Szorc
e6191d0614 Bug 1446471 - Remove unused --stop argument from mach python-test; r=nalexander
This argument does nothing. While that's arguably a bug, I have
no desire to fix it. So remove dead code.

MozReview-Commit-ID: 9tToF66I7HE

--HG--
extra : rebase_source : 2ea86681a102d3a82fc547f52e473f4a46a60467
2018-03-06 19:04:04 -08:00
Gregory Szorc
6e392d444d Bug 1446471 - Remove unused find_tests_by_path function; r=nalexander
I was too lazy to find the commit that orphaned this. But it is most
definitely not referenced in the code base.

MozReview-Commit-ID: 8gYBJQxIWIR

--HG--
extra : rebase_source : eda4f601ba71380b41a1cc6182d21996d15ea4e6
2018-03-06 19:02:01 -08:00
Gurzau Raul
23e21453bc Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-16 19:57:14 +02:00
Gurzau Raul
70be85b9cd Merge inbound to mozilla-central. a=merge 2018-03-16 19:53:35 +02:00
Gurzau Raul
7ff67ddf24 Merge autoland to mozilla-central. a=merge 2018-03-16 19:49:44 +02:00
Sebastian Hengst
cc3e04044c Backed out changeset b0af4c10b8bb (bug 1446053) for frequently causing forbidden connections e.g. during browser-chrome's browser_privacypane_3.js. a=backout 2018-03-16 19:40:00 +02:00
Csoregi Natalia
692193e3b5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-16 15:03:56 +02:00
Csoregi Natalia
cbbe5a1135 Backed out changeset 32f45689f033 (bug 1445084) for frequently failing browser-chrome's browser_search_within_preferences_1.js (bug 1446186), remove obsolete file. a=backout 2018-03-16 15:00:25 +02:00
Csoregi Natalia
e5572f6407 Backout commit 32f45689f033 (bug 1445084) for frequently failing browser-chrome's browser_search_within_preferences_1.js (bug 1446186) a=backout 2018-03-16 14:51:38 +02:00
sotaro
7871e211ec Bug 1444798 - Fix ExternalImageCallback func types r=jrmuizel 2018-03-16 21:03:59 +09:00
Andrew McCreight
d423a14b35 Bug 1446200 - Add a helper method to encode Method flags. r=froydnj
Most of the classes in xpt.py define a helper method to encode the
values of the flags into a byte, but for some reason Method does
not. It'll be useful to have one for Method for the C++ backend I am
working on.

MozReview-Commit-ID: ESi1CnstbN2

--HG--
extra : rebase_source : 23822e7770e9a3d1b5a2359ae9753f950af3a121
2018-03-15 15:46:08 -07:00
Benjamin Bouvier
802ec87d7e Bug 1446071: Remove more dead code in the assemblers after bug 1434054; r=lth
--HG--
extra : rebase_source : 70d8d65798a25ef912750415d58efce73d783040
extra : histedit_source : 880a131372e510c0ddf7f1c2a0d66d26fd0cb5c6
2018-03-15 19:12:24 +01:00
Mats Palmgren
259eae8a43 Bug 1445230 - [css-grid] Use IntegerRange to make iterating over LineRange more ergonomic (idempotent change). r=dholbert 2018-03-16 12:11:38 +01:00
Mats Palmgren
91a1041da4 Bug 1445229 - [css-grid] Store the number of grid items per span-length to avoid iterating them again (idempotent change). r=dholbert 2018-03-16 12:11:37 +01:00
Andrea Marchesini
5601dfb95d Bug 1446285 - WPT should use toString() and not toSource(), r=smaug 2018-03-16 12:05:43 +01:00
Jan de Mooij
b9ac004fe6 Bug 1445235 part 2 - Rename MacroAssembler boundsCheck32ForLoad to spectreBoundsCheck32. r=nbp
--HG--
extra : rebase_source : 9ddcf1e94375a345572a5d728903ef1ad738ce4e
2018-03-16 12:01:43 +01:00
Jan de Mooij
2ac711d172 Bug 1445235 part 1 - Also add Spectre mitigations for MBoundsCheck added for stores. r=luke
--HG--
extra : rebase_source : b1ead63e2c8934e7b9a6da722196f242e784a2f8
2018-03-16 12:00:48 +01:00
Sebastian Hengst
d9a734332c merge mozilla-cetral to mozilla-inbound 2018-03-16 12:59:37 +02:00
Sebastian Hengst
f916563796 Backed out changeset 664c633802d4 (bug 1423220) for frequently failing mochitest dom/html/test/test_fullscreen-api-race.html (bug 1445330). a=backout 2018-03-16 12:55:59 +02:00
Tiberius Oros
baf9f48740 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-16 11:59:14 +02:00
Tiberius Oros
a4a2be52e8 Merge inbound to mozilla-central. a=merge 2018-03-16 11:53:43 +02:00
Tiberius Oros
d01a762799 Merge autoland to mozilla-central. a=merge 2018-03-16 11:51:52 +02:00
Gurzau Raul
540992331b Backed out 6 changesets (bug 1439875) for massive breakage for nightly users a=backout
Backed out changeset 990a8eb972cd (bug 1439875)
Backed out changeset 187aef60922c (bug 1439875)
Backed out changeset 9c764daa1234 (bug 1439875)
Backed out changeset f8e091577d2a (bug 1439875)
Backed out changeset 1ee5a2d21901 (bug 1439875)
Backed out changeset 610ba5dfaae1 (bug 1439875)
2018-03-16 11:26:31 +02:00
Gurzau Raul
bd1757c15c Backed out changeset 014e386dcdd9 (bug 1446258) for Android failures on dom/messagechannel/tests/unit/test_messageChannel.js 2018-03-16 10:40:47 +02:00
Jeff Gilbert
027c306ce3 Bug 1445577 - Fix -Wmicrosoft-unqualified-friend in WebGLProgram.h. - r=kvark
"unqualified friend declaration referring to type outside of the nearest enclosing
namespace is a Microsoft extension; add a nested name specifier
[-Wmicrosoft-unqualified-friend]"
2018-03-15 22:35:50 -07:00
Kit Cambridge
677ec88a10 Bug 1446258 - Expose MessageChannel to System. r=baku
MozReview-Commit-ID: Bd8pvsDk4Ow

--HG--
extra : rebase_source : e35fb59887337b4d289b336dc017e6fa4b37f551
extra : amend_source : 60f4a3644d5dd9f5e4edd6494c298b6492c2f4f2
2018-03-15 22:14:48 -07:00