Closed
Bug 1268749
Opened 7 years ago
Closed 7 years ago
Add a pref to disable unprefixed Fullscreen API
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox46 | --- | unaffected |
firefox47 | + | fixed |
firefox48 | --- | fixed |
firefox49 | --- | fixed |
People
(Reporter: xidorn, Assigned: xidorn)
References
Details
(Keywords: dev-doc-complete, site-compat, Whiteboard: btpp-active)
Attachments
(7 files, 1 obsolete file)
58 bytes,
text/x-review-board-request
|
smaug
:
review+
lizzard
:
approval-mozilla-aurora+
ritu
:
approval-mozilla-beta+
|
Details |
58 bytes,
text/x-review-board-request
|
heycam
:
review+
|
Details |
58 bytes,
text/x-review-board-request
|
heycam
:
review+
|
Details |
58 bytes,
text/x-review-board-request
|
smaug
:
review+
|
Details |
58 bytes,
text/x-review-board-request
|
smaug
:
review+
|
Details |
58 bytes,
text/x-review-board-request
|
smaug
:
review+
|
Details |
3.76 KB,
patch
|
xidorn
:
review+
|
Details | Diff | Splinter Review |
Microsoft recently reached out to us and talked about some issues they found with unprefixed Fullscreen API, and the plan that they are going to disable that by default with the next Edge release. I discussed with Olli and Ehsan about this offline today, and they think Beta is not the right place for us to investigate this kind of breakage, and we should step back and disable it by default for Beta and Release, then wait for further information. This bug is for adding the pref and disable it for Beta and Release.
Assignee | ||
Comment 1•7 years ago
|
||
[Tracking Requested - why for this release]: Because this is the release we initially unprefix this API.
status-firefox46:
--- → unaffected
status-firefox47:
--- → affected
status-firefox48:
--- → affected
status-firefox49:
--- → affected
tracking-firefox47:
--- → ?
Updated•7 years ago
|
Keywords: dev-doc-needed,
site-compat
Assignee | ||
Updated•7 years ago
|
Summary: Add a pref to disable unprefixed Fullscreen API and disable it on non-release versions → Add a pref to disable unprefixed Fullscreen API
Updated•7 years ago
|
Whiteboard: btpp-active
Assignee | ||
Comment 2•7 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/49963/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/49963/
Attachment #8747614 -
Flags: review?(bugs)
Attachment #8747615 -
Flags: review?(cam)
Attachment #8747616 -
Flags: review?(cam)
Attachment #8747617 -
Flags: review?(bugs)
Attachment #8747618 -
Flags: review?(bugs)
Attachment #8747619 -
Flags: review?(bugs)
Assignee | ||
Comment 3•7 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/49965/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/49965/
Assignee | ||
Comment 4•7 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/49967/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/49967/
Assignee | ||
Comment 5•7 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/49969/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/49969/
Assignee | ||
Comment 6•7 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/49971/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/49971/
Assignee | ||
Comment 7•7 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/49973/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/49973/
Assignee | ||
Comment 8•7 years ago
|
||
try push looks fine: https://treeherder.mozilla.org/#/jobs?repo=try&revision=9db611754533 Note that this try push commit disables unprefixed Fullscreen API by default (ignoring the version), so it should be more similiar to what we would see in release versions.
Assignee | ||
Comment 9•7 years ago
|
||
Comment on attachment 8747614 [details] MozReview Request: Bug 1268749 part 1 - Add pref to disable unprefixed fullscreen api. r=smaug Review request updated; see interdiff: https://reviewboard.mozilla.org/r/49963/diff/1-2/
Assignee | ||
Comment 10•7 years ago
|
||
Comment on attachment 8747615 [details] MozReview Request: Bug 1268749 part 2 - Make pseudo-classes able to present conditionally like properties. r=heycam Review request updated; see interdiff: https://reviewboard.mozilla.org/r/49965/diff/1-2/
Assignee | ||
Comment 11•7 years ago
|
||
Comment on attachment 8747616 [details] MozReview Request: Bug 1268749 part 3 - Hide :fullscreen pseudo-class from content when unprefixed API is disabled. r=heycam Review request updated; see interdiff: https://reviewboard.mozilla.org/r/49967/diff/1-2/
Assignee | ||
Comment 12•7 years ago
|
||
Comment on attachment 8747617 [details] MozReview Request: Bug 1268749 part 4 - Hide unprefixed Fullscreen API from content when disabled. r=smaug Review request updated; see interdiff: https://reviewboard.mozilla.org/r/49969/diff/1-2/
Assignee | ||
Comment 13•7 years ago
|
||
Comment on attachment 8747618 [details] MozReview Request: Bug 1268749 part 5 - Avoid dispatching unprefixed fullscreen events to content if unprefixed API is disabled. r=smaug Review request updated; see interdiff: https://reviewboard.mozilla.org/r/49971/diff/1-2/
Assignee | ||
Comment 14•7 years ago
|
||
Comment on attachment 8747619 [details] MozReview Request: Bug 1268749 part 6 - Add test for behavior when unprefixed api is disabled. r=smaug Review request updated; see interdiff: https://reviewboard.mozilla.org/r/49973/diff/1-2/
Updated•7 years ago
|
Attachment #8747614 -
Flags: review?(bugs) → review+
Comment 15•7 years ago
|
||
Comment on attachment 8747614 [details] MozReview Request: Bug 1268749 part 1 - Add pref to disable unprefixed fullscreen api. r=smaug https://reviewboard.mozilla.org/r/49963/#review46989
Comment 16•7 years ago
|
||
Comment on attachment 8747617 [details] MozReview Request: Bug 1268749 part 4 - Hide unprefixed Fullscreen API from content when disabled. r=smaug https://reviewboard.mozilla.org/r/49969/#review46991
Attachment #8747617 -
Flags: review?(bugs) → review+
Comment 17•7 years ago
|
||
Comment on attachment 8747618 [details] MozReview Request: Bug 1268749 part 5 - Avoid dispatching unprefixed fullscreen events to content if unprefixed API is disabled. r=smaug https://reviewboard.mozilla.org/r/49971/#review46995 Those fixed, and _tested_, r+ ::: dom/events/EventListenerManager.cpp:288 (Diff revision 2) > listener->mTypeAtom = aTypeAtom; > listener->mFlags = aFlags; > listener->mListenerIsHandler = aHandler; > listener->mHandlerIsString = false; > listener->mAllEvents = aAllEvents; > + listener->mIsChrome = NS_IsMainThread() && NS_IsMainThread() check is a bit slow, and you have that information already in mIsMainThreadELM member variable in EventListenerManager, so use that please. ::: dom/events/EventListenerManager.cpp:289 (Diff revision 2) > listener->mFlags = aFlags; > listener->mListenerIsHandler = aHandler; > listener->mHandlerIsString = false; > listener->mAllEvents = aAllEvents; > + listener->mIsChrome = NS_IsMainThread() && > + (!nsContentUtils::GetCurrentJSContext() || I would use here LegacyIsCallerChromeOrNativeCode ::: dom/events/EventListenerManager.cpp:685 (Diff revision 2) > if (mIsMainThreadELM) { > return aListener->mTypeAtom == aEvent->mSpecifiedEventType; > } > return aListener->mTypeString.Equals(aEvent->mSpecifiedEventTypeString); > } > + if (!nsContentUtils::IsUnprefixedFullscreenApiEnabled() && This breaks dispatching fullscreenchange or fullscreenerror using scripts in the page, or more exactly, this breaks page to handle them. But adding a check that if event isn't trusted, then listener should be called, then this should be fine. So, before the nsContentUtils check, add aEvent->IsTrusted() && Also, please test at least manually that dispatching those events from web page works.
Attachment #8747618 -
Flags: review?(bugs) → review+
Comment 18•7 years ago
|
||
Comment on attachment 8747619 [details] MozReview Request: Bug 1268749 part 6 - Add test for behavior when unprefixed api is disabled. r=smaug https://reviewboard.mozilla.org/r/49973/#review46997 ::: dom/html/test/file_fullscreen-unprefix-disabled-inner.html:69 (Diff revision 2) > + document.removeEventListener("mozfullscreenerror", errorFullscreen); > + // Wait a short time before exiting this test to confirm that there is > + // really no unwanted event gets dispatched. > + setTimeout(() => opener.finish(), 200); > +} > + Please add a check to this test that dispatching fullscreenchange and fullscreenerror events from scripts and getting listeners called still works.
Attachment #8747619 -
Flags: review?(bugs) → review+
Comment 19•7 years ago
|
||
Comment on attachment 8747615 [details] MozReview Request: Bug 1268749 part 2 - Make pseudo-classes able to present conditionally like properties. r=heycam https://reviewboard.mozilla.org/r/49965/#review47139 We should have similar static_asserts to those in nsCSSProps.cpp that check that if ENABLED_IN_CHROME is set, ENABLED_IN_UA_SHEETS is also set. ::: layout/style/nsCSSParser.cpp:5917 (Diff revision 2) > CSSPseudoElementType pseudoElementType = > nsCSSPseudoElements::GetPseudoType(pseudo); > CSSPseudoClassType pseudoClassType = > - nsCSSPseudoClasses::GetPseudoType(pseudo); > + nsCSSPseudoClasses::GetPseudoType(pseudo, AgentRulesEnabled(), > + ChromeRulesEnabled()); I think having the method take two booleans can make it hard to understand what the arguments are, and makes it easier to get the order of argument passing wrong. I think we should be consistent with the way we check for CSS properties being enabled. So instead of using two booleans here, we should use nsCSSProps::EnabledState (maybe lifted out to a top-level type). And we should probably use the same design for nsCSSPeudoElements::GetPseudoType too. This can be a followup. ::: layout/style/nsCSSPseudoClasses.h:13 (Diff revision 2) > #ifndef nsCSSPseudoClasses_h___ > #define nsCSSPseudoClasses_h___ > > #include "nsStringFwd.h" > > -// This pseudo-class is accepted only in UA style sheets. > +// The following two flags along with the pref defines where the this s/where the/where/ (I see that typo in nsCSSProps.h, too).
Attachment #8747615 -
Flags: review?(cam) → review+
Comment 20•7 years ago
|
||
Comment on attachment 8747616 [details] MozReview Request: Bug 1268749 part 3 - Hide :fullscreen pseudo-class from content when unprefixed API is disabled. r=heycam https://reviewboard.mozilla.org/r/49967/#review47143
Attachment #8747616 -
Flags: review?(cam) → review+
Assignee | ||
Comment 21•7 years ago
|
||
Comment on attachment 8747614 [details] MozReview Request: Bug 1268749 part 1 - Add pref to disable unprefixed fullscreen api. r=smaug Review request updated; see interdiff: https://reviewboard.mozilla.org/r/49963/diff/2-3/
Attachment #8747614 -
Attachment description: MozReview Request: Bug 1268749 part 1 - Add pref to disable unprefixed fullscreen api. r?smaug → MozReview Request: Bug 1268749 part 1 - Add pref to disable unprefixed fullscreen api. r=smaug
Attachment #8747615 -
Attachment description: MozReview Request: Bug 1268749 part 2 - Make pseudo-classes able to present conditionally like properties. r?heycam → MozReview Request: Bug 1268749 part 2 - Make pseudo-classes able to present conditionally like properties. r=heycam
Attachment #8747616 -
Attachment description: MozReview Request: Bug 1268749 part 3 - Hide :fullscreen pseudo-class from content when unprefixed API is disabled. r?heycam → MozReview Request: Bug 1268749 part 3 - Hide :fullscreen pseudo-class from content when unprefixed API is disabled. r=heycam
Attachment #8747617 -
Attachment description: MozReview Request: Bug 1268749 part 4 - Hide unprefixed Fullscreen API from content when disabled. r?smaug → MozReview Request: Bug 1268749 part 4 - Hide unprefixed Fullscreen API from content when disabled. r=smaug
Attachment #8747618 -
Attachment description: MozReview Request: Bug 1268749 part 5 - Avoid dispatching unprefixed fullscreen events to content if unprefixed API is disabled. r?smaug → MozReview Request: Bug 1268749 part 5 - Avoid dispatching unprefixed fullscreen events to content if unprefixed API is disabled. r=smaug
Attachment #8747619 -
Attachment description: MozReview Request: Bug 1268749 part 6 - Add test for behavior when unprefixed api is disabled. r?smaug → MozReview Request: Bug 1268749 part 6 - Add test for behavior when unprefixed api is disabled. r=smaug
Assignee | ||
Comment 22•7 years ago
|
||
Comment on attachment 8747615 [details] MozReview Request: Bug 1268749 part 2 - Make pseudo-classes able to present conditionally like properties. r=heycam Review request updated; see interdiff: https://reviewboard.mozilla.org/r/49965/diff/2-3/
Assignee | ||
Comment 23•7 years ago
|
||
Comment on attachment 8747616 [details] MozReview Request: Bug 1268749 part 3 - Hide :fullscreen pseudo-class from content when unprefixed API is disabled. r=heycam Review request updated; see interdiff: https://reviewboard.mozilla.org/r/49967/diff/2-3/
Assignee | ||
Comment 24•7 years ago
|
||
Comment on attachment 8747617 [details] MozReview Request: Bug 1268749 part 4 - Hide unprefixed Fullscreen API from content when disabled. r=smaug Review request updated; see interdiff: https://reviewboard.mozilla.org/r/49969/diff/2-3/
Assignee | ||
Comment 25•7 years ago
|
||
Comment on attachment 8747618 [details] MozReview Request: Bug 1268749 part 5 - Avoid dispatching unprefixed fullscreen events to content if unprefixed API is disabled. r=smaug Review request updated; see interdiff: https://reviewboard.mozilla.org/r/49971/diff/2-3/
Assignee | ||
Comment 26•7 years ago
|
||
Comment on attachment 8747619 [details] MozReview Request: Bug 1268749 part 6 - Add test for behavior when unprefixed api is disabled. r=smaug Review request updated; see interdiff: https://reviewboard.mozilla.org/r/49973/diff/2-3/
Assignee | ||
Comment 27•7 years ago
|
||
https://reviewboard.mozilla.org/r/49965/#review47139 > I think having the method take two booleans can make it hard to understand what the arguments are, and makes it easier to get the order of argument passing wrong. > > I think we should be consistent with the way we check for CSS properties being enabled. So instead of using two booleans here, we should use nsCSSProps::EnabledState (maybe lifted out to a top-level type). And we should probably use the same design for nsCSSPeudoElements::GetPseudoType too. > > This can be a followup. Followup filed bug 1269975 and bug 1269976.
Assignee | ||
Comment 28•7 years ago
|
||
Comment on attachment 8747615 [details] MozReview Request: Bug 1268749 part 2 - Make pseudo-classes able to present conditionally like properties. r=heycam Review request updated; see interdiff: https://reviewboard.mozilla.org/r/49965/diff/3-4/
Assignee | ||
Comment 29•7 years ago
|
||
Comment on attachment 8747616 [details] MozReview Request: Bug 1268749 part 3 - Hide :fullscreen pseudo-class from content when unprefixed API is disabled. r=heycam Review request updated; see interdiff: https://reviewboard.mozilla.org/r/49967/diff/3-4/
Assignee | ||
Comment 30•7 years ago
|
||
Comment on attachment 8747617 [details] MozReview Request: Bug 1268749 part 4 - Hide unprefixed Fullscreen API from content when disabled. r=smaug Review request updated; see interdiff: https://reviewboard.mozilla.org/r/49969/diff/3-4/
Assignee | ||
Comment 31•7 years ago
|
||
Comment on attachment 8747618 [details] MozReview Request: Bug 1268749 part 5 - Avoid dispatching unprefixed fullscreen events to content if unprefixed API is disabled. r=smaug Review request updated; see interdiff: https://reviewboard.mozilla.org/r/49971/diff/3-4/
Assignee | ||
Comment 32•7 years ago
|
||
Comment on attachment 8747619 [details] MozReview Request: Bug 1268749 part 6 - Add test for behavior when unprefixed api is disabled. r=smaug Review request updated; see interdiff: https://reviewboard.mozilla.org/r/49973/diff/3-4/
Comment 33•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ac92fdf79f9a https://hg.mozilla.org/integration/mozilla-inbound/rev/04e6d36ccc44 https://hg.mozilla.org/integration/mozilla-inbound/rev/8ce1ada0c34c https://hg.mozilla.org/integration/mozilla-inbound/rev/36023e241c8a https://hg.mozilla.org/integration/mozilla-inbound/rev/acc576a673fe https://hg.mozilla.org/integration/mozilla-inbound/rev/5ffe6863291d
Comment 34•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ac92fdf79f9a https://hg.mozilla.org/mozilla-central/rev/04e6d36ccc44 https://hg.mozilla.org/mozilla-central/rev/8ce1ada0c34c https://hg.mozilla.org/mozilla-central/rev/36023e241c8a https://hg.mozilla.org/mozilla-central/rev/acc576a673fe https://hg.mozilla.org/mozilla-central/rev/5ffe6863291d
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Assignee | ||
Comment 35•7 years ago
|
||
Comment on attachment 8747614 [details] MozReview Request: Bug 1268749 part 1 - Add pref to disable unprefixed fullscreen api. r=smaug Approval Request Comment [Feature/regressing bug #]: bug 743198, unprefix Fullscreen API [User impact if declined]: may see webcompat issue (see the blockers of bug 1269276) [Describe test coverage new/current, TreeHerder]: new test is added for the behavior when unprefixed fullscreen api is disabled [Risks and why]: this is a non-trivial change, so it could be somehow risky. [String/UUID change made/needed]: n/a
Attachment #8747614 -
Flags: approval-mozilla-beta?
Attachment #8747614 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 36•7 years ago
|
||
All six patches are needed to uplift.
Assignee | ||
Comment 37•7 years ago
|
||
The webcompat issues are also tracked in: * https://github.com/webcompat/web-bugs/issues/2498 (could be mitigated by bug 1268794) * https://github.com/webcompat/web-bugs/issues/2499 (need website fix) and some other related spec changes are in: * https://github.com/whatwg/fullscreen/issues/2 (bug 1268798) * https://github.com/whatwg/fullscreen/issues/38 (bug 1269157)
Comment on attachment 8747614 [details] MozReview Request: Bug 1268749 part 1 - Add pref to disable unprefixed fullscreen api. r=smaug Let's put this in aurora 48 in preparation for possible uplift to beta. Sounds like it is important that we be able to test disabling this api on beta as soon as we can.
Attachment #8747614 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Part 1 applied cleanly. Part 2 hit the following: grafting 341511:04e6d36ccc44 "Bug 1268749 part 2 - Make pseudo-classes able to present conditionally like properties. r=heycam" merging layout/inspector/inDOMUtils.cpp merging layout/style/nsCSSParser.cpp merging layout/style/nsCSSPseudoClassList.h merging layout/style/nsCSSPseudoClasses.cpp merging layout/style/nsCSSPseudoClasses.h warning: conflicts while merging layout/inspector/inDOMUtils.cpp! (edit, then use 'hg resolve--mark') warning: conflicts while merging layout/style/nsCSSParser.cpp! (edit, then use 'hg resolve --mark') warning: conflicts while merging layout/style/nsCSSPseudoClasses.cpp! (edit, then use 'hg resolve --mark') abort: unresolved conflicts, can't continue Not sure if any of the other patches need rebasing after that.
Flags: needinfo?(bugzilla)
Assignee | ||
Comment 40•7 years ago
|
||
I'll look into this next Monday. I wonder whether I can push to mozilla-aurora directly myself? It feels to me submitting the rebased patchset for aurora and beta isn't very efficient.
Flags: needinfo?(bugzilla) → needinfo?(wkocher)
You can probably carry forward the the a+ and land them yourself if you'd prefer.
Flags: needinfo?(wkocher)
Assignee | ||
Comment 43•7 years ago
|
||
Pulsebot does not log changesets automatically for pushes to mozilla-aurora? https://hg.mozilla.org/releases/mozilla-aurora/rev/fb2fde0b747d https://hg.mozilla.org/releases/mozilla-aurora/rev/c792e6d520fd https://hg.mozilla.org/releases/mozilla-aurora/rev/2c97a4e2f522 https://hg.mozilla.org/releases/mozilla-aurora/rev/a12048ebd87a https://hg.mozilla.org/releases/mozilla-aurora/rev/3023e4f667a3 https://hg.mozilla.org/releases/mozilla-aurora/rev/450bf777896c
Flags: needinfo?(bugzilla)
Assignee | ||
Updated•7 years ago
|
Assignee | ||
Comment 44•7 years ago
|
||
The conflict is from a renaming in bug 1250820.
(In reply to Xidorn Quan [:xidorn] (UTC+10) from comment #43) > Pulsebot does not log changesets automatically for pushes to mozilla-aurora? Correct. Landing to aurora usually means status flags need to get changed, and pulsebot isn't smart enough to try setting those, so just doesn't bother commenting at all.
Comment on attachment 8747614 [details] MozReview Request: Bug 1268749 part 1 - Add pref to disable unprefixed fullscreen api. r=smaug Recent regression with webcompat as a possible impact, let's uplift to Beta47 soon so we can test early and fix issues that we may find during the rest of this cycle, Beta47+
Attachment #8747614 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Part 2 of what you pushed to aurora doesn't apply to beta. Do we need another reworked patch?
Assignee | ||
Comment 49•7 years ago
|
||
This time it is conflict because of bug 1025267. More specifically, the predecessor of ENABLED_IN_CHROME flag for pseudo-classes was not implemented at all before that bug. Could we probably uplift that to beta as well? Uplifting this patch without that gets landed sounds like a mess.
Flags: needinfo?(rkothari)
Flags: needinfo?(mats)
Comment 50•7 years ago
|
||
I don't see a problem with that. I've asked for beta approval in bug 1025267.
Flags: needinfo?(mats)
Assignee | ||
Comment 51•7 years ago
|
||
Also, could you cc me in that bug so that I know when does that get uplifted? Or alternatively, could you comment in this bug when your patch gets uplifted there?
Flags: needinfo?(bugzilla) → needinfo?(mats)
Assignee | ||
Comment 53•7 years ago
|
||
Thanks.
Comment 54•7 years ago
|
||
Updated the site compatibility doc: https://www.fxsitecompat.com/en-CA/docs/2016/fullscreen-api-has-been-unprefixed-in-non-release-builds/
(In reply to Xidorn Quan [:xidorn] (UTC+10) from comment #49) > This time it is conflict because of bug 1025267. More specifically, the > predecessor of ENABLED_IN_CHROME flag for pseudo-classes was not implemented > at all before that bug. > > Could we probably uplift that to beta as well? Uplifting this patch without > that gets landed sounds like a mess. Sure. I've approved that one for uplift to Beta.
Flags: needinfo?(rkothari)
Comment 56•7 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/618f026f5e41 https://hg.mozilla.org/releases/mozilla-beta/rev/795de3310aa3 https://hg.mozilla.org/releases/mozilla-beta/rev/599df73ed73f https://hg.mozilla.org/releases/mozilla-beta/rev/00f57fcfb86e https://hg.mozilla.org/releases/mozilla-beta/rev/866d5e9827e4
Backed out for bustage: https://hg.mozilla.org/releases/mozilla-beta/rev/a32e6eb7b93f https://treeherder.mozilla.org/logviewer.html#?job_id=1074595&repo=mozilla-beta
Flags: needinfo?(bugzilla)
Assignee | ||
Comment 58•7 years ago
|
||
https://hg.mozilla.org/releases/mozilla-beta/rev/93227ba07158 https://hg.mozilla.org/releases/mozilla-beta/rev/b0b9aae25b53 https://hg.mozilla.org/releases/mozilla-beta/rev/1ce9d2db7389 https://hg.mozilla.org/releases/mozilla-beta/rev/fce30e08f966 https://hg.mozilla.org/releases/mozilla-beta/rev/268f715c7ae0 https://hg.mozilla.org/releases/mozilla-beta/rev/f6940851d82d You also forgot to uplift part 4 and didn't change the a= name :)
Flags: needinfo?(bugzilla)
Assignee | ||
Updated•7 years ago
|
Depends on: CVE-2016-2832
Assignee | ||
Comment 59•7 years ago
|
||
I experience various compile error when I tried to build with VS2015 locally. I wonder whether we should uplift all of those bugs to make it easier for people with VS2015 to uplift patches to Firefox 47.
Assignee | ||
Comment 60•7 years ago
|
||
Which are bug 1254963, bug 1266614, bug 1266615, and the followup commit in bug 1251225. All of them are just some trivial changes which should not hurt any behavior.
Assignee | ||
Comment 61•7 years ago
|
||
Looks like there is a new permafail after this patchset lands in beta.
Assignee | ||
Comment 62•7 years ago
|
||
Two new permafails: Mn-e10s on various platforms, and M(rc2) on Android.
(In reply to Xidorn Quan [:xidorn] (UTC+10) from comment #62) > Two new permafails: Mn-e10s on various platforms, and M(rc2) on Android. Mn-e10s is practically permafailing even before you landed these, at least on opt/pgo builds: https://treeherder.mozilla.org/#/jobs?repo=mozilla-beta&fromchange=f07d961162adaf999dcaffc8c06bebfe8c5b8067&group_state=expanded&selectedJob=1076147&filter-searchStr=mn-e10s Can't help you with the rc2 bustage, though...
Assignee | ||
Comment 64•7 years ago
|
||
ok, I guess rc2 is my fault, and that could fail when the current aurora turns to beta as well. It seems my try push in comment 8 didn't cover the android-specific tests.
Assignee | ||
Comment 65•7 years ago
|
||
The issue with Android M(rc2) is that, Element.matches(":fullscreen") throws in chrome code at https://dxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/browser.js#808 Initially I thought that we can probably check whether caller is chrome in CSS parser so that we do not return invalid for :fullscreen there. But it doesn't seem to be the right way, because nsINode has a selector cache which stores parsed selectors, which means a query from chrome may change the result for content. And checking the document's URI doesn't work for this specific case because in this cause, the target in question is in content. So I decided to avoid querying :fullscreen inside the chrome code to fix this issue.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 66•7 years ago
|
||
Attachment #8751256 -
Flags: review?(mark.finkle)
Backed out in https://hg.mozilla.org/releases/mozilla-beta/rev/cf7b0c21b647 until that rc2 permafail can be fixed.
Comment 68•7 years ago
|
||
Comment on attachment 8751256 [details] [diff] [review] followup - Avoid querying :fullscreen selector for context menu Redirecting
Attachment #8751256 -
Flags: review?(mark.finkle) → review?(margaret.leibovic)
Assignee | ||
Comment 69•7 years ago
|
||
Android tests look good now: https://treeherder.mozilla.org/#/jobs?repo=try&revision=5d90578b5726&selectedJob=20687041
Comment 70•7 years ago
|
||
Comment on attachment 8751256 [details] [diff] [review] followup - Avoid querying :fullscreen selector for context menu Review of attachment 8751256 [details] [diff] [review]: ----------------------------------------------------------------- You can land this if you leave the SelectorContext bit in, but if you make any of the other suggested changes, I'm happy to re-review. ::: mobile/android/chrome/content/browser.js @@ -2318,5 @@ > - return aElt.matches(aSelector); > - return false; > - } > - }; > - }, This API is used by a number of add-ons: https://mxr.mozilla.org/addons/search?string=.selectorcontext%28&find=&findi=&filter=%5E%5B%5E%5C0%5D*%24&hitlimit=&tree=addons https://developer.mozilla.org/en-US/Add-ons/Firefox_for_Android/API/NativeWindow/contextmenus So you should leave this. But you can add a comment explaining that it is necessary for add-ons, so that nobody else tries to remove it in the future. @@ +2483,5 @@ > + } > + return false; > + } > + }; > + }, You should update the documentation here to include this new context type: https://developer.mozilla.org/en-US/Add-ons/Firefox_for_Android/API/NativeWindow/contextmenus/add You should also add documentation in code comments here to explain what values are supported for `aMode`, since it looks like this will always return false if a mode isn't specified. Why not just default to returning true for any video that is matched, if a mode isn't specified, rather than requiring this "any" parameter?
Attachment #8751256 -
Flags: review?(margaret.leibovic) → review+
Assignee | ||
Comment 71•7 years ago
|
||
Attachment #8751256 -
Attachment is obsolete: true
Attachment #8751532 -
Flags: review?(margaret.leibovic)
Assignee | ||
Comment 72•7 years ago
|
||
(In reply to :Margaret Leibovic from comment #70) > You should update the documentation here to include this new context type: > https://developer.mozilla.org/en-US/Add-ons/Firefox_for_Android/API/ > NativeWindow/contextmenus/add I'll update this document once it lands. Add ni? myself for this.
Flags: needinfo?(bugzilla)
Assignee | ||
Comment 73•7 years ago
|
||
Comment on attachment 8751532 [details] [diff] [review] followup - Avoid querying :fullscreen selector for context menu Carry your r+. I'm assuming you are fine with the changes you suggested. If you think there is any problem in this patch, feel free to ping me.
Flags: needinfo?(bugzilla) → needinfo?(margaret.leibovic)
Attachment #8751532 -
Flags: review?(margaret.leibovic) → review+
Assignee | ||
Comment 74•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/7fa6df3f85dca80d04ca10c25f7f5f4743880b2b Bug 1268749 followup - Avoid querying :fullscreen selector for context menu. r=margaret
Assignee | ||
Comment 76•7 years ago
|
||
I don't think I canceled my own ni? for comment 72...
Flags: needinfo?(bugzilla)
Comment 77•7 years ago
|
||
(In reply to Xidorn Quan [:xidorn] (UTC+10) from comment #73) > Comment on attachment 8751532 [details] [diff] [review] > followup - Avoid querying :fullscreen selector for context menu > > Carry your r+. I'm assuming you are fine with the changes you suggested. If > you think there is any problem in this patch, feel free to ping me. This looks good, thanks.
Flags: needinfo?(margaret.leibovic)
Comment 78•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7fa6df3f85dc
Status: REOPENED → RESOLVED
Closed: 7 years ago → 7 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 79•7 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/8f26c5435bb1
Assignee | ||
Comment 80•7 years ago
|
||
https://hg.mozilla.org/releases/mozilla-beta/rev/faaeb9873314 https://hg.mozilla.org/releases/mozilla-beta/rev/24bab7c45c3c https://hg.mozilla.org/releases/mozilla-beta/rev/6641d3aa1b15 https://hg.mozilla.org/releases/mozilla-beta/rev/459a79fad849 https://hg.mozilla.org/releases/mozilla-beta/rev/30add43a7c6d https://hg.mozilla.org/releases/mozilla-beta/rev/65489de27fe5 https://hg.mozilla.org/releases/mozilla-beta/rev/3e9245c2bfaa
Assignee | ||
Comment 81•7 years ago
|
||
It seems there are lots of other contexts which are not documented in that page... Added the newly-added "videoContext" there, but I suppose others also need to be documented, so ni? Margaret again.
Flags: needinfo?(bugzilla) → needinfo?(margaret.leibovic)
Comment 82•7 years ago
|
||
A few patches on beta channel was marked incorrectly to bug 1268750. https://bugzilla.mozilla.org/show_bug.cgi?id=1268750#c4
Depends on: 1273468
Assignee | ||
Comment 83•7 years ago
|
||
Oops, I forgot to correct the bug number when reland... sorry
Assignee | ||
Comment 84•7 years ago
|
||
Errr... I didn't noticed the depends on item added...
Comment 85•7 years ago
|
||
(In reply to Xidorn Quan [:xidorn] (UTC+10) from comment #81) > It seems there are lots of other contexts which are not documented in that > page... Added the newly-added "videoContext" there, but I suppose others > also need to be documented, so ni? Margaret again. Any improved documentation is a win. I don't have a strong opinion here. The future for add-ons should really be web extensions, so if something isn't supported in web extensions, I'm not too keen on adding "official" support for it.
Flags: needinfo?(margaret.leibovic)
Comment 86•7 years ago
|
||
Updated: https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API https://developer.mozilla.org/en-US/docs/Web/API/Document/fullscreen https://developer.mozilla.org/en-US/docs/Web/API/Document/fullscreenEnabled https://developer.mozilla.org/en-US/docs/Web/API/Document/fullscreenElement https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenchange https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenerror https://developer.mozilla.org/en-US/docs/Web/API/Document/exitFullscreen https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen and https://developer.mozilla.org/en-US/Firefox/Releases/47#Others https://developer.mozilla.org/en-US/Firefox/Releases/49#Others
Keywords: dev-doc-needed → dev-doc-complete
Comment 87•7 years ago
|
||
(In reply to Jean-Yves Perrier [:teoli] from comment #86) > Updated: > > https://developer.mozilla.org/en-US/Firefox/Releases/47#Others https://developer.mozilla.org/en-US/Firefox/Releases/47#InterfacesAPIsDOM "The DOM fullscreen API has been unprefixed" needs an update too
Keywords: dev-doc-complete → dev-doc-needed
Comment 88•7 years ago
|
||
Good catch, I removed the sentence as it is a dup of the other comment. Thanks
Keywords: dev-doc-needed → dev-doc-complete
Comment 89•7 years ago
|
||
I've added the compatibility info to https://developer.mozilla.org/en-US/docs/Web/CSS/:fullscreen. Sebastian
Updated•4 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•