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

547823 Коммитов

Автор SHA1 Сообщение Дата
Andrew Osmond 7deae0134b Bug 1359833 - Part 10. Add telemetry to track how often imgRequestProxy needs to dispatch. r=tnikkel data-r=bsmedberg 2017-07-19 14:15:12 -04:00
Andrew Osmond 9cc95e86c2 Bug 1359833 - Part 9. Fix image mochitests to not assume a particular order of events. r=tnikkel 2017-07-19 14:15:12 -04:00
Andrew Osmond 3f2ef119ba Bug 1359833 - Part 8. ScriptedNotificationObserver should use nsAutoScriptBlocker when issuing notifications. r=tnikkel 2017-07-19 14:15:12 -04:00
Andrew Osmond 8a1d7d4bf1 Bug 1359833 - Part 7. nsImageLoadingContent native observers should use the new API. r=tnikkel 2017-07-19 14:15:12 -04:00
Andrew Osmond a0321e7db6 Bug 1359833 - Part 6. nsImageLoadingContent should not associate scripted and XPCOM observers with the same document. r=tnikkel 2017-07-19 14:15:11 -04:00
Andrew Osmond 02e515fc18 Bug 1359833 - Part 5. Callers pass the loading document to imgRequestProxy::SyncClone and GetStaticRequest. r=tnikkel 2017-07-19 14:15:11 -04:00
Andrew Osmond 02a3031379 Bug 1359833 - Part 4. imgLoader should pass down the loading document to the imgRequest. r=tnikkel 2017-07-19 14:15:11 -04:00
Andrew Osmond 614095af6d Bug 1359833 - Part 3b. Split imgRequestProxy::Clone into Clone and SyncClone. r=tnikkel
imgRequestProxy::SyncClone preserves the original behaviour of issuing
synchronous notifications once cloned. Some uses and tests depend on
this behaviour but in an ideal world, it would not be required.

imgRequestProxy::Clone is intended to be the replacement going forward,
which issues asynchronous notifications once cloned.
2017-07-19 14:15:11 -04:00
Andrew Osmond 77f71d7379 Bug 1359833 - Part 3a. imgRequestProxy should use an event target derived from the loading document. r=tnikkel 2017-07-19 14:15:11 -04:00
Andrew Osmond b37314e6ec Bug 1359833 - Part 2. IDecodingTask should use the event target from ProgressTracker for main thread runnables. r=tnikkel 2017-07-19 14:15:11 -04:00
Andrew Osmond 25dd032904 Bug 1359833 - Part 1. ProgressTracker should select an event target from observers and expose to callers. r=tnikkel 2017-07-19 14:15:11 -04:00
Andrew Osmond 8bc3918397 Bug 1359833 - Part 0. Add SchedulerGroup::IsSafeToRunUnlabeled method to determine if running in an unlabeled context. r=billm 2017-07-19 14:15:11 -04:00
Ryan Hunt 522bc76415 Bug 1382128 part 8 - Remove Wr prefix from some type aliases. r=kats
MozReview-Commit-ID: 5h7QobhcYc1

--HG--
extra : rebase_source : 34d6636b6c3726ccc21b105f05227e27f84e63c9
2017-07-19 03:28:58 -04:00
Ryan Hunt e06d502736 Bug 1382128 part 7 - Organize types in webrender_bindings. r=kats
This commit organizes the structs in bindings.rs to be sorted by similarity.

MozReview-Commit-ID: KIskAwDiJIc

--HG--
extra : rebase_source : 2854f8d7f3a60fee6e2136db6b1a91c9c7dc0e24
2017-07-19 02:54:10 -04:00
Ryan Hunt d9bbfee6e2 Bug 1382128 part 6 - Remove WrBorderSides, WrBorderRadius, WrBorderWidths, WrNinePatchDescriptors. r=kats
MozReview-Commit-ID: 7YkHoNs64T9

--HG--
extra : rebase_source : f6f29cea6753d95857b0d65ae97faed1ed306f10
2017-07-19 01:56:20 -04:00
Ryan Hunt c013220860 Bug 1382128 part 5 - Remove WrGradientStop and WrGradientExtendMode. r=kats
MozReview-Commit-ID: 47Rb5jUpCFX

--HG--
extra : rebase_source : 6b4d3e6193b08bc978751921d12a0bb37a60c927
2017-07-19 01:47:07 -04:00
Ryan Hunt f082c1791e Bug 1382128 part 4 - Remove WrGlyphInstance. r=kats
MozReview-Commit-ID: 2CpW51FKUoK

--HG--
extra : rebase_source : d24e596dbd1a114d660e0b0ec1657f3efc11965d
2017-07-18 18:53:09 -04:00
Ryan Hunt 9b7f455eef Bug 1382128 part 3 - Rename WrByteSlice to ByteSlice. r=kats
MozReview-Commit-ID: 4jOsyvwxKrq

--HG--
extra : rebase_source : b40f6aac20087f805366f2f304fb8d45072b936a
2017-07-18 18:35:52 -04:00
Ryan Hunt 017d292cac Bug 1382128 part 2 - Remove WrPoint, WrSize, WrRect, WrMatrix, and WrColor. r=kats
MozReview-Commit-ID: 9koNScu4CyE

--HG--
extra : rebase_source : 68185e949ddf2ae346a5d597d056a7f2d9ea7a28
2017-07-18 18:32:46 -04:00
Dan Minor 817491807e Bug 1379836 - Fix AEC Logging; r=jesup
This enables apm logging by setting the apm_debug_dump variable in gyp.mozbuild.
Prior to this change, some files were including apm_data_dumper.h with logging
enabled and some were not.

This also removes the AEC* C interface and calls into webrtc::Trace directly.
Whatever historical reasons for having a C interface into these calls no
longer seems to apply. In addition reserving a buffer for the base file name
and then ensuring it was null terminated caused an ASAN "stack-buffer-overflow"
while testing. This was because it was not handling an empty base file
name properly. This would not normally happen if AEC logging was enabled through
about:webrtc, but it still seems safer to use std::string.

MozReview-Commit-ID: Ikz5xO74syA

--HG--
extra : rebase_source : 8e0c59117135fadb75f4a7e6be5588af1404533d
2017-07-12 16:49:15 -04:00
Samuel Vargas 107a8c4e5b Bug 1381610 - Check bindRenderbuffer called before framebufferRenderbuffer. r=jgilbert 2017-07-17 16:52:00 -04:00
André Bargull ceca1e45b7 Bug 1380344 - Add Ion support for IsPackedArray. r=jandem
--HG--
extra : rebase_source : 8599c33b39806d1580a3a5fd208f39150f6c2c3e
extra : histedit_source : de214f94b5b5eb2d440519634555da3a0dc72b85
2017-07-17 08:56:22 -07:00
André Bargull a32a33c30a Bug 1380962 - Part 2: Remove unnecessary lambda function in FunctionToString. r=jandem
--HG--
extra : rebase_source : 82d488bd9207e98ae632b825e040f991b17b9bc2
extra : histedit_source : e5284923248189d19766145a7de7554ae6f9b13c
2017-07-17 08:56:16 -07:00
André Bargull bd210d189b Bug 1380962 - Part 1: Merge append calls when assembling the source string for native functions. r=jandem
--HG--
extra : rebase_source : 11fcfdccb3ca403ba20a9270cf67ba843506da59
extra : histedit_source : c51ce359c176815f9a4f2658696810ab1b93057c
2017-07-17 08:56:11 -07:00
André Bargull 7807a64afa Bug 1381474 - Check for detached buffers by querying the current length when sorting typed arrays. r=till
--HG--
extra : rebase_source : ffdb83418d6c14772cff251dce5bc56d45c06e06
extra : histedit_source : d6fe1a16999f67ece70984c79bde5e4f7ea0602b
2017-07-17 06:12:20 -07:00
André Bargull f99876d7f6 Bug 1381469 - Only check for detached buffers when iterating over typed arrays when the current length is zero. r=till
--HG--
extra : rebase_source : a345bb12dc87a9923beb2b235850e506d08046b7
extra : histedit_source : 158f8c1d3e171735eb08e0c684023f9c78e24d12
2017-07-17 06:01:01 -07:00
André Bargull 900d376185 Bug 1381466 - Throw TypeError when comparator was provided, but is not callable per ES2018 draft spec. r=till
--HG--
extra : rebase_source : e738b045b90a6ccce6f990979989faec92eb261e
extra : histedit_source : 0433782bd238ff3f18a58016fb9b52cddd24903e
2017-07-17 05:53:07 -07:00
André Bargull 8949cb2fcf Bug 1381433 - Throw when Date.prototype.toString is called with non-Date object per ES2018 spec draft. r=till
--HG--
extra : rebase_source : 082eed044fd9c90287a5871e66be9bec5e2cc31f
extra : histedit_source : 625f3027b33eedde1d988079e726e70a916005a0
2017-07-17 03:43:15 -07:00
André Bargull 2db8d96a93 Bug 1381423 - Generate slightly better code for visitCallGeneric and RangePopFront. r=jandem
--HG--
extra : rebase_source : 3517d6d4d77e9c15fc881776fa363c72f1c2e06d
extra : histedit_source : f9720cfb0922a76298b69faa80d0994e89a1a1fb
2017-07-17 02:23:10 -07:00
Dominic Farolino c3f7031cd8 Bug 1379813 - Annotate crash reports with the number of times the GPU process has been launched. r=dvander 2017-07-13 13:27:00 -04:00
Marco Castelluccio 3b9bc766e9 Bug 1371970 - Add TestPrintf to cppunittest.ini to make it execute on automation. r=glandium
--HG--
extra : rebase_source : 2687ffc879e05e89b171ea229f159e10b9a18777
2017-07-11 23:46:12 +02:00
Alphan Chen 126b75ecd5 Bug 1318988 - Implement allowPaymentRequest on iframe. r=baku
--HG--
extra : rebase_source : 976b3449ec72d01004323706414e3b26c653aaec
2017-07-18 10:16:28 +08:00
Nicolas B. Pierron e16981ec72 Bug 1364908 - Fix test case basic/bug858097.js, to checking in Compacting GC cases. r=jonco 2017-07-18 14:16:21 +00:00
John Dai 214e4b9b24 Bug 1315885 - Part 4: Implement callback reaction for custom element reactions. r=wchen
MozReview-Commit-ID: L462de2JmzT

--HG--
extra : rebase_source : 6d8e17a2cdf6635fcf7708fd57912cac89526b1d
2017-07-11 17:46:16 +08:00
John Dai d42ab7cdaa Bug 1315885 - Part 3: Transfer the ownership of ReactionQueue's entry due to re-enter CustomElementReactionsStack::InvokeReactions. r=wchen
MozReview-Commit-ID: 9Ku4jnuV9o3

--HG--
extra : rebase_source : 2d20a838d2f9362df5c77c43808f3d11aec3c920
2017-07-10 16:33:16 +08:00
John Dai 8da9589387 Bug 1315885 - Part 2: Avoid rethrowing exception in CustomElementCallback::Call. r=wchen
MozReview-Commit-ID: J6cUv2HJqE

--HG--
extra : rebase_source : c3868491497114ef9717ec976289a7c1268e5c7e
2017-07-10 16:22:13 +08:00
John Dai 47399ef481 Bug 1315885 - Part 1: Add ShadowRoot CEReactions annotation. r=smaug
MozReview-Commit-ID: JgtgMNVsN6w

--HG--
extra : rebase_source : 0dcfb097ec7f53d470bd94854cb512bc36108bb9
2017-07-10 16:18:04 +08:00
Benjamin Smedberg e92ddc293b Bug 1374038 - _exit() can call static destructors on Windows! So replace it with TerminateProcess which can't, r=jimm r=mstange
MozReview-Commit-ID: FSsOU85yA18

--HG--
extra : rebase_source : 7247a9940d7729e003af51c0cc7de15b08aa54d0
2017-07-17 16:06:15 -04:00
Paolo Amadini 137d61ddbb Bug 1381409 - Part 3 - Use DownloadList notifications directly in front-end download views. r=mak
The DownloadList object now provides batch notifications directly, in preparation for linking front-end views to other types of download lists without having to use the DownloadsData indirection.

MozReview-Commit-ID: FOTz1YwGRE1

--HG--
extra : rebase_source : df2d50d50c45a98e257caaa6efa9d0da2fa79237
extra : source : 278858e3d78b5e371f865adac043d07b770f1d3f
2017-07-17 12:05:12 +01:00
Paolo Amadini 64bb3feb3b Bug 1381409 - Part 2 - Let each view keep the state of downloads relevant to it. r=mak
The front-end download views now maintain the old download state themselves, instead of relying on the DownloadsData object dispatching the onDownloadStateChanged notification.

This allows each view to keep only the state relevant to it, for example the Downloads Panel already keeps the state only for the visible items. This also makes it possible for each view to use a different hash than the one provided by the legacy stateOfDownload method, and allows bypassing the DownloadsData indirection entirely.

MozReview-Commit-ID: 2D1ixsZCkCa

--HG--
extra : rebase_source : f429fe475ea1887180e269ee8aa0addcee76704d
extra : source : df5f46c825a10587149a7bbac2e126c3906e0393
2017-07-17 12:07:17 +01:00
Paolo Amadini 180e05ac9f Bug 1381409 - Part 1 - Always add Download objects in their original order. r=mak
When a new front-end view is added to the DownloadsData object, the Download objects it contains are loaded into the view starting with the newest, which is the opposite of the order used by the underlying DownloadList.

This was originally implemented as an optimization for the Downloads Panel, at a time when the full list of completed downloads was persisted in the same SQLite database as session downloads. This difference is now unnecessary given the low number of session downloads, and can be removed in preparation for bypassing the DownloadsData indirection entirely.

MozReview-Commit-ID: 5EBkqvyXFq4

--HG--
extra : rebase_source : 44b8783e5c44460d3aa4fb9bd0834c981110e98e
extra : source : 56b8e456797c56c45ed791c0d40f43031e94dc22
2017-07-16 17:36:00 +01:00
sotaro 7ceccd46b7 Bug 1378697 - Release resources in WebRenderXXXLayer::ClearCachedResources() r=nical 2017-07-18 22:37:36 +09:00
Andrew Osmond 094c212d54 Bug 1350408 - Gracefully handle failures in WebRenderLayerManager::Initialize to allow reinit. r=kats 2017-07-18 09:35:07 -04:00
Paolo Amadini 3c1829bf94 Bug 1357915 - Fix download commands operating on multiple items in the Library window. r=Standard8
This was regressed by bug 1264206 while removing legacy array comprehensions, because selectedItems is a NodeList and not an Array.

MozReview-Commit-ID: 61GG3SiiWwS

--HG--
extra : rebase_source : 3b3c1268be944d1942450336d4e9c652b4054b41
2017-07-18 10:19:48 +01:00
Christoph Kerschbaumer 5c7ac7954b Bug 1337272: Convert tests within toolkit/ to not rely on principal inheritance for data: URIs. r=gijs 2017-07-18 15:18:00 +02:00
Bob Owen f33fd037aa Bug 1356493: Add the SDK version number to the bin path for Windows 10 SDK v10.0.15063.0 and above. r=glandium
This patch also works for the current preview SDK v10.0.16232.0.
2017-07-18 14:21:32 +01:00
Peter Moore 645605d57f Bug 1381801 - use millisecond precision in taskcluster task definition timestamps;r=dustin 2017-07-18 14:44:41 +02:00
Sebastian Hengst c80daf709f Backed out changeset b669da0374a2 (bug 1337272) for linting failure at test_mousecapture.xhtml:208: 'topPos' is assigned a value but never used. r=backout 2017-07-18 14:16:54 +02:00
Nicolas B. Pierron 07a6807814 Bug 1364908 - Fix ion/bug1284485.js unreported OOM. r=bbouvier 2017-07-18 12:08:22 +00:00
Nicolas B. Pierron a1f0784e66 Bug 1364908 - IonMonkey: Add LoadElementFromSate to support argument[x] in inlined functions. r=jandem 2017-07-18 12:08:22 +00:00