Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Make the unlock SIM dialog work after changing -bug774114- a bit the pla... #3507

Merged
merged 1 commit into from Aug 27, 2012

Conversation

jaoo
Copy link
Contributor

@jaoo jaoo commented Aug 16, 2012

...tform API (mainly return values).

After landing bug 774114 some changes are needed to make the unlock SIM dialog work. I have only changed a bit the logic underneath and it needs more work. Anyone willing to continue with that work? Style and visuals are really old. I'll update the information provided in the API specification asap for reflecting latest changes.

@timdream
Copy link
Contributor

@evelynhung You are working on Settings app version of this right?

@evelynhung
Copy link
Contributor

@jaoo hi, I'm working on this, and noticed API changes. Please update API spec, I really rely on it. (nice documentation!) Thank you so much.

}
pinLock.hideKeypad();
};
unlock.onerror = function() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested but the onerror callback is not fired when input wrong pin, could you check this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 'onerror' function is called but you cannot access 'retryCount' member since the error event is not fired properly. Also we are redefining error report police so I'll you update about the changes and decisions. Patch is comming. See https://bugzilla.mozilla.org/show_bug.cgi?id=783525.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I will follow the updates of this patch.

@timdream
Copy link
Contributor

/botio lint

@ghost
Copy link

ghost commented Aug 27, 2012

From: Bot.io (Main)


Received

Command cmd_lint from @timdream received. Current queue size: 0

Live output at: http://50.116.11.35:8000/e69e7a55c90e21c/output.txt

@ghost
Copy link

ghost commented Aug 27, 2012

From: Bot.io (Main)


Failed

Full output at http://50.116.11.35:8000/e69e7a55c90e21c/output.txt

Total script time: 5.04 mins

Lint: FAILED
----Skipping 9 file(s).
----- /apps/keyboard/js/controller.js
723, E:0110: Line too long (91 characters).
----- /apps/keyboard/js/predict/latin-worker.js
99, E:0001: Extra space after "function"
113, E:0010: Missing semicolon at end of line
178, E:0110: Line too long (87 characters).
192, E:0001: Extra space after "function"
195, E:0110: Line too long (84 characters).
285, E:0002: Missing space before "+"
285, E:0002: Missing space after "+"
302, E:0002: Missing space before "-"
302, E:0002: Missing space after "-"
307, E:0001: Extra space after "function"
335, E:0002: Missing space before "-"
335, E:0002: Missing space after "-"
335, E:0002: Missing space before "-"
335, E:0002: Missing space after "-"
336, E:0002: Missing space before "-"
336, E:0002: Missing space after "-"
336, E:0002: Missing space before "-"
336, E:0002: Missing space after "-"
338, E:0002: Missing space before "-"
338, E:0002: Missing space after "-"
338, E:0002: Missing space before "-"
338, E:0002: Missing space after "-"
339, E:0002: Missing space before "-"
339, E:0002: Missing space after "-"
340, E:0002: Missing space before "-"
340, E:0002: Missing space after "-"
361, E:0110: Line too long (82 characters).
414, E:0001: Extra space after "function"
442, E:0001: Extra space after "["
442, E:0001: Extra space before "]"
472, E:0110: Line too long (92 characters).
473, E:0002: Missing space before "/"
473, E:0002: Missing space after "/"
473, E:0002: Missing space before "/"
473, E:0002: Missing space after "/"
473, E:0110: Line too long (107 characters).
474, E:0120: Binary operator should go on previous line "<"
503, E:0010: Missing semicolon at end of line
530, E:0011: Missing semicolon after function assigned to a variable
----- /apps/keyboard/js/predict/latin.js
6, E:0001: Extra space after "function"
24, E:0110: Line too long (84 characters).
61, E:0110: Line too long (84 characters).
----- /apps/settings/js/wifi.js
301, E:0110: Line too long (81 characters).
Found 44 errors, including 2 new errors, in 4 files (243 files OK).

Some of the errors reported by GJsLint may be auto-fixable using the script
fixjsstyle. Please double check any changes it makes and report any bugs. The
script can be run by executing:

fixjsstyle --nojsdoc -r apps -e pdfjs/content,pdfjs/test,email/js/ext,music/js/ext,calendar/js/ext,keyboard/js/predictive_text
make: *** [lint] Error 3

@timdream
Copy link
Contributor

I am going to merge this. This can be removed later when @evelynhung finishes SIM lock in Settings app. CCing @fabi1cazenave

timdream added a commit that referenced this pull request Aug 27, 2012
Make the unlock SIM dialog work after changing -bug774114- a bit the pla...
@timdream timdream merged commit f689a0b into mozilla-b2g:master Aug 27, 2012
@fabi1cazenave
Copy link
Contributor

OK, thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants