Closed
Bug 1422245
Opened 8 years ago
Closed 8 years ago
Toggle the pref to disable @-moz-document in content pages on release
Toggle the pref to disable @-moz-document in content pages on release
| Tracking | Status | |
|---|---|---|
| firefox61 | --- | fixed |
---
---
---
[adv-main61-]
QA Whiteboard:
---
Has STR:
---
Change Request:
---
0
Bug Flags:
| Reporter | |
Descriptionβ’8 years ago
|
+++ This bug was initially created as a clone of Bug #1035091 +++
Bug 1035091 landed the code on early Beta and Nightly. We should switch the pref in this one.
Updatedβ’8 years ago
|
Priority: -- β P1
Updatedβ’8 years ago
|
Priority: P1 β P3
| Assignee | |
| mozreview-request | |
| Comment hidden (mozreview-request) |
| Reporter | |
Comment 2β’8 years ago
|
|
| mozreview-review | |
Comment on attachment 8959997 [details]
Bug 1422245 Disable @-moz-document in content pages
https://reviewboard.mozilla.org/r/228778/#review234480
Hah, so... This is fine I suppose.
There's still some breakage from it (most notably Youtube comments, bug 1426068), and all of them were using `@-moz-document url-prefix()` for that, so I think we should still parse it on content pages.
Curiously I filed bug 1446470 on that 2 days ago, and that includes this patch. Let's land this for now, I'll rebase my patches on top. Maybe mention that bug on the commit message?
Thanks!
Attachment #8959997 -
Flags: review?(emilio) β review+
| Reporter | |
Comment 3β’8 years ago
|
(Or we can land this after those patches, and I'll remove part 3 on that bug, your call).
| Assignee | |
Updatedβ’8 years ago
|
Assignee: nobody β tom
| Assignee | |
| mozreview-request | |
| Comment hidden (mozreview-request) |
| Assignee | |
Updatedβ’8 years ago
|
Keywords: checkin-needed
Comment 5β’8 years ago
|
Posted the site compatibility note: https://www.fxsitecompat.com/en-CA/docs/2018/moz-document-has-been-dropped/
| Reporter | |
Comment 6β’8 years ago
|
(In reply to Kohei Yoshino [:kohei] from comment #5)
> Posted the site compatibility note:
> https://www.fxsitecompat.com/en-CA/docs/2018/moz-document-has-been-dropped/
Beware of bug 1446470, which will fix all the known breakages so far too, and is intended to land in time for the same firefox release.
That bug means that @-moz-document url-prefix() { } will keep working.
Flags: needinfo?(kohei.yoshino)
Comment 7β’8 years ago
|
So no security issues will be solved here? This bug can be simply WONTFIXed then... :(
Flags: needinfo?(kohei.yoshino)
| Reporter | |
Comment 8β’8 years ago
|
Wait, what? Yes. The security issue is with other url matching functions, like regex(..), which this patch forbids. We'll just allow an empty url-prefix to avoid breaking websites.
Comment 9β’8 years ago
|
Thanks for the clarification. Updating the note accordingly.
Comment 10β’8 years ago
|
Pushed by rgurzau@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a83ccbf8a6b6
Disable @-moz-document in content pages r=emilio
Keywords: checkin-needed
Comment 11β’8 years ago
|
(In reply to Emilio Cobos Γlvarez [:emilio] from comment #6)
> (In reply to Kohei Yoshino [:kohei] from comment #5)
> > Posted the site compatibility note:
> > https://www.fxsitecompat.com/en-CA/docs/2018/moz-document-has-been-dropped/
>
> Beware of bug 1446470, which will fix all the known breakages so far too,
> and is intended to land in time for the same firefox release.
>
> That bug means that @-moz-document url-prefix() { } will keep working.
We should probably post an update to the Intent to unship thread in dev-platform about this plan as well.
Comment 12β’8 years ago
|
|
| bugherder | |
Status: NEW β RESOLVED
Closed: 8 years ago
status-firefox61:
--- β fixed
Resolution: --- β FIXED
Target Milestone: --- β mozilla61
Comment 13β’8 years ago
|
I've updated the compat data to capture this: https://developer.mozilla.org/en-US/docs/Web/CSS/@document#Browser_compatibility
Marking dev-doc-complete, but please comment if we need anything else.
Keywords: dev-doc-needed β dev-doc-complete
Comment 14β’8 years ago
|
(In reply to Will Bamberg [:wbamberg] from comment #13)
> I've updated the compat data to capture this:
> https://developer.mozilla.org/en-US/docs/Web/CSS/
> @document#Browser_compatibility
>
> Marking dev-doc-complete, but please comment if we need anything else.
I also added a rel note:
https://developer.mozilla.org/en-US/Firefox/Releases/61#CSS
Updatedβ’7 years ago
|
Whiteboard: [adv-main61-]
You need to log in
before you can comment on or make changes to this bug.
