Bug 54240

Summary: [Qt] Fix assert in QDeclarativeWebView
Product: WebKit Reporter: Ademar Reis <ademar>
Component: WebKit QtAssignee: Ademar Reis <ademar>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, kling, laszlo.gombos, webkit.review.bot
Priority: P2 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Attachments:
Description Flags
patch none

Description Ademar Reis 2011-02-10 13:31:02 PST
From:
http://bugreports.qt.nokia.com/browse/QTBUG-14278

In a debug build this will trigger an assert:

import QtWebKit 1.0

WebView {
  width: 640
  height: 480
  WebView {
  }
}

Patch for webkit (based on the patch already submited to Qt) is on the way.
Comment 1 Ademar Reis 2011-02-10 13:32:49 PST
Created attachment 82036 [details]
patch
Comment 2 WebKit Review Bot 2011-02-10 13:35:04 PST
Attachment 82036 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit/qt/ChangeLog', u'Source/WebK..." exit_code: 1

Source/WebKit/qt/declarative/qdeclarativewebview.cpp:252:  Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side.  [whitespace/operators] [4]
Source/WebKit/qt/declarative/qdeclarativewebview.cpp:253:  Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side.  [whitespace/operators] [4]
Source/WebKit/qt/declarative/qdeclarativewebview.cpp:254:  Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side.  [whitespace/operators] [4]
Total errors found: 3 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 WebKit Commit Bot 2011-02-10 14:17:42 PST
Comment on attachment 82036 [details]
patch

Clearing flags on attachment: 82036

Committed r78269: <http://trac.webkit.org/changeset/78269>
Comment 4 WebKit Commit Bot 2011-02-10 14:17:47 PST
All reviewed patches have been landed.  Closing bug.
Comment 5 Ademar Reis 2011-02-14 12:07:46 PST
Revision r78269 cherry-picked into qtwebkit-2.1 with commit 96da807 <http://gitorious.org/webkit/qtwebkit/commit/96da807>
Comment 6 Ademar Reis 2011-02-17 06:20:50 PST
Revision r78269 cherry-picked into qtwebkit-2.0 with commit 61982c8 <http://gitorious.org/webkit/qtwebkit/commit/61982c8>