Commit Graph

1292 Commits

Author SHA1 Message Date
Sebastian Hengst
c188d179a2 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: AgDEPuT8DNK
2017-10-11 11:41:04 +02:00
Peter Van der Beken
a8401db6ec Bug 1383059 - Remove instanceof for supplemental interfaces. Part 1: add Window.isChromeWindow and switch |instanceof [nsIDOM]ChromeWindow| to use it instead. r=bz. 2017-10-06 13:47:27 +02:00
Jan Henning
972dcff736 Bug 1400023 - Switch logins handling to use "display" URIs. r=MattN
Since the pref flip in bug 1380617, the default nsUri attributes have been returning punycode for IDN-based domain names, so we need to switch to using the "display"-prefixed variants as a simple fix to
- preserve compatibility with previously stored logins
- pretty-print unicode domains in the login manager UI instead of showing punycode

This patch is more or less a straight (DXR-)search and replace and has hopefully caught all relevant instance of nsUri access related to logins.

For test_disabled_hosts, we're basically reverting bug 1380617, since the login service will now once again return IDN domains in Unicode where allowed.

MozReview-Commit-ID: 5SvW0MuTrGu
2017-09-14 20:57:40 +02:00
Geoff Brown
f3a26d459b Bug 1397615 - Skip some long-running mochitests on Android Debug only; r=snorp 2017-09-21 12:39:35 -06:00
Kris Maglione
84667dad86 Bug 1399098: Disable idle dispatch for login manager DeferredTask. r=me
MozReview-Commit-ID: 7RXiIhnlnL
2017-09-16 18:06:34 -07:00
Jim Chen
a14196b200 Bug 1367077 - 4. Remove LoginManagerParent.login; r=kmag
Mobile code now loads LoginManagerParent lazily, similar to
nsBrowserGlue on desktop, so we no longer need LoginManagerParent.login.

MozReview-Commit-ID: 8tnWnev344
2017-09-14 17:50:57 -04:00
Kris Maglione
e7585db21e Bug 1391707: Follow-up: Skip idle dispatch in passwordManager.js for increasing the failure rate of an intermittent. r=me 2017-09-11 18:43:35 -07:00
Matthew Noorenberghe
5ea674b2a3 Bug 1371525 - Warn when sending a synchronous RemoteLogins:findRecipes message. r=Felipe
MozReview-Commit-ID: F3JnVQlFNT0
2017-09-01 14:59:55 -07:00
Matthew Noorenberghe
03334a563a Bug 1389595 - Don't access elements before they're parsed in test_onsubmit_value_change.html
MozReview-Commit-ID: Ef4NxLhA4xW
2017-09-01 15:53:47 -07:00
Perry Jiang
13fb386da6 Bug 1390347 - use recipe cache in LoginManagerContent.getFieldContext. r=MattN
MozReview-Commit-ID: 601tQ8qeVzT
2017-09-01 14:27:55 -07:00
Perry Jiang
faff067d44 Bug 1389596 - use recipe cache in LoginManagerContent.onUsernameInput. r=MattN
MozReview-Commit-ID: BSOwPAMxxl0
2017-09-01 14:28:11 -07:00
Perry Jiang
26158ff7a7 Bug 1389595 - add test to check correct form inputs are captured. r=MattN
MozReview-Commit-ID: 5k1lzQnekPW
2017-09-01 14:28:26 -07:00
Perry Jiang
238ad58136 Bug 1389595 - cache recipes in LoginRecipesContent and use cache in LoginManagerContent._onFormSubmit. r=MattN
MozReview-Commit-ID: 708hDV8veQ9
2017-09-01 14:28:42 -07:00
Samael Wang
c53a9f9a03 Bug 1349255 - Part 2: Wait for DOMModalDialogClosed after clicked cancel button. r=MattN
MozReview-Commit-ID: ARwVCZTdSSI
2017-08-17 15:18:49 +08:00
Dan Banner
69fb4d8501 Bug 1392119 - Enable the ESLint no-caller rule across mozilla-central r=standard8
MozReview-Commit-ID: JOC1330iFnh
2017-08-23 13:38:24 +01:00
Franziskus Kiefer
7f949cd8cc Bug 1386955 - fix password manager test adapting to new NSS behaviour, r=johannh 2017-08-17 15:57:47 +02:00
Masatoshi Kimura
b5473a8193 Bug 1387805 - Remove [deprecated] nsIScriptSecurityManager.getCodebasePrincipal(). r=bz
MozReview-Commit-ID: CY47PBaQ5oy
2017-08-06 15:31:31 +09:00
Andrew Halberstadt
1ecb0adc26 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw
2017-08-10 14:48:21 -04:00
Phil Ringnalda
5e91797776 Backed out changeset 6896f93a2327 (bug 1385352) for not making it to m-c before the next violation of its new linting rule merged to autoland
MozReview-Commit-ID: 3HDE2C3wSU0
2017-08-10 20:21:19 -07:00
Andrew Halberstadt
6c60ffa524 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw
2017-08-10 14:48:21 -04:00
Valentin Gosu
b650fda6c5 Bug 1380617 - Fix tests that expect unicode encoding of hostname r=smaug
MozReview-Commit-ID: 6EGhUJmtjTc
2017-08-09 17:44:08 +02:00
Jorg K
8d2c6009c0 Bug 1388166 - Handle case where chromeWin.getBrowser() doesn't exist. r=johannh 2017-08-07 14:44:00 -04:00
Evan Tseng
a7aac69e8b Bug 1382135 - Remove all colon signs on sub-dialogs because we already removed them all on each category pane and we should make same thing for sub-dialogs. r=jaws
MozReview-Commit-ID: 8md6CFBSM3B
2017-08-01 11:54:54 +08:00
Masatoshi Kimura
0af76969af Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC
2017-08-04 17:49:22 +09:00
David Keeler
5b5ede8b27 bug 1386955 - update test_logins_decrypt_failure.js to work after fixing NSS bug 1379273 r=mossop
Before this patch, test_logins_decrypt_failure.js would essentially call
PK11_ResetToken and then PK11_ChangePW (via nsIPK11Token.reset and
nsIPK11Token.changePassword, respectively). This was never correct (after
PK11_ResetToken, the token has no password, so it can't be changed), and after
bug 1379273 this actually fails. The correct thing to do is PK11_ResetToken and
then PK11_InitPin (nsIPK11Token.initPassword).
2017-08-03 11:22:11 -07:00
Johann Hofmann
3efab08905 Bug 1350152 - Don't rely on gBrowser in nsLoginManagerPrompter.js. r=mkaply
In bug 1266836 we fixed this code to properly work in e10s,
but made the mistake of using gBrowser in toolkit code, breaking
XUL apps that don't have a gBrowser. This solution implements
a different code-path for non-e10s and returns a chrome
window for consumers that don't offer a browser.

MozReview-Commit-ID: 929ahDenzu5
2017-06-01 21:41:11 +02:00
Masatoshi Kimura
c0943e4f30 Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
MozReview-Commit-ID: DqJdTGopR9G
2017-07-29 20:50:21 +09:00
Rajesh Kathiriya
fefc455410 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Sebastian Hengst
1326418a49 Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout 2017-07-31 14:44:34 +02:00
Rajesh Kathiriya
0d920ece6a Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Marco Castelluccio
cda1b7b343 Bug 1357517 - Remove Preferences.jsm import from password manager. r=MattN 2017-07-28 21:22:51 +02:00
Florian Quèze
2a585b2a37 Bug 1381853 - lazy load nsContextMenu.js into the browser window, r=mconley. 2017-07-23 00:17:59 +02:00
Rajesh Kathiriya
bfb3762076 Bug 1374670 - Enabled the ESLint no-tabs rule across mozilla-central r=standard8
MozReview-Commit-ID: RT5QTipaOW
2017-07-04 21:30:18 +05:30
Dan Banner
4be8ffda45 Bug 1370218 - [Mac] Pressing backspace to remove a password in the password dialog (in preferences) should leave the dialog open. r=MattN
MozReview-Commit-ID: HtbUJUJgncK
2017-06-23 20:09:21 +01:00
Sebastian Hengst
1c0742feae Backed out changeset ff995f2f71f2 (bug 1378313) for frequently failing test_accessiblecaret_cursor_mode.py on Linux opt. r=backout 2017-07-06 18:33:05 +02:00
Dão Gottwald
87f1bde304 Bug 1378313 - Fix up bogus code showing the reload button as enabled when it's disabled. r=johannh
Bug 1376893's approach is wrong in various ways:

- It shows the reload button as enabled for about:blank

- The disabled state styling is implemented in browser/themes/shared/toolbarbuttons.inc.css, and could be implemented differently. browser/base/content/browser.css should not depend on theme specifics.

- :not(:-moz-window-inactive) only begins to make sense on Mac, and obviously prevents the fix from taking effect in inactive windows

MozReview-Commit-ID: Dfh6VbirwPe
2017-07-06 12:32:29 +02:00
Carsten "Tomcat" Book
dc9733891d Backed out changeset f49a21b8b4bd (bug 1378313) for perma failurs like browser_temporary_permissions_navigation.js | Test timed out 2017-07-06 12:24:17 +02:00
Dão Gottwald
289f2d904a Bug 1378313 - Fix up bogus code showing the reload button as enabled when it's disabled. r=johannh
Bug 1376893's approach is wrong in various ways:

- It shows the reload button as enabled for about:blank

- The disabled state styling is implemented in browser/themes/shared/toolbarbuttons.inc.css, and could be implemented differently. browser/base/content/browser.css should not depend on theme specifics.

- :not(:-moz-window-inactive) only begins to make sense on Mac, and obviously prevents the fix from taking effect in inactive windows

MozReview-Commit-ID: CaBLYFKwPgh
2017-07-06 11:07:08 +02:00
Frederik Braun
96b2642639 Bug 1351608 - Disable warnings for existing violations to no-unsanitize rule r=Standard8.
MozReview-Commit-ID: 7cTNL5jMtRw
2017-07-03 20:07:02 +01:00
Florian Quèze
c0468168f5 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Florian Quèze
b622c2b081 Bug 1368456 - Remove imports of Promise.jsm from Firefox, r=mconley. 2017-06-23 11:25:18 +02:00
Florian Quèze
f97b0ef21c Bug 1034599 - Convert remaining Promise.defer() uses to PromiseUtils.defer() or new Promise(), r=mconley. 2017-06-23 11:25:02 +02:00
Florian Quèze
c30094cdf7 Bug 1374282 - script generated patch to remove generators from add_task in browser/ and toolkit/, r=Mossop. 2017-06-22 12:51:43 +02:00
Paolo Amadini
7afba17088 Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P
2017-06-19 11:32:37 +01:00
Rajesh Kathiriya
993895141d Bug 1370225 - Enabled the ESLint comma-style rule across mozilla-central. r=standard8
MozReview-Commit-ID: 9OhLgBpYS4L
2017-06-15 18:24:17 +01:00
Henri Sivonen
7af0452b6b Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor.
MozReview-Commit-ID: 15Y5GTX98bv
2017-06-13 13:23:23 +03:00
Dan Banner
4055021839 Bug 1368041 - Enable no-array-constructor across mozilla-central r=standard8
MozReview-Commit-ID: EXJNufdKKhJ
2017-05-27 15:17:29 +01:00
Mark Banner
cd26ab051f Bug 1367232 - Clean up various ESLint global definitions in toolkit/. r=mossop
MozReview-Commit-ID: Hhm4YBansg1
2017-05-19 09:22:48 +01:00
Christoph Kerschbaumer
5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Honza Bambas
f3b5a77a73 backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-13 13:55:11 +02:00