gecko-dev/layout
Kris Maglione 1653b08073 Bug 1415352: Part 4c - Use subject principal as the triggering principal for inline <style> nodes. r=bz
This change captures the subject principal when a scripted caller sets the
textContent or innerHTML property of a <style> node, and uses it as the
triggering principal for the resulting stylesheet.

If the node contents are modified in any way other than through textContent or
innerHTML, the triggering principal is forgotten (which is an intentional
design feature).

MozReview-Commit-ID: GacZFIB5BzS

--HG--
extra : rebase_source : 04926f30b8e2831d18d3fb64b850f670f006eb85
2017-11-07 14:25:45 -08:00
..
base Bug 1409113 - Add nsIPresShell::HasHandledUserInput() r=masayuki 2017-11-22 10:09:04 -06:00
build Bug 1418222 - Move system metrics handling to nsMediaFeatures. r=TYLin 2017-11-17 15:35:26 +08:00
doc
forms Bug 1416620 - Fix webrender commands in nsDisplayButtonBorder. r=kats 2017-11-17 17:09:33 +08:00
generic Bug 1417947 - Mark the correct frame as modified when invalidating due to blend mode. r=miko 2017-11-22 15:10:22 +13:00
inspector
ipc
mathml Bug 1417010 - Invalidate MathML display items whenever we invalidate the referenced nsMathMLChar. r=miko 2017-11-18 11:06:49 +13:00
media
painting Backed out 1 changesets (bug 1417903) for permafailing /css/vendor-imports/mozilla/mozilla-central-reftests/masking/mask-mode-d.html r=backout a=backout on a CLOSED TREE 2017-11-22 11:46:40 +02:00
printing
reftests Bug 1418406 - Disable css-invalid/select/select-disabled-fieldset-2.html on android for perma failures. r=me, a=testonly 2017-11-22 11:58:40 -07:00
style Bug 1415352: Part 4c - Use subject principal as the triggering principal for inline <style> nodes. r=bz 2017-11-07 14:25:45 -08:00
svg Bug 1417376 Part 3 - Pass nsPoint parameters by const references instead of values. r=mats 2017-11-15 17:55:36 +08:00
tables Bug 1418905 - Move nsRuleNode::ComputeCoordPercentCalc() into nsStyleCoord. r=heycam 2017-11-20 14:05:19 +08:00
tools Backed out 4 changesets (bug 1417251) for reftest failures, e.g. in box-decoration-break-with-outset-box-shadow-1.html. r=backout on a CLOSED TREE 2017-11-22 18:34:58 +02:00
xul Bug 1418905 - Move nsRuleNode::ComputeCoordPercentCalc() into nsStyleCoord. r=heycam 2017-11-20 14:05:19 +08:00
moz.build