Christoph Kerschbaumer
597babbdc9
Bug 1403641: Test data: URI download. r=bz
2017-10-04 08:44:36 +02:00
Christoph Kerschbaumer
efde1d4c6f
Bug 1403641: Allow data: URI downloads even if data: URI navigations are blocked. r=bz
2017-10-04 08:43:56 +02:00
Christoph Kerschbaumer
c285715916
Bug 1402363: Test Mixed Content Redirect Blocking. r=tanvi,kate
2017-10-02 09:12:12 +02:00
Christoph Kerschbaumer
885d6b6619
Bug 1402363: Explicitly cancel channel after mixed content redirect. r=honza,kate
2017-10-02 09:11:57 +02:00
Xidorn Quan
89a8ef8224
Bug 1403024 part 1 - Add nsContentUtils::SchemeIs helper function. r=bholley
...
MozReview-Commit-ID: 2NVc5QJSjl
2017-09-26 10:21:01 +10:00
Chris Peterson
0a61b3fb68
Bug 870698 - Part 10: Replace Append(NS_LITERAL_STRING("")) with AppendLiteral(u""). r=erahm
...
The NS_LITERAL_STRING macro creates a temporary nsLiteralString to encapsulate the char16_t string literal and its length, but AssignLiteral() can determine the char16_t string literal's length at compile-time without nsLiteralString.
MozReview-Commit-ID: H9I6vNDMdIr
2017-09-07 18:32:54 -07:00
Chris Peterson
bd442bfa70
Bug 870698 - Part 6: Replace Append(NS_LITERAL_CSTRING("")) with AppendLiteral(""). r=erahm
...
The NS_LITERAL_CSTRING macro creates a temporary nsLiteralCString to encapsulate the string literal and its length, but AssignLiteral() can determine the string literal's length at compile-time without nsLiteralCString.
MozReview-Commit-ID: F750v6NN81s
2017-09-07 18:25:25 -07:00
Chris Peterson
ce551e51b9
Bug 870698 - Part 4: Replace Equals("") with EqualsLiteral(""). r=erahm
...
MozReview-Commit-ID: G1GhyvD29WK
2017-09-06 01:13:45 -07:00
Christoph Kerschbaumer
f99329ee04
Bug 1398692: Test toplevel navigation to a data:application/pdf. r=bz
2017-09-14 07:37:07 +02:00
Christoph Kerschbaumer
94d3344522
Bug 1398692: Allow toplevel navigation to a data:application/pdf. r=bz
2017-09-14 07:34:41 +02:00
Christoph Kerschbaumer
b13ce0aa55
Bug 1398691 - Unescape data: URI for console message when blocking toplevel data: URI navigations. r=smaug
2017-09-12 07:06:38 +02:00
Christoph Kerschbaumer
0d41a554cd
Bug 1396320: Fix CSP sandbox regression for allow-scripts. r=dveditz
2017-09-07 09:11:38 +02:00
Christoph Kerschbaumer
45fab39d09
Bug 1396798: Test toplevel data: URI navigation to images. r=smaug
2017-09-06 16:16:18 +02:00
Christoph Kerschbaumer
0f5f5a361a
Bug 1396798: Do not block toplevel data: navigation to image (except svgs). r=smaug
2017-09-06 16:27:05 +02:00
Christoph Kerschbaumer
320e8ca6e6
Bug 1394554: Test block data: URI toplevel navigations after redirect. r=smaug
2017-09-06 09:34:59 +02:00
Christoph Kerschbaumer
16b8af3f4e
Bug 1394554: Test block data: URI toplevel navigations after redirect. r=smaug
2017-09-06 09:34:38 +02:00
Christoph Kerschbaumer
bfefd4d8c4
Bug 1394554: Block toplevel data: URI navigations after redirect. r=smaug
2017-09-06 09:33:10 +02:00
Christoph Kerschbaumer
5d94374c6a
Bug 1331740: Pass correct context for TYPE_DOCUMENT loads within docshell. r=smaug
2017-09-05 18:01:07 +02:00
Henri Sivonen
e1503a6db8
Bug 1354989 - Avoid pivoting via UTF-16 when loading CSS in the Stylo mode. r=jdm,SimonSapin
...
MozReview-Commit-ID: Llt29dvB4Io
2017-08-29 16:01:42 +03:00
Chung-Sheng Fu
3360252b7e
Bug 863246 - Fix test failures r=Gijs
...
MozReview-Commit-ID: 8tUr27zvs8z
2017-07-19 17:30:01 +08:00
Sebastian Hengst
71a9474a9e
Backed out changeset a7b0c6ddd812 (bug 863246)
2017-08-25 16:43:33 +02:00
Chung-Sheng Fu
4c53aad1f5
Bug 863246 - Fix test failures r=Gijs
...
MozReview-Commit-ID: 8tUr27zvs8z
2017-07-19 17:30:01 +08:00
Eric Rahm
bf94c13168
Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj
...
We should not be declaring forward declarations for nsString classes directly,
instead we should use nsStringFwd.h. This will make changing the underlying
types easier.
2017-08-16 16:48:52 -07:00
Christoph Kerschbaumer
de2a38f650
Bug 1387871 - CSP: Test 'self' within meta csp in data: URI iframe. r=dveditz
2017-08-23 09:50:20 +02:00
Christoph Kerschbaumer
a6a5ee703b
Bug 1387684 - CSP: Special case 'self' for unique opaque origins. r=dveditz
2017-08-23 10:05:12 +02:00
Christoph Kerschbaumer
8129c765df
Bug 1391011: CSP: Test upgrade-insecure-requests for toplevel navigations when base it https. r=smaug
2017-08-21 08:58:01 +02:00
Wes Kocher
35908f9c27
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: DjSlrmDFfe3
2017-08-16 17:14:41 -07:00
Kate McKinley
a21915dd8a
Bug 1390687 - remove versioned javascript and legacy generator code r=emk
...
MozReview-Commit-ID: 5f3NQdjQ68v
2017-08-15 16:08:16 -07:00
Gabor Krizsanits
f05a83b92c
Bug 1376895 - Make preloaded browser use pre-existing content process. r=mconley
...
We want to avoid to have several cached content processes, one for each
preloaded browser (one per window) and one for the preallocated process.
For that we force the preloaded browser to choose an existing process and
during the first navigation in that tab, that leaves about:newtab, we re-run
the process selecting algorithm
2017-08-16 13:00:22 +02:00
Carsten "Tomcat" Book
b087432a96
merge mozilla-inbound to mozilla-central a=merge
2017-08-16 11:23:24 +02:00
Carsten "Tomcat" Book
ed9b5b65d0
merge autoland to mozilla-central a=merge
2017-08-16 11:20:31 +02:00
Carsten "Tomcat" Book
10b7cba778
Backed out changeset adf5ed713e0d (bug 1376895)
2017-08-16 11:15:50 +02:00
Nicholas Nethercote
608970ed67
Bug 1390036 (part 1) - Remove most remaining uses of nsXPIDLString. r=erahm.
...
CompareCacheHashEntry::mCrit[] is the only case where the nsXPIDLString-ness
was important. The patch adds an explicit SetIsVoid() call to that class's
constructor and changes some null checks to IsVoid() checks.
2017-08-11 18:31:22 +10:00
Wes Kocher
d76abfe897
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: D96bIJACwZe
2017-08-15 19:16:12 -07:00
Masatoshi Kimura
b821026da0
Bug 1390106 - Stop using versioned scripts in dom. r=mrbkap
...
MozReview-Commit-ID: 89KvCoTAg3I
2017-08-14 20:42:55 +09:00
Gabor Krizsanits
2d5df8b520
Bug 1376895 - Make preloaded browser use pre-existing content process. r=mconley
...
We want to avoid to have several cached content processes, one for each
preloaded browser (one per window) and one for the preallocated process.
For that we force the preloaded browser to choose an existing process and
during the first navigation in that tab, that leaves about:newtab, we re-run
the process selecting algorithm
2017-08-15 14:05:17 +02:00
Cameron McCormack
722bd4ffef
Bug 1384741 - Part 4: Test that we don't send CSP violation reports for cached fonts we don't actually use. r=jfkthame
...
MozReview-Commit-ID: Hlu6Dp1Hc1D
2017-08-07 10:13:31 +08:00
Cameron McCormack
beb5b1790d
Bug 1384741 - Part 2: Allow file_report_chromescript.js to listen for more than one CSP violation report. r=bz
...
MozReview-Commit-ID: 8ym5OqSUTMW
2017-08-07 10:11:04 +08:00
Cameron McCormack
e0d11e7ba9
Bug 1384741 - Part 1: Add facility to buffer up CSP violation reports. r=bz
...
MozReview-Commit-ID: G4JLTmP1wD7
2017-08-07 10:09:32 +08:00
Brian Grinstead
2be258f821
Bug 1388552 - Export the HUDService object directly instead of individual methods and properties;r=nchevobbe
...
MozReview-Commit-ID: 9AYCuqqv1U7
2017-08-11 09:07:04 -07:00
Masatoshi Kimura
b5473a8193
Bug 1387805 - Remove [deprecated] nsIScriptSecurityManager.getCodebasePrincipal(). r=bz
...
MozReview-Commit-ID: CY47PBaQ5oy
2017-08-06 15:31:31 +09:00
Eric Rahm
0c7237960f
Bug 1386825 - Part 1: Remove MOZ_B2G from dom. r=bkelly
...
MozReview-Commit-ID: 1zzP2r01B7U
2017-08-08 14:41:05 -07:00
Christoph Kerschbaumer
a2d6bf2b04
Bug 1387811 - Follow up for Test within Bug 1381761: CSP JSON is never null, hence it's better to check actual contents of JSON for testing. r=dveditz
2017-08-06 11:37:09 +02:00
Christoph Kerschbaumer
82be514d08
Bug 1382869: Test data document should ignore meta csp. r=bz
2017-08-08 15:38:22 +02:00
db76da33f3
Bug 1381282 - Change nsScriptErrorBase::InitWithWindowID so that it does not call GetSensitiveInfoHiddenSpec as much as now. r=bz r=valentin
2017-08-07 15:56:30 +02:00
Nicholas Nethercote
723f585d9c
Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron.
...
This removes about 2/3 of the occurrences of nsXPIDLString in the tree. The
places where nsXPIDLStrings are null-checked are replaced with |rv| checks.
The patch also removes a couple of unused declarations from
nsIStringBundle.idl.
Note that nsStringBundle::GetStringFromNameHelper() was merged into
GetStringFromName(), because they both would have had the same signature.
2017-08-04 14:40:52 +10: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
Kate McKinley
d1ad7588c6
Bug 1376651 - Pass the nsIScriptElement instead of allocating a string every time r=ckerschb
...
Change the interface to GetAlowsInline to take an nsISupports* instead
of a string, and pass the nsIScriptElement directly. If we don't have an
element, then pass nullptr or the mock string created as an
nsISupportsString.
MozReview-Commit-ID: pgIMxtplsi
2017-07-27 11:01:24 -07:00
Christoph Kerschbaumer
69137d5a30
Bug 1381761 - Test data: URIs inherit the CSP even if treated as unique, opaque origins. r=dveditz
2017-08-04 14:10:38 +02:00
Christoph Kerschbaumer
a82b1aa2c6
Bug 1386183 - Test Meta CSP on data: URI iframe to be merged with CSP from including context. r=dveditz
2017-08-03 10:52:27 +02:00