Граф коммитов

121 Коммитов

Автор SHA1 Сообщение Дата
Thomas Nguyen 3c8351815e Bug 1539408 Pass referrerInfo to gContextMenuContentData in non-remote r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D25419

--HG--
extra : moz-landing-system : lando
2019-04-02 08:53:28 +00:00
Paul Zuehlcke 7e178a2c6f Bug 1540685 - Fixed duplicate definition of URL getter. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D25606

--HG--
extra : moz-landing-system : lando
2019-04-01 13:39:04 +00:00
Tom Schuster 7ad50e3460 Bug 1540396 - Remove Array.slice and Array.map from PageStyleChild.jsm. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D25543

--HG--
extra : moz-landing-system : lando
2019-04-01 18:02:16 +00:00
Johann Hofmann 204f870fd6 Bug 1530348 - Unfork aboutNetError.{xhtml,css}. r=nhnt11
The larger changesets in this patch are simply moving code from one file into the other with hg mv.

A short summary of the changes:

- I removed the forked redirection from AboutRedirector.cpp
- I deleted the original aboutNetError.xhtml and aboutNetError.css files
  and moved aboutNetError-new.xhtml and aboutNetError-new.css in their place instead.
- I removed the browser.security.newcerterrorpage.enabled pref and all its usages.
- I removed some localization strings and resources that went unused because of the above changes.

Differential Revision: https://phabricator.services.mozilla.com/D25232

--HG--
extra : moz-landing-system : lando
2019-03-29 09:33:58 +00:00
Christian Frey ab47477977 Bug 1523734 - Migrate about:blocked to Fluent r=flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D23611

--HG--
extra : moz-landing-system : lando
2019-03-28 17:08:34 +00:00
Oana Pop Rus 47e94b5d6e Merge inbound to mozilla-central. a=merge 2019-03-28 12:11:35 +02:00
Carolina Jimenez Gomez 6db642bc0c Bug 1535786 - Fix the missing current date. r=johannh
The solution is to get which of all the errors is being shown in the web page, we can know that resting msg.data.code with the bases and getting which is the name of the parent div where we need to put the date on its child with id="wrongSystemTime_systemDate2".

Differential Revision: https://phabricator.services.mozilla.com/D24363

--HG--
extra : moz-landing-system : lando
2019-03-27 11:13:26 +00:00
Kris Maglione e7796b70b4 Bug 1525511: Part 1 - Remove LWT install gunk. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D18781

--HG--
extra : rebase_source : cfd98054b2098bc4fee6eeea0736bcd42a036bcf
2019-02-05 21:29:58 -08:00
Mike Conley c218b68adf Bug 1535760 - Update strings and controls for toggling Picture-in-Picture from the context menu. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23947

--HG--
extra : moz-landing-system : lando
2019-03-21 13:58:05 +00:00
Ian Moody 67fb55f3b9 Bug 1536653 - browser/ automated ESLint no-throw-literal fixes. r=Gijs
Result of running:
$ mach eslint -funix browser/ | sed -Ee 's/:.+//' - | xargs sed -E \
    -e 's/throw ((["`])[^"]+\2);/throw new Error(\1);/g' \
    -e 's/throw ((["`])[^"]+\2 \+ [^ ";]+);/throw new Error(\1);/g' \
    -e 's/throw \(/throw new Error(/g' -i

Differential Revision: https://phabricator.services.mozilla.com/D24110

--HG--
extra : moz-landing-system : lando
2019-03-20 10:17:42 +00:00
Brindusan Cristian 327ca02963 Backed out 2 changesets (bug 1535760, bug 1535748) for ESlint failure at browser_contextMenu.js:66:11. CLOSED TREE
Backed out changeset 8ab3c856b9c2 (bug 1535748)
Backed out changeset a9a01b1c9e3a (bug 1535760)
2019-03-21 04:35:52 +02:00
Mike Conley 50371e1fee Bug 1535760 - Update strings and controls for toggling Picture-in-Picture from the context menu. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23947

--HG--
extra : moz-landing-system : lando
2019-03-20 21:24:37 +00:00
Thomas Nguyen 26bd1e060c Bug 1528695 - Part 2 : Use referrerInfo in openWindow, contextmenu and openLinkIn r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D21911

--HG--
extra : moz-landing-system : lando
2019-03-15 05:10:17 +00:00
Carolina Jimenez Gomez 0f33068ca0 Bug 1483626 - Checks if subjectAltNames has elements that are not empty string, and if it has them, they will be remove, preventing incomplete r=johannh
messages to show to the user. r=johannh

Differential Revision: https://phabricator.services.mozilla.com/D21796

--HG--
extra : moz-landing-system : lando
2019-03-14 15:45:55 +00:00
Johann Hofmann 6b5b6ed403 Bug 1529643 - Implement MitM priming on certificate error pages. r=keeler,mconley
Differential Revision: https://phabricator.services.mozilla.com/D22406

--HG--
extra : moz-landing-system : lando
2019-03-13 23:36:54 +00:00
Gurzau Raul c747f02899 Backed out 2 changesets (bug 1529643) for eslint failure at NetErrorChild.jsm on a CLOSED TREE.
Backed out changeset 000dfd4caca0 (bug 1529643)
Backed out changeset e4718a35d70b (bug 1529643)
2019-03-14 01:09:43 +02:00
Johann Hofmann 1235c91131 Bug 1529643 - Implement MitM priming on certificate error pages. r=keeler,mconley
Differential Revision: https://phabricator.services.mozilla.com/D22406

--HG--
extra : moz-landing-system : lando
2019-03-13 21:04:02 +00:00
Syeda Asra Arshia Qadri ca143a6bd0 Bug 1284835: Replaced Hardcoded URLs with Services.urlFormatter.formatURLPref r=johannh
Bug 1284835: Replaced Hardcoded URLs with Services.urlFormatter.formatURLPref r=reviewers

Differential Revision: https://phabricator.services.mozilla.com/D21834

--HG--
extra : moz-landing-system : lando
2019-03-13 08:23:00 +00:00
Mike Conley e429592a56 Bug 1529762 - Send PageStyle information up from pageshow events only after idle. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D22521

--HG--
extra : moz-landing-system : lando
2019-03-08 20:22:37 +00:00
Noemi Erli 978b96980f Backed out 2 changesets (bug 1529762) for failures in browser_page_style.js CLOSED TREE
Backed out changeset f49189976e12 (bug 1529762)
Backed out changeset 459979fd1d25 (bug 1529762)
2019-03-07 23:27:43 +02:00
Mike Conley d8a1aaa5de Bug 1529762 - Send PageStyle information up from pageshow events only after idle. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D22521

--HG--
extra : moz-landing-system : lando
2019-03-07 19:04:35 +00:00
Johann Hofmann 0788e90a43 Bug 1485670 - Improve error page styles in iframes. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D21907

--HG--
extra : moz-landing-system : lando
2019-03-06 15:58:18 +00:00
SresthaSrivastava c55c512a05 Bug 1515943 - Generate telemetry events from context menu or middle click on cert error pages. r=johannh CLOSED TREE
--HG--
extra : rebase_source : 0a5fa640e2beb09a0d699480e32f2deaf36f5fca
extra : amend_source : 3c01a850ae6305bb8231b2aaffdb82e3950cde10
2019-03-01 11:15:37 +01:00
Christoph Kerschbaumer 8124d3a763 Bug 1518454: Part 2, frontend changes, add CSP to loadURIOptions dictionary and pass CSP explicitly from frontend to docshell. r=gijs 2019-02-22 09:19:26 +01:00
Matthew Noorenberghe a3c141f088 Bug 1474143 - Rename FormSubmitChild.jsm to FormValidationChild.jsm. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D16653

--HG--
rename : browser/actors/FormSubmitChild.jsm => browser/actors/FormValidationChild.jsm
extra : moz-landing-system : lando
2019-02-23 00:24:30 +00:00
Ciure Andrei f7412ac1f2 Backed out 10 changesets (bug 1474143) for perma failing browser_markup_events_01.js CLOSED TREE
Backed out changeset 1b5d04866585 (bug 1474143)
Backed out changeset 78bfb4dd1f6a (bug 1474143)
Backed out changeset 85ec4f1f5f60 (bug 1474143)
Backed out changeset 5c112b77e489 (bug 1474143)
Backed out changeset 5d35599598bb (bug 1474143)
Backed out changeset 9fd0d7a7946f (bug 1474143)
Backed out changeset 1a83be7a75ca (bug 1474143)
Backed out changeset 2fc9b13171d0 (bug 1474143)
Backed out changeset 3983d7b6d9ad (bug 1474143)
Backed out changeset 9fe55dd58cd8 (bug 1474143)

--HG--
rename : browser/actors/FormValidationChild.jsm => browser/actors/FormSubmitChild.jsm
rename : toolkit/components/satchel/FormSubmitChild.jsm => toolkit/components/satchel/formSubmitListener.js
2019-02-22 21:16:49 +02:00
Matthew Noorenberghe db9f86614f Bug 1474143 - Rename FormSubmitChild.jsm to FormValidationChild.jsm. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D16653

--HG--
rename : browser/actors/FormSubmitChild.jsm => browser/actors/FormValidationChild.jsm
extra : moz-landing-system : lando
2019-02-22 15:13:05 +00:00
Felipe Gomes 03d5c1ef09 Bug 1489780 - Avoid unnecessary clean-up on ActorChild. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D18150

--HG--
extra : moz-landing-system : lando
2019-02-21 20:40:38 +00:00
Tom Ritter 48a4c411fb Bug 1407366 - Part 3: Implementing the window letterboxing. r=johannh
This patch implements the window letterboxing. The implementation
is based on adding margins around the browser element to round the
content viewport size. Whenever the browser content is resized, the
RFPHelper will adjust margins around it. But it won't add any margins
for an empty browser or a browser loads a content with the system
principal.

The letterboxing is hidden behind a hidden pref
"privacy.resistFingerprinting.letterboxing." By default, it will use
stepping size 200x100 to round content window. And we can customize
the set of dimensions used for deciding the size of the rounded
content viewport by the pref
"privacy.resistFingerprinting.letterboxing.dimensions". This pref
should be formated as 'width1xheight1, width2xheight2, ...'. We will
find the dimensions which can fit into the real content size and have
the smallest margins to be the rounded content viewport size. For example
, given the set "400x200, 500x300, 800x500" and the real content size
"600x300", we would round the content size into 500x300.

--HG--
extra : histedit_source : 4d4ced7e899f4f3cae25e11d30cc24a4f1b9e0e7
2019-02-20 11:24:16 -06:00
arthur.iakab 4fc06d4e3c Backed out 5 changesets (bug 1407366) for causing multiple build bustages CLOSED TREE
Backed out changeset 72a8371c210d (bug 1407366)
Backed out changeset 342a7d9308a0 (bug 1407366)
Backed out changeset b5d089dc2653 (bug 1407366)
Backed out changeset dbae69c2a849 (bug 1407366)
Backed out changeset 5da400636334 (bug 1407366)

--HG--
rename : toolkit/components/resistfingerprinting/RFPHelper.jsm => toolkit/components/resistfingerprinting/LanguagePrompt.jsm
2019-02-21 02:55:37 +02:00
Tom Ritter eed36e8544 Bug 1407366 - Part 3: Implementing the window letterboxing. r=johannh
This patch implements the window letterboxing. The implementation
is based on adding margins around the browser element to round the
content viewport size. Whenever the browser content is resized, the
RFPHelper will adjust margins around it. But it won't add any margins
for an empty browser or a browser loads a content with the system
principal.

The letterboxing is hidden behind a hidden pref
"privacy.resistFingerprinting.letterboxing." By default, it will use
stepping size 200x100 to round content window. And we can customize
the set of dimensions used for deciding the size of the rounded
content viewport by the pref
"privacy.resistFingerprinting.letterboxing.dimensions". This pref
should be formated as 'width1xheight1, width2xheight2, ...'. We will
find the dimensions which can fit into the real content size and have
the smallest margins to be the rounded content viewport size. For example
, given the set "400x200, 500x300, 800x500" and the real content size
"600x300", we would round the content size into 500x300.

--HG--
extra : rebase_source : a5bcb64934177f8518ef4bca922d7e3330bbd3ca
2019-02-20 11:24:16 -06:00
Jonathan Kingston cf14643de4 Bug 1521549 - Move (de)serializePrincipal from sessionstore Utils to E10SUtils. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D17261

--HG--
extra : moz-landing-system : lando
2019-02-19 02:34:09 +00:00
Daisuke Akatsuka a48415d8aa Bug 1522400: Set proper context menu items on about:devtools-toolbox page. r=jdescottes,mconley
Depends on D17458

Differential Revision: https://phabricator.services.mozilla.com/D17459

--HG--
extra : moz-landing-system : lando
2019-02-13 01:50:20 +00:00
Mike Conley 52278792ca Bug 1520329 - Add messaging infrastructure for opening videos in a Picture in Picture window. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D16903

--HG--
extra : moz-landing-system : lando
2019-02-12 02:34:38 +00:00
Timothy Guan-tin Chien a2c8d49b09 Bug 1511381 - Prevent forced layout flush when click-to-play UI loads on page load r=mconley
This patch attempts to bail out of probing into the layout when it is not ready.

It abuses the overflow event from layout a bit so that it could size and do the elementFromPoint() tests when there is a layout.

Differential Revision: https://phabricator.services.mozilla.com/D15905

--HG--
extra : moz-landing-system : lando
2019-01-31 17:56:03 +00:00
Myk Melez 25349d2601 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Cosmin Sabou 599a15d354 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-29 12:01:56 +02:00
Timothy Guan-tin Chien 38f8d61ad5 Bug 1507895 - Part IV, Remove the XBL pluginProblem binding r=smaug
This patch removes the XBL pluginProblem binding and have the in-content
UI always created by the UA Widget.

Depends on D17573

Differential Revision: https://phabricator.services.mozilla.com/D17574

--HG--
extra : moz-landing-system : lando
2019-01-26 07:51:10 +00:00
Kris Maglione e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16750

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Kris Maglione 2fe0de01dc Bug 1519596: Part 1 - Remove several unnecessary/unused ChromeUtils.import() calls. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16377

--HG--
extra : rebase_source : 6c4311387d25de425806aeb6c4691e12c9fcb855
2019-01-11 16:59:23 -08:00
Jared Wein b12a0d294c Bug 1521170 - Add a rule that prevents calling some Array and String accessor methods without using the return value. r=Standard8,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D17020

--HG--
extra : moz-landing-system : lando
2019-01-23 17:03:32 +00:00
shindli b4fc89763a Backed out changeset c9f087ff5a52 (bug 1521170) for X2 / TV failures CLOSED TREE 2019-01-23 02:29:37 +02:00
Jared Wein cecdd9632d Bug 1521170 - Add a rule that prevents calling some Array and String accessor methods without using the return value. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17020

--HG--
extra : moz-landing-system : lando
2019-01-22 23:02:24 +00:00
Masayuki Nakano 96bd720118 Bug 1521396 - Make ClickHandlerChild prevent multiple action of middle click on link element for preventing middle click paste r=smaug
When user middle clicks a link, most users must not expect to expose clipboard
content to the web application.  Therefore, we should stop firing paste event
when user click a link with middle button.

This patch makes ClickHandlerChild.handleEvent() prevent multiple action
when it posts middle click event on a link.  Note that even if middle click
event is consumed, default event handler will dispatch paste event.
Unfortunately, this is compatible behavior with the other browsers.
Therefore, we cannot change this behavior with calling preventDefault() and
this is the reason why this patch adds Event.preventMultipleActions().

Out of scope of this bug though, if there is an element which looks like a
link but implemented with JS, web apps can steal clipboard content if user
enables middle click event and user just wants to open the link in new tab.
It might be better to stop dispatching paste event in any browsers and request
to change each web apps.

Differential Revision: https://phabricator.services.mozilla.com/D17209

--HG--
extra : moz-landing-system : lando
2019-01-22 07:28:55 +00:00
Johann Hofmann cc1d12d6fc Bug 1414804 - Fix test for expired certificate "helpful" messaging to users with broken system clocks. r=Gijs
We initially thought we would need a new test certificate to be able to test
clock skew, but I found that we can reliably produce the clock skew page by
making Firefox believe that the validity range of the cert used by
expired.example.com is the correct date. How we do that is described in
more detail in the test comments.

This patch also updates the formatter for the new clock skew page to not
show hours and minutes, as it did previously on the old clock skew warnings.

Differential Revision: https://phabricator.services.mozilla.com/D13690

--HG--
extra : moz-landing-system : lando
2019-01-09 17:23:18 +00:00
Arshad Kazmi eede68dc61 Bug 1365542 - Use HTML5 FormData object rather than hand-rolling form data for search keyword handling r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14877

--HG--
extra : moz-landing-system : lando
2018-12-18 23:44:15 +00:00
Mark Banner 12331afc41 Bug 1503674 - Remove unused PageMetadata. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14678

--HG--
extra : moz-landing-system : lando
2018-12-17 09:33:12 +00:00
Mark Banner 47d25a826d Bug 1505411 - Add basic monitoring for partner search pages with ads and clicks. Depends on D11188 r=adw,Felipe,chutten
Differential Revision: https://phabricator.services.mozilla.com/D11656

--HG--
extra : moz-landing-system : lando
2018-12-05 20:33:01 +00:00
Johann Hofmann 2467797afd Bug 1450784 - Add a new error page for MOZILLA_PKIX_ERROR_MITM_DETECTED. r=nhnt11,keeler
Differential Revision: https://phabricator.services.mozilla.com/D12874

--HG--
extra : amend_source : c86e6cd59e1e3e2b9220b3c0d6d48249bae8226e
2018-11-26 10:17:58 +01:00
Andreea Pavel 4edaf92f7d Backed out changeset 05e25df4db43 (bug 1450784) for failing bc at browser/base/content/test/static/browser_misused_characters_in_strings.js on a CLOSED TREE 2018-12-04 22:28:23 +02:00