WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
197273
DumpRenderTree doesn't call Internals::resetToConsistentState() before the first test
https://bugs.webkit.org/show_bug.cgi?id=197273
Summary
DumpRenderTree doesn't call Internals::resetToConsistentState() before the fi...
Simon Fraser (smfr)
Reported
2019-04-24 21:48:41 PDT
DRT doesn't call Internals::resetToConsistentState() before the first test. This is because it's called inside this block: void resetWebViewToConsistentStateBeforeTesting(const TestOptions& options) { ... if (gTestRunner) { gTestRunner->resetPageVisibility(); WebCoreTestSupport::resetInternalsObject([mainFrame globalContext]); // in the case that a test using the chrome input field failed, be sure to clean up for the next test gTestRunner->removeChromeInputField(); } and we don't have a gTestRunner yet. [mainFrame globalContext] needs one because it triggers didClearWindowObjectInStandardWorldForFrame: that assumes that one exists.
Attachments
Patch
(3.10 KB, patch)
2019-04-24 21:56 PDT
,
Simon Fraser (smfr)
dino
: review+
ews-watchlist
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from ews122 for ios-simulator-wk2
(2.77 MB, application/zip)
2019-04-25 00:01 PDT
,
EWS Watchlist
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2019-04-24 21:56:50 PDT
Created
attachment 368212
[details]
Patch
EWS Watchlist
Comment 2
2019-04-25 00:01:25 PDT
Comment on
attachment 368212
[details]
Patch
Attachment 368212
[details]
did not pass ios-sim-ews (ios-simulator-wk2): Output:
https://webkit-queues.webkit.org/results/11992467
New failing tests: imported/w3c/web-platform-tests/service-workers/cache-storage/window/cache-abort.https.html
EWS Watchlist
Comment 3
2019-04-25 00:01:27 PDT
Created
attachment 368217
[details]
Archive of layout-test-results from ews122 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews122 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.6
Dean Jackson
Comment 4
2019-04-25 11:23:37 PDT
Comment on
attachment 368212
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=368212&action=review
> Tools/DumpRenderTree/mac/DumpRenderTree.mm:1887 > + // in the case that a test using the chrome input field failed, be sure to clean up for the next test
Please fix to be sentence style.
Simon Fraser (smfr)
Comment 5
2019-04-25 15:42:31 PDT
https://trac.webkit.org/r244668
Radar WebKit Bug Importer
Comment 6
2019-04-25 15:43:22 PDT
<
rdar://problem/50223289
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug