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

578811 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione 43040e2d2f Bug 1431533: Part 4 - Add ESLint support for ChromeUtils import methods. r=florian
This adds support for detecting globals created by these helpers, as well as a
rule to enforce their use over the older XPConnect variants.

The latter rule also supports fixing code to use the newer variants, and will
be used in the next part to rewrite in-tree ESLint-enabled code that fails it.

MozReview-Commit-ID: 6Bgo6ohQA5j

--HG--
extra : source : fbef09c3e8af1653f270db589f73f2786c23ddc2
extra : intermediate-source : 8e4dcdb0f429003100e2727dad4108ab57087da2
2018-01-18 12:53:01 -08:00
Matt Woodrow 760ed538b7 Bug 1429932 - Part 7: Restrict dirty regions in ComputeRebuildRegion to the overflow area of the current frame so that we discard invalidations that aren't visible. r=miko
MozReview-Commit-ID: BJ5Ud7c9ofk
2018-01-12 11:51:08 +13:00
Matt Woodrow 756660c0c8 Bug 1429932 - Part 6: Attempt to skip Layer building if the display list hasn't changed. r=mstange
MozReview-Commit-ID: 1kBRIVteNb1
2018-01-12 11:50:11 +13:00
Matt Woodrow ad7cf1fba5 Bug 1429932 - Part 5: Move the Layer building section of nsDisplayList::PaintRoot into a separate function. r=mstange
MozReview-Commit-ID: Cm5ZRU3PoQo
2018-01-12 11:48:14 +13:00
Matt Woodrow 6a606ff229 Bug 1429932 - Part 4: Determine when AttemptPartialUpdate made no changes, and return the result to the caller. r=miko
MozReview-Commit-ID: 6S8WkzHcxP5
2018-01-12 11:46:23 +13:00
Matt Woodrow b18337f9bd Bug 1429932 - Part 3: Refactor RetainedDisplayListBuilder::AttemptPartialUpdate to have an early return instead of a nested scope. r=miko
MozReview-Commit-ID: L91euwUeJ5x
2018-01-12 11:43:41 +13:00
Matt Woodrow ce87663049 Bug 1429932 - Part 2: nsDisplayMask can paint images and shouldn't have the TYPE_RENDERS_NO_IMAGES flag. r=mstange
MozReview-Commit-ID: 7viMP1fMdfu
2018-01-12 11:42:11 +13:00
Matt Woodrow c076460f04 Bug 1429932 - Part 1: Remove mFireAfterPaintEvents and use mTransactions instead. r=tnikkel
This fixes a bug where EnsureEventualDidPaintEvent needs to be called separately for each transaction id, but we skip it since mFireAfterPaintEvents is still true from the previous paint.
We now track the equivalent state by checking for the presence of mTransactions[aTransactionId], and correctly schedule an eventual didpaint for each id.

MozReview-Commit-ID: JnRTycGEyom
2018-01-12 11:41:16 +13:00
Chris Pearce 2833f14652 Bug 1416667 - Backed out changeset 22453f19f050. r=backout
MozReview-Commit-ID: 3kaRtZtCQru
2018-01-30 15:02:01 +13:00
David Major b0f6b50b37 Bug 1422372: Mark MOZ_NoReturn as MOZ_MAYBE_UNUSED. r=Waldo 2018-01-30 14:15:51 +13:00
Matt Woodrow 119e50197f Bug 1432348 - Null check the inner view when looking for the sub doc for painting. r=miko
--HG--
extra : rebase_source : 4e830b7e4a40e8a82dfea53876606867c28e96d1
2018-01-29 17:21:00 -05:00
Matt Woodrow c112686a2e Bug 1432348 - Make we sure call the right version of UpdateDrawResult for the display item geometry used. r=tnikkel
--HG--
extra : rebase_source : d5e1961a965374204116f5343c6922cb2593b12b
2018-01-29 17:16:51 -05:00
Matt Woodrow 28b39888b0 Bug 1432968 - Cache the value of In3DContextAndBackfaceIsHidden during display list buidling. r=miko
--HG--
extra : rebase_source : d22ade7260b9e1ea71837b9a262e2ebd931902b9
2018-01-03 18:31:04 +13:00
Brindusan Cristian af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Brindusan Cristian d423a1aef8 Backed out changeset 8e4dcdb0f429 (bug 1431533) for ESlint failure on test-no-single-arg-cu-import.js on a CLOSED TREE 2018-01-30 02:05:25 +02:00
abhinav d534e6532f Bug 1411129 - Rename MayBeAsynchronouslyScrolled to IsMaybeAsynchronouslyScrolled to follow our naming conventions. r=mats 2018-01-29 17:54:04 +05:30
Kris Maglione e70d01a9e9 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : rebase_source : 6286dcfd1a7c970272ac6befaccd3e47e90d2f6b
extra : intermediate-source : d48657228a0b84cf3a37a35227ca3b3d0bd2a017
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
2018-01-18 16:27:26 -08:00
Kris Maglione c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Kris Maglione 66060a27cc Bug 1431533: Part 4 - Add ESLint support for ChromeUtils import methods. r=florian
This adds support for detecting globals created by these helpers, as well as a
rule to enforce their use over the older XPConnect variants.

The latter rule also supports fixing code to use the newer variants, and will
be used in the next part to rewrite in-tree ESLint-enabled code that fails it.

MozReview-Commit-ID: 6Bgo6ohQA5j

--HG--
extra : rebase_source : 4be020e5c28d8e72ff0aa9e66051fe493bfcce7c
extra : source : fbef09c3e8af1653f270db589f73f2786c23ddc2
2018-01-18 12:53:01 -08:00
Nick Thomas a696ee8f71 Bug 1433467 - disable binary transparency task, r=bhearsum
--HG--
extra : amend_source : 965b0b3fef3429760dd05bd9f198b4c1315e8c8f
2018-01-30 12:17:03 +13:00
Nick Thomas 4f8f657e10 Bug 1433809 - No SHASUMS or KEY files in 59.0b4 release directories, r=aki 2018-01-30 12:16:04 +13:00
Brindusan Cristian dbf026ac00 Backed out changeset 1a64ce266ba5 (bug 1425031) for mochitest failures on test_1425031.html on a CLOSED TREE 2018-01-30 00:20:25 +02:00
Kyle Machulis 7d9e113e16 Bug 1432271 - Remove MOZ_TIME_MANAGER block from old-configure.in; r=nalexander
MozReview-Commit-ID: E9GBaJq8haT
2018-01-29 13:54:44 -08:00
Kyle Machulis ec22ae62ae Bug 1432271 - Remove dom/time; r=baku
dom/time contained the TimeService and TimeManager classes, used for
setting time via Gecko on FirefoxOS. Since FirefoxOS is no longer in
the code base, the directory can be removed.

MozReview-Commit-ID: 8PEk3e6HA67
2018-01-29 13:54:42 -08:00
Amy Chung 6c7cd2d790 Bug 1425031 - Don't broadcast to content processes cookie updates that initiated in content processes. r=jdm 2018-01-12 12:53:00 -05:00
Gabriel Luong 49de74e595 Bug 1407347 - Prevent iframes in the inspector sidebar from rerendering when a sidebar tab is removed. r=Honza 2018-01-29 13:01:54 -05:00
Daniel Zielas e80f2e7469 Bug 1427229 - Perform validation when sending an EnumSet over IPC. r=botond,froydnj
MozReview-Commit-ID: Cmugi1ldc1Z

--HG--
extra : amend_source : 88b792772ce7948172a68fda03d6d61de66347de
2018-01-21 21:23:21 +01:00
Andrea Marchesini 6ab3b67d62 Bug 1433723 - URL in workers should use a proxy if the protocol is not http nor https, r=valentin 2018-01-29 20:51:32 +01:00
Kris Maglione f73158969a Bug 1433708: Part 4 - Fix GMP license link innerHTML sanitization. r=aswan
MozReview-Commit-ID: E3Mu765xl1A

--HG--
extra : rebase_source : c68142348d768b34d68f613795ec17a480e6a982
2018-01-26 11:31:09 -08:00
Kris Maglione 6b36043a0d Bug 1433708: Part 3 - Fix Fennec about:config innerHTML sanitization. r=mconley
MozReview-Commit-ID: J9tmYCGfOcB

--HG--
extra : rebase_source : 9adbee0d98ea9928377f2f8b8c3ad8be00e4d795
2018-01-26 11:21:59 -08:00
Kris Maglione 952665bf09 Bug 1433708: Part 2 - Fix ExtensionsUI innerHTML sanitization. r=aswan
MozReview-Commit-ID: B8Lzqx56fBi

--HG--
extra : rebase_source : 8a871ba1151cad23ae1d5bf80c118935443d8a96
2018-01-26 11:06:35 -08:00
Kris Maglione fc5153a0b5 Bug 1433708: Part 1 - Fix WebRTC innerHTML sanitization. r=mconley
MozReview-Commit-ID: JOkIXajO13O

--HG--
extra : rebase_source : 52f526f8c8eab86c8ff818f32b27aa5fd9172fc3
2018-01-26 10:57:47 -08:00
Gary Kwong 4a6be8beb3 Bug 1433597 - Remove unused --wasm-check-bce flag, r=luke 2018-01-26 16:58:00 +02:00
Ted Campbell 65cc03ef2a Bug 1433837 - Cleanup JSObject slots_ initialization r=jandem
js::Allocate<JSObject> now only sets slots_ if nDynamicSlots is
non-zero. This avoids spurious writes for other types and is now
consistent with JIT code.

MozReview-Commit-ID: 3spPMFj7Fxz

--HG--
extra : histedit_source : f01b0e2c54c85ec6b21f42ed564e714d0366cae0
2018-01-29 08:20:00 +02:00
Ted Campbell 79e38596f4 Bug 1433837 - Cleanup JSObject initialization nits r=jandem
Make JSObject initializations more consistent accross different types.

MozReview-Commit-ID: Ixbr1bfM0hj

--HG--
extra : histedit_source : a9d5a9bc53f169939caf6c4a2e463bbb0b90f199
2018-01-28 20:31:00 +02:00
Ted Campbell 613ec551bd Bug 1433837 - Delay MetadataBuilder for UnboxedObject and TypedObject r=jandem
Avoid NewObjectMetadata hook while OutlineTypedObjects have a
uninitialized owner pointer.

MozReview-Commit-ID: Hn0HmnEUmz5

--HG--
extra : histedit_source : 64387c21c2d8a27ffe55f5ac407fa6f8ef3201b5
2018-01-28 20:25:00 +02:00
Ted Campbell d172f1db6e Bug 1433837 - Objects that are isNative should extend NativeObject r=jandem
MozReview-Commit-ID: E3p4j45xnc7

--HG--
extra : histedit_source : 102760de3a858a80f22975d7f9118561137d21a7
2018-01-28 20:23:00 +02:00
Aditya Bharti 2d08e81fe6 Bug 1428888 - Allow C++ to accumulate multiple samples into a categorical histogram in one call r=chutten
Telemetry::Accumulate now supports two new signatures: Accumulate(HistogramId, nsTArray stringLabels) and
Accumulate(nsTArray enumValues). In the stringLabels case, if the array contains an invalid label, then no
samples are accumulated at all. In the enumValues array case, the class template ensures that we do not have
a mismatch of labels in the array, since the enumValues class is tied to the id of the histogram we want to
accumulate to.
2018-01-28 16:53:40 +05:30
Marco Castelluccio 1d7efd79f2 Bug 1433610 - Increase number of chunks for mochitest-devtools-chrome on windows10-64-ccov. r=jmaher
--HG--
extra : rebase_source : 144a31db13253fcfeb2d4a33b94fc2a004d73f7a
2018-01-29 11:51:17 +01:00
yuyin b5a7934b36 Bug 1424978 MIPS: Fix some function implement. r=lth
--HG--
extra : rebase_source : ad2ad6256f201de90b4e7949061a34cf2809e9a0
2017-12-13 02:04:00 +02:00
Matthew Gaudet d644f669bc Bug 1420910: Add InstanceOf inline cache to IonMonkey r=jandem
Install an inline cache for some of the instanceof calls in IonMonkey that
would otherwise hit the interpreter.

--HG--
extra : rebase_source : 5f87ab799d22f44c84c74ec5d53524133900ec79
2018-01-12 14:07:07 -05:00
Matthew Gaudet 944d7681a3 Bug 1420910: Convert the Baseline InstanceOf IC to CacheIR r=jandem
This is the preliminary patch to convert the Baseline InstanceOf
IC to CacheIR, which will later allow us to add support to IonMonkey

--HG--
extra : rebase_source : a01db1640d7970dc90530fdf214248b1b076b0ab
2017-12-12 16:21:45 -06:00
Dylan Roeh c8a5a694f9 Bug 1419463 - Add onFocusRequest to ContentListener API. r=snorp
This listens for "DOMWindowFocus" and calls onFocusRequest in the GeckoSession ContentListener whenever it is received, and implements onFocusRequest for custom tabs and PWAs.
2018-01-29 10:38:46 -06:00
Margareta Eliza Balazs a191f435d6 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-29 18:38:26 +02:00
Margareta Eliza Balazs 97cb0aa64a Merge inbound to mozilla-central. a=merge 2018-01-29 18:31:48 +02:00
Andrea Marchesini d90aa5aad9 Bug 1433914 - When workers hang, let's log if the shutting down has started, r=smaug 2018-01-29 17:08:41 +01:00
Joel Maher b2e035bcdf Bug 1433702 - run linux64 talos on new moonshot hardware via taskcluster instead of buildbot and IX hardware. r=rwood 2018-01-29 10:56:58 -05:00
Ben Kelly e34fac0e23 Bug 1433568 Remove the empty ServiceWorkerDescriptor() constructor. r=asuth 2018-01-29 07:52:44 -08:00
Andrea Marchesini b845f28538 Bug 1433625 - Implement console.createInstance().time("foo") correctly, r=smaug 2018-01-29 13:25:15 +01:00
sotaro 0fae93703a Bug 1413390 - Add PluginGeometryUpdates handling for WebRenderLayerManager r=jrmuizel 2018-01-29 20:55:09 +09:00