Kate McKinley
1bef155067
Bug 1410364 - Don't consider opener when calculating IsSecureContext. r=bz, r=dveditz
...
Per https://github.com/w3c/webappsec-secure-contexts/issues/42 , the
section considering the window opener when calculating secure context is
to be dropped. Firefox already uses "isSecureContextIfOpenerIgnored" in
most places as this is the actual behavior we want. This patch aligns
with the upcoming spec changes by ignoring the window opener. We also no
longer have to keep information about whether our opener was secure as
that no longer factors in our calculations.
2017-11-29 10:40:00 -05:00
Dan Banner
503979c95a
Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
...
MozReview-Commit-ID: GrlcOI9K2hJ
2017-05-28 19:57:46 +01:00
Steve Jarvis
45e65df4d0
Bug 1334663 - Add ability to copy and launch URL from password manager. r=MattN,rfeeley
...
MozReview-Commit-ID: JApe0OhTIg8
2017-11-13 16:13:00 -08:00
Mark Banner
10663a729f
Bug 1412893 - Enable ESLint rule mozilla/use-services for toolkit/components/ r=mossop
...
MozReview-Commit-ID: 6HMhOm2klD4
2017-10-19 12:08:05 +01:00
Mark Banner
cd86a5dbc2
Bug 1412890 - Enable ESLint rule mozilla/use-services for toolkit/components/passwordmgr. r=MattN
...
MozReview-Commit-ID: BNojtj1cAji
2017-10-30 16:28:39 +00:00
Paolo Amadini
94f6d5e3a3
Bug 1411979 - Share the getTempFile function in xpcshell and browser tests. r=mak
...
MozReview-Commit-ID: 5hshgOrFqws
2017-10-31 13:25:45 +00:00
Sebastian Hengst
86c6a6052d
Backed out 2 changesets (bug 1411979) for failing xpcshell's toolkit/components/jsdownloads/test/unit/test_PrivateTemp.js. r=backout on a CLOSED TREE
...
Backed out changeset 7a4f33d16b9e (bug 1411979)
***
Backed out changeset 68e85782bbca (bug 1411979)
2017-10-30 19:19:45 +01:00
Paolo Amadini
08eedbcf50
Bug 1411979 - Share the getTempFile function in xpcshell and browser tests. r=mak
...
MozReview-Commit-ID: 5hshgOrFqws
2017-10-30 16:53:22 +00:00
Paolo Amadini
412803b57a
Bug 1412282 - Allow calling Assert.jsm methods directly from other test-only modules. r=mikedeboer
...
This adds a global instance that can be used by invoking assertion methods directly on the imported Assert object. The test suites set the global reporter function to the one for the currently running test.
MozReview-Commit-ID: 8dksVc9o7r
2017-10-27 14:38:30 +01:00
Mark Banner
e47ccbfec3
Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
...
MozReview-Commit-ID: H5YVp3rnzGo
2017-10-26 11:47:01 +01:00
Mark Banner
7ff28ae4b4
Bug 1410362 - Merge nsIPromptService and nsIPromptService2. r=enndeakin+6102
...
MozReview-Commit-ID: 5gKiuWF4LeA
2017-10-24 21:40:59 +01:00
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
Andreea Pavel
26ac595cba
Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE
...
Backed out changeset 0c01a98f4fd5 (bug 1412456)
Backed out changeset 27077db47231 (bug 1412456)
Backed out changeset f35ec2a884f8 (bug 1412456)
Backed out changeset 602b30ac3c69 (bug 1412456)
Backed out changeset b1ff1050c589 (bug 1412456)
Backed out changeset f100d953f9eb (bug 1412456)
Backed out changeset d85af60fe259 (bug 1412456)
Backed out changeset 736f38486832 (bug 1412456)
Backed out changeset 13a637602dc2 (bug 1412456)
2017-12-07 12:20:21 +02:00
Bill McCloskey
427710d960
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 21:17:05 -08:00
Dorel Luca
81b4b85d01
Backed out 8 changesets (bug 1412456) for ESlint failure on browser_urlbarKeepStateAcrossTabSwitches.js:13:49 r=backout on a CLOSED TREE
...
Backed out changeset 0e88de036c55 (bug 1412456)
Backed out changeset 49b93f807db0 (bug 1412456)
Backed out changeset 039e980b7dc6 (bug 1412456)
Backed out changeset c7698410ddbd (bug 1412456)
Backed out changeset e56a1ba26b7c (bug 1412456)
Backed out changeset 0c4506e124ac (bug 1412456)
Backed out changeset a7aec2ce903b (bug 1412456)
Backed out changeset 3e9fb71f1e8e (bug 1412456)
2017-12-07 07:09:33 +02:00
Bill McCloskey
a0f07d3df7
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 20:46:58 -08: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