Commit Graph

57919 Commits

Author SHA1 Message Date
Tim Nguyen
25e0092647 Bug 1485830 - Set custom odd tree row colors in common.css on all platforms. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D5963

--HG--
extra : moz-landing-system : lando
2018-09-18 13:22:49 +00:00
Johann Hofmann
0c60d58387 Bug 1489581 - Improve vertical centering inside the content blocking "disabled" label. r=paolo
Labels in the identity popup that are potentially multiline get dynamic heights set
as part of the descriptionHeightWorkaround. This causes some cross-platform glitches
in vertically centering the icon and the label of the disabled indicator.

The disabled label doesn't really need to be multiline, so we avoid doing that. This
also means that we need to make some changes to handle long "Disabled" labels a little
more gracefully, but looking at existing translations of the word "Disabled" we won't
run into trouble: https://transvision.mozfr.org/string/?entity=browser/chrome/browser/browser.dtd:contentBlocking.disabled.label&repo=gecko_strings

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

--HG--
extra : moz-landing-system : lando
2018-09-18 12:14:35 +00:00
Dão Gottwald
7f7823a6d9 Bug 1485629 - Disable the early blank window when using a non-default theme. r=florian 2018-09-18 10:29:37 +02:00
Gijs Kruitbosch
6b518d3722 Bug 1491243 - remove subscribe button, menu items and subscription section out of feed previews, r=florian
This removes subscribe UI and functionality from the main browser window,
the page info window, and from feed previews. It may leave some stray strings
in subscribe.properties/dtd, which will be removed in bug 1477669 when the
preview code goes away completely.

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

--HG--
extra : moz-landing-system : lando
2018-09-18 06:06:27 +00:00
James Teh
6b89ed218b Bug 1331755: Refactor handling of accessibility focus in the URL bar so focus never moves to suggestions while the user is editing. r=Gijs,MarcoZ
When the user is editing the text in the URL bar (typing, backspace, etc.), the first suggestion is always selected.
Because accessibility clients require autocomplete items to be "focused", the code needs to differentiate between explicit selection (e.g. via down/up arrow) and auto selection (e.g. when typing).
Otherwise, the focus continually moves away from the text box while the user is typing, as was previously occurring.
This makes it very difficult for the user to edit text, particularly backspace/delete.

There was a previous attempt to handle this, but it was somewhat fragile and broke completely some time ago.
Now, rather than trying to handle this based on autocomplete events, it is handled in the input and key press events.
For input events, accessibility focus is forced back to the text box and further accessibility focus events are suppressed.
For down arrow, up arrow, etc. key presses, accessibility focus events for suggestions are enabled.
This makes it easier to understand and predict the user experience, rather than relying on underlying autocomplete implementation details.

This is tested using an accessibility browser test, which makes it easier to make assertions about accessibility focus.
This also means that if the underlying implementation details change (e.g. HTML + aria-activedescendant instead of XUL + DOMMenuItemActive events), this test should still be valid and allow us to catch regressions.

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

--HG--
extra : moz-landing-system : lando
2018-09-18 05:10:35 +00:00
Gijs Kruitbosch
dc5d097f0f Bug 1491998 - Fix browser_ext_chrome_settings_overrides_home.js to wait for the correct load, r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D6089

--HG--
extra : moz-landing-system : lando
2018-09-17 22:58:48 +00:00
Bogdan Tara
7ebba39407 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-18 01:02:05 +03:00
Bogdan Tara
c8f52c0158 Merge inbound to mozilla-central. a=merge 2018-09-18 00:58:07 +03:00
Francesco Lodolo (:flod)
9eb410053d Bug 1491892 - Restore ellipsis in "Change Master Password" button r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D6057

--HG--
extra : moz-landing-system : lando
2018-09-17 17:45:18 +00:00
Coroiu Cristina
9a2b88d99e Backed out changeset d61965849528 (bug 1491243) for en-US failures at testing\firefox-ui\tests\puppeteer\test_page_info_window.py 2018-09-17 22:23:58 +03:00
Andrew Swan
3bc9db418d Bug 1487173 Switch asan-reporter to built-in r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D5615

--HG--
rename : browser/extensions/asan-reporter/bootstrap.js => browser/modules/AsanReporter.jsm
extra : moz-landing-system : lando
2018-09-17 18:19:33 +00:00
Gijs Kruitbosch
1b1f1b759d Bug 1491243 - remove subscribe button, menu items and subscription section out of feed previews, r=florian
This removes subscribe UI and functionality from the main browser window,
the page info window, and from feed previews. It may leave some stray strings
in subscribe.properties/dtd, which will be removed in bug 1477669 when the
preview code goes away completely.

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

--HG--
extra : moz-landing-system : lando
2018-09-17 18:06:05 +00:00
Gurzau Raul
867011efac Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-17 19:47:47 +03:00
Gurzau Raul
a30d892e47 Merge inbound to mozilla-central. a=merge 2018-09-17 19:46:05 +03:00
Robert Strong
cb3e3f3536 Bug 1358342 - Remove the aushelper system add-on. r=mhowell
The aushelper add-on is no longer needed and needs to be removed before bootstrapping for add-ons is removed

Depends on D5918

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

--HG--
extra : moz-landing-system : lando
2018-09-14 23:33:00 +00:00
Robert Strong
b406194e75 Bug 1358342 - Remove the aushelper system add-on. r=florian
The aushelper add-on is being removed and this test needs the minimum number of values in extensions.getAddons.cache.enabled lowered so it passes

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

--HG--
extra : moz-landing-system : lando
2018-09-14 23:44:37 +00:00
Ryan VanderMeulen
101b9e0130 Bug 1491807 - Update pdf.js to version 2.0.866. r=bdahl 2018-09-17 09:00:07 -04:00
Jonathan Kingston
a0524bf06b Bug 1490276 - Remove title from addProtocolHandler message. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D5529

--HG--
extra : rebase_source : 23b9cc11fa0ed0b59eadce20196a5742bf416aea
2018-09-11 14:15:32 +00:00
Arshad Kazmi
79c60b26c5 Bug 1457784 - Replace warning-16.png with warning.svg. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D5973

--HG--
extra : moz-landing-system : lando
2018-09-17 09:55:12 +00:00
Noemi Erli
1a37ecbbc1 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-16 12:54:02 +03:00
Noemi Erli
bdc89dfd78 Merge inbound to mozilla-central. a=merge 2018-09-16 12:50:28 +03:00
Tim Nguyen
cd0933861f Bug 1441837 - Remove unused --in-content-category-text-active variable. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D5966

--HG--
extra : moz-landing-system : lando
2018-09-16 05:23:03 +00:00
Arshad Kazmi
806adb937f Bug 1487854 - Use getVisibleEngines in browser.search.get r=robwu, aswan
Reviewers: robwu, aswan

Reviewed By: robwu, aswan

Bug #: 1487854

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

--HG--
extra : rebase_source : 3414382a44acb4f75b7c86032378cd6d8a5b88f8
extra : histedit_source : 15b5ca8f71fa3fec0306aab9297c0917f37774cb
2018-09-16 02:07:22 +03:00
Ciure Andrei
7f8890ce67 Merge inbound to mozilla-central. a=merge 2018-09-16 00:40:16 +03:00
Dorel Luca
e3d505cb98 Merge mozilla-central to autoland 2018-09-15 12:48:28 +03:00
Dorel Luca
7a91966c10 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-15 12:46:59 +03:00
Gijs Kruitbosch
659898b84e Bug 1488822 - propagate allowScriptsToClose via the frameloader instead of relying on frame scripts, r=mconley,kmag,nika
Differential Revision: https://phabricator.services.mozilla.com/D5775

--HG--
extra : moz-landing-system : lando
2018-09-15 08:26:33 +00:00
Mike Hommey
781024c859 Bug 1491233 - Enable LTO in mac devedition mozconfig r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D5845

--HG--
extra : moz-landing-system : lando
2018-09-14 17:41:25 +00:00
Bogdan Tara
726c5b5e54 Backed out changeset 7351a4c8d1a1 (bug 1429181) for multiple payment-related failures CLOSED TREE 2018-09-15 00:58:48 +03:00
Mike Hommey
25ca5a4da7 Bug 1490738 - Enable PGO via the environment in in-tree mozconfigs r=froydnj
Some mozconfigs actually rely on testing whether the variable is set or
not, which may or may not depending on the mozharness configuration,
and doesn't necessarily match what the mozconfigs do.

So in all mozconfigs that enable PGO, make them use an environment
rathen than ac_add_options.

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

--HG--
extra : moz-landing-system : lando
2018-09-14 21:44:03 +00:00
Sam Foster
3b20596ca5 Bug 1429181 - Consider supportedNetworks when determining if payment method is valid. r=MattN
* A new accepted-cards element to represent the labeled list of card icons
* Add the accepted cards section to the summary and card add/edit page
* mochitest for the accepted-cards element
* Make cc-type a required field and validate it against the list of supported networks
* Add verification of the pay button disabling when card network is not supported

Depends on D5823

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

--HG--
extra : moz-landing-system : lando
2018-09-14 20:28:41 +00:00
Sam Foster
a3ee1b5ad2 Bug 1429181 - Fix serialization of payment method data. r=MattN
* Includes a workaround to explicitly cloneInto the paymentMethods data when we create the PaymentRequest object in the content window in tests.

MozReview-Commit-ID: LFy0h3fIXXA

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

--HG--
extra : moz-landing-system : lando
2018-09-14 20:24:08 +00:00
Dão Gottwald
6a1c6379e6 Bug 1411707 - Load findBar.css as a document stylesheet;r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D5776

--HG--
extra : moz-landing-system : lando
2018-09-14 18:30:29 +00:00
Ciure Andrei
602df752b4 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-16 00:42:31 +03:00
championshuttler
4f987e0e84 Bug 1491536 - Remove obsolete footer image CSS. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D5960

--HG--
extra : moz-landing-system : lando
2018-09-15 20:52:02 +00:00
Botond Ballo
b0cda0adbe Bug 1488908 - QI the elements of nsIGIOservice.getAppsForURIScheme() to nsIHandlerApp. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D5886

--HG--
extra : moz-landing-system : lando
2018-09-14 17:59:28 +00:00
Mike de Boer
f4dc279207 Bug 1489960 - Ensure to not throw errors inside the SessionStore shutdown blocker, to continue the sequence. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D5761

--HG--
extra : moz-landing-system : lando
2018-09-14 13:35:15 +00:00
Chris Peterson
da01f965e0 Bug 1490575 - Remove MOZ_MULET checks from build files. r=froydnj
Mulet was a Firefox OS simulator that is no longer supported: https://wiki.mozilla.org/Mulet

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

--HG--
extra : rebase_source : 5d6c8563fe7f5b3bafa9a17d1057eb3a3db6e241
extra : source : f7c8de6bc4a978421f49e43b951188597086874b
2018-09-11 23:16:36 -07:00
Noemi Erli
c2716211ca Merge inbound to mozilla-central. a=merge 2018-09-14 06:31:31 +03:00
ahillier
e9c38d0ebb Bug 1490508 - Apply mask correctly to CFR recommendation on urlbar focus r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D5618

--HG--
extra : moz-landing-system : lando
2018-09-13 23:21:06 +00:00
Noemi Erli
abe2f49a95 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-14 01:17:10 +03:00
Noemi Erli
a548d10a8c Merge inbound to mozilla-central. a=merge 2018-09-14 01:01:37 +03:00
Shane Caraveo
58e3df40e9 Bug 1488055 - followup fix to enable the click handler actor in sidebar, r=mconley
Depends on D5196

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

--HG--
extra : moz-landing-system : lando
2018-09-13 20:12:38 +00:00
Cosmin Sabou
bf7f51d9c9 Backed out changeset c5dc6b7928ad (bug 1476852) for browser chrome failures on browser_bug563588. CLOSED TREE 2018-09-13 22:18:33 +03:00
Cosmin Sabou
36f6331f5c Backed out changeset f4476938f7d7 (bug 1488055) for browser chrome failures on browser_address_edit. CLOSED TREE 2018-09-13 21:55:37 +03:00
Jared Wein
bea9eb3553 Bug 1476852 - Implement keyboard selection for multiselect tabs. r=Gijs,Jamie
To use this (Windows/Linux instructions), press Ctrl+L to give focus to the location bar. Shift+Tab to move focus backwards to the tab.
Ctrl+Left/Ctrl+Right to change which tab is focused
Ctrl+Space to add/remove a tab from the multiselection
Moving a tab has been changed from Ctrl+Left/Ctrl+Right to Ctrl+Shift+Left/Ctrl+Shift+Right, respectively.

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

--HG--
extra : moz-landing-system : lando
2018-09-13 17:32:49 +00:00
Dão Gottwald
7dee39df6f Bug 1477985 - Implement basic UrlbarInput and UrlbarView classes and a hidden pref for using them. r=standard8 2018-09-13 18:38:07 +02:00
Shane Caraveo
222014aa9f Bug 1488055 - followup fix to enable the click handler actor in sidebar, r=mconley
Depends on D5196

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

--HG--
extra : moz-landing-system : lando
2018-09-13 17:00:47 +00:00
Marco Bonardo
751325b9aa Bug 1488296 - Race condition when setting favicons for a browser with a changed currentURI. r=mossop
There is a race condition between the time we decide to fetch an icon and the time we actually store that icon, where the original browser currentURI may have changed.

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

--HG--
extra : moz-landing-system : lando
2018-09-13 13:24:41 +00:00
ffxbld
1bd8340b0a No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D5758

--HG--
extra : moz-landing-system : lando
2018-09-13 12:14:37 +00:00
Margareta Eliza Balazs
850a93cf13 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-13 13:02:36 +03:00
Daniel Varga
8eac4fe0d9 Merge mozilla-central to mozilla-inbound 2018-09-13 05:50:34 +03:00
Daniel Varga
296d94715f Merge mozilla-inbound to mozilla-central. a=merge 2018-09-13 05:30:59 +03:00
Mike Hommey
0a7e03bf20 Bug 1490542 - Remove the Linux LTO builds. r=froydnj
Now that Linux PGO builds also do LTO and all the Linux builds use
clang, there's not much use for separate LTO builds.

Differential Revision: https://phabricator.services.mozilla.com/D5632
2018-09-13 11:23:24 +09:00
Daniel Varga
eb65824c18 Backed out 2 changesets (bug 1358342) for browser-chrome failures on /test/performance/browser_preferences_usage.js on a CLOSED TREE
Backed out changeset f1e4fc4339f7 (bug 1358342)
Backed out changeset 030e811bfc34 (bug 1358342)

--HG--
extra : amend_source : 1afeabcf3827be93f84c42965d87d3e5f3806771
2018-09-13 03:01:43 +03:00
Gijs Kruitbosch
821c9b5b85 Bug 1490819 - wait for windows to be active in browser_BrowserWindowTracker.js, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D5707

--HG--
extra : moz-landing-system : lando
2018-09-13 08:21:51 +00:00
Dorel Luca
70d09db423 Backed out changeset fddb4d2af447 (bug 1488296) for browser-chrome failures on browser/components/originattributes/test/browser/browser_favicon_userContextId.js 2018-09-13 01:51:59 +03:00
Robert Strong
53dc4d237f Bug 1358342 - Remove the aushelper system add-on. r=mhowell
The aushelper add-on is no longer needed and needs to be removed before bootstraping for add-ons is removed

Depends on D5338

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

--HG--
extra : moz-landing-system : lando
2018-09-10 15:55:02 +00:00
Marco Bonardo
7cdcd1eef1 Bug 1488296 - Race condition when setting favicons for a browser with a changed currentURI. r=mossop
There is a race condition between the time we decide to fetch an icon and the time we actually store that icon, where the original browser currentURI may have changed.

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

--HG--
extra : moz-landing-system : lando
2018-09-12 17:07:15 +00:00
Johann Hofmann
5c79352649 Bug 1490729 - Ensure that we send variation=0 for the TP UI on about:privatebrowsing. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D5680

--HG--
extra : moz-landing-system : lando
2018-09-12 18:12:45 +00:00
Shane Caraveo
48619535cc Bug 1488055 fix loading ext-browser-content script in sidebar when browser_style=false, r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D5196

--HG--
extra : moz-landing-system : lando
2018-09-12 18:52:52 +00:00
Luca Greco
6056022481 Bug 1437864 - Implement userScripts API methods to allow an extension to inject custom APIs in the isolated userScripts sandboxes. r=zombie,mixedpuppy
MozReview-Commit-ID: 3GIFhnxMJVn

Depends on D4354

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

--HG--
extra : moz-landing-system : lando
2018-09-12 16:46:24 +00:00
Mark Striemer
91f1af9089 Bug 1488467 - Part 2: Match web languages dialog with browser dialog r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D5039

--HG--
extra : moz-landing-system : lando
2018-09-11 20:01:37 +00:00
Mark Striemer
e71459e86b Bug 1488467 - Part 1: Support adding and removing installed browser languages r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D4989

--HG--
extra : moz-landing-system : lando
2018-09-11 20:01:35 +00:00
Coroiu Cristina
38507750b2 Backed out 2 changesets (bug 1393570) for build bustage on linux on a CLOSED TREE
Backed out changeset 23f496cd8a42 (bug 1393570)
Backed out changeset e41e69aa9eb5 (bug 1393570)
2018-09-12 20:40:27 +03:00
Andrew Swan
eac08444e3 Bug 1488971 Move logic for disabling screenshots out of the extension r=kmag,_6a68
Differential Revision: https://phabricator.services.mozilla.com/D5310

--HG--
extra : source : a8de31323a3b52d7f4d6abd9405ba64e2227a653
extra : intermediate-source : ef0c065ebe0fc1918816718d45dc7e2a42545b06
extra : histedit_source : 56ceab6060017e3c893a17f1cd9d885f97fb7c31%2Cb574ee4b673e9c7443d8318f147982fc07774a54
2018-09-07 13:43:48 -07:00
Ehsan Akhgari
e0245b2c0f Bug 1491449 - Ensure the warning descriptions in the Third-Party Cookies section of the content blocking UI don't consume vertical height when they're invisible; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D5925

--HG--
extra : source : 8c419e33f65757ed32f5f3b9d73ea454a3c73c2b
2018-09-14 20:16:41 -04:00
Gurzau Raul
c03510c273 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-09-17 19:48:54 +03:00
Gurzau Raul
0040934b67 Backed out changeset 8c419e33f657 (bug 1491449) for failing at /cookie/test/unit/test_cookies_thirdparty.js on a CLOSED TREE
--HG--
extra : histedit_source : 7909ffef55a05769635c4c820ffc8fee05a7eca0
2018-09-17 19:08:16 +03:00
Gurzau Raul
8dc97ae0cc Backed out changeset 731089f123c6 (bug 1485629) for failing at /tests/unit/test_browserGlue_bookmarkshtml.js and /test/performance/browser_startup.js on a CLOSED TREE
--HG--
extra : histedit_source : 6798d6521e0c05ff57730e887222cc81a2255b63
2018-09-17 19:05:39 +03:00
Gurzau Raul
78e7d3e5c7 Backed out 13 changesets (bug 1469714, bug 1491061) for bustages at src/dom/base/nsDocument.cpp, failures at test_browserGlue_bookmarkshtml.js and browser_startup.js on a CLOSED TREE
Backed out changeset 494e23ba027e (bug 1491061)
Backed out changeset 43552fcae4a4 (bug 1491061)
Backed out changeset 0fb2ac9ad5ec (bug 1469714)
Backed out changeset 4a88ff107478 (bug 1469714)
Backed out changeset 158def1e0b8c (bug 1469714)
Backed out changeset 61dc8b46e7f6 (bug 1469714)
Backed out changeset 453370408672 (bug 1469714)
Backed out changeset ff443966e3d9 (bug 1469714)
Backed out changeset 88f414c8cecc (bug 1469714)
Backed out changeset 36e5c9e69f10 (bug 1469714)
Backed out changeset f90b4272f420 (bug 1469714)
Backed out changeset 4db771422e75 (bug 1469714)
Backed out changeset fe750643da13 (bug 1469714)
2018-09-17 18:06:50 +03:00
Ehsan Akhgari
5f9feb966a Bug 1489007 - Turn the colour of the 'Disabled' warning when Content Blocking UI is turned off and tracking protection is off to grey; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D5940
2018-09-17 10:14:02 -04:00
Ehsan Akhgari
04762303c7 Bug 1491061 - Part 1: Make Disable Protection honour both the Content Blocking UI pref and the pref controlling whether Third-Party Cookies section appears under Content Blocking UI; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5887
2018-09-17 10:07:58 -04:00
Ehsan Akhgari
6b0e0def14 Bug 1491449 - Ensure the warning descriptions in the Third-Party Cookies section of the content blocking UI don't consume vertical height when they're invisible; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D5925
2018-09-17 09:21:25 -04:00
Dão Gottwald
f71b81cfab Bug 1485629 - Disable the early blank window when using a non-default theme. r=florian 2018-09-14 22:14:50 +02:00
Tom Schuster
cd884cc386 Bug 1477248 - Simplify tests. r=mixedpuppy
--HG--
extra : rebase_source : beb7c78c15a941ec3b5de49c52d96dcec5c9c17d
2018-09-05 11:25:55 +02:00
Tom Schuster
8d185b567f Bug 1477248 - browser.search.search: Remove requireUserInput. r=mkaply
--HG--
extra : rebase_source : ce37a62a721eb2ea074ae0fa3eebda3f4d36a9bc
2018-09-19 23:05:26 +02:00
Jonas Jenwald
cf4099fb7d Bug 1062025 - Forward the matchesCount from the PDF.js viewer to the browser findbar. r=bdahl 2018-09-12 20:16:54 +02:00
Tyson Smith
b9ace1fc93 Bug 1474488 - "add --enable-undefined-sanitizer (mainly for fuzzing interface)" r=froydnj 2018-09-04 07:00:00 +03:00
Masatoshi Kimura
762361579f Bug 1485224 - Update Windows builders to VS 2017 15.8.4 and Windows SDK 17134. r=glandium
--HG--
extra : rebase_source : 15906168b0e2e2d545ea841cb3e11e7102bc9b39
2018-09-07 07:15:19 +09:00
Noemi Erli
e6319bab61 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-09-14 01:18:29 +03:00
Dale Harvey
70bcf9dfa6 Bug 1483648 - Skip failing test on linux debug builds. r=johannh
MozReview-Commit-ID: A8TcGCtiiKV
2018-09-13 20:43:37 +01:00
Barry Chen
962804a71e Bug 1483085 - Update Screenshots' id in built-in page actions list; r=adw
Update the page action id for Screenshots in the list of built-in actions
because Screenshots now use WebExtension pageAction instead of Photon.

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

--HG--
extra : moz-landing-system : lando
2018-09-11 23:46:13 +00:00
Jared Hirsch
8f76f2cd02 Bug 1466575 - Re-enable Screenshots WebExtension page action for Firefox 64; r=ianbicking
This patch was temporarily reverted to avoid bug 1483033 for Firefox 63.

MozReview-Commit-ID: 4VaQgZQCVlE

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

--HG--
extra : moz-landing-system : lando
2018-09-12 02:22:00 +00:00
alecclarke
960d3048f8 Bug 1486630 - Remove _manifestURI field and handling of the MozApplicationManifest message. r=mconley
Remove the _manifestURI field and handling of the MozApplicationManifest message.

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

--HG--
extra : moz-landing-system : lando
2018-09-12 15:21:14 +00:00
Rob Wu
3d83d6e742 Bug 1393570 - Support cookieStoreId in windows.create extension API r=Gijs,rpl
Other (internal API) changes besides extension API changes:

- This also introduces support for opening a window with multiple tabs
  in a non-default container tab.

- This also adds LOAD_FLAGS_DISALLOW_INHERIT_PRINCIPAL to the
  gBrowser.loadTabs call, unless allowInheritPrincipal is set. Currently
  there are no callers that set this flag, but in case it's desired,
  I added an opt-in via window.arguments[10] in browser.xul/js.

  For single-argument URLs, the flag is an opt-out, since there are
  multiple callers that rely on principal inheritance (bug 1475201).

Depends on D4928

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

--HG--
extra : moz-landing-system : lando
2018-09-12 15:15:22 +00:00
Rob Wu
34066be1c6 Bug 1393570 - Move cookieStoreId validator to ext-tabs-base.js r=rpl
This is a preparation to support cookieStoreId in the windows.create.

Depends on D4920

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

--HG--
extra : moz-landing-system : lando
2018-09-05 21:04:22 +00:00
Jared Wein
4ed2de6b2b Bug 1489754 - Update the caller of populateSendTabToDevicesMenu to use new tab argument. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D5465

--HG--
extra : moz-landing-system : lando
2018-09-11 21:19:52 +00:00
Gijs Kruitbosch
ea9997c503 Bug 1490642 browser_CaptivePortalWatcher.js should check for the default window to be activated instead of potentially waiting for it more than once, r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D5665

--HG--
extra : moz-landing-system : lando
2018-09-12 12:00:52 +00:00
Bogdan Tara
766dc21298 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-09-12 06:28:42 +03:00
Tom Ritter
d8f3b49815 Bug 1465800 Create an x64 MinGW-Clang Browser Build job r=froydnj
MozReview-Commit-ID: 7TSCY52wTpR

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

--HG--
extra : moz-landing-system : lando
2018-09-07 16:47:33 +00:00
Bogdan Tara
3fc5bc9ad5 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-12 01:15:44 +03:00
Bogdan Tara
11a51e4c3d Merge inbound to mozilla-central. a=merge 2018-09-12 01:12:32 +03:00
Bogdan Tara
9c802a42f1 Backed out 4 changesets (bug 1437864, bug 1470466, bug 1437861) for Android xpcshell failures CLOSED TREE
Backed out changeset a6185abfc2f8 (bug 1470466)
Backed out changeset 82d60e34a977 (bug 1437864)
Backed out changeset 7634d9d14449 (bug 1437864)
Backed out changeset a92b6e069d7e (bug 1437861)
2018-09-12 00:57:00 +03:00
Sebastian Hengst
d34c7d9a48 Bug 1490322 - Use new "Toolkit :: Blocklist Implementation" bugzilla component as default for blocklist related files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D5570

--HG--
extra : moz-landing-system : lando
2018-09-11 19:25:55 +00:00
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
Luca Greco
fd88da28d9 Bug 1437864 - Implement userScripts API methods to allow an extension to inject custom APIs in the isolated userScripts sandboxes. r=zombie,mixedpuppy
MozReview-Commit-ID: 3GIFhnxMJVn

Depends on D4354

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

--HG--
extra : moz-landing-system : lando
2018-09-11 10:09:50 +00:00
Luca Greco
e5063cc5ef Bug 1486761 - Add installTelemetryInfo to addon installed from EnterprisePolicies. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D5549

--HG--
extra : moz-landing-system : lando
2018-09-11 16:22:24 +00:00
Nicholas Nethercote
7f2bb554d6 Bug 1490158 Remove On{Length,Index}Changed from nsISHistoryListener. r=nika
They're never used.

--HG--
extra : rebase_source : 94f94e4d198917aa5e1d9322e9ba195f641e6e45
2018-09-07 10:27:05 +10:00
Daisuke Akatsuka
cb969cae82 Bug 1463621 - Part 1: Remove main codes of old animation inspector. r=pbro,r=Gijs
In this patch, remove main codes of old animation inspector such the
inspector/animation-old directory. Additionally, remove the codes that had been
referring the old codes.

Also, remove a CSS variable which no longer reffered in inspector from
devtools/client/themes/breadcrumbs.css, because this caused a test failure occur
from browser/base/content/test/static/browser_parsable_css.js. In this patch,
remove animationinspector.css as well. The reason why the error was not occurred
so far is that it had been interpreted that animationinspector.css refer to the
variable.

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

--HG--
extra : rebase_source : 4a63e28f6087b9cf42cf8f02b84ed62cfe905809
2018-09-10 12:31:44 +09:00
Cosmin Sabou
6294a344fe Merge mozilla-central to mozilla-inbound. a=merge 2018-09-11 13:17:29 +03:00
Cosmin Sabou
de7676288a Merge mozilla-inbound to mozilla-central. a=merge 2018-09-11 13:06:37 +03:00
Margareta Eliza Balazs
e620c683cb Backed out 2 changesets (bug 1474488) for causing failures in build/src/obj-firefox/dist/include/mozilla/Assertions.h CLOSED TREE
Backed out changeset ffce46424c69 (bug 1474488)
Backed out changeset e4b9fa5f7592 (bug 1474488)
2018-09-11 10:59:28 +03:00
Cosmin Sabou
d954c09619 Bug 1377641 - Disable browser/components/extensions/test/browser/browser_ext_sessions_getRecentlyClosed.js on Linux debug for frequent failures. r=jmaher
--HG--
extra : rebase_source : de5053ffc98db9898e78103ef1a103ff5cc2854c
2018-09-11 12:23:43 +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
Mike Hommey
0063777cde Bug 1489484 - Disable LTO on various mac builds r=froydnj
Bug 1473786 enabled LTO on mac builds for nightlies, but this had the
side effect of enabling it on unrelated builds that just happen to
include the nightly mozconfig just because out mozconfigs kind of suck.

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

--HG--
extra : moz-landing-system : lando
2018-09-10 23:51:28 +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
Andreea Pavel
7b04fbd86a Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-09-11 01:01:17 +03:00
Andreea Pavel
2b539c7b7e Merge autoland to mozilla-central. a=merge 2018-09-11 00:58:48 +03:00
Jared Wein
ee03acf81a Bug 1489629 - Adjust the size of the error images, sizing and position of text, and add footer branding to the error pages. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D5320

--HG--
extra : moz-landing-system : lando
2018-09-10 18:16:55 +00:00
Daniel Varga
67945694c1 Merge mozilla-central to mozilla-inbound 2018-09-10 19:23:14 +03:00
Daniel Varga
9e7995b3c3 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-10 19:14:55 +03: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
2ddac974c2 Backed out changeset c80bc4f44b7f (bug 1489996) for bc failures in browser/extensions/pdfjs/test/browser_pdfjs_main.js 2018-09-10 16:43:52 +03:00
Ryan VanderMeulen
9368462357 Bug 1489996 - Update pdf.js to version 2.0.841. r=bdahl 2018-09-10 09:02:45 -04:00
Ehsan Akhgari
9fcc4e5b9a Bug 1489812 - Part 2: Remove @mozilla.org/editor-utils;1; r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D5374
2018-09-10 08:42:27 -04:00
Rob Wu
14f47ddcc3 Bug 1481439 - Fix intermittent browser_ext_omnibox.js r=aswan
The "startInputSession" test helper triggers the autocompletion logic to
kick off the test. In all cases except for "testSuggestions", the search
suggestions are set synchronously. Consequently, the
"waitForAutocompleteResultAt" call at the end of starting the input
session would find the expected suggestion item at the given index.

However, in the case of "testSuggestions", the results are generated
asynchronously. There is no guarantee that the results are set. The test
has only been passing so far because the result items from the previous
test are still cached, and cleared after a 100ms delay by:
https://searchfox.org/mozilla-central/rev/a41fd8cb947266ea2e3f463fc6e31c88bfab9d41/toolkit/components/places/UnifiedComplete.js#1728
On slow test runs, the test fails intermittently when the clean-up logic
runs before the test checked the suggestion item.

This patch fixes the issue by splitting "startInputSession", and only
use "waitForAutocompleteResultAt" after having sent the suggestions.

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

--HG--
extra : moz-landing-system : lando
2018-09-10 20:06:24 +00:00
Daniel Varga
4aa1c9c202 Merge mozilla-central to autoland 2018-09-10 19:18:03 +03:00
Robert Helmer
7d4c15f217 Bug 1465251 - use PrioEncoder to encode Telemetry values for pilot project r=kmag
Use PrioEncoder to encode a few already-included histograms, so we can compare results on the Telemetry server side.

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

--HG--
extra : moz-landing-system : lando
2018-09-09 00:23:52 +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
Nicholas Nethercote
951d44ded0 Bug 1490158 - Minimize cancelability in nsISHistoryListener. r=nika
nsISHistoryListener can cancel several operations, but the functionality is
only ever used for OnHistoryReload(). So this patch removes it for the other
operations.

--HG--
extra : rebase_source : 433422e9160f7d645570baaaff4779c4bcc3ec04
2018-09-06 16:51:58 +10:00
Preeti Mukherjee
ccaae1158d Bug 1489765 - Remove getBoolPref function from utilityOverlay.js. r=dao
--HG--
extra : rebase_source : d2df38ebf56a4359f634da6138500869e69f7154
2018-09-12 01:18:18 +02:00
Jared Wein
aebbdcfa2c Bug 1482808 - Clear the field-specific merchant error invalid state when the field has been edited. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D5081

--HG--
extra : moz-landing-system : lando
2018-09-07 23:15:09 +00:00
Jared Wein
6415cfa9e8 Bug 1485837 - Position merchant field-specific error messages relative to the height of their related input field. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D5302

--HG--
extra : moz-landing-system : lando
2018-09-07 23:18:50 +00:00
Cristina Coroiu
25e49284f9 Bug 1482004 - Disable browser_ext_browserAction_popup_resize.js for frequent failures r=jmaher 2018-09-08 02:56:00 +03: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
Mike Hommey
117e48720c Bug 1489363 - Replace some string.Assign* with AssignLiteral. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D5224

--HG--
extra : moz-landing-system : lando
2018-09-07 22:12:01 +00: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
Luca Greco
bc6ccc75fd Bug 1489315 - Move ExtensionTelemetry into its own JSM module. r=mixedpuppy
This patch moves the ExtensionTelemetry helpers (added into ExtensionUtils.jsm by Bug 1483002)
into a new ExtensionTelemetry.jsm and makes the ExtensionTelemetry a lazy getter on every one
of the JSM and API modules that are going to use it, so that we don't have to load these helpers
until they are actually used and we can reduce their impact on the base content memory usage.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 16:27:44 +00:00
Dorel Luca
6eaad9277b Merge mozilla-central to autoland 2018-09-07 19:37:17 +03:00
Dorel Luca
37663bb870 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-07 19:35:34 +03: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
Brian Grinstead
2f2baff3ce Bug 1488938 - Migrate two more nextSibling/previousSibling callers to use element variation;r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D5184

--HG--
extra : moz-landing-system : lando
2018-09-07 15:31:35 +00:00
Tim Nguyen
c6b41e6f31 Bug 1489485 - Don't apply -moz-appearance on macOS on selected synced tab items when themed. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D5254

--HG--
extra : moz-landing-system : lando
2018-09-07 15:47:07 +00:00
Rob Wu
05e087da1a Bug 1488105 - Fix routing of extension port messages to non-tab contexts r=mixedpuppy
Fixes bug 1488105 and adds two new test files:

- browser test to test ping-pong from background page, sidebar and browserAction.

- xpcshell test with same test logic, mainly for Android test coverage.
  The test uses uses contentScripts.register instead of the manifest
  file to also have test coverage for contentScripts.register + child
  frames in the background page.

These tests serve as a regression test for bug 1488105 and bug 1463074.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 14:59:22 +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
Gijs Kruitbosch
2f2f4771a7 Bug 1488412 - make sure we wait for the right loads in browser_privatebrowsing_concurrent.js, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D5173

--HG--
extra : moz-landing-system : lando
2018-09-07 14:27:27 +00:00
Tim Nguyen
6f98f57b03 Bug 1489495 - Fix synced tabs sidebar instructions text color with WebExtension themes. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D5257

--HG--
extra : moz-landing-system : lando
2018-09-07 13:29:44 +00: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
2cab48f64d Merge inbound to mozilla-central. a=merge 2018-09-07 06:36:44 +03: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
Jared Wein
57e533640d Bug 1487395 - Update strings on error pages, as well as convert apostrophes to use 'smart-quotes'. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D5068

--HG--
extra : moz-landing-system : lando
2018-09-06 19:43:19 +00:00
arthur.iakab
c66e0f9611 Merge mozilla-central to autoland 2018-09-06 19:50:32 +03:00
Ehsan Akhgari
ed6f913e5d Bug 1487300 - Restore the state of the tracking protection menu when All Detected Trackers is checked after being previously unchecked; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D4993
2018-09-06 10:28:37 -04: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
Coroiu Cristina
ee08c248cc Backed out changeset c291d6d95022 (bug 1478582) for browser-chome failures at browser/base/content/test/static/browser_all_files_referenced.js 2018-09-06 17:26:22 +03:00
Johann Hofmann
d27631651f Bug 1488933 - Link to the new content blocking onboarding from about:privatebrowsing when the CB UI is enabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D5090

--HG--
extra : moz-landing-system : lando
2018-09-06 13:30:40 +00:00
Arshad Kazmi
3e3a37df88 Bug 1469148 - Add button info to click event of contextMenus API r=robwu,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D4960

--HG--
extra : moz-landing-system : lando
2018-09-06 12:02:49 +00:00
Mark Banner
20196fe4b9 Bug 1469825 - The tree component no longer needs to wait before selecting and setting focus when starting editing. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D2001

--HG--
extra : moz-landing-system : lando
2018-09-06 19:27:20 +00:00
Mark Banner
ee2e573e9a Bug 1487125 - Create a basic UrlbarController object for the address bar rewrite. r=mak,dao
This creates a basic object with minimal search functionality. It currently uses a dummy ProvidersManager that can be replaced once we get the real one.

There are two test files, the unit one is aiming to test at a unit level - stubbing out the manager, and checking the functionality works correctly.

The second is for checking integration with the providers manager, and it does the right things when linked together. For now, this has just a simple check that uses the dummy ProvidersManager for the case of returning a single result matching the URL.

Depends on D4566

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

--HG--
extra : moz-landing-system : lando
2018-09-06 19:54:21 +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
Marco Bonardo
7d48aaf18e 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-05 23:38:17 +00:00
ffxbld
d5e21d1dc3 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D5141

--HG--
extra : moz-landing-system : lando
2018-09-06 12:40:37 +00:00
Martin Stransky
848e86f0f6 Bug 1408360 - Make toplevel window transparent when mozilla.widget.titlebar-theme-round-corners is set, r=dao
Some Gtk+ themes use non-rectangular toplevel windows. To fully support
such themes we need to make toplevel window transparent with ARGB visual
and make background of toplevel window transparent.

It may cause performance issue so let's disable it by default and
put it under a preference to allow distros to enable it per default theme.

Depends on D4665

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

--HG--
extra : moz-landing-system : lando
2018-09-06 11:54:25 +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
Mike Conley
b9fb0fb155 Bug 1480951 - Regression test. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D5067

--HG--
extra : rebase_source : cb6bf5be99309f50c2d7462465004e3833b4eeba
2018-09-05 14:35:43 -04:00
Mike Conley
d0b033bcb9 Bug 1480951 - Make SessionStore respect sessionStorage.clear(). r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D5066

--HG--
extra : rebase_source : 447e78988d9657247b6870a68dc57bc066905092
2018-09-05 14:52:00 -04:00
Ryan VanderMeulen
001bc2a990 Bug 1488420 - Update pdf.js to version 2.0.815. r=bdahl 2018-09-06 08:28:26 -04:00
Dão Gottwald
476817dd80 Bug 1489063 - Remove unused autocomplete-textbox class. r=standard8 2018-09-06 11:46:21 +02:00
Andreea Pavel
4b53c29ee3 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-09-06 07:39:46 +03:00
Andreea Pavel
746993f3e1 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-06 07:37:40 +03:00
Ehsan Akhgari
3bc37f679f Bug 1487556 - Disable the Cookies and Site Data section if Content Blocking has been turned off; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D4988
2018-09-05 20:09:11 -04:00
Mike Hommey
89bf3fe1a7 Bug 1473786 - Enable LTO on macOS builds. r=ted 2018-09-06 06:45:32 +09:00
Mike Hommey
d71f4a53aa Bug 1473786 - Avoid the aboutNetError-new.xhtml url being smashed into pieces by compiler optimizations. r=felipe
The browser_all_files_referenced.js test partly relies on finding chrome
and resource urls in the libxul binary, but with LTO, clang actually
replaces AssignASCII calls to inline copies using immediate values, like
this:

  movabsq $0x726573776f72622f, %rcx
  movq   %rcx, 0x8(%rax)
  movabsq $0x2f3a656d6f726863, %rcx
  movq   %rcx, (%rax)

Those immediate values are, respectively, "/browser" and "chrome:/".

Somehow, the aboutNetError-new url is the only one where that causes
problems, which is kind of surprising, in a sense. It's also in a
special position, being temporary until aboutNetError is actually
replaced and the new about:certerror rides the train. Chances are, if we
add an exception for aboutNetError-new in the
browser_all_files_referenced.js test itself, it would remain there after
the new about:certerror rides the train.

However, using the somehow circumvoluted Assign(NS_LITERAL_CSTRING())
construct, we can prevent clang from LTOing the string into pieces. And
there are better chances the code will go away when the new
about:certerror rides the train.

Differential Revision: https://phabricator.services.mozilla.com/D5017
2018-09-06 06:45:25 +09:00
Luca Greco
88b7be38f8 Bug 1483002 - Added WEBEXT probes keyed by addon id. r=janerik,mixedpuppy
This patch contains a set of changes needed to add WEBEXT telemetry probes keyed by addon id.

The telemetry probes keyed by addon id has been added as separate telemetry histograms
named after the related generic WEBEXT probe with the additional "_BY_ADDONID" suffix.

A set of small helper methods have been defined in a new ExtensionTelemetry object, exported
by the ExtensionUtils.jsm.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 20:16:35 +00: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
Matt Howell
39c00aeec5 Bug 1488857 - Correctly detect the current dev edition version for showing stub installer profile reset prompts. r=agashlin
Also remove a useless line that looks like some debugging code I accidentally left in.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 20:55:04 +00: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
Andreea Pavel
84279844a7 Backed out changeset 0adb1474cc23 (bug 1469148) for failing bc at browser/components/extensions/test/browser/test-oop-extensions/browser_ext_menus_capture_secondary_click.js on a CLOSED TREE 2018-09-05 23:38:31 +03:00
Jared Wein
32cd282fa6 Bug 1488904 - Enable the multiselect tabs feature on early beta builds and earlier. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D5078

--HG--
extra : moz-landing-system : lando
2018-09-05 21:52:00 +00:00
Ehsan Akhgari
caf5f4eb85 Bug 1488361 - Only initiate the updating of site data control buttons after we have moved the buttons in the UI; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D5057
2018-09-05 13:58:54 -04: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
tushararora.cs
a50bc5b5f2 Bug 1414566 browser.menus.update() does not support updating icon r=robwu,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D4628

--HG--
extra : moz-landing-system : lando
2018-09-04 14:25:37 +00:00
Tom Schuster
cf7c38d6f5 Bug 1462418 - Test. r=johannh
--HG--
extra : rebase_source : 4843056051c254bde9e44aaf85b7f09f77e4e9d5
2018-09-04 11:35:27 +02:00
Tom Schuster
b0e9b6ec04 Bug 1462418 - Implement Delete key functionality to remove site data. r=johannh
--HG--
extra : rebase_source : d313ccdfebb78362c3fd8323c0a993f05003543c
2018-09-04 11:17:37 +02:00
Dão Gottwald
541109bcf7 Bug 1480415 - Set aria-label on Reader View button and set menuitem-specific attributes directly there instead of on the command element. r=jaws 2018-09-05 14:49:15 +02: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
Cosmin Sabou
c800c1c182 Backed out changeset b5fbe33b954e (bug 1473786) for browser chrome failures on browser_all_files_referenced. 2018-09-05 09:02:19 +03:00
Dão Gottwald
da0b67cc1f Backed out changeset 69bd5eb50a32 (bug 1478626) 2018-09-05 13:51:43 +02:00
Neil Deakin
857a44d468 Bug 1484176, somewhat revert the change from bug 1454358 for places menu.xml since the boxObject being used should be for the inner scrollbox, r=dao 2018-09-05 11:43:56 +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
Ryan Kelly
8624d8b8b2 Bug 1484465 - Enable FxA Commands feature by default. r=vladikoff
This switches send-tab to use the new FxA "device commands" feature
by default, rather than the old sync client commands channel.

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

--HG--
extra : moz-landing-system : lando
2018-09-04 16:54:32 +00:00
Csoregi Natalia
0ee540d6b5 Backed out changeset 56aa054d4cc0 (bug 1399367) for browser/extensions/formautofill/test/unit/test_activeStatus.js failures. CLOSED TREE 2018-09-05 05:47:21 +03:00
Timothy Guan-tin Chien
a3d7d3c3d1 Bug 1399367 - Remove MasterPassword.{encrypt|decrypt}Sync() methods r=MattN
This also makes various AutofillRecords methods async, with the exception of
remove() and removeAll().

Noted that I didn't implement any kind of "lock" for FormAutofillStorage --
please do not call these methods concurrently -- if you must please |await|
for the last call to resolve. This most likely would happen in tests, and
shouldn't happen in the real world, given that all user actions happen on
macrotasks, and probably not at the next tick, unless Quicksilver is a
Firefox user.

FormAutofillStorage can be improved if there are complex use cases for it.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 00:32:57 +00: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
Bogdan Tara
8b38c1ae85 Merge autoland to mozilla-central. a=merge 2018-09-05 01:53:44 +03: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
Tim Nguyen
eda7b67115 Bug 1488000 - Allow theming sidebar border color. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D4839

--HG--
extra : moz-landing-system : lando
2018-09-04 21:33:46 +00:00
ffxbld
ebe4d2e4d6 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-09-04 11:15:27 -07:00
Aaron Klotz
63790f4fe3 Bug 1488546: Disable safe mode key press checks in launcher process; r=mhowell
Depends on D4966

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

--HG--
extra : moz-landing-system : lando
2018-09-04 19:56:01 +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
Tim Nguyen
2c14b75a07 Bug 1385518 - Update sidebar styling for dark theme. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D4823

--HG--
extra : moz-landing-system : lando
2018-09-04 18:49:15 +00:00
Ehsan Akhgari
24f1a63b5e Bug 1488013 follow-up: Make sure the test doesn't set prefs that would affect the tests following it; a=Aryx 2018-09-04 11:39:25 -04: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
Oriol Brufau
4939933710 Bug 1488026 - Always fire onDetached event before onAttached. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D4826

--HG--
extra : moz-landing-system : lando
2018-09-04 20:50:12 +00:00
shindli
fd77c051cb Backed out changeset 99e8a7cd7726 (bug 1484761) as requested by the developer on IRC on a CLOSED TREE 2018-09-04 09:09:49 +03:00
Daniel Varga
3c3e9e37c6 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 65372156c004c649109b08227f8aa6a91cb22969
2018-09-04 01:05:40 +03:00
Daniel Varga
f46d581d52 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-04 00:54:07 +03:00
Ehsan Akhgari
5f627b85ab Bug 1487434 - Ensure that the checkbox of the All Detected Trackers category is also disabled when TP is controlled by an extension; r=johannh
This checkbox is non-functional in this state, so there is no point to it
being enabled.

Differential Revision: https://phabricator.services.mozilla.com/D4838
2018-09-03 13:55:02 -04:00
Florian Quèze
9eb5b36fba Bug 1488232 - add a Google translation backend, r=felipe.
--HG--
rename : browser/components/translation/BingTranslator.jsm => browser/components/translation/GoogleTranslator.jsm
2018-09-03 19:15:56 +02:00
Ehsan Akhgari
aa17415c48 Bug 1488096 - Give changeBlockListLink the same search-l10n-ids as changeBlockList; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D4827
2018-09-03 12:18:30 -04:00
ffxbld
9e951cf226 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D4852

--HG--
extra : moz-landing-system : lando
2018-09-03 13:16:32 +00:00
Ehsan Akhgari
32868a1638 Bug 1488097 - Make browser_search_subdialogs_within_preferences_site_data.js test both the case with and without the Content Blocking UI; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D4828
2018-09-03 11:28:59 -04:00
Ehsan Akhgari
a6aab5c8f4 Bug 1488013 - Don't move the UI elements too early otherwise the XBL binding wouldn't have been applied when we want to adjust the checked attribute on our checkbox element; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D4829
2018-09-03 11:22:06 -04:00
Aaron Klotz
fa4326d0f2 Bug 1488872: Make -marionette implcitly wait-for-browser in the launcher process; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D5064

--HG--
extra : moz-landing-system : lando
2018-09-05 19:35:28 +00:00
Timothy Guan-tin Chien
4b8e9c3d4a Bug 1399367 - Remove MasterPassword.{encrypt|decrypt}Sync() methods r=MattN
This also makes various AutofillRecords methods async, with the exception of
remove() and removeAll().

Noted that I didn't implement any kind of "lock" for FormAutofillStorage --
please do not call these methods concurrently -- if you must please |await|
for the last call to resolve. This most likely would happen in tests, and
shouldn't happen in the real world, given that all user actions happen on
macrotasks, and probably not at the next tick, unless Quicksilver is a
Firefox user.

FormAutofillStorage can be improved if there are complex use cases for it.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 17:54:48 +00:00
Arshad Kazmi
70701eba6e Bug 1469148 - Add button info to click event of contextMenus API r=robwu,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D4960

--HG--
extra : moz-landing-system : lando
2018-09-05 16:33:50 +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
Aaron Klotz
e638e46d0b Bug 1488625: Check eNoDeelevate before obtaining a medium integrity token when UAC is disabled; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D4997

--HG--
extra : moz-landing-system : lando
2018-09-05 14:56:41 +00:00
timeless
c956741452 Bug 1487889 - Add missing whitespace for certErrorMismatchSinglePrefix1. r=johannh
--HG--
extra : source : 9cbc8592d649c3876156e78fb9539038913435e6
extra : histedit_source : b232208157581922fdf7cda83d05889c518b395e
2018-08-31 17:04:40 -04:00
Nicholas Nethercote
70d22aa86a Bug 1487328 - Remove nsISHistoryListener.OnHistoryGo{Back,Forward}. r=nika
As per the previous commit, they are now subsumed by OnHistoryGotoIndex.

--HG--
extra : rebase_source : 627a32ed9378c7dd5364323183297933f90f9d72
2018-09-03 09:27:37 +10:00
Margareta Eliza Balazs
b5430ee4da Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-05 15:42:52 +03:00
Rob Wu
c80740cd9c Bug 1462121 - Fix intermittent in browser_ext_getViews.js r=zombie
extension.getViews() returns all windows whose context.active property
is true. In an upcoming commit, this "active" property will no longer be
set to false upon pagehide (which is a bit too early, since the window
has not unloaded yet), but set to false if the window is truly unloaded
(or frozen in the bfcache).

In the extension.getViews() test, the parts that close the popup or tab
should not immediately resume the test, but wait until the window in the
extension process has unloaded. Otherwise there is a rare chance that
extension.getViews() will return the window that was expected to be
closed, which results in a test failure.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 12:04:59 +00: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
Tim Nguyen
59c2439982 Bug 1488615 - Make #urlbar-zoom-button adjustments available to all webextension themes. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D4996

--HG--
extra : moz-landing-system : lando
2018-09-05 08:23:10 +00:00
Tim Nguyen
5a744e504b Bug 1488617 - Use currentColor and context-fill for tab-audio-small.svg icons. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D4999

--HG--
extra : moz-landing-system : lando
2018-09-05 08:25:54 +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
Rob Wu
e69ac92ea0 Bug 1415333 - Set correct userContextId at window creation r=Gijs
The container tab indicator should also be set on the tab, not just on
the browser. Otherwise it is possible for the indicator to be missing
when a new window is opened.

And previously, if the URL was an "about:blank" URL, the tab in the new
window would use the default container because of the early return in
_handleURIToLoad. This is fixed by accounting for window.arguments[6]
when initializing the default (about:blank) tab in the tabbrowser.

Unit tests for these code path will be added in bug 1393570.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 09:39:56 +00:00
Soeren Hentzschel
bfb302ba9e Bug 1486915 - Use the "hidden" attribute instead of a "hide" class in aboutPrivateBrowsing.js r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D4821

--HG--
extra : moz-landing-system : lando
2018-09-05 09:28:17 +00:00
trisha
88400e06ef Bug 1484761 - Change "security certificates" to "certificates" on the new cert error pages r=johannh 2018-08-31 19:12:02 +05:30
Gijs Kruitbosch
d1b26d3f34 Bug 1486824 - review comment follow-up: change params for openNewBrowserWindow to explicitly check for URL, r=nhnt11 2018-09-03 15:16:55 +01:00
Gijs Kruitbosch
ef7146a4be Bug 1486824 - change BrowserTestUtils to just call OpenBrowserWindow so it does the same thing as opening a window normally, r=mconley,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D4466

--HG--
extra : rebase_source : e51b66bb18d0e600814b48d5cd3ec9d5dea3028a
extra : source : 96b5a88ac0041a1bd382a731749e1fca9aa911ed
2018-09-03 14:43:38 +01:00
Tyson Smith
2ef364ecb8 Bug 1474488 - add --enable-undefined-sanitizer (mainly for fuzzing interface). r=nfroyd 2018-09-04 07:00:00 +03:00
Mark Banner
b947b7b13d Bug 1487783 - Create a basic directory & format for the new components of the address bar rewrite. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D4772

--HG--
extra : moz-landing-system : lando
2018-09-02 08:30:49 +00:00
Narcis Beleuzu
721842eed8 Merge inbound to mozilla-central. a=merge 2018-09-02 00:56:16 +03:00
Cosmin Sabou
cbd66ad34c Bug 1484891 - Fix eslint failure. 2018-09-01 18:45:48 +03:00
Cosmin Sabou
2c3abdb6ba Merge mozilla-central to autoland. a=merge 2018-09-01 12:31:39 +03:00
Cosmin Sabou
c8483bebfa Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : gfx/doc/AsyncPanZoom-HighLevel.png => gfx/docs/AsyncPanZoomArchitecture.png
rename : gfx/doc/silkArchitecture.png => gfx/docs/SilkArchitecture.png
rename : gfx/doc/README.webrender => gfx/webrender_bindings/README.webrender
2018-09-01 12:27:26 +03:00
Cosmin Sabou
08490965a2 Bug 1480443 - Part 2: Fix test case failure of Content Blocking. r=johannh 2018-09-01 11:04:15 +03:00
Cosmin Sabou
d69bb4b3f3 Bug 1480443 - Enable FastBlock by default on Nightly. r=francois 2018-09-01 11:01:06 +03:00
Ehsan Akhgari
820ef13193 Bug 1480900 follow-up: Fix lint failure
Landed on a CLOSED TREE

--HG--
extra : source : 5a55e5b741076790c0fead2d758fa5dc5d76b839
2018-08-31 16:16:20 -04:00
Ciure Andrei
db22ef8d8a Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-01 02:43:10 +03:00