Closed (fixed)
Project:
Dreditor (moved)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2011 at 16:25 UTC
Updated:
21 Sep 2012 at 05:11 UTC
OS: Mac 10.6.8
Browser: Chrome 14.0.814.0 dev (also tried a stable Chrome release)
Commit a39644f makes dreditor stop working entirely for me. When I check out the previous commit instead, it works normally.
Edit: Commit message says
Removed obsolete duplicate Drupal.attachBehaviors().
This was required before Dreditor injected itself into the page, since
Drupal's attachBehaviors() had no knowledge/access of the behaviors in the
user script, due to browser security realm restrictions.
Comments
Comment #1
sunhttp://drupalcode.org/project/dreditor.git/commit/5c0561dca46616a6374516...
Sorry for that. So looks like Chrome behaves differently (again)... :(
Comment #2
sunI just committed #1136342: It's impossible to run unit tests due to return statement, which might explain the difference.
Would be beneficial to remove these lines here, since invoking all of the Drupal behaviors twice ain't good for performance.
Comment #3
andypostThis troubles mostly caused by wrong written behaviuors in contrib modules.
So I think it's ok and makes contrib to fix their bugs ( for ex. #1576392: pifrResultAssertions prevents results from being expanded
Comment #4
sunSomehow I cannot find the double invocation of Drupal.attachBehaviors() anymore, so this is obsolete. ;)
Comment #5.0
(not verified) commentedAdded text of commit message to be a little more helpful.