[Webkit-unassigned] [Bug 9624] REGRESSION: After ctrl-clicking in a EMPTY input or textarea field, the contextual menu shows "Search in Google" and "Search in Spotlight" as active menu items

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Jul 1 19:24:57 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9624


ddkilzer at kilzer.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ddkilzer at kilzer.net,
                   |                            |darin at apple.com,
                   |                            |adele at apple.com
           Keywords|                            |NativeTextArea, Regression
           Priority|P2                          |P1




------- Comment #2 from ddkilzer at kilzer.net  2006-07-01 19:24 PDT -------
With debug builds of WebKit, this causes an assertion failure.

Steps to reproduce:

1. Open Safari+WebKit with a recent ToT debug build of WebKit.
2. Load a page with a textarea or text field on it.
3. Click in the textarea or text field to give it focus.
4. Right-click (or ctrl-left-click) somewhere on the page (but NOT on a
link--that's a different bug that's getting filed next).

Expected results:

Contextual menu is pulled up with nominal options.

Actual results:

Assertion failure with debug builds of WebKit.  Release builds follow the
behavior in Comment #0.

Notes:

Reproduced with Safari 2.0.4 (419.3) and a locally-built WebKit r15125 (with an
in-progress patch for Bug 9179) on Mac OS X 10.4.7 (8J135/PowerPC).

Assertion:

ASSERTION FAILED: [[menuItems objectAtIndex:1] isSeparatorItem]
(/Users/ddkilzer/Projects/Cocoa/WebKit/WebKit/WebView/WebView.m:723
-[WebView(WebPrivate) _menuForElement:defaultItems:])

Stack trace:

Date/Time:      2006-07-01 21:10:31.228 -0500
OS Version:     10.4.7 (Build 8J135)
Report Version: 4

Command: Safari
Path:    /Applications/Safari.app/Contents/MacOS/Safari
Parent:  bash [399]

Version:        2.0.4 (419.3)
Build Version:  1
Project Name:   WebBrowser
Source Version: 4190300

PID:    2914
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0xbbadbeef

Thread 0 Crashed:
0   com.apple.WebKit            0x0039aa68 -[WebView(WebPrivate)
_menuForElement:defaultItems:] + 888 (WebView.m:723)
1   com.apple.WebKit            0x0036eee8 -[WebHTMLView menuForEvent:] + 404
(WebHTMLView.m:2533)
2   com.apple.AppKit            0x93b34c5c -[NSView rightMouseDown:] + 68
3   com.apple.AppKit            0x93a06404 -[NSControl _rightMouseUpOrDown:] +
440
4   com.apple.AppKit            0x9374afa0 -[NSWindow sendEvent:] + 6424
5   com.apple.Safari            0x00021734 0x1000 + 132916
6   com.apple.AppKit            0x936f38d4 -[NSApplication sendEvent:] + 4172
7   com.apple.Safari            0x00021238 0x1000 + 131640
8   com.apple.AppKit            0x936ead10 -[NSApplication run] + 508
9   com.apple.AppKit            0x937db87c NSApplicationMain + 452
10  com.apple.Safari            0x0005c77c 0x1000 + 374652
11  com.apple.Safari            0x0005c624 0x1000 + 374308


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list