Closed
Bug 1119670
Opened 9 years ago
Closed 9 years ago
Implement processing of scope member of web manifest
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla38
People
(Reporter: marcosc, Assigned: marcosc)
References
(Blocks 1 open bug, )
Details
Attachments
(1 file, 1 obsolete file)
Implement support in the manifest processor for processing the scope member of a manifest.
Assignee | ||
Updated•9 years ago
|
Blocks: webmanifest
Assignee | ||
Comment 1•9 years ago
|
||
Initial implementation of scope processor. Any idea how I push to try from git? Or how to use `git-push-to-try`? I don't know what parameters it's asking for :( Filed a bug on the tools people for help, but maybe you know?
Attachment #8546430 -
Flags: review?(ehsan)
Assignee | ||
Comment 2•9 years ago
|
||
Ok, got the try thing working: https://treeherder.mozilla.org/#/jobs?repo=try&revision=ec1da0d45c1f
Comment 3•9 years ago
|
||
Comment on attachment 8546430 [details] [diff] [review] 0001-1119670-Implement-processing-of-scope-member-of-web-.patch Review of attachment 8546430 [details] [diff] [review]: ----------------------------------------------------------------- Nice! Apologies for the delay. ::: dom/manifest/ManifestProcessor.jsm @@ +143,5 @@ > + expectedType: 'string', > + dontTrim: true > + }, > + value = extractValue(spec); > + Nit: please remove the trailing whitespace. There's one at the end of this file too. @@ +153,5 @@ > + issueDeveloperWarning(msg); > + return undefined; > + } > + > + if(scopeURL.origin !== docURL.origin){ Nit: space around the parenthesis, like: if (foo) { Also: try { } catch(e) { }
Attachment #8546430 -
Flags: review?(ehsan) → review+
Assignee | ||
Comment 4•9 years ago
|
||
(In reply to :Ehsan Akhgari (not reading bugmail, needinfo? me!) from comment #3) > Comment on attachment 8546430 [details] [diff] [review] > 0001-1119670-Implement-processing-of-scope-member-of-web-.patch > > Review of attachment 8546430 [details] [diff] [review]: > ----------------------------------------------------------------- > > Nice! Apologies for the delay. np Appreciate the review! > ::: dom/manifest/ManifestProcessor.jsm > @@ +143,5 @@ > > + expectedType: 'string', > > + dontTrim: true > > + }, > > + value = extractValue(spec); > > + > > Nit: please remove the trailing whitespace. Fixed throughout, including around ( ) and try catch. >There's one at the end of this file too. I left the white space at the end as there is space separating each of the functions declared in this code already. submitting a new patch with the fixes...
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8546430 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 6•9 years ago
|
||
Just in case this is needed, I sent it again to try with the white space changes: https://treeherder.mozilla.org/#/jobs?repo=try&revision=d87b634b0043
https://hg.mozilla.org/mozilla-central/rev/b0066a6e5865
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•