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

29 Коммитов

Автор SHA1 Сообщение Дата
Edgar Chen d6c2c3283e Bug 1428244 - Part 1: Add [CEReactions] in CSSStyleDeclaration; r=smaug
per https://drafts.csswg.org/cssom/#dom-cssstyledeclaration-camel-cased-attribute.

MozReview-Commit-ID: 7QkAZeUOrlh

--HG--
extra : rebase_source : 1431dfd4edebf8140604ac79253c674f3bf4f89d
2017-12-13 10:24:35 -06:00
Boris Zbarsky 04324f18ad Bug 1424474 part 3. Make sure that we only pass non-system subject principals to setters/methods that later use that principal for loading security checks. r=kmag
MozReview-Commit-ID: IjUEG5xwn5
2017-12-20 17:43:18 -05:00
Narcis Beleuzu edb8ba34eb Backed out 2 changesets (bug 1424474) for mochitest failures on test_bug494328.html r=backout on a CLOSED TREE
Backed out changeset 39d5991f02ba (bug 1424474)
Backed out changeset da3dec2fce06 (bug 1424474)
2017-12-21 02:55:27 +02:00
Boris Zbarsky a2696c3c8a Bug 1424474 part 2. Make sure that we only pass non-system subject principals to setters/methods that later use that principal for loading security checks. r=kmag 2017-12-20 17:43:18 -05:00
Boris Zbarsky 887ce3941a Bug 1419270 part 2. Use getter or setter specific NeedsSubjectPrincipal annotations more. r=qdot
MozReview-Commit-ID: KBwjFh3TMUg
2017-12-05 16:03:18 -05:00
Kris Maglione 58662abbfe Bug 1415352: Part 1c - Store the subject principal when setting Element.style properties. r=bz
This causes the subject principal that was responsible for setting a CSS
property, or the full cssText of an attribute, to be threaded through the call
chain to the point where CSS parsing happens, so that it can be used as the
triggering principal when loading URLs for that property.

Note that this allows for different properties defined in the same style
attribute to have different triggering principals, depending on the caller
which originally set them, as long as the cssText of that attribute is not
modified. Once it is, all properties revert to the principal of the caller
that modified the CSS text.

MozReview-Commit-ID: ISUyxbqAZMX

--HG--
extra : rebase_source : d4173d76d9afed74889269e3bf029abca54a4abb
2017-11-03 21:44:03 -07:00
Mike Hommey 935ad653b8 Bug 1299919 - Set CPP/CXXCPP from python configure. r=chmanchester 2016-09-13 13:25:18 +09:00
Mike Taylor e18289c5e2 Bug 1246796. Allow getting/setting dashed attributes that start with "-", for web compatibility. r=bz 2016-07-26 11:23:36 -05:00
Astley Chen c0cfafab52 Bug 1284169 - include ACDEFINES flags in CSS properties PyGen r=mshal
MozReview-Commit-ID: 6fBTizGkBqG

--HG--
extra : rebase_source : 3d5a10b19941383e16c84712c3d6403632e7da50
2016-07-04 13:48:54 +08:00
Mike Shal 17d3cc636b Bug 1273579 - Move GenerateCSS2PropertiesWebIDL.py invocation to moz.build; r=ted
MozReview-Commit-ID: 4OdSORktwis
2016-05-16 15:43:56 -04:00
Mike Shal 368c6bdec3 Bug 1273579 - Create main() function in GenerateCSS2PropertiesWebIDL.py; r=ted
MozReview-Commit-ID: 1R4L8Yvuzb2
2016-05-16 15:28:48 -04:00
Daniel Holbert 842b5dc8ae Bug 1241021 part 2: Make GenerateCSS2PropertiesWebIDL.py produce capitalized as well as uncapitalized WebkitFoo/webkitFoo DOM style accessors. r=bz 2016-02-03 20:17:45 -08:00
Daniel Holbert 7555a4a195 Bug 1241021 part 1: Refactor GenerateCSS2PropertiesWebIDL.py to invoke a helper function for each line. r=bz 2016-02-03 20:17:44 -08:00
Cameron McCormack 8911daff33 Bug 1206569 - Part 3: Include internal properties in PythonCSSProps.h and annotate each with a type. r=bzbarsky 2015-09-22 15:58:20 +10:00
Xidorn Quan 08d16d982c Bug 1202908 part 2 - Remove CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP. r=dbaron
--HG--
extra : source : df99e17db72d36a9e7b085c35818b4b4ca8a410d
2015-09-11 16:00:10 +10:00
Samy Dindane 94585ca8c1 Bug 1142609 - Fix PEP 8 E7xx warnings in dom/bindings's Python code. r=peterv
--HG--
extra : rebase_source : 65c0f7144f5cc7980b7fc4bd65e10870b6156148
2015-08-10 19:11:42 +02:00
Samy Dindane 45094ca5ae Bug 1142609 - Fix PEP 8 E2xx warnings in dom/bindings's Python code. r=peterv
--HG--
extra : rebase_source : 05ba0f6e73f635b7793b54294d9562faf71fb0f7
2015-08-10 18:53:45 +02:00
Samy Dindane 2bb5a0bda9 Bug 1142609 - Fix PEP 8 E128 warnings in dom/bindings's Python code. r=peterv
--HG--
extra : rebase_source : 5e48d4117aef833012765a532973db211a756071
2015-08-10 18:26:29 +02:00
Boris Zbarsky bc34b41022 Bug 958887 part 4. Generate property accessors on the CSS2Properties interface for the dashed-named CSS properties and float that use their actual property names. r=peterv 2014-09-19 22:58:27 -04:00
Boris Zbarsky 972f8bc0ee Bug 958887 part 2. Pass the actual names of the CSS properties involved to GenerateCSS2PropertiesWebIDL.py. r=peterv 2014-09-19 22:58:26 -04:00
Benoit Jacob 0bacffad36 Bug 977757 - 3/3 - Expose CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP properties in JS bindings as needed - r=bz 2014-03-07 12:14:26 -05:00
Peter Chang a96dd5a386 backout of rev 45253e02bde3, fd02f1217e4c, 75217485ce5a b=981804 2014-03-12 15:16:20 +08:00
Benoit Jacob c4922650de Bug 977757 - 3/3 - Expose CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP properties in JS bindings as needed - r=bz 2014-03-07 12:14:26 -05:00
Ryan VanderMeulen a05a9b8736 Backed out changesets d65a803d2b9a, 9456495d6121, and 73c710ddf3d8 (bug 977757) for Gaia UI test failures.
CLOSED TREE
2014-03-06 13:10:20 -05:00
Benoit Jacob 7cf243add5 Bug 977757 - 3/3 - Expose CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP properties in JS bindings as needed - r=bz 2014-03-06 11:38:21 -05:00
Boris Zbarsky 2fc4fa0309 Bug 795751. Make CSS2Properties stuff work even with pref names that are not identifiers. r=dholbert 2012-10-01 08:45:12 -04:00
Boris Zbarsky 1bd799df56 Bug 778150 part 3. Default attributes to infallible. Allow annotation of fallible attributes in WebIDL. r=peterv
The valid annotations are [Throws], [GetterThrows], and [SetterThrows], which can all either take no value or
be set to MainThread or Workers if the throwing behavior is only happening on main thread or in workers
2012-09-05 09:21:33 -04:00
Boris Zbarsky 27ee186b67 Bug 786105. Setting inline style properties to null should remove them, just like setting them to empty string does. r=peterv 2012-08-31 20:59:46 -04:00
Boris Zbarsky 052e7b0c56 Bug 753517 part 4. Set up auto-generation of CSS2Properties.webidl from nsCSSPropList.h and enable Paris bindings for CSSStyleDeclaration and CSS2Properties. r=khuey,peterv,dbaron 2012-08-23 21:08:09 -07:00