Commit graph

98 commits

Author SHA1 Message Date
Christoph Kerschbaumer
25caec9ca2 Bug 1463663 - Prefix exported functions of the RemotePageManager with RPM. r=mossop 2018-06-27 09:08:32 +02:00
Christoph Kerschbaumer
2c105d2ff5 Bug 1459204: Have about:privatebrowsing rely on RemotePageManager instead of AboutCapabilities. r=mossop,baku 2018-06-07 11:32:27 +02:00
Dão Gottwald
e71fb1aa39 Bug 1448482 - Remove <title> element from about:privatebrowsing since tabbrowser already sets the title. r=Gijs
MozReview-Commit-ID: 7oQrfiK0FRa

--HG--
extra : rebase_source : dcaeae1f53682531709bd8333cdf38a0a7e21298
2018-03-27 23:34:23 +02:00
Margareta Eliza Balazs
b33efac796 Backed out changeset 49867cc4dcc2 (bug 1448482) for ss failures in browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE 2018-03-27 20:13:36 +03:00
Dão Gottwald
08516a61ad Bug 1448482 - Remove <title> element from about:privatebrowsing since tabbrowser already sets the title. r=Gijs
MozReview-Commit-ID: 3VcK126FfWX

--HG--
extra : rebase_source : f06592918693f9eefbb7214e7232c8066be63740
2018-03-23 22:30:11 +01:00
Gijs Kruitbosch
9525b90d38 Bug 1427186 - stop ever showing 'new tab' as a title for about:privatebrowsing in private windows, r=dao
There are 3 issues here:
- the runtime changing of the title causes issues where the content title is
  not set. This is fixed by setting it to the private title by default;
  there is very little (if any) UI that allows users to even open
  about:privatebrowsing in 'normal' windows so we care a lot less about
  flicker there. To be able to include this title in the markup, we switched
  to a dtd.
- the 'empty tab' title we set on the tab initially is set when the tab is
  created. This has been updated to check for private windows, and default to
  'Private Browsing' instead. This will obviously also affect other new tabs
  in private browsing, but that seems desirable/consistent.
- Likewise, we use this title when updating a tab's title that we don't yet
  have a content title for (which can still happen while about:privatebrowsing
  is loading because e10s), and so that is updated, too.

MozReview-Commit-ID: nVfXD2M6UZ

--HG--
extra : rebase_source : e5a698da70f215d8c7ccca242fbddc0fcaf9bf6b
2018-03-07 20:13:54 +00:00
Gurzau Raul
a0c6a9fd08 Backed out changeset 4e5253710464 (bug 1427186) for failing ss tests on /mozscreenshots/primaryUI/browser_primaryUI.js and for failing bc tests on /privatebrowsing/test/browser/browser_privatebrowsing_windowtitle.js on a CLOSED TREE 2018-03-09 01:52:11 +02:00
Gijs Kruitbosch
10af740779 Bug 1427186 - stop ever showing 'new tab' as a title for about:privatebrowsing in private windows, r=dao
There are 3 issues here:
- the runtime changing of the title causes issues where the content title is
  not set. This is fixed by setting it to the private title by default;
  there is very little (if any) UI that allows users to even open
  about:privatebrowsing in 'normal' windows so we care a lot less about
  flicker there. To be able to include this title in the markup, we switched
  to a dtd.
- the 'empty tab' title we set on the tab initially is set when the tab is
  created. This has been updated to check for private windows, and default to
  'Private Browsing' instead. This will obviously also affect other new tabs
  in private browsing, but that seems desirable/consistent.
- Likewise, we use this title when updating a tab's title that we don't yet
  have a content title for (which can still happen while about:privatebrowsing
  is loading because e10s), and so that is updated, too.

MozReview-Commit-ID: nVfXD2M6UZ

--HG--
extra : rebase_source : 8bd41f1581213b77e1fabced7fc4021ab4cf4d17
2018-03-07 20:13:54 +00:00
Christoph Kerschbaumer
d0bbab23a2 Bug 1430751 - Apply unified behavior model for about: pages to about:privatebrowsing. r=gijs,mrbkap 2018-03-05 09:20:34 +01:00
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
Johann Hofmann
1d4089aa10 Bug 1434922 - Set a favicon for about:privatebrowsing. r=florian
This was initially removed when we added support for setting the favicon
ahead of parsing the page for newtab-like pages. Turns out we need it in
some scenarios, such as navigating back and forth or duplicating the tab.

MozReview-Commit-ID: HuMeEnqpLLB

--HG--
extra : rebase_source : 05745b3e4b911407875fc50e5a9a3f1a67fbafd5
2018-02-04 11:52:23 +01: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
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
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
Johann Hofmann
9006d66671 Bug 1422903 - Prevent about:privatebrowsing favicon from flickering. r=florian
We apply a custom workaround to show about:home and about:newtab favicons
as early as possible for perceived performance, but didn't previously consider
the about:privatebrowsing page (which can act as both about:home and about:newtab).

MozReview-Commit-ID: gPiV08h0j0

--HG--
extra : rebase_source : 12a6ed0973013ed68e783ca3d39a9492c5185411
2017-12-13 05:55:10 -06:00
Mark Banner
42cb2dc6a3 Bug 1230373 - Enable mozilla/use-services for browser/components/ r=mossop
MozReview-Commit-ID: 9m9iss3jUJJ

--HG--
extra : rebase_source : e6a6f9dec168ab1d0e0343236db65f3dd1b44aeb
2017-10-11 15:43:51 +01:00
Dão Gottwald
c692f271f7 Bug 1361986 - Update the about:privatebrowsing design for photon. r=johannh
MozReview-Commit-ID: 8czyGdaoyLI

--HG--
extra : rebase_source : 37dc762b1d6781fe6079ea394e6e736ca566231a
2017-05-04 17:02:02 +02:00
Jared Wein
a54eda04ca Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.

MozReview-Commit-ID: ANyg2qfo3Qx

--HG--
extra : rebase_source : 61d2aa91bf9474af3d72a5dea41b25dca442c1b7
2017-03-21 14:29:43 -04:00
Mark Banner
d74b9431a6 Bug 1311345 - Enable eslint of browser/components/privatebrowsing/ - Automatically fixed changes by eslint. r=jaws
MozReview-Commit-ID: 2rmHK5vkpt1

--HG--
extra : rebase_source : d29a70e4adc9572bca8f425760ed0bf30a5188a4
2017-02-28 12:44:14 +00:00
Masatoshi Kimura
7be7b11a1c Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Ricky Chien
face48836d Bug 1317438 - Remove unnecessary whitespaces in about:privatebrowsing r=flod,Tomcat
MozReview-Commit-ID: 6PA3GXzAPah

--HG--
extra : rebase_source : e63b29c7d168c2bc4b46323f4c9bb92c1d74fb4b
2016-11-15 17:03:59 +08:00
Ricky Chien
bc20d8239b Bug 1269485 - Improve New Private Browsing start-page background styles r=Gijs
MozReview-Commit-ID: 6gju3cfipJ3

--HG--
extra : transplant_source : %AC%E3bd%AA%20Ua%C4%BD%A2Xx%12%CA%26%97%E7%07%B8
2016-05-04 17:05:50 +08:00
Gijs Kruitbosch
bb5204b3fa Bug 1270496 - tracking protection switch on about:privatebrowsing should also affect the actual setting when using <space> to toggle it, r=jaws
MozReview-Commit-ID: 51bf9AT9eh9

--HG--
extra : rebase_source : 01abaa53ce46878b1015bec57c9173dad7d8d136
2016-05-05 16:28:28 +01:00
Ricky Chien
57bb17bcf4 Bug 1267434 - Unnecessary whitespace displayed in about:privatebrowing; r=Gijs
MozReview-Commit-ID: DubHFct2gQW

--HG--
extra : rebase_source : b75ed7c6c2727b085f27a8bcbb0534ce572d9a79
extra : amend_source : 69d7057cbc7a2132abc289cb3a27d1fb38087866
2016-04-27 13:08:05 +08:00
Ricky Chien
bdb9281e48 Bug 1259340 - New Private Browsing Window Update. r=past,Gijs
MozReview-Commit-ID: 5NbLribECvC
2016-04-24 16:01:45 +03:00
Paolo Amadini
80cafb07ab Bug 1236231 - Make sure the Tracking Protection tour doorhanger is not shown when the tour starts from about:privatebrowsing. r=past
--HG--
extra : commitid : fwfrZp33lp
extra : rebase_source : 5637764c31d2c0285501877b9302300ce8e7f8ed
2016-01-11 14:40:31 +00:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Paolo Amadini
ea335f452b Bug 1200661 - Fix position of ticks and mask in about:privatebrowsing for RTL locales. r=ttaubert
--HG--
extra : commitid : 1SmUZ2j98Aq
extra : rebase_source : d1af1caa384d401e30df24b25b6119a530d139d6
2015-09-03 13:54:57 +01:00
Paolo Amadini
77ea49ac86 Bug 1199168 - Use "Not Saved" and "Saved" headers in about:privatebrowsing. r=bgrins
--HG--
extra : commitid : C5TC2tinaAS
extra : rebase_source : e09e48bed27cf0ae6c310882b009f4e6f5eb997f
2015-08-27 12:01:34 +01:00
Paolo Amadini
d7ff28539d Bug 1198287 - New widths for the two sections of about:privatebrowsing. r=bgrins
--HG--
extra : commitid : ACFT3LMfeEg
extra : rebase_source : 4db3401266dfaf17f237048347e3d929d0c9cecb
extra : amend_source : 50a095a62f1857391e40d129c32afdf3e2b27e9a
2015-08-27 10:50:30 +01:00
Paolo Amadini
f429a16600 Bug 1198286 - Visual adjustments to about:privatebrowsing. r=bgrins
--HG--
extra : commitid : IzEbxIoff8H
extra : rebase_source : 8e0cb53b2bca67557ea05d54eecd0c3c84364de1
2015-08-25 15:48:34 +01:00
Ryan VanderMeulen
9fa88d03a9 Merge m-c to inbound. a=merge 2015-08-24 21:04:12 -04:00
Francois Marier
6ce32f63b0 Bug 1196017 - Deal with TP turned on globally in about:privatebrowsing. r=paolo 2015-08-24 16:10:14 -07:00
Gijs Kruitbosch
7c68e5a8a5 Bug 1197764 - stop preprocessing CSS for about:privatebrowsing, r=jaws
--HG--
extra : commitid : TPng65n99D
extra : rebase_source : 314ba0852addde33f6c4779c040493efe09c326d
2015-08-24 12:21:16 +01:00
Paolo Amadini
770e6aab20 Backed out changeset d334d7d67fa0 (bug 1189704)
--HG--
extra : commitid : 5eCxfwEzHUu
2015-08-18 11:49:56 +01:00
Paolo Amadini
414dbc0f20 Bug 1189704 - Fix shield icon animation margins and handle the right-to-left direction. r=bgrins
--HG--
extra : commitid : Ew4cmAV6D9
extra : rebase_source : d801965d3d1f9a58c66e5d5b7815c5a32d5377ac
2015-08-17 14:05:29 +01:00
Jared Wein
f5ab18ad43 Bug 1193806 - Remove hardcoded fonts in about:privatebrowsing. r=Gijs
--HG--
extra : commitid : 6oKaYXZvI4Y
extra : rebase_source : f4954ca772e02701f40661cde3eedafd3d632407
2015-08-12 08:57:00 -07:00
Paolo Amadini
1febd7e183 Bug 1192621 - Update identifiers for intermediate strings of about:privatebrowsing that got merged to mozilla-central. r=tchevalier
--HG--
extra : commitid : 7wPDYTQiOTb
extra : rebase_source : db31ea869892abd56c58f84858d6cda2b6b21f44
2015-08-09 15:34:34 +01:00
Brian Grinstead
bd88c25362 Bug 1192576 - Update string entity name for trackingProtection.startTour;r=tchevalier
--HG--
extra : commitid : BcpozxNabFS
2015-08-08 19:03:47 -07:00
Panos Astithas
3489041d98 Bug 1175606 - Enable Tracking Protection by default in Private Browsing Mode;r=ttaubert
--HG--
extra : commitid : IM75vVo386o
2015-08-08 00:33:05 +01:00
Phil Ringnalda
6049e2de48 Back out 023218047be5 (bug 1175606) for depending on the backed out bug 1192416
--HG--
extra : rebase_source : c90c29c87635e2dacec38fca5af0ea9571989f5e
2015-08-07 22:06:51 -07:00
Panos Astithas
c8943a4fdc Bug 1175606 - Enable Tracking Protection by default in Private Browsing Mode;r=ttaubert
--HG--
extra : commitid : JpaUoMxt3ia
2015-08-08 00:33:05 +01:00
Paolo Amadini
79130b726f Bug 1192088 - Final strings for the updated about:privatebrowsing design. r=bgrins
--HG--
extra : commitid : 9WpElTEWv8g
extra : rebase_source : 4bbc2ea0dced83aafcd1332f5b7e411fe94bbe22
2015-08-07 22:35:33 +01:00
Paolo Amadini
41593c22f6 Bug 1190427 - Update the design of about:privatebrowsing. r=ttaubert
--HG--
extra : commitid : 5yCOpUu71tw
extra : rebase_source : 5370a3aedd6ba82588163dbd3dd07211ed84cb5e
2015-08-06 15:51:41 +01:00