Bug 147997 - AppScale: Assertion hit when hovering a webkit-queue bubble
Summary: AppScale: Assertion hit when hovering a webkit-queue bubble
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Website (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Minor
Assignee: Aakash Jain
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-13 15:52 PDT by Aakash Jain
Modified: 2017-03-15 17:14 PDT (History)
1 user (show)

See Also:


Attachments
Proposed patch (1.49 KB, patch)
2015-08-13 16:22 PDT, Aakash Jain
ap: review-
ap: commit-queue-
Details | Formatted Diff | Diff
Proposed patch (1.49 KB, patch)
2015-08-13 16:48 PDT, Aakash Jain
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aakash Jain 2015-08-13 15:52:37 PDT
console.assert(this.statusPageURL === data.status_page);

Steps to reproduce:
1. Open https://build.webkit.org/dashboard
2. Open Web Inspector
3. Hover a commit queue or EWS bubble.
Comment 1 Aakash Jain 2015-08-13 16:22:25 PDT
Created attachment 258950 [details]
Proposed patch
Comment 2 Alexey Proskuryakov 2015-08-13 16:34:31 PDT
Comment on attachment 258950 [details]
Proposed patch

View in context: https://bugs.webkit.org/attachment.cgi?id=258950&action=review

> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueue.js:136
> +            console.assert(this.statusPageURL.replace(/.*?:\/\//g, "") === data.status_page.replace(/.*?:\/\//g, ""));

This replace removes anything before a colon, which I think is incorrect. E.g. "foo://bar://baz".replace(/.*?:\/\//g, "") -> "baz".

How about something like "/^https?://" ?
Comment 3 Aakash Jain 2015-08-13 16:48:53 PDT
Created attachment 258954 [details]
Proposed patch

good point. made the change.
Comment 4 WebKit Commit Bot 2015-08-13 17:01:46 PDT
Comment on attachment 258954 [details]
Proposed patch

Clearing flags on attachment: 258954

Committed r188419: <http://trac.webkit.org/changeset/188419>
Comment 5 WebKit Commit Bot 2015-08-13 17:01:51 PDT
All reviewed patches have been landed.  Closing bug.