Commit Graph

6659 Commits

Author SHA1 Message Date
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Gurzau Raul
476c3b3a55 Merge inbound to mozilla-central. a=merge 2018-02-06 23:53:56 +02:00
Timothy Guan-tin Chien
2784227358 Bug 1429464 - Remove toolbox binding r=Gijs
- Move -moz-appearance: toolbox to xul.css.
- Remove the markup that initialize the palette field to null,
  effectively initialize the value to undefined, which is still
  falsey. The toolbar binding remains responsible for initializing
  the toolbox's palette property with an actual DOM node.

MozReview-Commit-ID: 7X6JAn79P3k

--HG--
extra : rebase_source : f89770670d0a5594e90347e32ee85c484826852a
2018-02-05 16:28:49 +08:00
vprabhu
1f478abc6c Bug 1434299 - Changed href to refer to '#' to display "finger pointer" over the "enabled" link in about:telemetry. r=chutten
MozReview-Commit-ID: FPaZfwNhPfP

--HG--
extra : rebase_source : 22c2cddc32d0c42607ced293048813862afdce5f
2018-02-06 14:53:30 +05:30
Narcis Beleuzu
84cea84b12 Merge inbound to mozilla-central. a=merge 2018-02-06 11:54:42 +02:00
Michael Froman
b15f168038 Bug 1409868 - include date in about:webrtc session labels. r=ng
MozReview-Commit-ID: 3f8dXaWQzE

--HG--
extra : rebase_source : e55e35926976b791c4ce74be882f4c0435b19ecf
2018-02-05 14:46:22 -06:00
Jeremy Lempereur
6a5db0ee6c Bug 1434614 - about:telemetry Allow to navigate the archive with keyboard arrows, r=chutten
The about:telemetry archived ping data selector now handles the Ping Type correctly when navigating with keyboard arrows.

MozReview-Commit-ID: ZRNIlgQNzJ

--HG--
extra : rebase_source : 9967b44b695686c23d0dc61c0fb9ac113c2907a1
2018-02-03 16:05:04 +01:00
Jan Henning
9c467e7e8d Bug 1392996 - Part 1 - Add meta viewport tag to view-source document. r=hsivonen
Adding <meta name="viewport" content="width=device-width"/> to the view-source
document achieves two things when used in a mobile browser, such as Fennec:
1. When word-wrapping is turned off, the page displays at a more readable
   initial zoom level.
2. As of now, font inflation (when enabled) kicks in on the document when word-
   wrapping is turned on, which leads to the line numbers appearing in a
   noticeably smaller font size than the rest of the page.
   Adding the above meta viewport header marks the document as "mobile-friendly"
   and suppresses font inflation, which means that line numbers will appear
   normally even with word-wrapping enabled.

getMathMLSelection() in browser-content.js isn't actually used in Fennec at the
moment, but for consistency we add the meta viewport tag there as well.

MozReview-Commit-ID: K9KVHh7g7TF

--HG--
extra : rebase_source : 1054f712f5420efcd89daeaa2c8c200129544b2a
2018-01-23 22:25:09 +01:00
Michael Froman
38bdfba7a2 Bug 1414171 - pt 2 - Sort ICE stats by componentId on about:webrtc. r=drno
- add new component_id field to NrIceCandidatePair
- add the candidate pair component_id to RTCIceCandidatePairStats in
  RecordIceStats_s
- add new column in ice stats table for component id
- sort ice stats by component id first


MozReview-Commit-ID: J89ZIYEUyRk

--HG--
extra : rebase_source : 681a5afa1303b4e377fcc14d099ce0b3d852f22c
2018-01-30 22:23:54 -06:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Boris Zbarsky
7a9f022f1a Bug 1434819 part 7. Remove the SHOW_* constants from nsIDOMNodeFilter. r=qdot
MozReview-Commit-ID: 7E2KZkLfbSI
2018-02-01 14:26:12 -05:00
Paolo Amadini
c5d2e41158 Bug 1427350 - Part 2 - Rename _matchCount to matchCount. r=mak
MozReview-Commit-ID: 2oo0Nxp3Qot

--HG--
extra : source : ec3db0f4e8568dc84043dc375cd475049e804159
2018-02-04 15:00:58 +00:00
Paolo Amadini
c8f76a4aa0 Bug 1427350 - Part 1 - Use "autocomplete-rich-result-popup" instead of "autocomplete-result-popup" for the search bar. r=mak
MozReview-Commit-ID: AO926Wmhkbm

--HG--
extra : source : c16a5935dcadd320f54f5989d9f93f8710444b29
2018-02-04 15:00:48 +00:00
Eugen Sawin
829f2f0c99 Bug 1423229 - [1.3] Enable nsIClassifiedChannel interface in onSecurityChange callbacks. r=mconley 2018-02-05 22:10:34 +01:00
Andreea Pavel
5cb4690609 Backed out 6 changesets (bug 1423229) for failing browser chrome at browser/base/content/test/siteIdentity/browser_bug1045809.js and firefox functional at testing/firefox-ui/tests/functional/security/test_mixed_script_content_blocking.py TestMixedScriptContentBlocking.test_mixed_content_page and mochitest devtools at devtools/client/webconsole/test/browser_webconsole_block_mixedcontent_securityerrors.js on a CLOSED TREE
Backed out changeset 2ee49f44e617 (bug 1423229)
Backed out changeset 30d1575f5b16 (bug 1423229)
Backed out changeset 39d76cb8c73e (bug 1423229)
Backed out changeset 8ff1f049ac96 (bug 1423229)
Backed out changeset c86887b7f327 (bug 1423229)
Backed out changeset 5417194f3778 (bug 1423229)
2018-02-03 01:12:45 +02:00
Ciure Andrei
6c09be0569 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-03 00:15:11 +02:00
Eugen Sawin
1f928adad2 Bug 1423229 - [1.1] Enable nsIClassifiedChannel interface in onSecurityChange callbacks. r=mconley 2018-02-02 22:36:08 +01:00
shindli
8bf605352e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-01 00:38:55 +02:00
Boris Zbarsky
2c472fbf65 Bug 1434399 part 12. Remove JS uses of nsIDOMXULDocument. r=mystor
MozReview-Commit-ID: HUK8ahBwG0e
2018-01-31 14:49:28 -05:00
Cosmin Sabou
94617f91cf Backed out 19 changesets (bug 1434399) for build bustages on nsXULPopupManager.cpp on a CLOSED TREE
Backed out changeset 499f6dffd9cb (bug 1434399)
Backed out changeset 018290612415 (bug 1434399)
Backed out changeset f4c3179f8e59 (bug 1434399)
Backed out changeset f3ce2826b857 (bug 1434399)
Backed out changeset 6d2391af01dd (bug 1434399)
Backed out changeset dc98ed8c609a (bug 1434399)
Backed out changeset 8eaa395d6200 (bug 1434399)
Backed out changeset 19b18f4a53be (bug 1434399)
Backed out changeset 8ff378a6e96a (bug 1434399)
Backed out changeset 60fe73be1a26 (bug 1434399)
Backed out changeset faefb2751fdc (bug 1434399)
Backed out changeset 55cdf8b3a959 (bug 1434399)
Backed out changeset b578cc8efb92 (bug 1434399)
Backed out changeset 54cc4cb2fca1 (bug 1434399)
Backed out changeset f5343ef34d6c (bug 1434399)
Backed out changeset 8fb30e066cbd (bug 1434399)
Backed out changeset 21341b656b0f (bug 1434399)
Backed out changeset fab1f8b087a2 (bug 1434399)
Backed out changeset 55250a54852a (bug 1434399)
2018-01-31 22:45:26 +02:00
Boris Zbarsky
05b8447eb6 Bug 1434399 part 12. Remove JS uses of nsIDOMXULDocument. r=mystor
MozReview-Commit-ID: HUK8ahBwG0e
2018-01-31 14:49:28 -05:00
Jeremy Lempereur
d8d9f7c8da Bug 1432871 - about:telemetry - Fix selected option comparison in the Histograms section r=chutten
Followup on the previous commit, the same pattern occured in the Histograms section.

MozReview-Commit-ID: 41SiI1nBLSm

--HG--
extra : rebase_source : 2e642658c5721cab41f25c4a6c81f38390badef7
2018-01-31 15:08:31 +01:00
Jeremy Lempereur
4956f5e043 Bug 1432871 - about:telemetry - showing the Keyed Histograms category. r=chutten
The "Keyed Histograms" category didn't alway have the "has-data" class although there were some data to display. "option" was compared to a string but it's a dom element, so its value should be compared instead.

MozReview-Commit-ID: 3eC0UPpJaNJ

--HG--
extra : rebase_source : 84e87676959008c4f884d171788682506ac11804
2018-01-29 21:52:54 +01:00
Kris Maglione
19a956c2c6 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
extra : amend_source : 09a90b29837e339eec7bdf8504f86c28e74ca3dd
extra : intermediate-source : a1eca62826a1341ca24d4d2a93d4884d4fc7ad51
extra : histedit_source : eb26e73b531f9a34d3401d39f60b533b27b78540
2018-01-18 16:27:26 -08:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
e050496c59 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
extra : amend_source : d0515fe4eb13b59cc490ca9d964ad9ee15ef3cd3
extra : intermediate-source : 6e56f4c8843ed134b2dba34fb007298fd55be966
extra : histedit_source : 88abf9f4ea4e740a9391278625ef07395205c3f5%2Cc14bc7a71eb413fcb573ed0d030fd7f99a1468f0
2018-01-18 16:27:26 -08:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
e70d01a9e9 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : rebase_source : 6286dcfd1a7c970272ac6befaccd3e47e90d2f6b
extra : intermediate-source : d48657228a0b84cf3a37a35227ca3b3d0bd2a017
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
2018-01-18 16:27:26 -08:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Brian Grinstead
a35b976252 Bug 1424095 - Use display: block on iframes in XUL flexbox emulation mode;r=Gijs
With emulated flex display we wrap inline-level children into anonymous
wrapper-blocks, and those wrapper blocks serve as the flex items. Using
display: block and then resetting the hardcoded width/height does the trick.

MozReview-Commit-ID: Grh1KsSmngP

--HG--
extra : rebase_source : d0792b19387e50d7c70a50a741c060655d4a3669
2018-01-25 15:09:23 -08:00
Brian Grinstead
7748a17ff2 Bug 1424095 - Tweak frontend CSS to play nicely in XUL flexbox emulation mode;r=Gijs
There are still known issues with the browser chrome when emulating, but this changeset is
done in service of getting the UI to be close enough to start running Talos tests against
it in Bug 1425330.

MozReview-Commit-ID: B0w1aOmi4FJ

--HG--
extra : rebase_source : e8b13f9203f0e368fb6f36bc9d2059fff7061b54
2018-01-04 10:25:30 -08:00
Kris Maglione
b3cac601f6 Bug 1432966: Sanitize HTML fragments created for chrome-privileged documents. r=bz f=gijs
This is a short-term solution to our inability to apply CSP to
chrome-privileged documents.

Ideally, we should be preventing all inline script execution in
chrome-privileged documents, since the reprecussions of XSS in chrome
documents are much worse than in content documents. Unfortunately, that's not
possible in the near term because a) we don't support CSP in system principal
documents at all, and b) we rely heavily on inline JS in our static XUL.

This stop-gap solution at least prevents some of the most common vectors of
XSS attack, by automatically sanitizing any HTML fragment created for a
chrome-privileged document.

MozReview-Commit-ID: 5w17celRFr

--HG--
extra : rebase_source : 1c0a1448a06d5b65e548d9f5362d06cc6d865dbe
extra : amend_source : 7184593019f238b86fd1e261941d8e8286fa4006
2018-01-24 14:56:48 -08:00
Kris Maglione
aec63e140c Backed out 3 changesets (bug 1431533) for Android mochitest bustage. CLOSED TREE
MozReview-Commit-ID: 5ubE9EMQpZ9

--HG--
extra : histedit_source : df68d7595925c07d9d6e8bacc2c46e69556f479a%2C72b768b9825e20ede6603ead75f871c50dc041f7
2018-01-24 22:04:59 -08:00
Kris Maglione
b1f8945974 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : rebase_source : e6325fc83bd2fef811a4f1e97634ce5d32eddc9c
extra : absorb_source : 64645bed5d58034f4240ce4cd9eb932739c0c63d
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
extra : histedit_source : 81a28bce375dd35da39c8a27b15cbf49c971c454
2018-01-18 16:27:26 -08:00
Kris Maglione
30b3a49bfd Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
MozReview-Commit-ID: 8V1ZT53ReiP

--HG--
extra : rebase_source : 12b5f8c3e125111db7382eb3d7d20a99fb2c35b3
extra : absorb_source : e99fa7f6eee02e7e6cadeb898c7fcf6dac9c902a
extra : histedit_source : d0dfc31fadc2b81d341c9d0cd1efec02923c003b
2018-01-24 15:48:47 -08:00
Cosmin Sabou
6cfb14fd97 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-01-25 00:07:47 +02:00
Narcis Beleuzu
9279994eae Merge inbound to mozilla-central. a=merge 2018-01-24 23:56:14 +02:00
Ryan Hunt
27c33e0bdf Add tiling and paint worker count information to about:support. (bug 1432516, r=milan)
--HG--
extra : rebase_source : f2ce10a284f53b21ce5eb94f039808ec92f40685
extra : histedit_source : d3bbb62e946fe32f601cc7753513d2d30f2aa294
2018-01-23 15:52:13 -06:00
Brian Grinstead
0cdec62954 Bug 1420229 - Create a new components.css file and load it as a UA stylesheet;r=bz,Gijs
This provides a place for current XBL stylesheets to be loaded without using XBL <resources>,
that load as a UA sheet instead of loading them as document sheets. This makes the styles
apply more similarly to XBL, in that they are less specific than document styles.

MozReview-Commit-ID: 3ewomJZMbrk

--HG--
extra : rebase_source : 8d8d837872947daa8f601e7d32de118655dabdde
2017-11-30 12:39:28 -08:00
Dorel Luca
e3cba77cee Backed out changeset 5eba8dcac2bb (bug 1373055) for causing bug 1430466 2018-01-23 19:49:57 +02:00
Tim Nguyen
34bbf454ae Bug 1429625 - Remove decimal places handling and unused methods from numberbox binding. r=Paolo
MozReview-Commit-ID: 7KTqAD0BYr5

--HG--
extra : rebase_source : 800f7f1727ebc58f5354b5d549c3b8de465e039a
2018-01-23 12:32:37 +00:00
Ethan Grace-Platow
5bdb87edca Bug 1419935 - Removed the unused menulist-description binding r=bgrins
--HG--
extra : rebase_source : 26d21a98c51a1c74a8e2371c2b47e4c1a92151d4
2018-01-23 22:28:53 -08:00
Bas Schouten
3143ad47f1 Bug 1429623: Report tracing events and thread registration to VTune when --enable-vtune is enabled. r=mstange r=ted
MozReview-Commit-ID: I47OIX16ibf
2018-01-19 17:19:29 +01:00
Zack Noyes, William Loughton
d673a75c4b Bug 1419932 - Remove unused menu-vertical binding in toolbarbutton. r=bgrins 2018-01-23 10:24:12 +11:00
Arjun Krishna Babu
de79ca977a Bug 1373055 - Unload crashed background tabs instead of flipping their remoteness and sending them to about:blank; r=mconley
When background tabs crash, they were being replaced by about:blank tab
hosted in parent process.

Now that there is a mechanism for lazily creating browsers, discarding the
crashed background browser until they are selected is a cheaper operation
(compared to creating about:blank).

Certain test cases were also updated to take into account the new scenario.

MozReview-Commit-ID: AaOivEoTOvU

--HG--
extra : rebase_source : 407ec73ac5ce39906f2e3e0c6f99c8313b544dad
2017-12-08 18:08:34 -07:00
Adrian Wielgosik
894770df60 Bug 480813 - remove first-tab, last-tab, before/afterselected tab attributes. r=dao
MozReview-Commit-ID: DKOw73J1rmS

--HG--
extra : rebase_source : 9bf382b2a70fa1feeb9e1cc3dff912bd332552dc
2018-01-19 20:41:16 +01:00
Johann Hofmann
8df754422d Bug 1431374 - Remove extra white space in permission prompt labels. r=flod,prathiksha
MozReview-Commit-ID: KgiC1An62l9
2018-01-18 12:56:23 +01:00
Mark Striemer
dfeadd0311 Bug 1431320 - Add support for label back to popupnotification r=johannh
Bug 1369482 originally replaced label with startlabel,hostname,endlabel. This
updates it to replace label with label,hostname,endlabel which should be
backwards compatible.

MozReview-Commit-ID: 3Aj66eaT5ER

--HG--
extra : rebase_source : abf3520015665d772ac2163d593433ac386d877b
2018-01-17 16:05:15 -06:00