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

481951 Коммитов

Автор SHA1 Сообщение Дата
Stone Shih ccf5afdb9b Bug 1285713 - Disable unstable pointer events test cases. r=khuey 2016-07-09 14:11:48 +08:00
Kit Cambridge a89d36c0f5 Bug 1285311 - Mark `PushSubscriptionOptions.applicationServerKey` as `[SameObject]`. r=baku
MozReview-Commit-ID: D8wtnkFunRQ
2016-07-07 10:14:25 -07:00
Julian Hector 2071bf3b6c Bug 1285287 - Use proper macros to whitelist getres*id. r=gcp 2016-07-08 17:59:41 +02:00
Michael Li c28fee3910 Bug 1284281 - Support QueryInterfacing proxy accessibles to nsIAccessibleHyperlink. r=tbsaunde 2016-07-07 08:13:00 +02:00
ojab f013ea8b9c Bug 1284198 - Don't USE_CLOCK_API on macOS. r=terrence
macOS 10.12 like Android has clock functions, but not pthread_condattr_setclock
2016-07-04 01:29:00 +02:00
Farmer Tseng 55fd27efdb Bug 1283489 - mParams.mPlaybackRate should be updated after call GetVideoPosition(). r=jwwang 2016-07-10 23:35:00 +02:00
Michael Li 7fc51f7d9e Bug 1283273 - Change nsAutoPtr to UniquePtr in classes within layout/generic. r=dholbert 2016-07-08 08:08:00 +02:00
Jessica Jong bc0a1bc5f8 Bug 1278185 - Implement valueAsNumber and valueAsDate for <input type=month>. r=smaug 2016-07-11 01:00:00 +02:00
Brad Werth dde35eb992 Bug 1241932 - Expose decoded CSS grid line properties via a Chrome API. r=mats 2016-07-07 11:38:12 -07:00
Bevis Tseng 44deb08f5c Bug 1151017 - Support the 'close' Event on Databases. r=khuey
Outline of this patch:

1. Define a new ipdl message called |CloseAfterInvalidationComplete| to trigger the close event after all transactions are complete only if the database is invalidated by the user agent.
2. Make sure the following event sequence is consistent during invalidation according to the steps in |5.2. Closing a database| by the following 2 solutions:
     IDBRequest.onerror -> IDBTransaction.onerror -> IDBTransaction.onabort -> IDBDatabase.onclose.
   2.1. In parent process, do not force to abort the transactions after invalidation but wait for all the transactions in its child process are complete.
   2.2. In child process, make sure that each IDBTransaction will notify its completion to the parent after all its pending IDBRequests are finished.
3. Add test_database_onclose.js to test the close event especially when read/write operation is ongoing.
4. Add test_database_close_without_onclose.js as a XPCShell test because setTimeout() is not preferred in Mochitest to ensure that the IDBDatabase.onclose event won't be sent after closed normally.
2016-05-31 18:08:20 +08:00
Thomas Wisniewski 1d63a49f76 Bug 918721 - flip the relevant pref from bug 669259 and mark the relevant web platform test as passing. r=dragana 2016-07-08 11:39:20 -04:00
Rajinder Yadav 3131ca045e Bug 818617 - Number.prototype.{toPrecision,toExponential} should accept out-of-range input for NaN/Infinity. r=arai 2016-07-10 14:47:00 +02:00
Yoshi Huang e24cc195d9 Bug 1274893 - remove -forbid- list from SafeBrowsing. r=francois 2016-07-11 16:11:32 +08:00
Gian-Carlo Pascutto b3b0630046 Bug 1285507 - Whitelist memfd_create (used for Sealed Files IPC). r=jhector
MozReview-Commit-ID: 7UE6hyDiC6H

--HG--
extra : rebase_source : ef1fcbf9e2aefbf2b215e18a459ce72d4e0abc5c
extra : histedit_source : 02ba293c9af543f850c6ddeb2ca214f7527e3923
2016-07-08 17:12:30 +02: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
Matt Woodrow a871a80e98 Bug 1263092 - Improve error logging when reftests fail due to the screen resolution being too low. r=dholbert 2016-07-11 13:11:08 +12:00
Andrea Marchesini ddb0a1be85 Bug 1279503 - part 2 - moving BrowserConfiguration in the ContentChild::InitXPCOM, r=gabor 2016-07-11 00:28:13 +02:00
Andrea Marchesini 0e242f0ac7 Bug 1279503 - part 1 - removed a non-used variable in BrowserConfiguration, r=gabor 2016-07-11 00:28:10 +02:00
stefanh@inbox.com 13348e25c7 Bug 1280827 - Remove some obsolete OS X version checks in gfx/. r=jrmuizel. 2016-07-10 13:11:33 +02:00
Andrea Marchesini 5338858140 Bug 1285326 - Remove custom check in CheckUserContextCompatibility for UCI == 0 in nsWindowWatcher, r=smaug 2016-07-10 08:08:39 +02:00
Benoit Girard 70a0e5bad9 Bug 1284322 - Unblacklist NVIDIA >8.15.11.8265, >8.16.11.8265. r=jrmuizel
MozReview-Commit-ID: 6x9lWGEJCZ
2016-07-09 21:14:31 -04:00
Timothy Nikkel 8ef0c4f3e2 Bug 1285411. Mark preserve 3d children as "force descend into" before we mark absolute frames so that we can save the proper clip for more out of flow frames. r=mattwoodrow 2016-07-09 18:41:02 -05:00
Dustin J. Mitchell 647b6edf55 Bug 1281004: factor out searching for python objects by path; r=gps
MozReview-Commit-ID: 4ioEqPA7BQk

--HG--
extra : source : bc47aed3745de266164932e1eb1c7ad244e5f9cb
2016-06-29 22:12:09 +00:00
Tooru Fujisawa b3fcb7c13a Bug 1285658 - Remove a gap between dashed side and dashed corner if border radius is not an integer. r=jrmuizel 2016-07-10 06:18:12 +09:00
ojab c1eb9d57b7 Bug 1266369 - Don't define kVK_RightCommand when building against the macOS 10.12 SDK. r=masayuki
kVK_RightCommand is already defined in Carbon.framework in 10.12.

MozReview-Commit-ID: 5QWRK4Gokg8

--HG--
extra : amend_source : 14f4059ef2c7cabfc63c33c4cea92b2650b5bc48
2016-07-09 12:57:01 -04:00
Phil Ringnalda f69792c77b Merge m-c to m-i 2016-07-09 09:01:35 -07:00
Phil Ringnalda bc94fc8653 Merge f-t to m-c, a=merge 2016-07-09 08:53:47 -07:00
Phil Ringnalda 816f3fa167 Merge m-i to m-c, a=merge 2016-07-09 08:51:52 -07:00
Phil Ringnalda cdff56d5a5 Backed out changeset 2a9ec8b312c3 (bug 1280178) for taskcluster-images failure 2016-07-09 08:46:02 -07:00
Jonathan Hao 883083a3c9 Bug 1279568 - Capture thumbnails in an internal-only container. r=baku,markh 2016-07-09 21:41:32 +08:00
Jonathan Hao 9344187971 Bug 1279568 - Modify thumbnails tests to make sure cookies can't be set by document.cookies or xhr. r=markh 2016-07-09 21:41:30 +08:00
Andrea Marchesini 5e957116da Bug 1285508 - Fixing memory report for BlobURLs, r=smaug 2016-07-09 13:19:46 +02:00
Andrea Marchesini c51c130742 Bug 1264236 - Implement DataTransfer.getFiles, r=smaug 2016-07-09 11:21:42 +02:00
Tim Nguyen f332c75bae Bug 1283998 - Fix Fonts panel 'Show all' position on RTL locales. r=bgrins
MozReview-Commit-ID: 3VupMtAhcbD
2016-07-09 10:29:31 +02:00
Boris Zbarsky d7dcc1d4c7 Bug 1275315 followup. Actually include all the headers we need, to fix non-unified builds. r=bustage 2016-07-09 01:52:42 -04:00
Masatoshi Kimura 25ce2ba428 Bug 1284840 - Don't forget TLS intolerance when a DHE-based cipher is used. r=keeler
MozReview-Commit-ID: 70pa7lCLAxQ

--HG--
extra : rebase_source : f7ac3984139ebab86997041550e255c80a90fda2
2016-07-09 13:44:10 +09:00
Boris Zbarsky efc4dcf284 Bug 1275315 part 2. Use the new Realm getters in binding code. r=peterv 2016-07-09 00:19:52 -04:00
Boris Zbarsky 4eb8d252a4 Bug 1275315 part 1. Add a Realm.h that defines getters for some standard prototype objects. r=waldo 2016-07-09 00:19:50 -04:00
Chris Peterson 43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Boris Zbarsky 5d3ead1816 Bug 1281061. Do an atom equality compare instead of a string compare on the script filename string in SavedFrame::isSelfHosted. r=fitzgen 2016-07-08 22:53:53 -04:00
Wes Kocher 5f976429e1 Backed out changeset f7f37f4fd841 (bug 1029631) for gtest failures 2016-07-08 19:20:51 -07:00
Sotaro Ikeda 9a92018d0c Bug 1254011 - Avoid allocating RGB buffer for YUV data everytime r=nical 2016-07-08 18:59:59 -07:00
Kartikaya Gupta 8a5ecf1d31 Bug 1029631 - Enable touch-action support on Nightly for all platforms. r=smaug
MozReview-Commit-ID: 80KzjezAhMy
2016-07-08 20:23:24 -04:00
Luke Wagner c999164b02 Bug 1284155 - add #include to silence 32-bit unified compiler warning (r=me)
MozReview-Commit-ID: 9UQM63cfVSU

--HG--
extra : rebase_source : fbea588f641a204e08e054a8975f838709cad235
2016-07-08 18:49:46 -05:00
Daniel Holbert 05575e6215 Bug 1285660: Annotate DocshellEntryMonitor as 'final', to fix clang warning about it having virtual functions & explictly-invoked non-virtual destructor. r=bholley
(Its destructor is explicitly invoked by Maybe::reset(). This is fine, as long as there are no subclasses that need custom destruction behavior -- and 'final' proves that there are no subclasses.)

MozReview-Commit-ID: LKiw3CT6wN7
2016-07-08 16:20:18 -07:00
Geoff Brown 6c9e1864c5 Bug 1285675 - Grant READ_EXTERNAL_STORAGE to fennec during tests; r=me 2016-07-08 17:02:51 -06:00
Nick Fitzgerald f05a7e46e3 Bug 1285074 - Add `perror` calls when pthread locking fails; r=terrence 2016-07-08 15:48:48 -07:00
Ruturaj 6a39600b18 Bug 1253195 - Separate filter and search boxes visually, and make the text styling consistent. r=ntim
MozReview-Commit-ID: 1KZQA9X44Qi
2016-07-08 23:03:00 +02:00