Closed Bug 943217 Opened 11 years ago Closed 11 years ago

When incorrect argument is given to @-moz-document, list of valid arguments does not include regexp()

Categories

(Core :: CSS Parsing and Computation, defect)

27 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: mitchell, Assigned: Gijs)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 (Beta/Release)
Build ID: 20131123004001

Steps to reproduce:

Writing a userstyle, I mistyped "@-moz-document regexp()" as "@-moz-document regex()", I got an error.


Actual results:

"Expected url(), url-prefix(), or domain() in @-moz-document rule but found 'regex('."


Expected results:

"Expected url(), url-prefix(), domain(), or regexp() in @-moz-document rule but found 'regex('."
Status: UNCONFIRMED → NEW
Component: Untriaged → CSS Parsing and Computation
Ever confirmed: true
OS: Windows 8.1 → All
Product: Firefox → Core
Hardware: x86_64 → All
Blocks: 398962
AFAICT this should be enough?
Attachment #8338385 - Flags: review?(dbaron)
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Comment on attachment 8338385 [details] [diff] [review]
fix moz-document error message,

r=dbaron.  Sorry for the delay getting to this.
Attachment #8338385 - Flags: review?(dbaron) → review+
remote:   https://hg.mozilla.org/integration/mozilla-inbound/rev/d265a3ab4a48

(In reply to David Baron [:dbaron] (needinfo? me) (UTC-8) from comment #3)
> Comment on attachment 8338385 [details] [diff] [review]
> fix moz-document error message,
> 
> r=dbaron.  Sorry for the delay getting to this.

No worries, thanks for the review!
Whiteboard: [fixed-in-inbound]
https://hg.mozilla.org/mozilla-central/rev/d265a3ab4a48
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-inbound]
Target Milestone: --- → mozilla29
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: