atmouse
狐狸大王
狐狸大王
  • UID44114
  • 注册日期2014-01-27
  • 最后登录2017-12-29
  • 发帖数325
  • 经验266枚
  • 威望0点
  • 贡献值122点
  • 好评度19点
阅读:2603回复:5

greasemonkey GM_xmlhttprequest 失效

楼主#
更多 发布于:2014-04-20 15:44

Source


Built from http://hg.mozilla.org/mozilla-central/rev/53a6c96cea62

Build tools

Compiler Version Compiler flags
gcc gcc version 4.8.2 20140206 (prerelease) (GCC) -Wall -Wpointer-arith -Wdeclaration-after-statement
-Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits
-Wempty-body -Wsign-compare -Wno-unused -Wcast-align -std=gnu99
-fgnu89-inline -fno-strict-aliasing -ffunction-sections -fdata-sections
-fno-math-errno -pthread -pipe
c++ gcc version 4.8.2 20140206 (prerelease) (GCC) -Wall -Wpointer-arith -Woverloaded-virtual
-Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits
-Wempty-body -Wsign-compare -Wno-invalid-offsetof -Wcast-align
-fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections
-fdata-sections -fno-exceptions -fno-math-errno -std=gnu++0x -pthread
-pipe  -DNDEBUG -DTRIMMED -g -Os -freorder-blocks  -fomit-frame-pointer


Configure arguments


--enable-application=browser --prefix=/usr --libdir=/usr/lib
--with-system-nspr --with-system-nss --with-system-jpeg
--with-system-zlib --with-system-bz2 --with-system-png
--with-system-libevent --with-system-libvpx --enable-system-hunspell
--enable-system-sqlite --enable-system-ffi --enable-system-cairo
--enable-system-pixman --with-pthreads --disable-official-branding
--enable-startup-notification --enable-gio --enable-gstreamer
--disable-gnomevfs --disable-crashreporter --disable-updater
--disable-installer --with-gl-provider=EGL
--enable-default-toolkit=cairo-gtk3


greasemonkey userscripts
GM_xmlhttprequest  onload:失效,调试工具没有任何警告,
用回firefox官方发布的28.0 stable版本正常
这得是firefox的问题还是greasemonkey的问题。。。。。。。

刚测试了,scriptish也不行。。
PC-JMK6, asus m5a99x, fx8350, radeonhd7870 x2, iec958/ha/HD600, linux-next, systemd, pacman, mesa, xorg, libinput, modesetting w/ glamor, qtile, icecat,
pcxfirefox
千年狐狸
千年狐狸
  • UID39042
  • 注册日期2012-06-22
  • 最后登录2018-01-15
  • 发帖数2539
  • 经验1263枚
  • 威望2点
  • 贡献值242点
  • 好评度133点
  • 最爱沙发
  • 忠实会员
  • 社区居民
1楼#
发布于:2014-04-20 15:57
自己追踪下找到哪个commit开始失效的
http://pcxfirefox.wordpress.com/
atmouse
狐狸大王
狐狸大王
  • UID44114
  • 注册日期2014-01-27
  • 最后登录2017-12-29
  • 发帖数325
  • 经验266枚
  • 威望0点
  • 贡献值122点
  • 好评度19点
2楼#
发布于:2014-04-20 17:05
pcxfirefox:自己追踪下找到哪个commit开始失效的回到原帖
还请教下如何个追踪法,一天那么多merge,我也不知道xmlhttprequest代码在哪
PC-JMK6, asus m5a99x, fx8350, radeonhd7870 x2, iec958/ha/HD600, linux-next, systemd, pacman, mesa, xorg, libinput, modesetting w/ glamor, qtile, icecat,
pcxfirefox
千年狐狸
千年狐狸
  • UID39042
  • 注册日期2012-06-22
  • 最后登录2018-01-15
  • 发帖数2539
  • 经验1263枚
  • 威望2点
  • 贡献值242点
  • 好评度133点
  • 最爱沙发
  • 忠实会员
  • 社区居民
3楼#
发布于:2014-04-20 17:53
atmouse:还请教下如何个追踪法,一天那么多merge,我也不知道xmlhttprequest代码在哪回到原帖
确定从哪个commit没问题,设为commit A
你现在的commit为commit B

那么进行折半,commit到(A+B)/2,看看有无问题
如果有问题,那么问题存在A到(A+B)/2之间,否则就在后半部分

重复以上步骤,找到唯一的commit,然后根据commit找到bug链接

注意:有可能改到某个commit后无法构建通过,所以要看下commit log,最好是关联的在一组
http://pcxfirefox.wordpress.com/
atmouse
狐狸大王
狐狸大王
  • UID44114
  • 注册日期2014-01-27
  • 最后登录2017-12-29
  • 发帖数325
  • 经验266枚
  • 威望0点
  • 贡献值122点
  • 好评度19点
4楼#
发布于:2014-04-20 18:51
pcxfirefox:确定从哪个commit没问题,设为commit A
你现在的commit为commit B

那么进行折半,commit到(A+B)/2,看看有无问题
如果有问题,那么问题存在A到(A+B)/2之间,否则就在后半部分

重复以上步骤,找到唯...
回到原帖
我以为有好办法。。。
PC-JMK6, asus m5a99x, fx8350, radeonhd7870 x2, iec958/ha/HD600, linux-next, systemd, pacman, mesa, xorg, libinput, modesetting w/ glamor, qtile, icecat,
pcxfirefox
千年狐狸
千年狐狸
  • UID39042
  • 注册日期2012-06-22
  • 最后登录2018-01-15
  • 发帖数2539
  • 经验1263枚
  • 威望2点
  • 贡献值242点
  • 好评度133点
  • 最爱沙发
  • 忠实会员
  • 社区居民
5楼#
发布于:2014-04-20 18:52
atmouse:我以为有好办法。。。回到原帖
这明明是唯一的方法,除非对源码的所有变更都相当熟悉
http://pcxfirefox.wordpress.com/
游客

返回顶部