Commit Graph

578824 Commits

Author SHA1 Message Date
Boris Zbarsky
96697d35fe Bug 1432186 part 10. Remove nsIDOMNode's lastChild attribute. r=mccr8
MozReview-Commit-ID: FhJs1MXAyeO
2018-01-29 23:10:51 -05:00
Boris Zbarsky
baca310fed Bug 1432186 part 9. Remove nsIDOMNode::CloneNode. r=mccr8
MozReview-Commit-ID: 3x3wJ9H38Wx
2018-01-29 23:10:51 -05:00
Boris Zbarsky
df23390565 Bug 1432186 part 8. Remove nsIDOMNode::DOCUMENT_POSITION_* constants. r=mccr8
MozReview-Commit-ID: DXhiXZ3qQHg
2018-01-29 23:10:50 -05:00
Boris Zbarsky
cc90b5dd5b Bug 1432186 part 7. Remove nsIDOMNode's textContent attribute. r=mccr8
MozReview-Commit-ID: I5cIxa5WAk
2018-01-29 23:10:50 -05:00
Boris Zbarsky
eb9faa9b79 Bug 1432186 part 6. Remove nsIDOMNode::RemoveChild. r=mccr8
MozReview-Commit-ID: 9ZbIEIRtYPL
2018-01-29 23:10:50 -05:00
Boris Zbarsky
abfab07da3 Bug 1432186 part 5. Remove nsIDOMNode's nodeType attribute. r=mccr8
MozReview-Commit-ID: LKsBgKcqtBS
2018-01-29 23:10:50 -05:00
Boris Zbarsky
3b6d43f65c Bug 1432186 part 4. Remove nsIDOMNode's nodeValue attribute. r=mccr8
MozReview-Commit-ID: Aqt4NDjcdKW
2018-01-29 23:10:50 -05:00
Boris Zbarsky
c646473558 Bug 1432186 part 3. Remove nsIDOMNode's nodeName attribute. r=mccr8
MozReview-Commit-ID: Jg0Tuvdi6uX
2018-01-29 23:10:50 -05:00
Boris Zbarsky
e9880ecc58 Bug 1432186 part 2. Clean up the string handling in HTMLURIRefObject::GetNextURI. r=mccr8
MozReview-Commit-ID: DB3pSrA9ffy
2018-01-29 23:10:50 -05:00
Boris Zbarsky
4bba913229 Bug 1432186 part 1. Remove nsIDOMNode's prefix, namespaceURI, localName attributes. r=mccr8
Removing them all together because the only non-comm-central consumer is all
the same and this way there's no intermediate state to be maintained there
where we need both the nsINode and the nsIDOMNode.

MozReview-Commit-ID: GDjrroN1jao
2018-01-29 23:10:49 -05:00
Matthew Gregan
fa86235ca3 Bug 1434156 - Remove nightly gate from AudioIPC for Linux. r=kamidphish 2018-01-30 16:56:56 +13:00
Kris Maglione
e050496c59 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
extra : amend_source : d0515fe4eb13b59cc490ca9d964ad9ee15ef3cd3
extra : intermediate-source : 6e56f4c8843ed134b2dba34fb007298fd55be966
extra : histedit_source : 88abf9f4ea4e740a9391278625ef07395205c3f5%2Cc14bc7a71eb413fcb573ed0d030fd7f99a1468f0
2018-01-18 16:27:26 -08:00
Kris Maglione
6476f95b13 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 : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
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