| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index 7adaee26e2c4440694fcf566189701fdefac53da..57e4ac85cf505ec8ee2d899c92208ea6e8086321 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -1234,6 +1234,29 @@ PassRefPtr<ClientRect> Internals::bestZoomableAreaForTouchPoint(long x, long y,
|
| return 0;
|
| }
|
|
|
| +void Internals::suspendActiveIntervalTimer(Document* document, ExceptionState& exceptionState)
|
| +{
|
| + if (!document || !document->frame())
|
| + exceptionState.throwUninformativeAndGenericDOMException(InvalidAccessError);
|
| +
|
| + document->frame()->eventHandler().getActiveIntervalTimerForTesting()->enterManualModeForTesting();
|
| +}
|
| +
|
| +void Internals::resumeActiveIntervalTimer(Document* document, ExceptionState& exceptionState)
|
| +{
|
| + if (!document || !document->frame())
|
| + exceptionState.throwUninformativeAndGenericDOMException(InvalidAccessError);
|
| +
|
| + document->frame()->eventHandler().getActiveIntervalTimerForTesting()->leaveManualModeForTesting();
|
| +}
|
| +
|
| +void Internals::fireActiveIntervalTimer(Document* document, ExceptionState& exceptionState)
|
| +{
|
| + if (!document || !document->frame())
|
| + exceptionState.throwUninformativeAndGenericDOMException(InvalidAccessError);
|
| +
|
| + document->frame()->eventHandler().getActiveIntervalTimerForTesting()->manualFireForTesting();
|
| +}
|
|
|
| int Internals::lastSpellCheckRequestSequence(Document* document, ExceptionState& exceptionState)
|
| {
|
|
|