[Bug 34845] Under some circumstances mw.loader.using calls document.write and blanks the page

2012-05-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=34845

Michael M. listenle...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX

--- Comment #10 from Michael M. listenle...@gmail.com 2012-05-05 09:25:44 UTC 
---
Closing as WONTFIX:

* This bug only occurred with Firefox 3.6.x, which is dead now.
* It only occurred when a user put strange code in his common.js, not for
normal users.
* Nobody seems willing to debug it (I don't either), so there is no chance to
fix it.
* It might even be a browser bug, so nothing that can/should be fixed in
MediaWiki.

If anybody encounters the same issue in a situation where it should be fixed,
it can be reopened, but for now I think this bug should just be ignored.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 34845] Under some circumstances mw.loader.using calls document.write and blanks the page

2012-03-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=34845

--- Comment #9 from Michael M. listenle...@gmail.com 2012-03-12 09:45:14 UTC 
---
(In reply to comment #5)
 Side note: Please do not bind events to the mw object using jQuery Events. 
 This
 is not supported, documented or encouraged anywhere. This is the first time
 I've seen such thing.

Normally I bind to $(document), but I just wanted to try what happens when I
use non-DOM-elements, and used mw as it is done in skins/common/preview.js.
[https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/common/preview.js?view=markup]

(In reply to comment #6)
 back to the original bug, I believe that is a duplicate of bug 34542.

I don't think so. Bug 34542 occurs with asynchronous scripts, while this bug is
reproducible (only?) with Firefox 3.6, which doesn't implement async scripts.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 34845] Under some circumstances mw.loader.using calls document.write and blanks the page

2012-03-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=34845

--- Comment #5 from Krinkle krinklem...@gmail.com 2012-03-10 13:34:28 UTC ---
Side note: Please do not bind events to the mw object using jQuery Events. This
is not supported, documented or encouraged anywhere. This is the first time
I've seen such thing.

Please create a new object and you're free to bind events to it that way.

For example:

mw.schnarkAwesomeTool = {};
$(mw.schnarkAwesomeTool).bind('custom-event', ..);

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 34845] Under some circumstances mw.loader.using calls document.write and blanks the page

2012-03-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=34845

--- Comment #6 from Krinkle krinklem...@gmail.com 2012-03-10 13:36:49 UTC ---
back to the original bug, I believe that is a duplicate of bug 34542.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 34845] Under some circumstances mw.loader.using calls document.write and blanks the page

2012-03-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=34845

--- Comment #7 from Beau b...@adres.pl 2012-03-10 15:44:09 UTC ---
I don't think bug 34542 is fixed. The fix in r112533 is only a workaround,
not a definite resolution, as setting async argument to false still reveals the
issue.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 34845] Under some circumstances mw.loader.using calls document.write and blanks the page

2012-03-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=34845

--- Comment #8 from Krinkle krinklem...@gmail.com 2012-03-10 16:30:19 UTC ---
(In reply to comment #7)
 I don't think bug 34542 is fixed. The fix in r112533 is only a workaround,
 not a definite resolution, as setting async argument to false still reveals 
 the
 issue.

I hadn't looked further into bug 34542. But yeah, it should be possible to load
modules asynchronously and synchronously at any time.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 34845] Under some circumstances mw.loader.using calls document.write and blanks the page

2012-03-02 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=34845

Michael M. listenle...@gmail.com changed:

   What|Removed |Added

   Severity|major   |normal

--- Comment #4 from Michael M. listenle...@gmail.com 2012-03-02 09:30:06 UTC 
---
I'm lowering the severity, since I can only reproduce it if:
* there is a custom event
* there are nested scripts
* and when I use Firefox 3.6
Anybody crazy enough to use this combination should be able to work around this
bug with some hacks (I replaced mw.loader.using with a variant that waits for
DOM-ready before calling the original, and it works).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 34845] Under some circumstances mw.loader.using calls document.write and blanks the page

2012-03-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=34845

--- Comment #1 from Michael M. listenle...@gmail.com 2012-03-01 08:56:51 UTC 
---
(In reply to comment #0)
 This doesn't break reliably, but most of the time I end up with a page only
 containing

Correction: It does always break on the main page and on
[[mw:Special:Contributions/Schnark]], while I'm always able to see my user
pages without problems. It seems that on pages from my browser cache it breaks
less often than on other pages.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 34845] Under some circumstances mw.loader.using calls document.write and blanks the page

2012-03-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=34845

--- Comment #2 from Michael M. listenle...@gmail.com 2012-03-01 10:36:46 UTC 
---
It seem like the custom event is necessary to reproduce the bug, but it doesn't
matter whether I use document (original version) or mw (current version) as
object to bind the event to.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 34845] Under some circumstances mw.loader.using calls document.write and blanks the page

2012-03-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=34845

Mark A. Hershberger m...@everybody.org changed:

   What|Removed |Added

   Priority|Unprioritized   |Normal
 CC||m...@everybody.org
   Target Milestone|--- |1.19wmf deployment

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 34845] Under some circumstances mw.loader.using calls document.write and blanks the page

2012-03-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=34845

Mark A. Hershberger m...@everybody.org changed:

   What|Removed |Added

   Target Milestone|1.19wmf deployment  |---

--- Comment #3 from Mark A. Hershberger m...@everybody.org 2012-03-01 
22:12:32 UTC ---
Can you narrow down what is causing this?

We had a similar problem with ?debug=true on commons. See bug 34664

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l