... all of which indicates that one should not try to transit without visa in China without an onward flight ticket confirmed at the time you arrive.
Whether you actually leave on that ticket or change your plans is less important.
Just do make sure you leave on time (given that's 144 hours for PVG it should not be hard!).