gecko-dev/js
Jeremy Chen 79f145e226 Bug 1359313 - whitelist -moz-border-*-colors related bindings to satisfy heap write analysis. r=bholley,heycam
A quick fix for hazard bustage by increase the NUM_ALLOWED_WRITE_HAZARDS
from 3 to 7 is pushed in bug 1348173 comment 37. In this bug, we shall do
the actual fix and restore the NUM_ALLOWED_WRITE_HAZARDS.

The -moz-border-*-colors bindings trigger errors because they're using
outparams (nsStyleBorder) which further manipulate its member (mBorderColors)
which is a double raw pointers. Since we don't have the ability to
whitelist the indirect access to mBorderColors[x] list, we can only add
them to the ignoreContents for now.

We might be able to move these bindings to the whitelist of the above
treatAsSafeArgument function, if we could refactor mBorderColors to use
nsTArray directly.

MozReview-Commit-ID: 2cQz58K2A10

--HG--
extra : rebase_source : af2b5b944fb9d19fe28f57eaa37f77174d48bfa4
2017-04-27 12:06:05 +08:00
..
ductwork/debugger Bug 1333493 - add BUG_COMPONENT to js/* files. r=bbouvier 2017-03-24 09:50:49 -04:00
examples No bug. Update to new way of detecting emacs 2017-03-26 15:43:23 -07:00
ipc Bug 1352430 - Add barrier to CPOWs table to remove dying objects r=billm 2017-04-26 11:18:53 +01:00
public Bug 1352430 - Add barrier to wrapper cache to clear dying objects that have not yet been finalized r=bz r=sfink 2017-04-26 11:18:39 +01:00
src Bug 1359313 - whitelist -moz-border-*-colors related bindings to satisfy heap write analysis. r=bholley,heycam 2017-04-27 12:06:05 +08:00
xpconnect Merge inbound to central, a=merge CLOSED TREE 2017-04-26 17:30:31 -07:00
ffi.configure Bug 1335666 - Remove @depends_when. r=chmanchester 2017-02-01 16:25:29 +09:00
moz.build Bug 1333493 - add BUG_COMPONENT to js/* files. r=bbouvier 2017-03-24 09:50:49 -04:00
moz.configure Backed out changeset 54d759872a2c (bug 1332466) for build failures a=backout 2017-02-02 16:05:55 -08:00