Changes between Initial Version and Version 1 of Ticket #5798, comment 13


Ignore:
Timestamp:
Dec 20, 2013, 5:01:48 AM (5 years ago)
Author:
gacar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5798, comment 13

    initial v1  
    1 It seems keeping font counts in nsPresContext allows a page to load unlimited number of fonts using multiple frames:
    2 
    3 http://jsbin.com/uRidOyAg/1
     1It seems keeping font counts in nsPresContext allows a page to circumvent font-limits by using multiple frames: http://jsbin.com/uRidOyAg/1
    42
    53I guess this is because each frame has it's own presentation context.
     4
     5The demo uses font-face rules to make it easier to test (e.g. NSPR_LOG_MODULES=timestamp,userfonts:5). The attack also works with plain CSS font-family rules.