Commit Graph

43891 Commits

Author SHA1 Message Date
Chris Manchester
68ede80645 Bug 1401654 - Move MOZ_WEBRTC and some related defines to moz.configure. r=mshal
MozReview-Commit-ID: Kp7lCLqJ6FH

--HG--
extra : rebase_source : f2f9d3fb85e1c22df6c0c7cee3072e54a8b8b3e0
2017-09-20 16:29:39 -07:00
Marco Bonardo
2b38551c52 Bug 1399879 - The Places hash SQL function is expensive on large urls. r=adw
This patch limits the amount of chars we hash and avoids some string copies.

MozReview-Commit-ID: AAcLtTzrYlb

--HG--
extra : rebase_source : 760c0899da9cd5bc5c640be030de20865a45ca98
2017-09-18 10:31:20 +02:00
Sebastian Hengst
8abbab2bc7 Backed out changeset 4e174306e0b0 (bug 1381992) for e.g. failing chrome's mobile/android/components/extensions/test/mochitest/test_ext_activeTab_permission.html on Android. r=backout 2017-09-25 18:28:58 +02:00
Bob Silverberg
659e58f274 Bug 1381992 - Add some reader mode support to the tabs API, r=mixedpuppy
This adds two properties to the Tab object:

- isArticle indicates whether the document in the tab is likely able to be
  rendered in reader mode.
- isInReaderMode indicates if the document in the tab is being rendered in
  reader mode.

It also adds a toggleReaderMode() which toggles a tab into and out of reader mode.

There is also a new case in which tabs.onUpdated will fire. When the isArticle
status of a tab changes, an onUpdated event will fire with data {isArticle: boolean}.

MozReview-Commit-ID: AaAQ0V5qm2Z

--HG--
extra : rebase_source : 579fccb76358dc0d333409ed81669cf45576e67f
2017-09-08 17:00:27 -04:00
Axel Hecht
187284c8d1 bug 1402401, don't break builds on broken locales, r=stas
We added a return error value for compare-locales so that it
can be used in automated checks more easily. For builds, though,
ignore that return value.
Also, mach doesn't like utf-8 encoded output, so let's print
unicode.

MozReview-Commit-ID: L4lzqhBE0By

--HG--
extra : rebase_source : 3a9c612dc99b0f0417eb02c4d8478f1a2f245436
2017-09-24 14:09:08 +02:00
Alessio Placitelli
964e7afe94 Bug 1401611 - Add label constrains to the histograms documentation. r=chutten
MozReview-Commit-ID: HKGg8ToaJhu

--HG--
extra : rebase_source : 9c1a4be54caf39cb04dcd3a6d867c0f46bcc9494
2017-09-25 15:21:03 +02:00
Sebastian Hengst
937b5d72b8 merge mozilla-central to autoland. r=merge a=merge 2017-09-25 12:02:51 +02:00
Nicholas Nethercote
3aa25724fe Bug 1402255 - Change nsIBaseWindow::title from wstring to AString. r=janv.
Because nsAString is nicer to work with than char16_t*. The patch relatedly
changes nsIEmbeddingSiteWindow::title and nsIWindowMediator::updateWindowTitle
as well.

--HG--
extra : rebase_source : 0bf332dec3e09af6c39c676f8795b368768a6046
2017-09-25 13:10:51 +10:00
Thomas Nguyen
1b29ddae7a Bug 1401066 - Add poison canary to check for errors. r=francois
MozReview-Commit-ID: GpTDMR5Ni3e
2017-09-25 10:57:20 +08:00
Marco Bonardo
32f9f91e09 Bug 1402178 - Address bar title and urls get cropped at strange places when matches are reused. r=adw
MozReview-Commit-ID: 9chh6RiHu8n

--HG--
extra : rebase_source : 7c996f8b4cf82fca938207d3232b69e098b5466e
2017-09-22 18:33:30 +02:00
Amy Chung
42b1f8ef9a Bug 1360603 - Confirm the Throttleable flag on browser_saveImageURL.js. r=baku 2017-09-24 00:56:04 +08:00
Chris Peterson
b98afa1d19 Bug 870698 - Part 11: Replace Insert(NS_LITERAL_STRING("")) with InsertLiteral(u""). r=erahm
The NS_LITERAL_STRING macro creates a temporary nsLiteralString to encapsulate the char16_t string literal and its length, but AssignLiteral() can determine the char16_t string literal's length at compile-time without nsLiteralString.

MozReview-Commit-ID: L9UE3gXHG4Q

--HG--
extra : source : 37d74bf745b23542251cc6b021d6aabb5ffadea1
extra : intermediate-source : 0402b4bd34c293b44c76de22418899420c8e405b
2017-09-07 18:08:18 -07:00
Chris Peterson
5698729243 Bug 870698 - Part 10: Replace Append(NS_LITERAL_STRING("")) with AppendLiteral(u""). r=erahm
The NS_LITERAL_STRING macro creates a temporary nsLiteralString to encapsulate the char16_t string literal and its length, but AssignLiteral() can determine the char16_t string literal's length at compile-time without nsLiteralString.

MozReview-Commit-ID: H9I6vNDMdIr

--HG--
extra : rebase_source : cf537a1f65af003c6c4f8919b925b0f305c1dd4d
extra : source : 13b89ce4e6a66c840f82a335c71f5a12938aba22
2017-09-07 18:32:54 -07:00
Chris Peterson
1ca3d5aa46 Bug 870698 - Part 8: Replace Equals(NS_LITERAL_CSTRING("")) with EqualsLiteral(""). r=erahm
The NS_LITERAL_CSTRING macro creates a temporary nsLiteralCString to encapsulate the string literal and its length, but AssignLiteral() can determine the string literal's length at compile-time without nsLiteralCString.

MozReview-Commit-ID: B5Y8KyExPQ8

--HG--
extra : rebase_source : e27b266c145daa5acd887e998c6d5b408101e1db
extra : source : 33f49977a33cbdb1c7127871b940eefccc018f65
2017-09-06 15:00:31 -07:00
Chris Peterson
a6a56ed916 Bug 870698 - Part 6: Replace Append(NS_LITERAL_CSTRING("")) with AppendLiteral(""). r=erahm
The NS_LITERAL_CSTRING macro creates a temporary nsLiteralCString to encapsulate the string literal and its length, but AssignLiteral() can determine the string literal's length at compile-time without nsLiteralCString.

MozReview-Commit-ID: F750v6NN81s

--HG--
extra : rebase_source : 714dd78df0f4c33e23e5b117615bd8fd561674c5
extra : source : 742bda9e6b1ddaf34d09894204ad18ce798b79b7
2017-09-07 18:25:25 -07:00
Chris Peterson
47e9fa9ec2 Bug 870698 - Part 5: Replace Assign(NS_LITERAL_CSTRING("")) with AssignLiteral(""). r=erahm
The NS_LITERAL_CSTRING macro creates a temporary nsLiteralCString to encapsulate the string literal and its length, but AssignLiteral() can determine the string literal's length at compile-time without nsLiteralCString.

MozReview-Commit-ID: KXJM13VRTB7

--HG--
extra : rebase_source : 3e50b1b3f23248d668d15310554559c39ff792f7
extra : source : 74f5e05877d50a79ec1e5330c227d2ce576a2d90
2017-09-06 01:35:56 -07:00
Chris Peterson
a0c8081df4 Bug 870698 - Part 4: Replace Equals("") with EqualsLiteral(""). r=erahm
MozReview-Commit-ID: G1GhyvD29WK

--HG--
extra : rebase_source : 115842c37a40041bdca7b4e1ff0a5680b02ced15
extra : source : 90bfff9c01d80086cdc17637f310e898fea295ea
2017-09-06 01:13:45 -07:00
Chris Peterson
45aa2a8e8e Bug 870698 - Part 2: Replace Append("") with AppendLiteral(""). r=erahm
MozReview-Commit-ID: CrkIP4iHP1U

--HG--
extra : rebase_source : 5dc4e91a3f1860773c199f1abf3f66479218834a
extra : intermediate-source : ba51cc79847f2b43ba616f4a5d2bbc6958ca9f6d
extra : source : 1fda2fa990cc918c748ffa14fcc5dbe13fe3bdc3
2017-09-03 22:14:11 -07:00
Chris Peterson
9f4c1f5278 Bug 870698 - Part 1: Replace Assign("") with AssignLiteral(""). r=erahm
MozReview-Commit-ID: A0u9PP49OW3

--HG--
extra : rebase_source : 7d5286959f510eb4b7df1b7e32d5b9b58719c48b
extra : intermediate-source : f552b4a78236c42bc09030b3eb008725a3edb9c8
extra : source : 26ac4a1014f6661a70e3bf9f552407e12c2c3981
2017-09-03 22:12:56 -07:00
Sebastian Hengst
c0dac760d3 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: It9WfByQfV3
2017-09-23 11:38:06 +02:00
Nils Ohlmeier [:drno]
093afd78ca Bug 1402221: add Telemetry probe to find out rtcp-mux usage. r=bwc,francois
MozReview-Commit-ID: 1XmPbpSmAb1

--HG--
extra : rebase_source : b3ad189b8eec13ce1b75873c36008d371b10797c
2017-09-22 00:09:52 -07:00
Matthew Noorenberghe
e522b6fb84 Bug 1402210 - Add payment UI documentation and do minor code cleanup. r=marcosc
MozReview-Commit-ID: Cpn5mKcEZGo

--HG--
extra : rebase_source : d65efac187f631e0097c300bf0e8fa6f9a78c540
2017-09-21 21:35:24 -07:00
Wes Kocher
528cd7a92c Merge m-c to autoland, a=merge
MozReview-Commit-ID: BelD7GUGNq6
2017-09-22 15:31:06 -07:00
Wes Kocher
43fdbce8a0 Backed out 4 changesets (bug 1348981) for addon related xpcshell failures a=backout
Backed out changeset af30bdde5572 (bug 1348981)
Backed out changeset dc6f6f59da82 (bug 1348981)
Backed out changeset b5149335d9ed (bug 1348981)
Backed out changeset a943c88d0dd5 (bug 1348981)

MozReview-Commit-ID: GIWRb1mY7wJ
2017-09-22 15:27:49 -07:00
Wes Kocher
1443004d66 Merge inbound to central, a=merge
MozReview-Commit-ID: 2MDU9VGB9Pg
2017-09-22 14:56:05 -07:00
Kartikaya Gupta
b105ada68d Bug 1402304 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: 3WHcJZG6FTf

--HG--
extra : rebase_source : f619f499997ec079686c580d5125cdd536174400
2017-09-22 09:58:21 -04:00
Kartikaya Gupta
d8cf6bb966 Bug 1401244 - Update Cargo lockfiles. r=jrmuizel
MozReview-Commit-ID: mC8ALdQ06F

--HG--
extra : rebase_source : d26c354ab7da96a00a49e7c70034764b9d80ef35
2017-09-22 08:54:01 -04:00
Dão Gottwald
266725f895 Bug 1387609 - Use --toolbarbutton-icon-fill-opacity for the tab close button. r=nhnt11
MozReview-Commit-ID: GGyh4KkPZYp

--HG--
extra : rebase_source : a0122c14d25d11601667bdd2b08cc34a6e25b29b
2017-09-21 15:16:05 +02:00
Nicholas Nethercote
e3c9cbb969 Bug 1401813 - Rename Null[C]String() as Void[C]String(). r=erahm.
XPCOM's string API doesn't have the notion of a "null string". But it does have
the notion of a "void string" (or "voided string"), and that's what these
functions are returning. So the names should reflect that.

--HG--
extra : rebase_source : 4e3f982e0873877174a08a25413595ff66f7d20e
2017-09-22 14:35:46 +10:00
Phil Ringnalda
9728bc3636 Merge m-c to m-i
MozReview-Commit-ID: LQmIsTRxble
2017-09-21 20:49:43 -07:00
Andrea Marchesini
b7cd7c515d Bug 1047098 - "Clear Recent History" must clean up all the ServiceWorkers, r=bkelly
This includes minor shutdown fixes by :asuth as discussed on
https://bugzilla.mozilla.org/show_bug.cgi?id=1047098#c56 and c57.

--HG--
extra : rebase_source : d1a230cc005b2a6a71f16ef84a55851ee2f4f66e
extra : source : e89d2565799b4b02d5ee2c56da8d44dc0067f26a
2017-09-21 21:32:00 +02:00
Wes Kocher
733c3896f8 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 9mZaPGxxjXd
2017-09-21 17:04:03 -07:00
Wes Kocher
a7fe048680 Merge inbound to central, a=merge
MozReview-Commit-ID: E7k4xViLm4V
2017-09-21 17:03:29 -07:00
Sebastian Hengst
51d0835ce7 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-21 17:30:38 +02:00
Sebastian Hengst
15ce5cb2db Backed out changeset 4dab43248f15 (bug 1372823) for crashing GTest on Windows 10 x64 debug. r=backout
MozReview-Commit-ID: 1u7TFtv6Mdv
2017-09-21 17:27:32 +02:00
Sebastian Hengst
7eec7a0a11 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: mr7OYuaLKE
2017-09-21 15:23:43 +02:00
Sebastian Hengst
f392283bc7 Backed out changeset 8a513ab0c112 (bug 1370613) for date format. r=backout 2017-09-21 13:22:30 +02:00
Bob Owen
6e55dc3260 Bug 1372823: Extend BaseThreadInitThunk thread start address verification to 64-bit. r=dmajor 2017-09-21 09:31:07 +01:00
Dragana Damjanovic
1210a1f081 Bug 1401509 - Extend the TLS early-data telemetry. r=mcmanus 2017-09-21 10:04:24 +02:00
Ehsan Akhgari
0fb1cff259 Bug 1370613 follow-up: Switch the chapter number of the Book of Mozilla back to 14:11 2017-09-20 23:31:02 -04:00
Seburo
86f06ce9a0 Bug 1370613 - Update Book of Mozilla passage; r=ehsan 2017-09-20 23:05:07 -04:00
Wes Kocher
5d514ba8e9 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 2XyrMOdIWok
2017-09-20 17:39:08 -07:00
Wes Kocher
a6b8d9e91b Merge inbound to central, a=merge
MozReview-Commit-ID: JpqY5uEi1nf
2017-09-20 17:18:21 -07:00
Kershaw Chang
3ccf2143f7 Bug 1247843 - Part 2: Set request context ID for the channel used to load favicon. r=mak
This patch covers two cases when loading a favicon:
1. Get the request context ID of the document load group, when <link rel="icon"> is found in the page.
2. Use the top level document's request context ID when using the default favicon.
2017-09-20 20:09:00 -04:00
Kershaw Chang
56cdc97487 Bug 1247843 - Part 1: Add new property - contentRequestContextID. r=mconley, r=hurley 2017-09-20 20:08:00 -04:00
Michael Layzell
eb8ee79616 Bug 1401685 - Don't skip sending BHR ping if it is empty, r=froydnj 2017-09-20 17:07:02 -04:00
Mark Striemer
7b86e8200b Bug 1400379 - Crop category labels in about: pages r=rhelmer
MozReview-Commit-ID: JJ50aIIWbSI

--HG--
extra : rebase_source : 618a7786f8747b3993a621d13b2a46b24ccd0810
2017-09-19 22:24:24 -05:00
Mark Striemer
1c50c67333 Bug 1400379 - Backed out changeset e0fe9ab6917b r=rhelmer
MozReview-Commit-ID: 891WMgch0A3

--HG--
extra : rebase_source : 311a2c0df7f6282f8af9e1d955d2257d284b822d
2017-09-19 22:23:49 -05:00
Rob Wu
0b80fc3ee8 Bug 1401511 - Don't mutate return value of FindProxyForURL r=mixedpuppy
MozReview-Commit-ID: 38A1Afzvfqd

--HG--
extra : rebase_source : 0f2da231e3c54cffeed560098961d2e6756a2fb9
2017-09-20 14:47:15 +02:00
Jonathan Guillotte-Blouin
bb5119d167 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 : 6ebcb9811099cfdedb670e990451e8b844dd7d24
2017-09-21 13:49:41 -07:00