Commit Graph
10 Commits
Author SHA1 Message Date
Florian Quèze 0a4ee94a29 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Kate McKinley 90c8afbeac Bug 1246540 - HSTS Priming Proof of Concept. r=ckerschb, r=mayhemer, r=jld, r=smaug, r=dkeeler, r=jmaher, p=ally
HSTS priming changes the order of mixed-content blocking and HSTS
upgrades, and adds a priming request to check if a mixed-content load is
accesible over HTTPS and the server supports upgrading via the
Strict-Transport-Security header.

Every call site that uses AsyncOpen2 passes through the mixed-content
blocker, and has a LoadInfo. If the mixed-content blocker marks the load as
needing HSTS priming, nsHttpChannel will build and send an HSTS priming
request on the same URI with the scheme upgraded to HTTPS. If the server
allows the upgrade, then channel performs an internal redirect to the HTTPS URI,
otherwise use the result of mixed-content blocker to allow or block the
load.

nsISiteSecurityService adds an optional boolean out parameter to
determine if the HSTS state is already cached for negative assertions.
If the host has been probed within the previous 24 hours, no HSTS
priming check will be sent.

MozReview-Commit-ID: ES1JruCtDdX
2016-09-27 11:27:00 -04:00
Sami Jaktholm 21382e40a1 Bug 1239920 - Fix other usages of waitForFinishedRequest() to ignore unexpected requests in webconsole tests;r=bgrins
If test timings shift in the future, the unexpected requests could occur
during any test. Since there are many tests that use waitForFinishedRequest(),
any of them could start to fail intermittently at any point.

These changes fix other usages of wwaitForFinishedRequest() to include a
predicate that ignores the requests that are unexpected during the test.

MozReview-Commit-ID: Er0xyt3YBj6
2016-03-25 08:09:25 +02:00
Brian Grinstead 6c8512a312 Bug 1243975 - Enable browser_webconsole_bug_632817.js in e10s;r=linclark
MozReview-Commit-ID: C2UgQf2SoOm
2016-03-21 17:29:02 -07:00
Lin Clark 88f7d57327 Bug 1243567 - Revert license change on webconsole tests. r=bgrins 2016-01-27 18:55:00 +01:00
Lin Clark 0a4383101d Bug 1241956 - Use standard license boilerplate in webconsole test files. r=bgrins 2016-01-25 11:19:39 -08:00
Lin Clark a7f3f2eb58 Bug 1237422 - Fix test description in browser_webconsole_bug_632817.js. r=bgrins 2016-01-06 17:27:00 -05:00
J. Ryan Stinnett 13a2b6f69a Bug 912121 - Misc. DevTools test fixes after migration. rs=devtools 2015-09-20 03:12:51 -05:00
J. Ryan Stinnett b17c143421 Bug 912121 - Update misc. DevTools paths and comments. rs=devtools 2015-09-21 12:07:31 -05:00
J. Ryan Stinnett a3073e0420 Bug 912121 - Migrate major DevTools directories. rs=devtools
Move major DevTools files to new directories using the following steps:

hg mv browser/devtools devtools/client
hg mv toolkit/devtools/server devtools/server
hg mv toolkit/devtools devtools/shared

No other changes are made.
2015-09-21 12:02:24 -05:00