Closed Bug 944287 Opened 11 years ago Closed 10 years ago

[UITest] add share URL activity

Categories

(Firefox OS Graveyard :: Gaia, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gasolin, Assigned: rishav_)

Details

(Whiteboard: [good first bug][mentor=gasolin][mentor-lang=zh][lang=js])

Attachments

(1 file, 1 obsolete file)

46 bytes, text/x-github-pull-request
gasolin
: review+
Details | Review
Expect:

extend test_apps/uitest by add 'share URL' activity in API tab


The activity could reference to http://robnyman.github.io/Firefox-OS-Boilerplate-App

var share = document.querySelector("#share");
    if (share) {
        share.onclick = function () {
            var sharing = new MozActivity({
                name: "share",
                data: {
                    //type: "url", // Possibly text/html in future versions,
                    number: 1,
                    url: "http://robertnyman.com"
                }
            });
        }
    }
Whiteboard: [good first bug][mentor=gasolin][mentor-lang=zh][lang=js]
Hi Fred,
Can I get assigned this bug? I am interested in this. :)
Thanks
Attached file Add share URL Activity (obsolete) —
Hi Fred,
I am working on this bug.
Please assign this to me.
Please have a look on this attached PR.
Thanks
Attachment #8351473 - Flags: review?(gasolin)
Hi kumar,

Thanks for provide a PR. I'm in holiday off and try to do some other project, so the review might be late.
You can still work on bugs.

Happy coding holidays!
Assignee: nobody → rishav006
please check github
Hi fred,
I changed the url.
Now,please have a look.
Thanks
Comment on attachment 8351473 [details] [review]
Add share URL Activity

looks good to me, please squash your commits into 1 commit. It's needed to maintain the commits clean.

You could use command

$ git rebase -i HEAD~2

to merge 2 commits into 1 commit.

Then push back to the same branch via command

$ git push --force origin issue-xxxx



or you could just create new branch.
Attachment #8351473 - Flags: review?(gasolin) → feedback+
Attached file Add share URL Activity
Hi fred,
Have a look on this PR.
I think now every thing is right.
Thanks
Attachment #8351473 - Attachment is obsolete: true
Attachment #8355129 - Flags: review?(gasolin)
Comment on attachment 8355129 [details] [review]
Add share URL Activity

merged to gaia-master https://github.com/mozilla-b2g/gaia/commit/9f7eeeb0bb5fd4b73eab60c826c74dffdc341f3f

thanks!
Attachment #8355129 - Flags: review?(gasolin) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: