"Pantomime is a type of musical comedy stage production designed for family entertainment. It was developed in England and is performed throughout the United Kingdom, Ireland and (to a lesser extent) in other English-speaking countries, especially during the Christmas and New Year season. Modern pantomime includes songs, gags, slapstick comedy and dancing. It employs gender-crossing actors and combines topical humour with a story more or less based on a well-known fairy tale, fable or folk tale. Pantomime is a participatory form of theatre, in which the audience is expected to sing along with certain parts of the music and shout out phrases to the performers." (quoted from Wikipedia)
The idea of Pantomime was to provide Family Friendly entertainment. Had I been in the audience, I am afraid that I would not have enjoyed the crude, lewd and rude "humor." I definitely would disagree that the treatment of the subject matter was Family Friendly. Where the concepts of how to mount a Pantomime are good, the way some productions are directed can definitely lack wholesome moral values. No amount of dressing up in gorgeous costumes and brilliantly painted scenery can mask that lack of moral decency.
My idea of family friendly is obviously very different from modern English Pantomime.