Comments (9)
It works! Thank you so much!
Now I can release next version of Gitako and users will have better user experiences!
If you use GitHub frequently, please give a try :P
https://github.com/EnixCoda/Gitako
from pjax-api.
I fixed cross-origin access only about window.history.state. Is there another illegal access?
e.g. assigning variables to properties of window.location
If you actually get that error, can you also show me it and its call stack?
from pjax-api.
Thank you for fast responding!
Here are screenshots of each level of the call stack, top down.
It looks like that the issue happens when assigning position
to window.history.state
?
from pjax-api.
OK, it should be fixed at v3.31.1. Can you confirm it?
from pjax-api.
It's not :(
The issue occurs in savePosition
while your changes updated mutations on state in functions except it.
savePosition
is still mutating on cross origin state.
pjax-api/src/layer/data/store/state.ts
Lines 30 to 40 in c22b440
from pjax-api.
Sorry, I missed later commits in which you fixed savePosition.
But the issue does still exist after I updated pjax-api
. I'll remove local cache and give another try ASAP.
from pjax-api.
The cross-origin issue has been fixed successfully! 🍻
...and another occurred - TypeError: can't prevent extensions on this proxy object
It is an issue of URL
.
Call stacks
The direct reason
I did some dig on it (see the console). It seems that the reason is Object.freeze
failed on URL
instances.
from pjax-api.
OK, I'll remove Object.freeze.
from pjax-api.
Fixed at v3.31.2.
from pjax-api.
Related Issues (20)
- ファイルサイズの削減のお願い HOT 3
- Hello, HOT 1
- Error when Cache-Control is not set HOT 2
- IE11 support - will running through babel solve it? HOT 5
- Adding more events, preventing unload on condition HOT 4
- Ajax POST method become GET HOT 1
- The content of ajax request, click back will disappear HOT 1
- How do you use the sequence property? HOT 12
- Forms with POST method doesn't work HOT 2
- Example on how to setup backend HOT 4
- how to keep css throught pages? HOT 2
- I can not request same url after upgrading from 3.35.3 to 3.38.1 HOT 4
- encode url and % HOT 2
- Config to prevent the link from being changed automatically HOT 3
- Script reloads every time? HOT 1
- Cannot find module 'spica/dict' or its corresponding type declarations HOT 1
- About Link Listening HOT 3
- 如何手动触发pjax HOT 1
- How to manually trigger pjax requests and use custom url HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pjax-api.