WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
31287
plugins/document-open.html failed on Leopard Release bot
https://bugs.webkit.org/show_bug.cgi?id=31287
Summary
plugins/document-open.html failed on Leopard Release bot
Eric Seidel (no email)
Reported
2009-11-09 23:27:09 PST
http://build.webkit.org/results/Leopard%20Intel%20Release%20(Tests)/r50717%20(7067)/plugins/document-open-pretty-diff.html
I think it's just flakey. --- layout-test-results/plugins/document-open-expected.txt 2009-11-09 21:31:25.000000000 -0800 +++ layout-test-results/plugins/document-open-actual.txt 2009-11-09 21:31:25.000000000 -0800 @@ -1 +1,2 @@ -CONSOLE MESSAGE: line 0: PLUGIN: DOCUMENT OPEN SUCCESS + +This tests that document.open invoked by a plugin via NPN_Invoke without a javascript context succeeds. CCing author and reviewer.
Attachments
Initial patch to fix the flaky document-open.html plugin layout test.
(9.73 KB, patch)
2009-11-10 15:02 PST
,
Ananta Iyengar
no flags
Details
Formatted Diff
Diff
Updated patch with incorrect indentations fixed.
(9.82 KB, patch)
2009-11-10 15:04 PST
,
Ananta Iyengar
abarth
: commit-queue-
Details
Formatted Diff
Diff
Updated patch with the WebCore Changelog now in the right place
(9.83 KB, patch)
2009-11-10 15:17 PST
,
Ananta Iyengar
no flags
Details
Formatted Diff
Diff
Updated patch addressing review comments from eseidel
(9.77 KB, patch)
2009-11-10 16:49 PST
,
Ananta Iyengar
no flags
Details
Formatted Diff
Diff
Updated patch with more style fixes to make the code consistent with Webkit style
(10.06 KB, patch)
2009-11-11 09:21 PST
,
Ananta Iyengar
no flags
Details
Formatted Diff
Diff
Fixed line endings in the layout tests.
(10.03 KB, patch)
2009-11-11 10:41 PST
,
Ananta Iyengar
abarth
: review+
commit-queue
: commit-queue-
Details
Formatted Diff
Diff
Updated patch addressing review comments from eseidel
(9.99 KB, patch)
2009-11-12 21:47 PST
,
Ananta Iyengar
no flags
Details
Formatted Diff
Diff
The reviewed by comment in the webcore changelog was moved incorrectly below the comment. New patch fixes that.
(10.00 KB, patch)
2009-11-12 21:51 PST
,
Ananta Iyengar
abarth
: review+
commit-queue
: commit-queue-
Details
Formatted Diff
Diff
Updated patch with tabs removed hopefully.
(10.00 KB, patch)
2009-11-12 22:21 PST
,
Ananta Iyengar
no flags
Details
Formatted Diff
Diff
Show Obsolete
(8)
View All
Add attachment
proposed patch, testcase, etc.
Adam Barth
Comment 1
2009-11-10 01:00:53 PST
Maybe there is a race?
Ananta Iyengar
Comment 2
2009-11-10 10:36:01 PST
I will take a look at this. Having a hard time reproducing it.
Eric Seidel (no email)
Comment 3
2009-11-10 10:38:00 PST
So far I've only seen it fail once on the bots, so this bug is far from urgent. I've filed this so that we can track if it fails repeatedly. I suspect that it's possible for the bots to be slow enough to cause the timeout to fire before the plugin does the document.open.
Adam Barth
Comment 4
2009-11-10 11:35:46 PST
Can we have the plugin navigate the document to a JavaScript URL that ends the test instead of using a timeout?
Ananta Iyengar
Comment 5
2009-11-10 15:02:00 PST
Created
attachment 42900
[details]
Initial patch to fix the flaky document-open.html plugin layout test.
Ananta Iyengar
Comment 6
2009-11-10 15:04:32 PST
Created
attachment 42901
[details]
Updated patch with incorrect indentations fixed.
Adam Barth
Comment 7
2009-11-10 15:08:40 PST
Comment on
attachment 42901
[details]
Updated patch with incorrect indentations fixed. Note that the first ChangeLog is in the wrong folder (it's in the root instead of the WebCore folder), so this patch cannot be committed as-is. I'll leave reviewing the actual code to plug-in experts.
Ananta Iyengar
Comment 8
2009-11-10 15:17:41 PST
Created
attachment 42903
[details]
Updated patch with the WebCore Changelog now in the right place
Eric Seidel (no email)
Comment 9
2009-11-10 15:52:29 PST
Comment on
attachment 42903
[details]
Updated patch with the WebCore Changelog now in the right place Braces on new lines: 38 static void pluginLogWithWindowObject(NPObject* windowObject, NPP instance, const char* message) { check-webkit-style might help find some of these. It's just webkit's version of cpp_lint.py
Eric Seidel (no email)
Comment 10
2009-11-10 15:53:15 PST
I'm not sure who the plugin experts are these days, but I CC'd kevin who I think worked on this code.
Ananta Iyengar
Comment 11
2009-11-10 16:49:45 PST
Created
attachment 42909
[details]
Updated patch addressing review comments from eseidel
Ananta Iyengar
Comment 12
2009-11-11 09:21:24 PST
Created
attachment 42968
[details]
Updated patch with more style fixes to make the code consistent with Webkit style
Eric Seidel (no email)
Comment 13
2009-11-11 09:35:35 PST
I wonder if m_client shouldn't manage its own lifetime. Seems a little strange for stop() to clear m_client. But I really know next-to-nothing about this area of code.
Ananta Iyengar
Comment 14
2009-11-11 09:49:56 PST
The stream is created by PluginView when it receives a response. The PluginView instance pointer is passed in to the create call which is saved as m_client. When the plugin view is going away it calls stop on existing plugin stream instances and releases them. I think setting m_client to NULL in stop is safe. We could look into getting m_client to manage its own lifetime in a subsequent patch.
Ananta Iyengar
Comment 15
2009-11-11 10:41:56 PST
Created
attachment 42977
[details]
Fixed line endings in the layout tests.
Adam Barth
Comment 16
2009-11-12 20:39:30 PST
Comment on
attachment 42977
[details]
Fixed line endings in the layout tests. Ok
WebKit Commit Bot
Comment 17
2009-11-12 20:51:33 PST
Comment on
attachment 42977
[details]
Fixed line endings in the layout tests. Rejecting patch 42977 from commit-queue. Failed to run "['git', 'svn', 'dcommit']" exit_code: 1 Last 500 characters of output: ebCore/plugins/PluginStream.cpp M WebKitTools/ChangeLog M WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp A repository hook failed: MERGE request failed on '/repository/webkit/trunk': Commit blocked by pre-commit hook (exit code 1) with output: svnlook: Can't write to stream: Broken pipe The following ChangeLog files contain OOPS: trunk/WebCore/ChangeLog Please don't ever say "OOPS" in a ChangeLog file. at /usr/local/libexec/git-core//git-svn line 469
Ananta Iyengar
Comment 18
2009-11-12 21:47:02 PST
Created
attachment 43131
[details]
Updated patch addressing review comments from eseidel
Ananta Iyengar
Comment 19
2009-11-12 21:51:27 PST
Created
attachment 43132
[details]
The reviewed by comment in the webcore changelog was moved incorrectly below the comment. New patch fixes that.
WebKit Commit Bot
Comment 20
2009-11-12 22:04:41 PST
Comment on
attachment 43132
[details]
The reviewed by comment in the webcore changelog was moved incorrectly below the comment. New patch fixes that. Rejecting patch 43132 from commit-queue. Failed to run "['git', 'svn', 'dcommit']" exit_code: 1 Last 500 characters of output: Tree/TestNetscapePlugIn.subproj/PluginObject.cpp A repository hook failed: MERGE request failed on '/repository/webkit/trunk': Commit blocked by pre-commit hook (exit code 1) with output: svnlook: Can't write to stream: Broken pipe The following files contain tab characters: trunk/LayoutTests/ChangeLog Please use spaces instead to indent. If you must commit a file with tabs, use svn propset to set the "allow-tabs" property. at /usr/local/libexec/git-core//git-svn line 469
Ananta Iyengar
Comment 21
2009-11-12 22:21:21 PST
Created
attachment 43134
[details]
Updated patch with tabs removed hopefully.
Adam Barth
Comment 22
2009-11-12 22:33:23 PST
Comment on
attachment 43134
[details]
Updated patch with tabs removed hopefully. This is why we need a try server. :)
WebKit Commit Bot
Comment 23
2009-11-12 22:42:51 PST
Comment on
attachment 43134
[details]
Updated patch with tabs removed hopefully. Clearing flags on attachment: 43134 Committed
r50929
: <
http://trac.webkit.org/changeset/50929
>
WebKit Commit Bot
Comment 24
2009-11-12 22:42:56 PST
All reviewed patches have been landed. Closing bug.
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