• Robert Knight's avatar
    Relax call count check in `FrameObserver` tests · eeba7ec5
    Robert Knight authored
    An `onDocumentReady` test was failing in current versions of Chrome, with the
    callback being invoked twice with the same error instead of once. This can happen
    with this sequence of events:
    
     1. Watched frame fires an "unload" event. This starts a polling timer.
     2. The timer fires and the callback is invoked with a cross-origin error
     3. Frame fires "load" event, and the callback is invoked a second time with
        a cross-origin error
     4. The test's "load" event handler is run
    
    It is not a problem for current callers of `onDocumentReady` if the callback
    fires twice, so just relax the check in the tests.
    eeba7ec5
Name
Last commit
Last update
..
integration Loading commit data...
adder-test.js Loading commit data...
annotation-counts-test.js Loading commit data...
bucket-bar-client-test.js Loading commit data...
bucket-bar-test.js Loading commit data...
empty.html Loading commit data...
features-test.js Loading commit data...
frame-observer-test.js Loading commit data...
guest-test.js Loading commit data...
highlight-clusters-test.js Loading commit data...
highlighter-test.js Loading commit data...
notebook-test.js Loading commit data...
outside-assignment-notice-test.js Loading commit data...
profile-test.js Loading commit data...
range-util-test.js Loading commit data...
selection-observer-test.js Loading commit data...
sidebar-test.js Loading commit data...
sidebar-trigger-test.js Loading commit data...
toolbar-test.js Loading commit data...