Skip to content

Commit

Permalink
add test case from crbug
Browse files Browse the repository at this point in the history
  • Loading branch information
Istiaque Ahmed committed Apr 23, 2013
1 parent 5011226 commit 7e3fec1
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bugs/223550-repro/background.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {
if (changeInfo.status === 'loading' && tab.url.indexOf("http://www.google") == 0) {
console.log("execute");
}
});
20 changes: 20 additions & 0 deletions bugs/223550-repro/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "Bug Extension",
"manifest_version": 2,
"version": "1.0",
"description": "Bug",

"browser_action": {
"default_popup": "popup.html"
},

"permissions": [
"tabs",
"background"
],

"background": {
"scripts": ["background.js"],
"persistent": false
}
}
8 changes: 8 additions & 0 deletions bugs/223550-repro/popup.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<head>
</head>
<body>
<div>
<a href="http://www.google.ca" target="_blank">Ca link to google</a>
<a href="https://chrome.google.com/webstore/detail/google-mail-checker/mihcahmgecmbnbcchbopgniflfhgnkff?hl=en" target="_blank">Go to webstore</a>
</div>
</body>

0 comments on commit 7e3fec1

Please sign in to comment.