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

19546 Коммитов

Автор SHA1 Сообщение Дата
Francois Marier 947b258b04 Bug 1488951 - Put a limit on how long FastBlock runs. r=mayhemer,Ehsan. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D5098

--HG--
extra : source : e97cfb1a3f88d0e76e4dfd665aa5f7713881558a
extra : amend_source : 905f3af0cf7a94014d41734f66eea4bfc2c5e15e
2018-09-11 18:17:12 +00:00
Narcis Beleuzu 3c3da81ebc Backed out changeset e97cfb1a3f88 (bug 1488951) by bhearsum`s request. 2018-09-11 22:01:36 +03:00
Francois Marier e1f72beb97 Bug 1488951 - Put a limit on how long FastBlock runs. r=mayhemer,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D5098

--HG--
extra : moz-landing-system : lando
2018-09-11 18:17:12 +00:00
Marco Bonardo 9d3272d9a5 Bug 1489402 - Middle-clicking a link from the address bar dropdown may apply the wrong overflow effect on the URL. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D5444

--HG--
extra : moz-landing-system : lando
2018-09-11 03:02:50 +00:00
Cosmin Sabou de7676288a Merge mozilla-inbound to mozilla-central. a=merge 2018-09-11 13:06:37 +03:00
Dipen Patel aeed887ff8 Bug 1468222 Consolidate nsISSLStatus info nsITransportSecurityInfo r=Gijs,snorp,jcj,mcmanus,sfraser,keeler,baku,ato
Move all fields of nsISSLStatus to nsITransportSecurityProvider
Remove nsISSLStatus interface and definition
Update all code and test references to nsISSLStatus
Maintain ability to read in older version of serialized nsISSLStatus.  This
is verified with psm_DeserializeCert gtest.

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

--HG--
extra : moz-landing-system : lando
2018-09-11 00:07:30 +00:00
Brendan Dahl 2f2111a2f5 Bug 1486716 - Use a page tooltip for the url bar. r=dao
Adding the tooltip "aHTMLTooltip" to the parent XUL element causes an
nsXULTooltipListener to be added the XUL element. The "aHTMLTooltip" has
the page attribute set, so when the popup is shown the tooltip binding
will fill the tooltip text from the HTML element's title attribute.

MozReview-Commit-ID: KumhzLTTg3b

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

--HG--
extra : moz-landing-system : lando
2018-09-08 10:21:32 +00:00
Johann Hofmann 8421bc635f Bug 1376771 - Fix intermittent browser_mcb_redirect.js. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D5270

--HG--
extra : moz-landing-system : lando
2018-09-10 13:52:49 +00:00
Johann Hofmann bf36bd3839 Bug 1438402 - Fix intermittent browser_csp_block_all_mixedcontent.js. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D5406

--HG--
extra : moz-landing-system : lando
2018-09-10 13:53:19 +00:00
Daniel Varga 1539df295b Merge mozilla-inbound to mozilla-central a=merge 2018-09-08 06:53:43 +03:00
Csoregi Natalia 0400fe7b57 Backed out changeset bd8baf88f373 (bug 1468222) for test_security-info-parser.js failures. CLOSED TREE 2018-09-08 03:16:25 +03:00
Dipen Patel 0679e09a9a Bug 1468222 Consolidate nsISSLStatus info nsITransportSecurityInfo r=snorp,ato,sfraser,keeler,baku,mcmanus,Gijs
Move all fields of nsISSLStatus to nsITransportSecurityProvider
Remove nsISSLStatus interface and definition
Update all code and test references to nsISSLStatus
Maintain ability to read in older version of serialized nsISSLStatus.  This
is verified with psm_DeserializeCert gtest.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 22:50:17 +00:00
Csoregi Natalia affc6dfb7a Backed out 2 changesets (bug 1488871) for failures on browser_windowopen.js. CLOSED TREE
Backed out changeset 078929426a6e (bug 1488871)
Backed out changeset 39b3a22e2552 (bug 1488871)
2018-09-08 01:40:10 +03:00
Luca Greco 4a99376e2a Bug 1433334 - Store the install source of the extensions for telemetry. r=aswan
- Implemented stored "install source of the extensions" for telemetry events.
- Added test assertions related to the expected install and addon installTelemetryInfo.
- Added installTelemetryInfo to addon installed from "drag-and-drop" file urls on Firefox Desktop.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 19:08:14 +00:00
Brian Grinstead 150199f6f8 Bug 1488938 - Round two: migrate mochitest-browser tests to use element variations of firstChild, etc;r=Gijs
This is a follow up to Bug 1482667. The list of callers was gathered by instrumenting
the webidl calls to these methods and dumping JS stack when they are called in browser.xul.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 15:31:38 +00:00
Emilio Cobos Álvarez c5dc5d9e9c Bug 1488871 - Make browser_windowopen.js workaround account for the toolbar background. r=mconley,florian
With the other patch in this bug, we get two rects, not > 5.

Differential Revision: https://phabricator.services.mozilla.com/D5240
2018-09-07 16:49:03 +02:00
Marco Bonardo 86eda77a20 Bug 1482494 - Intermittent failure in browser_urlbarSearchFunction.js r=adw
Differential Revision: https://phabricator.services.mozilla.com/D5144

--HG--
extra : moz-landing-system : lando
2018-09-06 23:27:32 +00:00
Bogdan Tara 8022e747ad Merge autoland to mozilla-central. a=merge 2018-09-07 06:35:30 +03:00
Xidorn Quan fae150af6e Bug 1488657 - Have anonymous element in text input inherit scrollbar-width from the element. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D5101

--HG--
extra : moz-landing-system : lando
2018-09-06 23:12:44 +00:00
Bogdan Tara 30c8b1bee3 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-09-07 00:59:25 +03:00
arthur.iakab c66e0f9611 Merge mozilla-central to autoland 2018-09-06 19:50:32 +03:00
Johann Hofmann c47fd5f316 Bug 1488809 - Correctly account for non-CB-UI tracking protection cases in browser_trackingUI_state.js. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D5146

--HG--
extra : moz-landing-system : lando
2018-09-06 14:57:39 +00:00
Marco Bonardo 8f1401cf22 Bug 1478582 - Bug 14785825 - Move address bar model tokenization to a module. r=adw
This is a first stab at the new tokenizer.
It's not expected to be perfect yet, but good enough to be modified and replace the existing code in unifiedComplete with just a few modifications.
It's mostly intended to start setting up a code and tests structure.

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

--HG--
extra : moz-landing-system : lando
2018-09-06 15:12:10 +00:00
Prathiksha 7c41699357 Bug 1438857 - Remove the Flash plugin infobar. r=Felipe
Remove Flash plugin infobar code.

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

--HG--
extra : moz-landing-system : lando
2018-09-06 14:50:16 +00:00
Mark Banner 0605d80327 Bug 1487125 - Create a basic QueryContext object for the Address Bar architecture rewrite. r=mak,dao
Differential Revision: https://phabricator.services.mozilla.com/D4566

--HG--
extra : moz-landing-system : lando
2018-09-06 19:51:26 +00:00
yulia 9611217838 Bug 1429421 - remove gcli code; r=jdescottes,julienw,ochameau
Remove remaining GCLI code

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

--HG--
extra : moz-landing-system : lando
2018-09-06 11:42:57 +00:00
arthur.iakab 4862d62ddf Backed out changeset 5e21be5fdf9d (bug 1429421)for build busteges CLOSED TREE 2018-09-06 12:12:40 +03:00
yulia 139e4e0b9a Bug 1429421 - remove gcli code; r=jdescottes,julienw,ochameau
Remove remaining GCLI code

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

--HG--
extra : moz-landing-system : lando
2018-09-06 08:55:50 +00:00
Dão Gottwald 476817dd80 Bug 1489063 - Remove unused autocomplete-textbox class. r=standard8 2018-09-06 11:46:21 +02:00
Drew Willcoxon 894f274b95 Bug 1484737 - Improve the handling of search alias highlighting in the urlbar. r=Mardak,mak
This has two parts:

(1) urlbar already had a formatValue method. Right now, it only does the URL formatting (domain highlighting, crossing out https for mixed content pages) that we do when the urlbar is not focused. This patch generalizes that method into a kind of "any formatting you want to do, do it here" method, and it adds alias formatting.

formatValue is called by the base autocomplete binding when `value` is set. So it's called when the selection in the popup changes and the autocomplete controller subsequently sets the input value. (It's also called by urlbar on focus and blur.) And if anyone else sets the value directly, it'll be called then too of course.

But it's not called when you're just typing in the input, so I added a call in urlbar.onResultsAdded, where we were calling highlightSearchAlias, to handle the first heuristic result being added or modified as a result of what you type.

So I think that should cover all possible times we need to highlight the alias?

(2) Just looking at the selected result to get the alias in the input doesn't work all the time. If you click a search tile on newtab and then key around in the popup, sometimes when you key down to the one-off buttons, the input value reverts to the alias (it's the user-typed value I guess?), but at the time that the value setter is called during the revert, the popup's selected index is still the last selection in the popup. IOW the selected index doesn't match up with what's in the input.

Rather than deal with that, it seems safer to call PlacesSearchAutocompleteProvider.findMatchByAlias() on the first word in the input. But that has a couple of problems. It's async, and I noticed there can be a slight delay in the highlighting appearing. Also, we've already gotten the information returned by that method, when we generated the results in the first place, so it seems inelegant to call it again.

So what I've done instead is to cache aliases in the popup when results are added, and then just look up the first word in the input in these aliases. We shouldn't reset this cache until the first result of a new search comes in.

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

--HG--
extra : moz-landing-system : lando
2018-09-06 00:20:45 +00:00
Tiberius Oros a325c6ef11 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-06 01:27:49 +03:00
Mark Striemer 47e85ff68e bug 1483598 - Match system and user extension add/remove page action strings r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D5069

--HG--
extra : moz-landing-system : lando
2018-09-05 19:17:40 +00:00
Dorel Luca 97066da84e Merge mozilla-central to mozilla-inbound 2018-09-05 19:07:40 +03:00
Ehsan Akhgari 2be5bf6c3d Bug 1488784 - Part 1: Rewrite browser_bug578534.js to not use the cookie permission service; r=jdm
Differential Revision: https://phabricator.services.mozilla.com/D5037
2018-09-05 11:56:17 -04:00
Margareta Eliza Balazs 0a38d82d7b Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-09-05 15:43:59 +03:00
Margareta Eliza Balazs a6dfec6935 Merge inbound to mozilla-central. a=merge 2018-09-05 12:45:27 +03:00
Dão Gottwald da0b67cc1f Backed out changeset 69bd5eb50a32 (bug 1478626) 2018-09-05 13:51:43 +02:00
Nicholas Nethercote 13643f64e8 Bug 1488321 - Fix up nsISHEntry.{index,getEntryAtIndex()}. r=nika
nsISHEntry.index is readonly, but if you pass `true` as getEntryAtIndex()'s
second argument, nsISHEntry.index will be modified. This is pretty gross.

This patch changes `index` so it's not readonly (because it's not!) and removes
getEntryAtIndex()'s second argument.

--HG--
extra : rebase_source : c519d77fcc1c3bda2f260b5888ce9cd0f6cfdab5
2018-09-05 09:02:37 +10:00
Bogdan Tara 32e713bf8b Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-05 02:43:23 +03:00
Bogdan Tara bc4c3d2021 Backed out changeset 4ad33c6fbfca (bug 832834) for merge conflict. CLOSED TREE 2018-09-05 02:41:48 +03:00
Bogdan Tara f302cbb0b3 Merge inbound to mozilla-central. a=merge 2018-09-05 02:24:27 +03:00
David Keeler 5e13847479 bug 832834 - reimplement nsSecureBrowserUIImpl r=franziskus,Felipe
It turns out nsSecureBrowserUIImpl is considerably more complicated than it
needs to be. This patch reimplements it in terms of OnLocationChange only, which
is all it needs to produce the same behavior as before.

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

--HG--
extra : moz-landing-system : lando
2018-09-04 23:10:37 +00:00
Brian Grinstead 743343fdfc Bug 1485157 - Check to make sure document.activeElement exists before attempting to blur it;r=Gijs
We're ending up in a case here where document.activeElement is null in
browser.xhtml but it's a <browser> tag in browser.xul.

We'll need more analysis and testing to decide if we want the HTML or XUL
activeElement behavior, and then adjust as needed. But in the meantime,
this unbreaks a bunch of browser.xhtml tests and is a safe null check in
both cases.

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

--HG--
extra : moz-landing-system : lando
2018-09-04 20:46:08 +00:00
Gijs Kruitbosch 9d274b2d2f Bug 1337794 - remove obsolete pagehide handling hacks from browser.js r=mconley
The pagehide handler has been as dead as a doornail for a while now,
but the side-effect of forcing the creation of an about:blank document
in non-remote windows was implicitly relied upon by some tests.

This removes the dead code and fixes up some tests.

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

--HG--
extra : moz-landing-system : lando
2018-09-04 17:55:05 +00:00
Gijs Kruitbosch fd954f1869 Bug 237027 - allow turning off URL canonization, remove shift support, and move the remainder from 'cmd' to 'ctrl' on mac, r=mak
This avoids the conflict with cmd-enter/click to open links in new tabs on
macOS. It also removes support for the use of `shift` to complete to '.net',
and allows users to toggle a pref to turn off `ctrl` support on all OSes.

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

--HG--
extra : moz-landing-system : lando
2018-09-04 17:10:09 +00:00
Dana Keeler 8b93bfbb06 bug 832834 - reimplement nsSecureBrowserUIImpl r=franziskus,Felipe
It turns out nsSecureBrowserUIImpl is considerably more complicated than it
needs to be. This patch reimplements it in terms of OnLocationChange only, which
is all it needs to produce the same behavior as before.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 17:12:36 +00:00
Jared Wein d7a8b85f4c Bug 1480907 - Implement ability to bookmark a selection of tabs through drag and drop. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D4589

--HG--
extra : moz-landing-system : lando
2018-09-05 14:16:59 +00:00
Margareta Eliza Balazs b5430ee4da Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-05 15:42:52 +03:00
Oriol Brufau 29fc9939ad Bug 1401610 - Add "Remove Extension" context menu item to browserAction. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D3565

--HG--
extra : moz-landing-system : lando
2018-09-05 10:02:52 +00:00
Rob Wu 3afb2de6c7 Bug 1415333 - Use tab.setAttribute instead of tab.setUserContextId r=Gijs
Use tab.setAttribute instead of tab.setUserContextId, in case the XBL
bindings are not ready yet.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 09:53:17 +00:00