Граф коммитов

623 Коммитов

Автор SHA1 Сообщение Дата
Thomas Wisniewski 95c459ec9a Bug 768072 - Implement imageSmoothingEnabled and deprecate mozImageSmoothingEnabled. r=pbro,adw,bas,bz 2016-09-01 20:49:54 -04:00
Jared Wein b2e0fdce56 Bug 1297993 - Include the ID of the offending <key> element in the key conflict message. r=masayuki
MozReview-Commit-ID: 7hZLCZqfHAy
2016-08-31 12:53:24 -04:00
Thomas Wisniewski f69944c26d Bug 289714 - Make console XML Parsing notices more informative. r=jst
--HG--
extra : rebase_source : a3d4cce2ebdf91eda7581dccc565f5607381f448
2016-07-20 14:46:32 -04:00
Olli Pettay f684a31ad3 Bug 1295914, improve the label of the button of folder picker, r=baku,mstange,karlt,jimm
--HG--
extra : rebase_source : 17d97b01d1e7d27b37369f46a6ea8854f9384f54
2016-08-24 02:07:21 +03:00
Olli Pettay dacd5c3661 Bug 1295914, improve the title of the folder picker a bit, r=baku
--HG--
extra : rebase_source : 2866f08c670897dad99f54f0c66ae81e2699630e
2016-08-24 02:06:08 +03:00
Christoph Kerschbaumer 3976be42ff Bug 1288361 - Return a network error for requests whose type is script and response has a MIME type that starts with image. r=dveditz 2016-08-22 08:55:35 +02:00
Thomas Wisniewski b6193832b6 Bug 1295128 - Log attempts to use SetRequestHeader to set a forbidden header to the web console. r=mrbkap
--HG--
extra : rebase_source : 9d135eeac085afa8568e2ec00882ba4f691436e9
2016-08-16 11:32:49 -04:00
Thomas Wisniewski fe6139c017 Bug 932755 - Add support for input/textarea minLength and tooShort. r=mrbkap
--HG--
extra : rebase_source : 064985cbb241ef8705dcec28f60db9f4caf65ae4
2016-08-17 00:11:24 -04:00
Sebastian Hengst 7fb9314ebd Bug 1210985 - More specific error message for "useCredentials" and wildcard allowing origin. r=browser-chrome-fix 2016-08-10 14:10:45 +02:00
Henry Chang 4d24f3fb3f Bug 1210985 - More specific error message for "useCredentials" and wildcard allowing origin. r=ckerschb
MozReview-Commit-ID: 9MvrhZk4sPI

--HG--
extra : rebase_source : de7999c6573e7e5670eab63699851c550ebe8af0
extra : source : 26506044f7650db6f2b27c3c496ba44ddf927723
2016-08-05 11:46:33 +08:00
Matt Woodrow 0a403df2cb Bug 1282312 - Part 2: Disable async animations when we have rendering observers. r=bbirtles 2016-07-29 17:58:32 +12:00
Sylvestre Ledru 264ead6793 Bug 1289135 - Fix typos in the properties files r=Ehsan
MozReview-Commit-ID: 5n2mCxzkDch

--HG--
extra : rebase_source : d2837bb8928d355ea109aedcde4a37c056ddcb95
2016-07-25 16:34:38 +02:00
Gerald Squelart 17e3c87114 Bug 1288585 - Clarify console message about WinXP unsupported formats - r=cpearce
On Windows XP (and others before Vista), if WMF is required to play a format,
the console message should not refer to Microsoft software as it is not
available there.

MozReview-Commit-ID: LaERcaOfePe

--HG--
extra : rebase_source : 72b6e24683be4eb2c21c9ccff039f326cf5647a7
2016-07-22 13:12:15 +10:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Christoph Kerschbaumer 9ec95d3d9d Bug 471020 - Implement X-Content-Type-Options: nosniff. r=dveditz,bz,mcmanus 2016-07-20 12:22:27 +02:00
Wes Kocher c9783f64cb Backed out 4 changesets (bug 471020) for frequent Windows w(2) failures CLOSED TREE a=merge
Backed out changeset d9675ab3d203 (bug 471020)
Backed out changeset 3ee328c56de0 (bug 471020)
Backed out changeset 000576e264bd (bug 471020)
Backed out changeset ffe60708c457 (bug 471020)
2016-07-18 16:07:28 -07:00
Christoph Kerschbaumer 1b211bd9c2 Bug 471020: Follow up, update quotes within security.properties. r=me 2016-07-18 17:19:29 +02:00
Christoph Kerschbaumer f897b7df7e Bug 471020 - Implement X-Content-Type-Options: nosniff. r=dveditz,bz,mcmanus 2016-07-18 14:47:48 +02:00
Xidorn Quan a392f65064 Bug 1284785 part 2 - Report reason to console if a pointer lock request is denied. r=smaug
MozReview-Commit-ID: 9kSYxDQYGLz

--HG--
extra : rebase_source : 7577d56c1cb774fe8c556957dc3822fc33cded62
extra : source : 7c8410f8b164791d50c7369ede66d31c608e51d4
2016-07-13 10:28:28 +10:00
Yoshi Huang e24cc195d9 Bug 1274893 - remove -forbid- list from SafeBrowsing. r=francois 2016-07-11 16:11:32 +08:00
Andrew Sutherland 7cf501d883 Bug 1167553 - Timeout-related Service Worker shutdowns should be reported. r=bkelly
Log a message when shutting down a service worker with pending promises.
Looks like:

Terminating ServiceWorker for scope
‘http://mochi.test:8888/tests/dom/workers/test/serviceworkers/’ with
pending waitUntil/respondWith promises because of grace timeout.
2016-07-10 22:22:29 -04:00
Andrew Sutherland 6f183de053 Bug 1233798 - report to console when service worker register fails due to mime-type issues. r=bkelly
Log a message to the console when there is no Content-Type received for a
service worker or it's not a JS type.  With test.  Looks like:

Failed to register/update a ServiceWorker: Non-JS Content-Type of ‘text/plain’
received for script
‘http://mochi.test:8888/tests/dom/workers/test/serviceworkers/sw_bad_mime_type.js’.
2016-07-10 22:22:28 -04:00
Andrew Sutherland d1659931b7 Bug 1267473 - Report to console if service worker script 404s. r=bkelly
Add an error message of the following form for when a register/update job
fails for network reasons:

Failed to register/update a ServiceWorker for scope
‘http://mochi.test:8888/tests/dom/workers/test/serviceworkers/network_error/’:
Load failed with status 404 for script
‘http://mochi.test:8888/tests/dom/workers/test/serviceworkers/404.js’.

A mochitest is added that verifies this.

To simplify the process of logging error messages, ServiceWorkerManager gains
a new LocalizeAndReportToAllClients method that always provides the SW scope as
the first argument to the localized string since all good error messages should
include it.

Its argument list takes an nsTArray<nsString> in order to reduce the potential
for use-after-free scenarios from the char16_t** signature that unfortunately
has rippled outwards from the nsIStringBundle interface.  This potentially
results in more memory allocation and byte shuffling than is strictly
necessary, but we're also talking about rare error logging where it's
better to optimize for easily adding the messages without needing to get hung
up on the life-cycle of temporaries.

nsTArray gained a std::initializer_list in bug 1228641.  It is explicit, so
inline argument usages may take a form along the lines of:
`nsTArray<nsString> { string1, string2, ... }`

This change did necessitate a change to nsContentUtils to add an nsTArray
variant of FormatLocalizedString since the existing public function was
slightly too clever.  It used a template function to statically acquire the
number of arguments at compile time, which is not compatible with the dynamic
nsTArray usage. Since nsTArray may be useful to other consumers as well, I
placed the conversion logic in nsContentUtils.
2016-07-10 22:22:27 -04:00
Michael Layzell dde888ae28 Bug 906420 - Part 1: Implement DataTransferItem and DataTransferItemList, r=baku 2016-07-04 15:45:45 -04:00
Paul Roberts ec18fc5ff7 Bug 671389 - Implement CSP sandbox directive. r=ckerschb r=smaug
--HG--
extra : rebase_source : d9c5f5868c2558a3696cd489674da6f243be11ad
2016-06-29 07:48:44 -07:00
Andrea Marchesini 5cddd3946d Bug 1283061 - HTMLInputElement type=file webkitdirectory/directory should show just 1 button, r=smaug 2016-06-29 18:18:42 +02:00
Boris Chiou 03d90dd78b Bug 1244590 - Part 3: Parse spacing. r=birtles
We only support spacing mode from Web Animations API, so add a simple parser and
use it only from the API. In this patch, parse spacing mode from the constructor
and throw TypeError if we have any parse error.

MozReview-Commit-ID: 9H7g80IcZfZ

--HG--
extra : rebase_source : e1bc781ff0f20a1a38c04e672832ec013edc549d
2016-05-13 16:38:25 +08:00
Cykesiopka 313db6b516 Bug 307081 - Clean up nsIClientAuthDialogs.idl and implementations. r=kats,keeler
This fixes the following in the IDL:
1. Misleading or unclear parameter names in the IDL. |cn| in practice is the
   concatenation of the CN of the server cert and the port of the server, and
   |issuer| is the Organization of the issuer cert of the server cert.
2. Use of the |wstring| type. |AString| is generally preferred, and has the
   benefit of letting implementations skip null checks due to the use of
   references.
3. Using an explicit |canceled| outparam instead of just setting a return type.
   There is no need for the outparam if the return type can be used.
4. Using |long| (int32_t) for |selectedIndex|. |unsigned long| (uint32_t) is
   more logical, and paves the way for future changes.

This fixes the following in the Android implementation:
1. Lack of checks to ensure the QueryInterface() call succeeded. In practice,
   the call will always succeed, but it's good practice to check anyways.
2. Setting a variable to an nsIPrefService instance initially, then later
   setting it to a pref branch instance later on. This is confusing and
   unnecessary.

This fixes the following in the desktop implementation:
1. Lack of null pointer checking.
2. Trying to get a parent window ref off a context that doesn't actually support
   doing so.
3. Setting a variable to an nsIPrefService instance initially, then later
   setting it to a pref branch instance later on. This is confusing and
   unnecessary.
4. Abusal of the CAPS bundle.
5. Unnecessary variables.
6. Variables declared far away from where they are used.
7. Variable shadowing.
8. Style issues.
9. Lack of documentation.

This also fixes the following:
1. Lack of localisation notes.

MozReview-Commit-ID: FTc6XecJd6h

--HG--
extra : transplant_source : %ABQ%8F%E6%A3%25%FE%94%E4%D6X%3D%28%2C%05%5E%FB%84.-
2016-06-24 00:12:11 -07:00
Masatoshi Kimura 5979f6931b Bug 1258053 - String changes. r=cpeterson 2016-06-22 21:55:14 +09:00
Blake Kaplan 70d89c7d92 Bug 1259517 - Make dropping images in editors work in e10s. r=baku 2016-06-21 15:17:37 -07:00
Jordan f35a9b375c Bug 825294 - Add framework for datepicker widgets to input[type=date]. r=smaug
-Add framework for datepicker widgets
-Split date input preference from dom.experimental_forms to dom.forms.date
2016-06-20 15:55:00 +02:00
Christoph Kerschbaumer 4a09f2e308 Bug 1280179 - Fix type on csp.properties . r=arroway 2016-06-15 09:24:16 +01:00
Tooru Fujisawa 6ed032640e Bug 382721 - Part 9: Warn about too large dotted/dashed corner. r=jrmuizel 2016-06-10 13:10:03 +09:00
Carsten "Tomcat" Book d612b10610 Backed out changeset c3f66208fe85 (bug 382721)
--HG--
extra : rebase_source : 45a93822af369dc9b1c4c2d733fa6a7e81064499
2016-06-10 15:38:30 +02:00
Tooru Fujisawa 5fd0e1df86 Bug 382721 - Part 9: Warn about too large dotted/dashed corner. r=jrmuizel 2016-06-10 13:10:03 +09:00
Carsten "Tomcat" Book afff301b32 Backed out changeset 5c836acf3197 (bug 906420) on developer request by baku
--HG--
extra : rebase_source : 9f109cdb706feef6d2bcd9a2e71f8c4d3c17ebdf
2016-06-09 15:30:53 +02:00
Dave Huseby f4337b6262 Bug 1237080 - adds deprecation msg for chrome scripted DOMParser without principal. r=baku
MozReview-Commit-ID: FuolzJOcslX
2016-06-07 18:57:45 -07:00
Michael Layzell bd973fcaa4 Bug 906420 - Part 1: Implement DataTransferItem and DataTransferItemList, r=baku 2016-06-07 18:05:55 -04:00
Dan Minor 072334bcdb Bug 1265408 - Log biquad channel change warning to console; r=padenot
MozReview-Commit-ID: G16wgfKr4I6

--HG--
extra : rebase_source : d4c205b6d30c9d583e2f9f76cdb06b6b32f1500f
extra : source : 5aa770304f2a519fda0989790b2d059d85a1db58
2016-06-03 14:17:41 -04:00
Dan Minor 399a5ec86f Bug 1265408 - Implement IIRFilterNode; r=padenot
MozReview-Commit-ID: EZvTIwTDVPE

--HG--
extra : rebase_source : 82af34db0b5879020d32e760eb5a99fefd25f835
extra : source : 4bd3f7f5a431f9124b3a7ca6858980c4447cfdd9
2016-06-03 13:42:03 -04:00
Chris Peterson 41ab04a4e2 Bug 1259335 - Part 2: Remove deprecated navigator.battery API and tests. r=baku
--HG--
extra : rebase_source : 82eeaa8964905627803acf250e434bf4036d2d1d
2016-06-06 23:10:44 -07:00
Wes Kocher 44c9e5473a Backed out 13 changesets (bug 1265408) for test_interfaces bustage CLOSED TREE
Backed out changeset 5aa770304f2a (bug 1265408)
Backed out changeset 465412cecc51 (bug 1265408)
Backed out changeset d7d5bbd33e0e (bug 1265408)
Backed out changeset 4dd3a54d766d (bug 1265408)
Backed out changeset 24d271e05ae2 (bug 1265408)
Backed out changeset 56d602e3a9e6 (bug 1265408)
Backed out changeset 4bd3f7f5a431 (bug 1265408)
Backed out changeset 1b0ec5cf4d30 (bug 1265408)
Backed out changeset 784521a9cc94 (bug 1265408)
Backed out changeset 9ab327850c5f (bug 1265408)
Backed out changeset 388a95b05202 (bug 1265408)
Backed out changeset 2d59146a43fe (bug 1265408)
Backed out changeset 84fab8755ac9 (bug 1265408)
2016-06-06 12:09:14 -07:00
Dan Minor e72edaf704 Bug 1265408 - Log biquad channel change warning to console; r=padenot
MozReview-Commit-ID: G16wgfKr4I6

--HG--
extra : rebase_source : 7c80e41af24a801f80ca9fb0ac389836e455e8c4
2016-06-03 14:17:41 -04:00
Dan Minor c846a288b4 Bug 1265408 - Implement IIRFilterNode; r=padenot
MozReview-Commit-ID: EZvTIwTDVPE

--HG--
extra : rebase_source : 2dddd4d387bd4ecb58bf5fa7dbd26d916a114c82
2016-06-03 13:42:03 -04:00
Frederik Braun 404a0bbb99 Bug 1265318: add require-sri-for CSP directive. r=ckerschb
MozReview-Commit-ID: 200PAvKtBME
2016-05-31 11:14:00 +02:00
Andrea Marchesini d466f0aab2 Bug 1048291 - Deprecate File::lastModifiedDate, r=smaug 2016-05-31 17:22:39 +02:00
Patrick McManus c0638a1abc Bug 1274729 - corrupted content string management r=dragana 2016-05-23 10:12:31 -04:00
Chris Peterson b1e318c188 Bug 1259335 - Part 1: Log deprecation warning for navigator.battery. r=baku 2016-05-21 01:08:52 -07:00
Andreas Pehrson b3ee63f6aa Bug 1271669 - Deprecate RTCPeerConnection.getLocalStreams/getRemoteStreams. r=jib, r=smaug
getLocalStreams and getRemoteStreams have been removed from the spec.

Also, getLocalStreams becomes a problem now that addTrack takes any MediaStream
as the container for the added track.

The addTrack()'ed MediaStream (perhaps not containing the track sent over the
pc - perhaps containing other tracks not sent over the pc!) will be returned
from getLocalStreams.

MozReview-Commit-ID: JUVCUM32mPR

--HG--
extra : rebase_source : 22373da7e02b315f0f4252c1986e55e960694a69
extra : histedit_source : a10d62b9c1d954090ad8c1444759d0e51a580c31
2016-05-20 10:42:48 +02:00
Hiroyuki Ikezoe f2fedee579 Bug 1267251 - Change message IDs for animation warnings. r=birtles,pbro
MozReview-Commit-ID: Fb93m5xt1Ey

--HG--
extra : rebase_source : 4c345a6ec8003df4665fe1318695e4ed820bba31
2016-05-19 13:06:27 +09:00