Closed
Bug 1144620
Opened 9 years ago
Closed 9 years ago
Fix ReferenceError: RBMozUI is not defined
Categories
(MozReview Graveyard :: General, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mdoglio, Assigned: mdoglio)
References
Details
Attachments
(2 obsolete files)
With the assets minified, try.js raises an error for an undefined variable. This happens because the minification step creates a closure around the js code the defines RBMozUI, making it out of scope in try.js.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → mdoglio
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•9 years ago
|
||
/r/5593 - Bug 1144620 - Fix ReferenceError: RBMozUI is not defined Pull down this commit: hg pull review -r 953393e8f69865395975c728254001d70aff1946
Attachment #8579300 -
Flags: review?(smacleod)
Comment 2•9 years ago
|
||
https://reviewboard.mozilla.org/r/5593/#review4765 What we should be doing to fix this instead is put try.js in the same bundle as MozReview. Bundles really shouldn't be per feature, but more so split up based on which pages they need to load in. So if try.js is just loading on the review request page like the rest it should be in the same bundle. Our js should probably also be using the RB js extensions mechanisms [1][2]. We should clean this up while we migrate to the mozreview extension [1] https://github.com/djblets/djblets/blob/d6ded53cb178410ac7ed702ce8bd0b48cdc19e84/djblets/extensions/extension.py#L144 [2] https://github.com/djblets/djblets/blob/d6ded53cb178410ac7ed702ce8bd0b48cdc19e84/djblets/extensions/extension.py#L39
Updated•9 years ago
|
Attachment #8579300 -
Flags: review?(smacleod) → review-
Assignee | ||
Comment 3•9 years ago
|
||
https://reviewboard.mozilla.org/r/5593/#review4795 Ok I'll tackle the the rbmozui migration to mozreview
Updated•9 years ago
|
Priority: -- → P1
Assignee | ||
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•9 years ago
|
||
Attachment #8579300 -
Attachment is obsolete: true
Attachment #8619798 -
Flags: review-
Assignee | ||
Comment 5•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8619798 -
Attachment is obsolete: true
Updated•8 years ago
|
Product: Developer Services → MozReview
You need to log in
before you can comment on or make changes to this bug.
Description
•